diff options
Diffstat (limited to 'actionmailer')
-rw-r--r-- | actionmailer/Rakefile | 1 | ||||
-rw-r--r-- | actionmailer/actionmailer.gemspec | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index 0cc743dfa6..5b72843f5e 100644 --- a/actionmailer/Rakefile +++ b/actionmailer/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_mailer', 'version') desc "Default Task" task :default => [ :test ] diff --git a/actionmailer/actionmailer.gemspec b/actionmailer/actionmailer.gemspec index 13983aa663..c7a363575b 100644 --- a/actionmailer/actionmailer.gemspec +++ b/actionmailer/actionmailer.gemspec @@ -1,7 +1,10 @@ +$:.unshift "lib" +require "action_mailer/version" + Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = 'actionmailer' - s.version = '3.0.0.beta1' + s.version = ActionMailer::VERSION::STRING s.summary = 'Email composition, delivery, and recieval framework (part of Rails).' s.description = 'Email composition, delivery, and recieval framework (part of Rails).' s.required_ruby_version = '>= 1.8.7' @@ -17,7 +20,7 @@ Gem::Specification.new do |s| s.has_rdoc = true - s.add_dependency('actionpack', '= 3.0.0.beta1') + s.add_dependency('actionpack', "= #{ActionMailer::VERSION::STRING}") s.add_dependency('mail', '~> 2.1.3') s.add_dependency('text-format', '~> 1.0.0') end |