active_tenant.gemspec in active_tenant-0.0.3 vs active_tenant.gemspec in active_tenant-0.0.4

- old
+ new

@@ -13,11 +13,18 @@ s.files = `git ls-files`.split($\) s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) } s.test_files = s.files.grep(%r{^(test|spec|features)/}) s.require_paths = ["lib"] - s.add_dependency 'rails', '>= 3.2.0' + s.add_dependency 'activerecord', '~> 3' - s.add_development_dependency 'pg' - s.add_development_dependency 'sqlite3' - s.add_development_dependency 'rspec' + if RUBY_ENGINE == 'jruby' + s.add_development_dependency 'activerecord-jdbcpostgresql-adapter' + s.add_development_dependency 'activerecord-jdbcsqlite3-adapter' + else + s.add_development_dependency 'pg' + s.add_development_dependency 'sqlite3' + end + s.add_development_dependency 'rspec', '~> 2.14.0' + s.add_development_dependency 'rake' + s.add_development_dependency 'pry' end