polyamorous-0.5.0.gemspec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # -*- encoding: utf-8 -*-
  2. Gem::Specification.new do |s|
  3. s.name = "polyamorous"
  4. s.version = "0.5.0"
  5. s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
  6. s.authors = ["Ernie Miller"]
  7. s.date = "2011-09-03"
  8. s.description = "\n This is just an extraction from Ransack/Squeel. You probably don't want to use this\n directly. It extends ActiveRecord's associations to support polymorphic belongs_to\n associations.\n "
  9. s.email = ["ernie@metautonomo.us"]
  10. s.homepage = "http://github.com/ernie/polyamorous"
  11. s.require_paths = ["lib"]
  12. s.rubyforge_project = "polyamorous"
  13. s.rubygems_version = "1.8.24"
  14. s.summary = "Loves/is loved by polymorphic belongs_to associations, Ransack, Squeel, MetaSearch..."
  15. if s.respond_to? :specification_version then
  16. s.specification_version = 3
  17. if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
  18. s.add_runtime_dependency(%q<activerecord>, ["~> 3.0"])
  19. s.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
  20. s.add_development_dependency(%q<machinist>, ["~> 1.0.6"])
  21. s.add_development_dependency(%q<faker>, ["~> 0.9.5"])
  22. s.add_development_dependency(%q<sqlite3>, ["~> 1.3.3"])
  23. else
  24. s.add_dependency(%q<activerecord>, ["~> 3.0"])
  25. s.add_dependency(%q<rspec>, ["~> 2.6.0"])
  26. s.add_dependency(%q<machinist>, ["~> 1.0.6"])
  27. s.add_dependency(%q<faker>, ["~> 0.9.5"])
  28. s.add_dependency(%q<sqlite3>, ["~> 1.3.3"])
  29. end
  30. else
  31. s.add_dependency(%q<activerecord>, ["~> 3.0"])
  32. s.add_dependency(%q<rspec>, ["~> 2.6.0"])
  33. s.add_dependency(%q<machinist>, ["~> 1.0.6"])
  34. s.add_dependency(%q<faker>, ["~> 0.9.5"])
  35. s.add_dependency(%q<sqlite3>, ["~> 1.3.3"])
  36. end
  37. end