52 lines
4.0 KiB
Ruby
52 lines
4.0 KiB
Ruby
# -*- encoding: utf-8 -*-
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "pg"
|
|
s.version = "0.13.2"
|
|
|
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
s.authors = ["Michael Granger"]
|
|
s.cert_chain = ["-----BEGIN CERTIFICATE-----\nMIIDLDCCAhSgAwIBAgIBADANBgkqhkiG9w0BAQUFADA8MQwwCgYDVQQDDANnZWQx\nFzAVBgoJkiaJk/IsZAEZFgdfYWVyaWVfMRMwEQYKCZImiZPyLGQBGRYDb3JnMB4X\nDTEwMDkxNjE0NDg1MVoXDTExMDkxNjE0NDg1MVowPDEMMAoGA1UEAwwDZ2VkMRcw\nFQYKCZImiZPyLGQBGRYHX2FlcmllXzETMBEGCgmSJomT8ixkARkWA29yZzCCASIw\nDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALy//BFxC1f/cPSnwtJBWoFiFrir\nh7RicI+joq/ocVXQqI4TDWPyF/8tqkvt+rD99X9qs2YeR8CU/YiIpLWrQOYST70J\nvDn7Uvhb2muFVqq6+vobeTkILBEO6pionWDG8jSbo3qKm1RjKJDwg9p4wNKhPuu8\nKGue/BFb67KflqyApPmPeb3Vdd9clspzqeFqp7cUBMEpFS6LWxy4Gk+qvFFJBJLB\nBUHE/LZVJMVzfpC5Uq+QmY7B+FH/QqNndn3tOHgsPadLTNimuB1sCuL1a4z3Pepd\nTeLBEFmEao5Dk3K/Q8o8vlbIB/jBDTUx6Djbgxw77909x6gI9doU4LD5XMcCAwEA\nAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFJeoGkOr9l4B\n+saMkW/ZXT4UeSvVMA0GCSqGSIb3DQEBBQUAA4IBAQBG2KObvYI2eHyyBUJSJ3jN\nvEnU3d60znAXbrSd2qb3r1lY1EPDD3bcy0MggCfGdg3Xu54z21oqyIdk8uGtWBPL\nHIa9EgfFGSUEgvcIvaYqiN4jTUtidfEFw+Ltjs8AP9gWgSIYS6Gr38V0WGFFNzIH\naOD2wmu9oo/RffW4hS/8GuvfMzcw7CQ355wFR4KB/nyze+EsZ1Y5DerCAagMVuDQ\nU0BLmWDFzPGGWlPeQCrYHCr+AcJz+NRnaHCKLZdSKj/RHuTOt+gblRex8FAh8NeA\ncmlhXe46pZNJgWKbxZah85jIjx95hR8vOI+NAM5iH9kOqK13DrxacTKPhqj5PjwF\n-----END CERTIFICATE-----\n"]
|
|
s.date = "2012-02-22"
|
|
s.description = "Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/].\n\nIt works with {PostgreSQL 8.3 and later}[http://bit.ly/6AfPhm].\n\nA small example usage:\n\n #!/usr/bin/env ruby\n \n require 'pg'\n \n # Output a table of current connections to the DB\n conn = PG.connect( dbname: 'sales' )\n conn.exec( \"SELECT * FROM pg_stat_activity\" ) do |result|\n puts \" PID | User | Query\"\n\tresult.each do |row|\n puts \" %7d | %-16s | %s \" %\n row.values_at('procpid', 'usename', 'current_query')\n end\n end"
|
|
s.email = ["ged@FaerieMUD.org"]
|
|
s.extensions = ["ext/extconf.rb"]
|
|
s.extra_rdoc_files = ["Manifest.txt", "Contributors.rdoc", "History.rdoc", "README-OS_X.rdoc", "README-Windows.rdoc", "README.ja.rdoc", "README.rdoc", "POSTGRES", "LICENSE", "ext/pg.c", "ext/pg_connection.c", "ext/pg_result.c"]
|
|
s.files = ["Manifest.txt", "Contributors.rdoc", "History.rdoc", "README-OS_X.rdoc", "README-Windows.rdoc", "README.ja.rdoc", "README.rdoc", "POSTGRES", "LICENSE", "ext/pg.c", "ext/pg_connection.c", "ext/pg_result.c", "ext/extconf.rb"]
|
|
s.homepage = "https://bitbucket.org/ged/ruby-pg"
|
|
s.licenses = ["BSD", "Ruby", "GPL"]
|
|
s.rdoc_options = ["--main", "README.rdoc"]
|
|
s.require_paths = ["lib"]
|
|
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
|
|
s.rubyforge_project = "pg"
|
|
s.rubygems_version = "1.8.21"
|
|
s.summary = "Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]"
|
|
|
|
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_development_dependency(%q<hoe-mercurial>, ["~> 1.3.1"])
|
|
s.add_development_dependency(%q<hoe-highline>, ["~> 0.0.1"])
|
|
s.add_development_dependency(%q<rake-compiler>, ["~> 0.7"])
|
|
s.add_development_dependency(%q<rspec>, ["~> 2.6"])
|
|
s.add_development_dependency(%q<rdoc>, ["~> 3.10"])
|
|
s.add_development_dependency(%q<hoe>, ["~> 2.13"])
|
|
else
|
|
s.add_dependency(%q<hoe-mercurial>, ["~> 1.3.1"])
|
|
s.add_dependency(%q<hoe-highline>, ["~> 0.0.1"])
|
|
s.add_dependency(%q<rake-compiler>, ["~> 0.7"])
|
|
s.add_dependency(%q<rspec>, ["~> 2.6"])
|
|
s.add_dependency(%q<rdoc>, ["~> 3.10"])
|
|
s.add_dependency(%q<hoe>, ["~> 2.13"])
|
|
end
|
|
else
|
|
s.add_dependency(%q<hoe-mercurial>, ["~> 1.3.1"])
|
|
s.add_dependency(%q<hoe-highline>, ["~> 0.0.1"])
|
|
s.add_dependency(%q<rake-compiler>, ["~> 0.7"])
|
|
s.add_dependency(%q<rspec>, ["~> 2.6"])
|
|
s.add_dependency(%q<rdoc>, ["~> 3.10"])
|
|
s.add_dependency(%q<hoe>, ["~> 2.13"])
|
|
end
|
|
end
|