summaryrefslogtreecommitdiff
path: root/lib/rubygems/security/policy.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-03-16 12:21:48 +0900
committerHiroshi SHIBATA <[email protected]>2023-03-17 18:50:55 +0900
commitb304cf324aed40977665ddcfcec7cc992feb949b ()
tree985f0c5428a72efe11e57445078f69b0177254c4 /lib/rubygems/security/policy.rb
parent03736159484cb7f9eeaaed3737beec924a175679 (diff)
util/rubocop -A --only Layout/ParameterAlignment
-rw-r--r--lib/rubygems/security/policy.rb3
1 files changed, 1 insertions, 2 deletions
@@ -205,8 +205,7 @@ class Gem::Security::Policy
#
# If +key+ is given it is used to validate the signing certificate.
- def verify(chain, key = nil, digests = {}, signatures = {},
- full_name = "(unknown)")
if signatures.empty?
if @only_signed
raise Gem::Security::Exception,