orats 5.2.1 → 5.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad010149f9412908867835e81691cf6bc103fd367cc78580669b796f129d6d33
4
- data.tar.gz: 698e81a3d28446836ff207ebbc0bb0801c34fd4d0e5ac9d10a0e042c59019850
3
+ metadata.gz: 71f1db5426317338f60bff52f7059a63bd3bca5eaf5d245ea807eeb5e2e969a5
4
+ data.tar.gz: 88239786293cdc784c92667dd352c5712834e77d8c14d6cf9ffbdde2c4cc3b63
5
5
  SHA512:
6
- metadata.gz: 82e5dc668f20f77c552a6e8bfed554d43ecbc96ac74774b6c4adb9dd0efe130636b853dc5ac4b5b10b4c7a820741eded4d69a12c28d935a5baf1581af03f74f9
7
- data.tar.gz: 256fd420eea36e3348e7067ef0ad3f5f917eb321fc5dd193e7dd13cf58970c6001e23f74e3d7a28ca4f66be1f866cbca20bf254803a0d004cc53d11d067c3f2e
6
+ metadata.gz: ab96fd767f7ad6195f714a18fb6f7253b2521bf5cbaef8357e95336654a848dc8cf4d8ff02725bd0835502bb09c031198129e58d1ce1e436e3903e8dda8605fd
7
+ data.tar.gz: e984d9f40cd38e0fe3afe986318e01661a40c9adfb0c5adab3d6cf973213398fd2c5cb000047b81327d4667ad094122601291d1785c5cfb47a10125b66dc7da0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## orats 5.2.2 (April 19, 2018)
2
+
3
+ - Fix undefined `_r` variable / method error in `content_security_policy.rb`
4
+
1
5
  ## orats 5.2.1 (April 12, 2018)
2
6
 
3
7
  - Fix hardcoded `POSTGRES_USER` value
@@ -17,9 +17,9 @@
17
17
  # end
18
18
 
19
19
  # If you are using UJS then enable automatic nonce generation
20
- Rails.application.config.content_security_policy_nonce_generator = lambda(_r) {
20
+ Rails.application.config.content_security_policy_nonce_generator = lambda do |_|
21
21
  SecureRandom.base64(16)
22
- }
22
+ end
23
23
 
24
24
  # Report CSP violations to a specified URI
25
25
  # For further information see the following documentation:
data/lib/orats/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # set the version of this gem
2
2
  module Orats
3
- VERSION = '5.2.1'.freeze
3
+ VERSION = '5.2.2'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orats
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.1
4
+ version: 5.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Janetakis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-12 00:00:00.000000000 Z
11
+ date: 2018-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor