brew vendor-gems: commit updates.
This commit is contained in:
parent
419ff5adca
commit
6ce716e591
@ -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