diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-16 13:12:38 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-17 18:50:55 +0900 |
commit | 1ca67f13cd2ebb643fc924246cc790f14b26480d (patch) | |
tree | 0551499a620d3d3d034681b107aedda4019b710e /lib/rubygems/gemcutter_utilities.rb | |
parent | 5211900d37573a82c1bdf7cb2354937cc4022ae1 (diff) |
util/rubocop -A --only Style/RedundantSelf
Diffstat (limited to 'lib/rubygems/gemcutter_utilities.rb')
-rw-r--r-- | lib/rubygems/gemcutter_utilities.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rubygems/gemcutter_utilities.rb b/lib/rubygems/gemcutter_utilities.rb index 3d72e28dbe..3e26ceb66c 100644 --- a/lib/rubygems/gemcutter_utilities.rb +++ b/lib/rubygems/gemcutter_utilities.rb @@ -120,7 +120,7 @@ module Gem::GemcutterUtilities end def update_scope(scope) - sign_in_host = self.host + sign_in_host = host pretty_host = pretty_host(sign_in_host) update_scope_params = { scope => true } @@ -146,7 +146,7 @@ module Gem::GemcutterUtilities # key. def sign_in(sign_in_host = nil, scope: nil) - sign_in_host ||= self.host + sign_in_host ||= host return if api_key pretty_host = pretty_host(sign_in_host) @@ -279,7 +279,7 @@ module Gem::GemcutterUtilities end def default_host? - self.host == Gem::DEFAULT_HOST + host == Gem::DEFAULT_HOST end def get_user_profile(email, password) |