From 79c85289d06d69171b7f118c7f469c7282b24351 Mon Sep 17 00:00:00 2001 From: fatkodima Date: Sun, 12 Nov 2023 23:35:26 +0200 Subject: [PATCH] Update `mocha` gem --- Gemfile | 2 +- gemfiles/Gemfile.rails-5.0.x | 2 +- gemfiles/Gemfile.rails-5.1.x | 2 +- gemfiles/Gemfile.rails-5.2.x | 2 +- gemfiles/Gemfile.rails-6.0.x | 2 +- gemfiles/Gemfile.rails-6.1.x | 2 +- gemfiles/Gemfile.rails-7.0.x | 2 +- gemfiles/Gemfile.rails-main | 2 +- test/test_helper.rb | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Gemfile b/Gemfile index 460f92d0..269d31e4 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ source 'https://rubygems.org' gemspec -gem 'mocha', '~> 1.7.0' +gem 'mocha', '~> 2.1.0' gem 'test_declarative', '0.0.6' gem 'rake', '~> 13' gem 'minitest', '~> 5.14' diff --git a/gemfiles/Gemfile.rails-5.0.x b/gemfiles/Gemfile.rails-5.0.x index 07dc2e4c..5428e594 100644 --- a/gemfiles/Gemfile.rails-5.0.x +++ b/gemfiles/Gemfile.rails-5.0.x @@ -3,7 +3,7 @@ source 'https://rubygems.org' gemspec :path => '..' gem 'activesupport', '~> 5.0.0' -gem 'mocha', '~> 1.7.0' +gem 'mocha', '~> 2.1.0' gem 'test_declarative', '0.0.6' gem 'rake', '~> 13' gem 'minitest', '~> 5.14' diff --git a/gemfiles/Gemfile.rails-5.1.x b/gemfiles/Gemfile.rails-5.1.x index 96350ede..a944b7a2 100644 --- a/gemfiles/Gemfile.rails-5.1.x +++ b/gemfiles/Gemfile.rails-5.1.x @@ -3,7 +3,7 @@ source 'https://rubygems.org' gemspec :path => '..' gem 'activesupport', '~> 5.1.0' -gem 'mocha', '~> 1.7.0' +gem 'mocha', '~> 2.1.0' gem 'test_declarative', '0.0.6' gem 'rake' gem 'minitest', '~> 5.14' diff --git a/gemfiles/Gemfile.rails-5.2.x b/gemfiles/Gemfile.rails-5.2.x index 760abe84..854d4fe7 100644 --- a/gemfiles/Gemfile.rails-5.2.x +++ b/gemfiles/Gemfile.rails-5.2.x @@ -3,7 +3,7 @@ source 'https://rubygems.org' gemspec :path => '..' gem 'activesupport', '~> 5.2.0' -gem 'mocha', '~> 1.7.0' +gem 'mocha', '~> 2.1.0' gem 'test_declarative', '0.0.6' gem 'rake' gem 'minitest', '~> 5.14' diff --git a/gemfiles/Gemfile.rails-6.0.x b/gemfiles/Gemfile.rails-6.0.x index c6d1b279..06365440 100644 --- a/gemfiles/Gemfile.rails-6.0.x +++ b/gemfiles/Gemfile.rails-6.0.x @@ -3,7 +3,7 @@ source 'https://rubygems.org' gemspec :path => '..' gem 'activesupport', '~> 6.0.0' -gem 'mocha', '~> 1.7.0' +gem 'mocha', '~> 2.1.0' gem 'test_declarative', '0.0.6' gem 'rake' gem 'minitest', '~> 5.14' diff --git a/gemfiles/Gemfile.rails-6.1.x b/gemfiles/Gemfile.rails-6.1.x index cea7afe3..b8bea6b4 100644 --- a/gemfiles/Gemfile.rails-6.1.x +++ b/gemfiles/Gemfile.rails-6.1.x @@ -3,7 +3,7 @@ source 'https://rubygems.org' gemspec :path => '..' gem 'activesupport', '~> 6.1' -gem 'mocha', '~> 1.7.0' +gem 'mocha', '~> 2.1.0' gem 'test_declarative', '0.0.6' gem 'rake' gem 'minitest', '~> 5.14' diff --git a/gemfiles/Gemfile.rails-7.0.x b/gemfiles/Gemfile.rails-7.0.x index 90ffe74f..70fd87c0 100644 --- a/gemfiles/Gemfile.rails-7.0.x +++ b/gemfiles/Gemfile.rails-7.0.x @@ -3,7 +3,7 @@ source 'https://rubygems.org' gemspec :path => '..' gem 'activesupport', '~> 7.0' -gem 'mocha', '~> 1.7.0' +gem 'mocha', '~> 2.1.0' gem 'test_declarative', '0.0.6' gem 'rake' gem 'minitest', '~> 5.14' diff --git a/gemfiles/Gemfile.rails-main b/gemfiles/Gemfile.rails-main index d04f26ee..52647f3b 100644 --- a/gemfiles/Gemfile.rails-main +++ b/gemfiles/Gemfile.rails-main @@ -3,7 +3,7 @@ source 'https://rubygems.org' gemspec :path => '..' gem 'activesupport', github: 'rails/rails', branch: 'main' -gem 'mocha', '~> 1.7.0' +gem 'mocha', '~> 2.1.0' gem 'test_declarative', '0.0.6' gem 'rake' gem 'minitest', '~> 5.1' diff --git a/test/test_helper.rb b/test/test_helper.rb index f36b20b2..a3dabce8 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,7 +1,7 @@ require 'minitest/autorun' require 'bundler/setup' require 'i18n' -require 'mocha/setup' +require 'mocha/minitest' require 'test_declarative' class I18n::TestCase < Minitest::Test