bullet 7.0.5 → 7.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/bullet/version.rb +1 -1
- data/lib/bullet.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 569db7f7d8ef291955677e5d584ddc3b2cd51704173bfdf6e11890d06053fc71
|
4
|
+
data.tar.gz: 45e12d9e2ba4129361796d2d5f11c7f98f3e79d8ab466941a960b64bcd044fa5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6a8690827ab89a72f78eb717dd2576384b7cce02ace9ace4ac3840da1d3e64cda20d8dec0016a06b288fa99b806c8debd309922eb061cf3576413781ee8347a
|
7
|
+
data.tar.gz: b3bfe35af8f6a7b2d3e8183fc80d1f106ba71ad3326b2d56592e7b0a4c715dc6b1ac861760a61f3327a371025b58792e07bbd1f0143d2ba7d9710b4151e7a6f6
|
data/CHANGELOG.md
CHANGED
data/lib/bullet/version.rb
CHANGED
data/lib/bullet.rb
CHANGED
@@ -23,7 +23,7 @@ module Bullet
|
|
23
23
|
if defined?(Rails::Railtie)
|
24
24
|
class BulletRailtie < Rails::Railtie
|
25
25
|
initializer 'bullet.configure_rails_initialization' do |app|
|
26
|
-
if defined?(ActionDispatch::ContentSecurityPolicy::Middleware)
|
26
|
+
if defined?(ActionDispatch::ContentSecurityPolicy::Middleware) && app.middleware.include?(ActionDispatch::ContentSecurityPolicy::Middleware)
|
27
27
|
app.middleware.insert_before ActionDispatch::ContentSecurityPolicy::Middleware, Bullet::Rack
|
28
28
|
else
|
29
29
|
app.middleware.use Bullet::Rack
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Huang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|