Gemfile in grape-entity-0.5.2 vs Gemfile in grape-entity-0.6.0
- old
+ new
@@ -1,35 +1,20 @@
source 'http://rubygems.org'
gemspec
-current_ruby_version = Gem::Version.new(RUBY_VERSION)
+if RUBY_VERSION < '2.2.2'
+ gem 'rack', '<2.0.0'
+ gem 'activesupport', '<5.0.0'
+end
-if Gem::Requirement.new('>= 2.2.2').satisfied_by? current_ruby_version
- gem 'activesupport', '~> 5.0'
- gem 'rack', '~> 2.0', group: [:development, :test]
-else
- gem 'activesupport', '~> 4.0'
- gem 'rack', '< 2', group: [:development, :test]
+group :development, :test do
+ gem 'ruby-grape-danger', '~> 0.1.0', require: false
end
-gem 'json', '< 2', group: [:development, :test]
-
-group :development do
- gem 'pry'
+group :test do
gem 'guard'
gem 'guard-rspec'
gem 'guard-bundler'
gem 'rb-fsevent'
gem 'growl'
-end
-
-group :development, :test do
- gem 'rake'
- gem 'rspec'
- gem 'rack-test', '~> 0.6.2', require: 'rack/test'
- gem 'rubocop', '0.31.0'
-end
-
-group :test do
- gem 'ruby-grape-danger', '~> 0.1.0', require: false
end