From f221a6f19f4cee31e2d103ea9a1930f59223fc25 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Mon, 1 Mar 2010 23:36:54 -0500 Subject: Leverage VERSION constants from gemspecs to avoid tedious updates when releasing --- activesupport/activesupport.gemspec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'activesupport/activesupport.gemspec') 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' -- cgit v1.2.3