flipper-redis.gemspec in flipper-redis-0.3.0 vs flipper-redis.gemspec in flipper-redis-0.5.0
- old
+ new
@@ -1,18 +1,20 @@
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/flipper/adapters/redis/version', __FILE__)
Gem::Specification.new do |gem|
+ gem.name = "flipper-redis"
+ gem.version = Flipper::Adapters::Redis::VERSION
gem.authors = ["John Nunemaker"]
gem.email = ["nunemaker@gmail.com"]
gem.description = %q{Redis adapter for Flipper}
gem.summary = %q{Redis adapter for Flipper}
gem.homepage = "http://jnunemaker.github.com/flipper-redis"
-
- gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
- gem.files = `git ls-files`.split("\n")
- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- gem.name = "flipper-redis"
gem.require_paths = ["lib"]
- gem.version = Flipper::Adapters::Redis::VERSION
- gem.add_dependency 'flipper', '~> 0.4'
+
+ gem.files = `git ls-files`.split($/)
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
+
+ gem.add_dependency 'flipper', '~> 0.5.0'
+ gem.add_dependency 'redis', '~> 3.0.0'
end