diff --git a/Gemfile b/Gemfile index 7a34cb7..9e1126f 100644 --- a/Gemfile +++ b/Gemfile @@ -24,8 +24,3 @@ platforms :ruby do gem "mysql2", "~> 0.3.11" gem "pg" end - -if RUBY_VERSION < '2' - gem 'json', '~> 1.8' - gem 'tins', '1.6.0', require: false -end diff --git a/groupify.gemspec b/groupify.gemspec index 2009e9a..3ceba83 100644 --- a/groupify.gemspec +++ b/groupify.gemspec @@ -18,6 +18,11 @@ Gem::Specification.new do |gem| gem.required_ruby_version = ">= 1.9.3" + if RUBY_VERSION < '2' + gem 'json', '~> 1.8' + gem 'tins', '1.6.0', require: false + end + gem.add_development_dependency "mongoid", ">= 3.1" gem.add_development_dependency "activerecord", ">= 3.2", "< 5.1"