dase.gemspec in dase-3.2.4 vs dase.gemspec in dase-3.2.5

- old
+ new

@@ -12,14 +12,22 @@ to count associated records efficiently. See examples at https://github.com/vovayartsev/dase } gem.summary = %q{Provides includes_count_of method on ActiveRecord::Relation to count associated records efficiently} gem.homepage = "https://github.com/vovayartsev/dase" - gem.add_runtime_dependency "activerecord", "~> 3.2.0" gem.add_runtime_dependency "activesupport", "~> 3.2.0" gem.add_development_dependency 'shoulda' - gem.add_development_dependency 'sqlite3', '~> 1.3.3' - gem.add_development_dependency 'debugger' + + if defined? JRUBY_VERSION + gem.add_development_dependency 'activerecord-jdbcsqlite3-adapter' + else + gem.add_runtime_dependency "activerecord", "~> 3.2.0" + gem.add_development_dependency 'sqlite3', '~> 1.3.3' + end + + # gem.add_development_dependency 'debugger' + gem.add_development_dependency 'rake' + gem.add_development_dependency 'rspec-core' 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.require_paths = ["lib"]