identity_cache.gemspec in identity_cache-0.0.3 vs identity_cache.gemspec in identity_cache-0.0.4

- old
+ new

@@ -15,15 +15,23 @@ gem.require_paths = ["lib"] gem.version = IdentityCache::VERSION gem.add_dependency('ar_transaction_changes', '0.0.1') - gem.add_dependency('activerecord', '3.2.13') - gem.add_dependency('activesupport', '3.2.13') - gem.add_dependency('cityhash', '0.6.0') + gem.add_dependency('activerecord', '~> 3.2.12') + gem.add_dependency('activesupport', '~> 3.2.12') + gem.add_development_dependency('memcache-client') gem.add_development_dependency('rake') gem.add_development_dependency('mocha', '0.14.0') - gem.add_development_dependency('mysql2') - gem.add_development_dependency('debugger') - gem.add_development_dependency('ruby-prof') + + if RUBY_PLATFORM == 'java' + gem.add_development_dependency 'jruby-openssl' + gem.add_development_dependency 'activerecord-jdbcmysql-adapter' + gem.add_development_dependency 'jdbc-mysql' + else + gem.add_development_dependency('debugger') + gem.add_development_dependency('ruby-prof') + gem.add_development_dependency('cityhash', '0.6.0') + gem.add_development_dependency('mysql2') + end end