Gemfile in grape-entity-0.5.1 vs Gemfile in grape-entity-0.5.2

- old
+ new

@@ -1,16 +1,35 @@ source 'http://rubygems.org' gemspec -group :development, :test do +current_ruby_version = Gem::Version.new(RUBY_VERSION) + +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] +end + +gem 'json', '< 2', group: [:development, :test] + +group :development do gem 'pry' gem 'guard' gem 'guard-rspec' gem 'guard-bundler' gem 'rb-fsevent' gem 'growl' - gem 'json' +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