From 57fcea7709f235ef40898abeddb2dcafb273e4da Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Mon, 4 May 2020 15:20:30 +1000 Subject: [PATCH] DEV: update rspec dependencies rspec-rails 4.0 was released so we no longer need to depend on a beta version. Also updates minor on a bunch of rspec gems. Thanks to @ryanwi for raising this. --- Gemfile | 3 +-- Gemfile.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/Gemfile b/Gemfile index a0f43d3313f..742bf82d0b7 100644 --- a/Gemfile +++ b/Gemfile @@ -167,8 +167,7 @@ group :test, :development do # we would like to upgrade it if possible gem 'rb-inotify', '~> 0.9', require: RUBY_PLATFORM =~ /linux/i ? 'rb-inotify' : false - # TODO once 4.0.0 is released upgrade to it, at time of writing 3.9.0 is latest - gem 'rspec-rails', '4.0.0.beta2', require: false + gem 'rspec-rails' gem 'shoulda-matchers', require: false gem 'rspec-html-matchers' diff --git a/Gemfile.lock b/Gemfile.lock index 0ffefbcbfa7..d16ced62843 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -317,8 +317,8 @@ GEM rspec-core (~> 3.9.0) rspec-expectations (~> 3.9.0) rspec-mocks (~> 3.9.0) - rspec-core (3.9.1) - rspec-support (~> 3.9.1) + rspec-core (3.9.2) + rspec-support (~> 3.9.3) rspec-expectations (3.9.1) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.9.0) @@ -328,15 +328,15 @@ GEM rspec-mocks (3.9.1) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.9.0) - rspec-rails (4.0.0.beta2) + rspec-rails (4.0.0) actionpack (>= 4.2) activesupport (>= 4.2) railties (>= 4.2) - rspec-core (~> 3.8) - rspec-expectations (~> 3.8) - rspec-mocks (~> 3.8) - rspec-support (~> 3.8) - rspec-support (3.9.2) + rspec-core (~> 3.9) + rspec-expectations (~> 3.9) + rspec-mocks (~> 3.9) + rspec-support (~> 3.9) + rspec-support (3.9.3) rswag-specs (2.3.1) activesupport (>= 3.1, < 7.0) json-schema (~> 2.2) @@ -525,7 +525,7 @@ DEPENDENCIES rqrcode rspec rspec-html-matchers - rspec-rails (= 4.0.0.beta2) + rspec-rails rswag-specs rtlit rubocop