From 4a8b68b924c22a25e163bf4c94d3cfb97a892215 Mon Sep 17 00:00:00 2001 From: Grzegorz Jakubiak Date: Sun, 4 Jul 2021 18:39:06 +0200 Subject: [PATCH 1/2] Remove support for Ruby 2.4 --- .rubocop.yml | 2 +- .travis.yml | 1 - README.md | 2 +- activeadmin-mongoid.gemspec | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) 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/README.md b/README.md index 6097810..78f0081 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ 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. +* 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 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' From 841661110ec59ea7c25debcdc6692a238e518b60 Mon Sep 17 00:00:00 2001 From: Grzegorz Jakubiak Date: Sun, 4 Jul 2021 18:40:28 +0200 Subject: [PATCH 2/2] Release 1.1.0 --- Gemfile.lock | 2 +- README.md | 4 ++-- lib/active_admin/mongoid/version.rb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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 78f0081..6c1aaa9 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ 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 +### 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!) @@ -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/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