diff options
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/Rakefile | 1 | ||||
-rw-r--r-- | actionpack/actionpack.gemspec | 9 |
2 files changed, 6 insertions, 4 deletions
diff --git a/actionpack/Rakefile b/actionpack/Rakefile index f099a4613e..b9ace8658a 100644 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -4,7 +4,6 @@ require 'rake/testtask' require 'rake/rdoctask' require 'rake/packagetask' require 'rake/gempackagetask' -require File.join(File.dirname(__FILE__), 'lib', 'action_pack', 'version') desc "Default Task" task :default => :test diff --git a/actionpack/actionpack.gemspec b/actionpack/actionpack.gemspec index 00c4d7de1c..d19649a386 100644 --- a/actionpack/actionpack.gemspec +++ b/actionpack/actionpack.gemspec @@ -1,7 +1,10 @@ +$:.unshift "lib" +require "action_pack/version" + Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = 'actionpack' - s.version = '3.0.0.beta1' + s.version = ActionPack::VERSION::STRING s.summary = 'Web-flow and rendering framework putting the VC in MVC (part of Rails).' s.description = 'Web-flow and rendering framework putting the VC in MVC (part of Rails).' s.required_ruby_version = '>= 1.8.7' @@ -17,8 +20,8 @@ Gem::Specification.new do |s| s.has_rdoc = true - s.add_dependency('activesupport', '= 3.0.0.beta1') - s.add_dependency('activemodel', '= 3.0.0.beta1') + s.add_dependency('activesupport', "= #{ActionPack::VERSION::STRING}") + s.add_dependency('activemodel', "= #{ActionPack::VERSION::STRING}") s.add_dependency('rack', '~> 1.1.0') s.add_dependency('rack-test', '~> 0.5.0') s.add_dependency('rack-mount', '~> 0.5.1') |