Skip to content
This repository
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 69 lines (57 sloc) 2.479 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "pgxn_utils/version"

Gem::Specification.new do |s|
  s.name = "pgxn_utils"
  s.version = PgxnUtils::VERSION
  s.platform = Gem::Platform::RUBY
  s.date = %q{2012-03-06}
  s.authors = ["Dickson S. Guedes"]
  s.email = ["guedes@guedesoft.net"]
  s.homepage = "http://github.com/guedes/pgxn-utils"
  s.summary = %q{A PGXN set of tools to PostgreSQL extension's developers}
  s.description = %q{A PGXN set of tools to help developers create and publish your PostgreSQL extensions without pain}

  s.required_ruby_version = '>= 1.8.7'
  s.required_rubygems_version = '>= 1.3.7'

  s.files = `git ls-files`.split("\n")
  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"]
  s.post_install_message= <<-EOF

PGXN Utils version #{PgxnUtils::VERSION} was installed!

Issues? Please visit: https://github.com/guedes/pgxn-utils/issues

Recomended tools:

- PGXN Client: http://pgxnclient.projects.postgresql.org
- PGXN Meta Validator: https://github.com/pgxn/pgxn-meta-validator

Thank you for use this tool!

Regards, Dickson S. Guedes

EOF

  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 "json", "~> 1.6.6"
      s.add_runtime_dependency "thor", "~> 0.14"
      s.add_runtime_dependency "rubyzip", "~> 0.9.7"
      s.add_runtime_dependency "multipart-post", "~> 1.1.5"
      s.add_runtime_dependency "highline", "~> 1.6.11"
      s.add_runtime_dependency "grit", "~> 2.4.1"
      s.add_development_dependency "rspec"
      s.add_development_dependency "mocha"
      s.add_development_dependency "simplecov", "~> 0.4.0"
    else
      s.add_dependency "json", "~> 1.6.6"
      s.add_dependency "thor", "~> 0.14"
      s.add_dependency "rubyzip", "~> 0.9.7"
      s.add_dependency "multipart-post", "~> 1.1.5"
      s.add_dependency "highline", "~> 1.6.11"
      s.add_dependency "grit", "~> 2.4.1"
    end
  else
    s.add_dependency "json", "~> 1.6.6"
    s.add_dependency "thor", "~> 0.14"
    s.add_dependency "rubyzip", "~> 0.9.7"
    s.add_dependency "multipart-post", "~> 1.1.5"
    s.add_dependency "highline", "~> 1.6.11"
    s.add_dependency "grit", "~> 2.4.1"
  end
end
Something went wrong with that request. Please try again.