activemodel-3.2.6.gemspec 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. # -*- encoding: utf-8 -*-
  2. Gem::Specification.new do |s|
  3. s.name = "activemodel"
  4. s.version = "3.2.6"
  5. s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
  6. s.authors = ["David Heinemeier Hansson"]
  7. s.date = "2012-06-12"
  8. s.description = "A toolkit for building modeling frameworks like Active Record and Active Resource. Rich support for attributes, callbacks, validations, observers, serialization, internationalization, and testing."
  9. s.email = "david@loudthinking.com"
  10. s.homepage = "http://www.rubyonrails.org"
  11. s.require_paths = ["lib"]
  12. s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
  13. s.rubygems_version = "1.8.24"
  14. s.summary = "A toolkit for building modeling frameworks (part of Rails)."
  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<activesupport>, ["= 3.2.6"])
  19. s.add_runtime_dependency(%q<builder>, ["~> 3.0.0"])
  20. else
  21. s.add_dependency(%q<activesupport>, ["= 3.2.6"])
  22. s.add_dependency(%q<builder>, ["~> 3.0.0"])
  23. end
  24. else
  25. s.add_dependency(%q<activesupport>, ["= 3.2.6"])
  26. s.add_dependency(%q<builder>, ["~> 3.0.0"])
  27. end
  28. end