lib/stripe/util.rb in stripe-3.23.0 vs lib/stripe/util.rb in stripe-3.24.0
- old
+ new
@@ -153,10 +153,10 @@
def self.file_readable(file)
# This is nominally equivalent to File.readable?, but that can
# report incorrect results on some more oddball filesystems
# (such as AFS)
- File.open(file) { |f| }
+ ::File.open(file) { |f| }
rescue StandardError
false
else
true
end