maxim / sexy_pg_constraints

Adds migration methods to manage constraints in PostgreSQL.

This URL has Read+Write access

maxim (author)
Sun Jan 18 22:44:58 -0800 2009
commit  4fc8ccc7ce6659fb8a545aae86edabe6a13fb0df
tree    8aba45f0feb08964e838d66df71342415f5162f5
parent  990ffad1a43d898b2c8280035c2f0121e2862b2c
sexy_pg_constraints / sexy_pg_constraints.gemspec
8cc6c0ca » maxim 2008-11-23 gemspec 1 # -*- encoding: utf-8 -*-
2
3 Gem::Specification.new do |s|
4 s.name = %q{sexy_pg_constraints}
4fc8ccc7 » maxim 2009-01-18 Fix: positive constraint >=... 5 s.version = "0.1.3"
8cc6c0ca » maxim 2008-11-23 gemspec 6
7 s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8 s.authors = ["Maxim Chernyak"]
4fc8ccc7 » maxim 2009-01-18 Fix: positive constraint >=... 9 s.date = %q{2009-01-19}
61d0034a » maxim 2008-11-29 docs, gemspec updates 10 s.description = %q{Use migrations and simple syntax to manage constraints in PostgreSQL DB.}
8cc6c0ca » maxim 2008-11-23 gemspec 11 s.email = %q{max@bitsonnet.com}
61d0034a » maxim 2008-11-29 docs, gemspec updates 12 s.extra_rdoc_files = ["CHANGELOG.rdoc", "lib/constrainer.rb", "lib/constraints.rb", "lib/deconstrainer.rb", "lib/helpers.rb", "lib/sexy_pg_constraints.rb", "README.rdoc"]
13 s.files = ["CHANGELOG.rdoc", "init.rb", "lib/constrainer.rb", "lib/constraints.rb", "lib/deconstrainer.rb", "lib/helpers.rb", "lib/sexy_pg_constraints.rb", "Manifest", "Rakefile", "README.rdoc", "sexy_pg_constraints.gemspec", "test/postgresql_adapter.rb", "test/sexy_pg_constraints_test.rb", "test/test_helper.rb"]
8cc6c0ca » maxim 2008-11-23 gemspec 14 s.has_rdoc = true
15 s.homepage = %q{http://github.com/maxim/sexy_pg_constraints}
16 s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Sexy_pg_constraints", "--main", "README.rdoc"]
17 s.require_paths = ["lib"]
18 s.rubyforge_project = %q{sexy_pg_constraints}
19 s.rubygems_version = %q{1.3.1}
61d0034a » maxim 2008-11-29 docs, gemspec updates 20 s.summary = %q{Use migrations and simple syntax to manage constraints in PostgreSQL DB.}
8cc6c0ca » maxim 2008-11-23 gemspec 21 s.test_files = ["test/sexy_pg_constraints_test.rb", "test/test_helper.rb"]
22
23 if s.respond_to? :specification_version then
24 current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
25 s.specification_version = 2
26
27 if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
28 else
29 end
30 else
31 end
32 end