backport r39491 (lazily check credential permission)
r39491 fixed a RubyGems issue (https://github.com/rubygems/rubygems/pull/511).
I'll backport it for the coming release.
Updated by nagachika (Tomoyuki Chikanaga) about 7 years 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.