Backport #8403

backport r39491 (lazily check credential permission)

Added by Tomoyuki Chikanaga 11 months ago. Updated 11 months ago.

[ruby-core:54981]
Status:Closed
Priority:Normal
Assignee:Tomoyuki Chikanaga

Description

r39491 fixed a RubyGems issue (https://github.com/rubygems/rubygems/pull/511).
I'll backport it for the coming release.

Associated revisions

Revision 40731
Added by Tomoyuki Chikanaga 11 months ago

merge revision(s) 39491: [Backport #8403]

* lib/rubygems/config_file.rb:  Lazily load .gem/credentials to only
  check permissions when necessary.  RubyGems bug #465

* test/rubygems/test_gem_config_file.rb:  Test for the above.

* test/rubygems/test_gem_commands_push_command.rb:  Remove duplicated
  test.

History

#1 Updated by Tomoyuki Chikanaga 11 months ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r40731.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 39491: [Backport #8403]

* lib/rubygems/config_file.rb:  Lazily load .gem/credentials to only
  check permissions when necessary.  RubyGems bug #465

* test/rubygems/test_gem_config_file.rb:  Test for the above.

* test/rubygems/test_gem_commands_push_command.rb:  Remove duplicated
  test.

Also available in: Atom PDF