-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Description
I've tried to enable RUBYOPT="--enable-frozen-string-literal"
so that strings are frozen for my application, but I noticed that fog-google modifies frozen strings:
FrozenError: can't modify frozen String: "/"
storage_json/real.rb:52:in 'Fog::Google::StorageJSON::Real#signature'
Strings will be frozen eventually for Ruby, so it would be great if fog-google would be prepared for that.
I am not sure in how many places fog-google modifies strings. Adding # frozen_string_literal: true
/ # frozen_string_literal: false
could already help people using --enable-frozen-string-literal
, or maybe these cases could be fixed directly
Metadata
Metadata
Assignees
Labels
No labels