wherex.gemspec in wherex-1.0.8 vs wherex.gemspec in wherex-1.1.0

- old
+ new

@@ -10,29 +10,18 @@ s.homepage = "http://github.com/smathy/wherex" s.license = "MIT" s.summary = %q{Regexp for ActiveRecord finders} s.description = %q{This gem allows you to pass a Regexp as the value for any finder in ActiveRecord - Rails3 only} - s.rubyforge_project = "wherex" - s.files = `git ls-files`.split("\n") - s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + s.test_files = s.files.grep /^test/ s.require_paths = ["lib"] - s.add_dependency 'arel', '>= 2.0' - s.add_dependency 'activerecord', '>= 3.0' + s.add_dependency 'activerecord', '>= 3.1' - case ENV["RAILS_DB"] - when "postgres" - s.add_development_dependency 'pg' - when "mysql" - s.add_development_dependency 'mysql2' - else - s.add_development_dependency 'sqlite3' - end + s.add_development_dependency 'pg' + s.add_development_dependency 'mysql2' + s.add_development_dependency 'sqlite3', ">= 1.3.7" - s.add_development_dependency 'redgreen' - s.add_development_dependency 'turn' - s.add_development_dependency "rcov", ">= 0" - s.add_development_dependency 'rake', '>= 0.8.3' + s.add_development_dependency 'rake', '>= 1.0' end