diff --git a/.rubocop.yml b/.rubocop.yml index 916c7c2..b866ad7 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,6 +1,6 @@ AllCops: DisabledByDefault: true - TargetRubyVersion: 2.4 + TargetRubyVersion: 2.5 DisplayCopNames: true diff --git a/.travis.yml b/.travis.yml index b54fd58..72217be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ language: ruby rvm: - - 2.4 - 2.5 - 2.6 - 2.7 diff --git a/Gemfile.lock b/Gemfile.lock index f85a85e..12f1e7b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,7 +7,7 @@ GIT PATH remote: . specs: - activeadmin-mongoid (1.0.0) + activeadmin-mongoid (1.1.0) activeadmin (>= 1.4.3) jquery-rails kaminari-mongoid diff --git a/README.md b/README.md index 6097810..6c1aaa9 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ ActiveAdmin is holding off on pulling Mongoid support into the core ActiveAdmin application. This repo was pulled into the ActiveAdmin org from previous work done by Elia Schito, and will be maintained by Grzegorz Jakubiak, Nic Boie, JD Guzman, Elia Schito and other ActiveAdmin and community members. -### Requirements for version 1.0.0 -* Ruby 2.4.0 or greater. +### Requirements for version 1.1.0 +* Ruby 2.5.0 or greater. * Tested working on Rails 5.2.3 * Mongoid 6.x (**WARNING**:, using a Mongoid version >= 6.1.x has resulted in a fair amount of errors seen in the wild. Test your upgrade very carefully with any apps in which you're using this gem with Mongoid >= 6.1.x!) * ActiveAdmin 1.4.3 or greater @@ -38,7 +38,7 @@ For more on Mongoid support in ActiveAdmin see [this issue](https://github.com/g Add the following gems to your application's Gemfile, and lock the version: ```ruby -gem 'activeadmin-mongoid', '1.0.0' +gem 'activeadmin-mongoid', '1.1.0' gem 'ransack-mongoid', github: 'activerecord-hackery/ransack-mongoid' ``` diff --git a/activeadmin-mongoid.gemspec b/activeadmin-mongoid.gemspec index 9634269..29f3c82 100644 --- a/activeadmin-mongoid.gemspec +++ b/activeadmin-mongoid.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |gem| gem.version = ActiveAdmin::Mongoid::VERSION gem.license = 'MIT' - gem.required_ruby_version = '>= 2.4' + gem.required_ruby_version = '>= 2.5' gem.add_runtime_dependency 'mongoid', '>= 6.0', '< 8.a' gem.add_runtime_dependency 'activeadmin', '>= 1.4.3' diff --git a/lib/active_admin/mongoid/version.rb b/lib/active_admin/mongoid/version.rb index c67e774..cddaa02 100644 --- a/lib/active_admin/mongoid/version.rb +++ b/lib/active_admin/mongoid/version.rb @@ -1,5 +1,5 @@ module ActiveAdmin module Mongoid - VERSION = '1.0.0' + VERSION = '1.1.0' end end