mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
96d0f751f9
[This article](http://weblog.rubyonrails.org/2014/8/20/Rails-4-2-beta1/#maintenance-consequences-and-rails-5-0) states that: > Rails 5.0 is in most likelihood going to target Ruby 2.2. Before the exact minimum version is fully decided, @arthurnn [suggests](https://github.com/rails/rails/pull/17830#issuecomment-64940383) that **at least** version 2.1.0 **must** be required by the `gemspec` files.
24 lines
854 B
Ruby
24 lines
854 B
Ruby
version = File.read(File.expand_path('../../RAILS_VERSION', __FILE__)).strip
|
|
|
|
Gem::Specification.new do |s|
|
|
s.platform = Gem::Platform::RUBY
|
|
s.name = 'activemodel'
|
|
s.version = version
|
|
s.summary = 'A toolkit for building modeling frameworks (part of Rails).'
|
|
s.description = 'A toolkit for building modeling frameworks like Active Record. Rich support for attributes, callbacks, validations, serialization, internationalization, and testing.'
|
|
|
|
s.required_ruby_version = '>= 2.1.0'
|
|
|
|
s.license = 'MIT'
|
|
|
|
s.author = 'David Heinemeier Hansson'
|
|
s.email = 'david@loudthinking.com'
|
|
s.homepage = 'http://www.rubyonrails.org'
|
|
|
|
s.files = Dir['CHANGELOG.md', 'MIT-LICENSE', 'README.rdoc', 'lib/**/*']
|
|
s.require_path = 'lib'
|
|
|
|
s.add_dependency 'activesupport', version
|
|
|
|
s.add_dependency 'builder', '~> 3.1'
|
|
end
|