diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-16 12:57:49 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-17 18:50:55 +0900 |
commit | 5211900d37573a82c1bdf7cb2354937cc4022ae1 () | |
tree | 4951c15df9b302437b4ff173fe30fb5e211bd1fb /lib/rubygems/resolver | |
parent | b304cf324aed40977665ddcfcec7cc992feb949b (diff) |
util/rubocop -A --only Style/SymbolProc
-rw-r--r-- | lib/rubygems/resolver/composed_set.rb | 2 | ||||
-rw-r--r-- | lib/rubygems/resolver/conflict.rb | 2 | ||||
-rw-r--r-- | lib/rubygems/resolver/installer_set.rb | 2 | ||||
-rw-r--r-- | lib/rubygems/resolver/lock_set.rb | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -43,7 +43,7 @@ class Gem::Resolver::ComposedSet < Gem::Resolver::Set end def errors - @errors + @sets.map {|set| set.errors }.flatten end ## @@ -54,7 +54,7 @@ class Gem::Resolver::Conflict activated = @activated.spec.full_name dependency = @failed_dep.dependency requirement = dependency.requirement - alternates = dependency.matching_specs.map {|spec| spec.full_name } unless alternates.empty? matching = <<-MATCHING.chomp @@ -184,7 +184,7 @@ class Gem::Resolver::InstallerSet < Gem::Resolver::Set end def inspect # :nodoc: - always_install = @always_install.map {|s| s.full_name } "#<%s domain: %s specs: %p always install: %p>" % [ self.class, @domain, @specs.keys, always_install @@ -74,7 +74,7 @@ class Gem::Resolver::LockSet < Gem::Resolver::Set q.text "specs:" q.breakable - q.pp @specs.map {|spec| spec.full_name } end end end |