lib/roda/plugins/content_security_policy.rb in roda-3.77.0 vs lib/roda/plugins/content_security_policy.rb in roda-3.78.0

- old
+ new

@@ -87,10 +87,10 @@ # # content_security_policy.script_src :self, :unsafe_eval # content_security_policy.add_script_src 'example.com', [:nonce, 'foobarbaz'] # # script-src 'self' 'unsafe-eval' example.com 'nonce-foobarbaz'; # - # content_security_policy.get_script_src 'example.com', [:nonce, 'foobarbaz'] + # content_security_policy.get_script_src # # => [:self, :unsafe_eval, 'example.com', [:nonce, 'foobarbaz']] # # The clear method can be used to remove all settings from the policy. # # The following methods to set boolean settings are also defined: