projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
5737: Merge branch 'master' into 5737-ruby231
[arvados.git]
/
services
/
api
/
app
/
models
/
blob.rb
diff --git
a/services/api/app/models/blob.rb
b/services/api/app/models/blob.rb
index 41d5b27093c3ab55c296f7a592b9defb7e25d6dc..00c2501865fa6098244b09487376f83514620e34 100644
(file)
--- a/
services/api/app/models/blob.rb
+++ b/
services/api/app/models/blob.rb
@@
-64,9
+64,9
@@
class Blob
# Return value: true if the locator has a valid signature, false otherwise
# Arguments: signed_blob_locator, opts
#
# Return value: true if the locator has a valid signature, false otherwise
# Arguments: signed_blob_locator, opts
#
- def self.verify_signature
*args
+ def self.verify_signature
(*args)
begin
begin
- self.verify_signature!
*args
+ self.verify_signature!
(*args)
true
rescue Blob::InvalidSignatureError
false
true
rescue Blob::InvalidSignatureError
false