diff options
author | David RodrÃguez <[email protected]> | 2023-12-07 22:10:33 +0100 |
---|---|---|
committer | git <[email protected]> | 2023-12-07 22:29:33 +0000 |
commit | 2755cb1b2fbc4a5f08ca56345b5945bd452da74e () | |
tree | 3b4500389edac16971410262ec331bae515e29e4 /lib/rubygems/security/trust_dir.rb | |
parent | 9d696aa20461d94c2d32e1e474bd036ade20c94d (diff) |
[rubygems/rubygems] Use modern hashes consistently
https://.com/rubygems/rubygems/commit/bb66253f2c
-rw-r--r-- | lib/rubygems/security/trust_dir.rb | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -9,8 +9,8 @@ class Gem::Security::TrustDir # Default permissions for the trust directory and its contents DEFAULT_PERMISSIONS = { - :trust_dir => 0o700, - :trusted_cert => 0o600, }.freeze ## @@ -111,7 +111,7 @@ class Gem::Security::TrustDir FileUtils.chmod 0o700, @dir else - FileUtils.mkdir_p @dir, :mode => @permissions[:trust_dir] end end end |