diff --git a/Gemfile b/Gemfile index 040aa2f71..2715bbe5d 100644 --- a/Gemfile +++ b/Gemfile @@ -9,7 +9,7 @@ group :development do gem "debug", "~> 1.9", require: false gem "minitest-reporters", "~> 1.6" gem "minitest", "~> 5.23" - gem "mocha", "~> 2.2" + gem "mocha", "~> 2.3" gem "psych", "~> 5.1", require: false gem "rake", "~> 13.2" gem "rdoc", require: false, github: "Shopify/rdoc", branch: "create_snapper_generator" diff --git a/Gemfile.lock b/Gemfile.lock index 93b8224c3..23e1a059f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -37,7 +37,7 @@ GEM builder minitest (>= 5.0) ruby-progressbar - mocha (2.2.0) + mocha (2.3.0) ruby2_keywords (>= 0.0.5) netrc (0.11.0) parallel (1.24.0) @@ -91,14 +91,14 @@ GEM simplecov_json_formatter (~> 0.1) simplecov-html (0.12.3) simplecov_json_formatter (0.1.4) - sorbet (0.5.11380) - sorbet-static (= 0.5.11380) - sorbet-runtime (0.5.11380) - sorbet-static (0.5.11380-universal-darwin) - sorbet-static (0.5.11380-x86_64-linux) - sorbet-static-and-runtime (0.5.11380) - sorbet (= 0.5.11380) - sorbet-runtime (= 0.5.11380) + sorbet (0.5.11385) + sorbet-static (= 0.5.11385) + sorbet-runtime (0.5.11385) + sorbet-static (0.5.11385-universal-darwin) + sorbet-static (0.5.11385-x86_64-linux) + sorbet-static-and-runtime (0.5.11385) + sorbet (= 0.5.11385) + sorbet-runtime (= 0.5.11385) spoom (1.3.0) erubi (>= 1.10.0) prism (>= 0.19.0) @@ -136,7 +136,7 @@ DEPENDENCIES debug (~> 1.9) minitest (~> 5.23) minitest-reporters (~> 1.6) - mocha (~> 2.2) + mocha (~> 2.3) psych (~> 5.1) rake (~> 13.2) rdoc! diff --git a/sorbet/rbi/gems/mocha@2.2.0.rbi b/sorbet/rbi/gems/mocha@2.3.0.rbi similarity index 99% rename from sorbet/rbi/gems/mocha@2.2.0.rbi rename to sorbet/rbi/gems/mocha@2.3.0.rbi index 513b1ce56..9946b051e 100644 --- a/sorbet/rbi/gems/mocha@2.2.0.rbi +++ b/sorbet/rbi/gems/mocha@2.3.0.rbi @@ -3521,31 +3521,31 @@ class Mocha::ParameterMatchers::PositionalOrKeywordHash < ::Mocha::ParameterMatc # source://mocha//lib/mocha/parameter_matchers/positional_or_keyword_hash.rb#14 def matches?(available_parameters); end - # source://mocha//lib/mocha/parameter_matchers/positional_or_keyword_hash.rb#27 + # source://mocha//lib/mocha/parameter_matchers/positional_or_keyword_hash.rb#28 def mocha_inspect; end private - # source://mocha//lib/mocha/parameter_matchers/positional_or_keyword_hash.rb#41 + # source://mocha//lib/mocha/parameter_matchers/positional_or_keyword_hash.rb#42 def deprecation_warning(actual, expected); end - # source://mocha//lib/mocha/parameter_matchers/positional_or_keyword_hash.rb#57 + # source://mocha//lib/mocha/parameter_matchers/positional_or_keyword_hash.rb#58 def expectation_definition; end - # source://mocha//lib/mocha/parameter_matchers/positional_or_keyword_hash.rb#33 + # source://mocha//lib/mocha/parameter_matchers/positional_or_keyword_hash.rb#34 def extract_parameter(available_parameters); end - # source://mocha//lib/mocha/parameter_matchers/positional_or_keyword_hash.rb#49 + # source://mocha//lib/mocha/parameter_matchers/positional_or_keyword_hash.rb#50 def hash_type(hash); end # @return [Boolean] # - # source://mocha//lib/mocha/parameter_matchers/positional_or_keyword_hash.rb#53 + # source://mocha//lib/mocha/parameter_matchers/positional_or_keyword_hash.rb#54 def ruby2_keywords_hash?(hash); end # @return [Boolean] # - # source://mocha//lib/mocha/parameter_matchers/positional_or_keyword_hash.rb#37 + # source://mocha//lib/mocha/parameter_matchers/positional_or_keyword_hash.rb#38 def same_type_of_hash?(actual, expected); end end