Merge pull request #14267 from Homebrew/dependabot/bundler/Library/Homebrew/did_you_mean-1.6.3
build(deps): bump did_you_mean from 1.6.2 to 1.6.3 in /Library/Homebrew
This commit is contained in:
commit
0e56c86c89
@ -19,7 +19,7 @@ GEM
|
||||
highline (~> 2.0.0)
|
||||
concurrent-ruby (1.1.10)
|
||||
connection_pool (2.3.0)
|
||||
did_you_mean (1.6.2)
|
||||
did_you_mean (1.6.3)
|
||||
diff-lcs (1.5.0)
|
||||
docile (1.4.0)
|
||||
domain_name (0.5.20190701)
|
||||
|
@ -43,7 +43,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/highline-2.0.3/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/commander-4.6.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/connection_pool-2.3.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/did_you_mean-1.6.2/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/did_you_mean-1.6.3/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/diff-lcs-1.5.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/docile-1.4.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/universal-darwin-21/#{Gem.extension_api_version}/unf_ext-0.0.8.2")
|
||||
|
@ -1,3 +0,0 @@
|
||||
module DidYouMean
|
||||
VERSION = "1.6.2".freeze
|
||||
end
|
@ -59,6 +59,13 @@ module DidYouMean
|
||||
method_names = receiver.methods + receiver.singleton_methods
|
||||
method_names += receiver.private_methods if @private_call
|
||||
method_names.uniq!
|
||||
# Assume that people trying to use a writer are not interested in a reader
|
||||
# and vice versa
|
||||
if method_name.match?(/=\Z/)
|
||||
method_names.select! { |name| name.match?(/=\Z/) }
|
||||
else
|
||||
method_names.reject! { |name| name.match?(/=\Z/) }
|
||||
end
|
||||
method_names
|
||||
else
|
||||
[]
|
@ -0,0 +1,3 @@
|
||||
module DidYouMean
|
||||
VERSION = "1.6.3".freeze
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user