aboutsummaryrefslogtreecommitdiffstats
path: root/activejob
diff options
context:
space:
mode:
authorCristian Bica <cristian.bica@gmail.com>2014-08-12 15:57:57 +0300
committerCristian Bica <cristian.bica@gmail.com>2014-08-12 16:04:24 +0300
commit22ee993825897fe2adafebeed57158f0699b071b (patch)
treeccdce8547c8bbb39e37964676aa94809e6c65688 /activejob
parent7c84dfb510a573fbe80a9de7064b59c381987fbb (diff)
downloadrails-22ee993825897fe2adafebeed57158f0699b071b.tar.gz
rails-22ee993825897fe2adafebeed57158f0699b071b.tar.bz2
rails-22ee993825897fe2adafebeed57158f0699b071b.zip
Modified activejob.gemspec to match other rails gems format
Diffstat (limited to 'activejob')
-rw-r--r--activejob/activejob.gemspec10
1 files changed, 6 insertions, 4 deletions
diff --git a/activejob/activejob.gemspec b/activejob/activejob.gemspec
index 23fd25c6c8..fd551e540e 100644
--- a/activejob/activejob.gemspec
+++ b/activejob/activejob.gemspec
@@ -1,8 +1,10 @@
+version = File.read(File.expand_path('../../RAILS_VERSION', __FILE__)).strip
+
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = 'activejob'
- s.version = '4.2.0.alpha'
- s.summary = 'Job framework with pluggable queues (will be part of Rails).'
+ s.version = version
+ s.summary = 'Job framework with pluggable queues.'
s.description = 'Declare job classes that can be run by a variety of queueing backends.'
s.required_ruby_version = '>= 1.9.3'
@@ -13,9 +15,9 @@ Gem::Specification.new do |s|
s.email = 'david@loudthinking.com'
s.homepage = 'http://www.rubyonrails.org'
- s.files = Dir['CHANGELOG.md', 'MIT-LICENSE', 'README.rdoc', 'lib/**/*']
+ s.files = Dir['CHANGELOG.md', 'MIT-LICENSE', 'README.md', 'lib/**/*']
s.require_path = 'lib'
- s.add_dependency 'activesupport', '>= 4.1.0'
+ s.add_dependency 'activesupport', version
s.add_dependency 'activemodel-globalid'
end