summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2019-05-21 17:52:59 +0200
committerToon Claes <toon@gitlab.com>2019-05-21 18:08:04 +0200
commitf4370227992b18d469080f950054e6d32c1b8efd (patch)
treebd264ea6fd7d69f0f2381cfa8f5c97172b79342c
parentff61f92cf0940570cc6e10c93ba2b2b75386a648 (diff)
downloadgitlab-ce-tc-fix-shoulda-matcher-bigdecimal.tar.gz
Update shoulda-matchers to 4.0.1tc-fix-shoulda-matcher-bigdecimal
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
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock6
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)