aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/Rakefile2
-rw-r--r--activesupport/activesupport.gemspec5
2 files changed, 4 insertions, 3 deletions
diff --git a/activesupport/Rakefile b/activesupport/Rakefile
index 64e3111cf8..43f4722dbc 100644
--- a/activesupport/Rakefile
+++ b/activesupport/Rakefile
@@ -2,8 +2,6 @@ require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/gempackagetask'
-require File.join(File.dirname(__FILE__), 'lib', 'active_support', 'version')
-
task :default => :test
Rake::TestTask.new do |t|
t.libs << 'test'
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'