From: Ward Vandewege Date: Mon, 8 Jul 2013 20:04:28 +0000 (-0400) Subject: Merge branch 'master' of git.clinicalfuture.com:arvados X-Git-Tag: 1.1.0~3121 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/e346e5d3bd09f4b9fe66538a825cf866faeb308b?hp=a81617c177c8de234fa83e0d3e629e849966215d Merge branch 'master' of git.clinicalfuture.com:arvados --- diff --git a/sdk/ruby/arvados.gemspec b/sdk/ruby/arvados.gemspec index afd8766e22..034cdaf42f 100644 --- a/sdk/ruby/arvados.gemspec +++ b/sdk/ruby/arvados.gemspec @@ -1,8 +1,13 @@ +if not File.exists?('/usr/bin/git') then + STDERR.puts "\nGit binary not found, aborting. Please install git and run gem build from a checked out copy of the git repository.\n\n" + exit +end + Gem::Specification.new do |s| s.name = 'arvados' - s.version = '0.1.0' + s.version = '0.1.pre.' + `/usr/bin/git log --pretty=format:'%ci' -n 1`[0..18].gsub(/[ \-:]/,'') s.date = `/usr/bin/git log --pretty=format:'%ci' -n 1`[0..9] - s.summary = "Arvados SDK" + s.summary = "Arvados SDK Ruby" s.description = "This is the Arvados SDK gem, git revision " + `/usr/bin/git log --pretty=format:'%H' -n 1` s.authors = ["Arvados Authors"] s.email = 'gem-dev@clinicalfuture.com'