mirror of
https://github.com/github/rails.git
synced 2026-01-09 22:58:02 -05:00
Leverage VERSION constants from gemspecs to avoid tedious updates when releasing
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
$:.unshift "railties/lib"
|
||||
require "rails/version"
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.platform = Gem::Platform::RUBY
|
||||
s.name = 'rails'
|
||||
s.version = '3.0.0.beta1'
|
||||
s.version = Rails::VERSION::STRING
|
||||
s.summary = 'Full-stack web-application framework.'
|
||||
s.description = 'Full-stack web-application framework.'
|
||||
s.required_ruby_version = '>= 1.8.7'
|
||||
@@ -14,11 +17,11 @@ Gem::Specification.new do |s|
|
||||
s.files = []
|
||||
s.require_path = []
|
||||
|
||||
s.add_dependency('activesupport', '= 3.0.0.beta1')
|
||||
s.add_dependency('actionpack', '= 3.0.0.beta1')
|
||||
s.add_dependency('activerecord', '= 3.0.0.beta1')
|
||||
s.add_dependency('activeresource', '= 3.0.0.beta1')
|
||||
s.add_dependency('actionmailer', '= 3.0.0.beta1')
|
||||
s.add_dependency('railties', '= 3.0.0.beta1')
|
||||
s.add_dependency('activesupport', "= #{Rails::VERSION::STRING}")
|
||||
s.add_dependency('actionpack', "= #{Rails::VERSION::STRING}")
|
||||
s.add_dependency('activerecord', "= #{Rails::VERSION::STRING}")
|
||||
s.add_dependency('activeresource', "= #{Rails::VERSION::STRING}")
|
||||
s.add_dependency('actionmailer', "= #{Rails::VERSION::STRING}")
|
||||
s.add_dependency('railties', "= #{Rails::VERSION::STRING}")
|
||||
s.add_dependency('bundler', '>= 0.9.8')
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user