Gemfile in mongoid-history-0.8.3 vs Gemfile in mongoid-history-0.8.5

- old
+ new

@@ -1,40 +1,49 @@ -source 'https://rubygems.org' - -gemspec - -case version = ENV['MONGOID_VERSION'] || '~> 7.0.0' -when 'HEAD' - gem 'mongoid', github: 'mongodb/mongoid' -when /\b7/ - gem 'mongoid', '~> 7.0.0' -when /\b6/ - gem 'mongoid', '~> 6.0.0' -when /\b5/ - gem 'mongoid', '~> 5.0' - gem 'mongoid-observers', '~> 0.2.0' -when /\b4/ - gem 'mongoid', '~> 4.0' - gem 'mongoid-observers', '~> 0.2.0' -when /\b3/ - gem 'mongoid', '~> 3.1.7' -else - gem 'mongoid', version -end -gem 'mongoid-compatibility' - -group :development, :test do - gem 'bundler' - gem 'pry' - gem 'rake', '< 11.0' -end - -group :test do - gem 'benchmark-ips', require: false - gem 'coveralls' - gem 'gem-release' - gem 'mongoid-danger', '~> 0.1.0', require: false - gem 'request_store' - gem 'rspec', '~> 3.1' - gem 'rubocop', '0.48.1' - gem 'yard' -end +source 'https://rubygems.org' + +gemspec + +case version = ENV['MONGOID_VERSION'] || '~> 7.0' +when 'HEAD' + gem 'mongoid', github: 'mongodb/mongoid' +when '7' + gem 'mongoid', '~> 7.3' +when '7.3' + gem 'mongoid', '~> 7.3.0' +when '7.2' + gem 'mongoid', '~> 7.2.0' +when '7.1' + gem 'mongoid', '~> 7.1.0' +when '7.0' + gem 'mongoid', '~> 7.0.0' +when '6' + gem 'mongoid', '~> 6.0' +when '5' + gem 'mongoid', '~> 5.0' + gem 'mongoid-observers', '~> 0.2' +when '4' + gem 'mongoid', '~> 4.0' + gem 'mongoid-observers', '~> 0.2' +when '3' + gem 'mongoid', '~> 3.1' +else + gem 'mongoid', version +end + +gem 'mongoid-compatibility' + +group :development, :test do + gem 'bundler' + gem 'pry' + gem 'rake' +end + +group :test do + gem 'benchmark-ips', require: false + gem 'coveralls' + gem 'gem-release' + gem 'mongoid-danger', '~> 0.1.0', require: false + gem 'request_store' + gem 'rspec', '~> 3.1' + gem 'rubocop', '0.48.1' + gem 'yard' +end