From 5e6a0798e6411b1ba18765dee485090bf8a8a860 Mon Sep 17 00:00:00 2001 From: Grzegorz Jakubiak Date: Thu, 23 Aug 2018 23:31:31 +0200 Subject: [PATCH] Add travis badge, change Ruby min version and bump gem version --- .travis.yml | 1 - README.md | 8 +++----- activeadmin-mongoid.gemspec | 2 ++ lib/active_admin/mongoid/version.rb | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4f5880e..f79d0cb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ language: ruby services: - mongodb rvm: - - 2.2 - 2.3 - 2.4 - 2.5 diff --git a/README.md b/README.md index c43a3c8..22152f5 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,12 @@ # ActiveAdmin-Mongoid +[![Build Status](https://travis-ci.org/activeadmin/activeadmin-mongoid.svg?branch=master)](https://travis-ci.org/activeadmin/activeadmin-mongoid) ## Updates 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 Nic Boie, JD Guzman, Elia Schito and other ActiveAdmin and community members. -### Requirements for version 0.7.0 -* Ruby 2.2.2 or greater. (Note, ruby-2.4.0 fails specs, see [this issue](https://github.com/DatabaseCleaner/database_cleaner/issues/466)) +### Requirements for version 0.8.0 +* Ruby 2.3.0 or greater. (Note, ruby-2.4.0 fails specs, see [this issue](https://github.com/DatabaseCleaner/database_cleaner/issues/466)) * Tested working on Rails 5.1.x * 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.3 @@ -19,9 +20,6 @@ ActiveAdmin is holding off on pulling Mongoid support into the core ActiveAdmin This gem has been brought into the ActiveAdmin org for support and maintenance. - - # ActiveAdmin::Mongoid ActiveAdmin hacks to support Mongoid. diff --git a/activeadmin-mongoid.gemspec b/activeadmin-mongoid.gemspec index 4f4baf4..72ee753 100644 --- a/activeadmin-mongoid.gemspec +++ b/activeadmin-mongoid.gemspec @@ -17,6 +17,8 @@ Gem::Specification.new do |gem| gem.require_paths = ['lib'] gem.version = ActiveAdmin::Mongoid::VERSION gem.license = 'MIT' + + gem.required_ruby_version = '>= 2.3' gem.add_runtime_dependency 'mongoid', ['~> 6.0'] gem.add_runtime_dependency 'activeadmin', '>= 1.3.0' diff --git a/lib/active_admin/mongoid/version.rb b/lib/active_admin/mongoid/version.rb index 68ba6fa..9a8ecb1 100644 --- a/lib/active_admin/mongoid/version.rb +++ b/lib/active_admin/mongoid/version.rb @@ -1,5 +1,5 @@ module ActiveAdmin module Mongoid - VERSION = '0.7.0' + VERSION = '0.8.0' end end