aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/actionmailer.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 /actionmailer/actionmailer.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 'actionmailer/actionmailer.gemspec')
-rw-r--r--actionmailer/actionmailer.gemspec7
1 files changed, 5 insertions, 2 deletions
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