zertico.gemspec in zertico-1.3.0 vs zertico.gemspec in zertico-2.0.0.alpha.1
- old
+ new
@@ -17,8 +17,16 @@
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features|gemfiles)/})
gem.require_paths = %w(lib)
gem.add_runtime_dependency 'rails', '>= 3.1.0'
+ gem.add_development_dependency 'coveralls' if RUBY_VERSION.to_f >= 1.9
+ gem.add_development_dependency 'pry'
gem.add_development_dependency 'rspec'
- gem.add_development_dependency 'coveralls'
-end
+ gem.add_development_dependency 'rspec-rails'
+
+ if RUBY_PLATFORM == 'java'
+ gem.add_development_dependency 'activerecord-jdbcsqlite3-adapter'
+ else
+ gem.add_development_dependency 'sqlite3'
+ end
+end
\ No newline at end of file