flipper-mongo.gemspec in flipper-mongo-0.3.0 vs flipper-mongo.gemspec in flipper-mongo-0.5.0

- old
+ new

@@ -1,18 +1,20 @@ # -*- encoding: utf-8 -*- require File.expand_path('../lib/flipper/adapters/mongo/version', __FILE__) Gem::Specification.new do |gem| + gem.name = "flipper-mongo" + gem.version = Flipper::Adapters::Mongo::VERSION gem.authors = ["John Nunemaker"] gem.email = ["nunemaker@gmail.com"] gem.description = %q{Mongo adapter for Flipper} gem.summary = %q{Mongo adapter for Flipper} gem.homepage = "http://jnunemaker.github.com/flipper-mongo" - - 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-mongo" gem.require_paths = ["lib"] - gem.version = Flipper::Adapters::Mongo::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 'mongo', '~> 1.8' end