sqreen 1.6.0-java → 1.6.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sqreen/frameworks/rails.rb +1 -0
- data/lib/sqreen/instrumentation.rb +1 -1
- data/lib/sqreen/middleware.rb +10 -0
- data/lib/sqreen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d47dfb1722f411b17e821c166366ea087f8a0c0
|
4
|
+
data.tar.gz: a6819fb36a34620e30b4413973c14334272c2915
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39373fa12de260b079c9f9827304e0ff60a3df65db08b930f85ea088428f351a944e8dda0592bdc027d314c28ab30104a2bab0366ea19c848bb5c1c94dee60dc
|
7
|
+
data.tar.gz: a26f75c80fa84b807f912eba48fa33c30c0432ea0d5ede3a5da15dbc3ff30baee980784f84ff7209ea7e8825813916e95e1d491c9c823ef4dc6c93962f45e08f
|
@@ -79,6 +79,7 @@ module Sqreen
|
|
79
79
|
def self.startup
|
80
80
|
initializer 'sqreen.startup' do |app|
|
81
81
|
app.middleware.insert_before(Rack::Runtime, Sqreen::Middleware)
|
82
|
+
app.middleware.insert_after(ActionDispatch::DebugExceptions, Sqreen::RailsMiddleware)
|
82
83
|
app.middleware.insert_after(ActionDispatch::DebugExceptions, Sqreen::ErrorHandlingMiddleware)
|
83
84
|
yield app
|
84
85
|
end
|
@@ -486,7 +486,7 @@ module Sqreen
|
|
486
486
|
def instrument!(rules, framework)
|
487
487
|
verifier = nil
|
488
488
|
if Sqreen.features['rules_signature'] &&
|
489
|
-
Sqreen.config_get(:rules_verify_signature) &&
|
489
|
+
Sqreen.config_get(:rules_verify_signature) == true &&
|
490
490
|
!defined?(::JRUBY_VERSION)
|
491
491
|
verifier = Sqreen::SqreenSignedVerifier.new
|
492
492
|
else
|
data/lib/sqreen/middleware.rb
CHANGED
data/lib/sqreen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqreen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Sqreen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|