From f4370227992b18d469080f950054e6d32c1b8efd Mon Sep 17 00:00:00 2001 From: Toon Claes Date: Tue, 21 May 2019 17:52:59 +0200 Subject: Update shoulda-matchers to 4.0.1 Fix the deprecation warning: ``` warning: BigDecimal.new is deprecated; use BigDecimal() method instead. ``` It was resolved in: https://github.com/thoughtbot/shoulda-matchers/commit/0c07bfb039b0fe9f9863e885ee3885e48f3b39d9 The 4.0.0 release changelog: - Rails 5.x support - Ruby 2.4+ support - Improve negative versions of validation matchers - Drop support for Ruby 2.0 and 2.1 - Drop support Rails 4.0 and 4.1 --- Gemfile | 2 +- Gemfile.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 0b9e5000c7c..b5b38bb47fb 100644 --- a/Gemfile +++ b/Gemfile @@ -379,7 +379,7 @@ group :development, :test do end group :test do - gem 'shoulda-matchers', '~> 3.1.2', require: false + gem 'shoulda-matchers', '~> 4.0.1', require: false gem 'email_spec', '~> 2.2.0' gem 'json-schema', '~> 2.8.0' gem 'webmock', '~> 3.5.1' diff --git a/Gemfile.lock b/Gemfile.lock index be722b89a40..2402e0fccc0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -857,8 +857,8 @@ GEM sexp_processor (4.12.0) sham_rack (1.3.6) rack - shoulda-matchers (3.1.2) - activesupport (>= 4.0.0) + shoulda-matchers (4.0.1) + activesupport (>= 4.2.0) sidekiq (5.2.7) connection_pool (~> 2.2, >= 2.2.2) rack (>= 1.5.0) @@ -1199,7 +1199,7 @@ DEPENDENCIES sentry-raven (~> 2.7) settingslogic (~> 2.0.9) sham_rack (~> 1.3.6) - shoulda-matchers (~> 3.1.2) + shoulda-matchers (~> 4.0.1) sidekiq (~> 5.2.7) sidekiq-cron (~> 1.0) simple_po_parser (~> 1.1.2) -- cgit v1.2.1