ruote-redis.gemspec in ruote-redis-2.2.0 vs ruote-redis.gemspec in ruote-redis-2.3.0
- old
+ new
@@ -1,28 +1,31 @@
-# encoding: utf-8
Gem::Specification.new do |s|
s.name = 'ruote-redis'
- s.version = File.read('lib/ruote/redis/version.rb').match(/VERSION = '([^']+)'/)[1]
+
+ s.version = File.read(
+ File.expand_path('../lib/ruote/redis/version.rb', __FILE__)
+ ).match(/ VERSION *= *['"]([^'"]+)/)[1]
+
s.platform = Gem::Platform::RUBY
s.authors = [ 'John Mettraux' ]
s.email = [ 'jmettraux@gmail.com' ]
s.homepage = 'http://ruote.rubyforge.org'
s.rubyforge_project = 'ruote'
s.summary = 'Redis storage for ruote (a Ruby workflow engine)'
s.description = %q{
Redis storage for ruote (a Ruby workflow engine)
-}
+ }
#s.files = `git ls-files`.split("\n")
s.files = Dir[
'Rakefile',
'lib/**/*.rb', 'spec/**/*.rb', 'test/**/*.rb',
'*.gemspec', '*.txt', '*.rdoc', '*.md'
]
- s.add_runtime_dependency 'redis', '2.1.1'
+ s.add_runtime_dependency 'redis'#, '>= 2.2.2'
s.add_runtime_dependency 'ruote', ">= #{s.version}"
s.add_development_dependency 'rake'
s.require_path = 'lib'