From: Dickson S. Guedes Date: Fri, 6 May 2011 04:03:03 +0000 (-0300) Subject: changing gemspec X-Git-Tag: v0.0.4~3^2~16 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=a9a9d79cc7471b89bf1e4a8147426896726d664e;p=pgxn-utils.git changing gemspec --- diff --git a/pgxn_utils.gemspec b/pgxn_utils.gemspec index 3aadba3..db41f07 100644 --- a/pgxn_utils.gemspec +++ b/pgxn_utils.gemspec @@ -6,11 +6,12 @@ Gem::Specification.new do |s| s.name = "pgxn_utils" s.version = PgxnUtils::VERSION s.platform = Gem::Platform::RUBY - s.authors = ["TODO: Write your name"] - s.email = ["TODO: Write your email address"] - s.homepage = "" - s.summary = %q{TODO: Write a gem summary} - s.description = %q{TODO: Write a gem description} + s.date = %q{2011-05-06} + s.authors = ["Dickson S. Guedes"] + s.email = ["guedes@guedesoft.net"] + s.homepage = "http://github.com/guedes/pgxn-xn" + s.summary = %q{A PGXN set of tools to developers} + s.description = %q{A PGXN set of tools to help developers create and publish your PostgreSQL extensions without pain} s.rubyforge_project = "pgxn_utils" @@ -18,4 +19,20 @@ Gem::Specification.new do |s| s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ["lib"] + + # dev + s.add_development_dependency "rspec" + + # prod + if s.respond_to? :specification_version then + s.specification_version = 3 + + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then + s.add_runtime_dependency(%q, ["~> 0.14"]) + else + s.add_dependency(%q, ["~> 0.14"]) + end + else + s.add_dependency(%q, ["~> 0.14"]) + end end