aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/activesupport.gemspec
diff options
context:
space:
mode:
authorBryan Helmkamp <bryan@brynary.com>2010-03-01 23:36:54 -0500
committerBryan Helmkamp <bryan@brynary.com>2010-03-02 00:32:53 -0500
commitf221a6f19f4cee31e2d103ea9a1930f59223fc25 (patch)
tree845a41e17550f1a76f8220fbedc1bb5c542b5cb7 /activesupport/activesupport.gemspec
parenta4111bbca0884e4a748ab32ba7d7b550ec8d9186 (diff)
downloadrails-f221a6f19f4cee31e2d103ea9a1930f59223fc25.tar.gz
rails-f221a6f19f4cee31e2d103ea9a1930f59223fc25.tar.bz2
rails-f221a6f19f4cee31e2d103ea9a1930f59223fc25.zip
Leverage VERSION constants from gemspecs to avoid tedious updates when releasing
Diffstat (limited to 'activesupport/activesupport.gemspec')
-rw-r--r--activesupport/activesupport.gemspec5
1 files changed, 4 insertions, 1 deletions
diff --git a/activesupport/activesupport.gemspec b/activesupport/activesupport.gemspec
index 90d68a215a..d76f752457 100644
--- a/activesupport/activesupport.gemspec
+++ b/activesupport/activesupport.gemspec
@@ -1,7 +1,10 @@
+$:.unshift "lib"
+require "active_support/version"
+
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = 'activesupport'
- s.version = '3.0.0.beta1'
+ s.version = ActiveSupport::VERSION::STRING
s.summary = 'Support and utility classes used by the Rails framework.'
s.description = 'Support and utility classes used by the Rails framework.'
s.required_ruby_version = '>= 1.8.7'