groupdate.gemspec in groupdate-0.1.2 vs groupdate.gemspec in groupdate-0.1.3
- old
+ new
@@ -21,8 +21,14 @@
spec.add_dependency "activerecord", ">= 3.0.0"
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
spec.add_development_dependency "minitest"
- spec.add_development_dependency "pg"
- spec.add_development_dependency "mysql2"
+
+ if RUBY_PLATFORM == "java"
+ spec.add_development_dependency "activerecord-jdbcpostgresql-adapter"
+ spec.add_development_dependency "activerecord-jdbcmysql-adapter"
+ else
+ spec.add_development_dependency "pg"
+ spec.add_development_dependency "mysql2"
+ end
end