sqreen 1.17.2.beta3 → 1.17.2.beta4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/sqreen/rules_callbacks/record_request_context.rb +1 -4
- data/lib/sqreen/rules_callbacks.rb +1 -0
- data/lib/sqreen/runner.rb +1 -1
- data/lib/sqreen/version.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: ae720196a9cc5460fc487559b18e34e138059e7353d49c6c5da0d586025d7964
|
4
|
+
data.tar.gz: e9ee6e6f3a26f906a4ff18534b90bfc305b1a38895e5edc3b865b85fb617743e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 936a39e27c48afaa5c01d73d11b5fb010006c4a1a63150c843c2489ca54c2f713c3d442f69dfc2bd21d985df7f3f1dcd9db149a815f46b6b0571589412dd2bdd
|
7
|
+
data.tar.gz: 1fd4a96084b1abe61ec2a0c98168b0575a1037189c6ab721aadc0bf6b0b2c3edc363db335fb9bc424240dc7b14500b23d5bdffa52607d545992bc9c958623731
|
data/CHANGELOG.md
CHANGED
@@ -18,7 +18,6 @@ module Sqreen
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def pre(_inst, args, _budget = nil, &_block)
|
21
|
-
Sqreen.log.debug { "RecordRequestContext pre args: #{args.inspect}" }
|
22
21
|
framework.store_request(args[0])
|
23
22
|
wh = framework.whitelisted_match
|
24
23
|
if wh
|
@@ -32,14 +31,12 @@ module Sqreen
|
|
32
31
|
end
|
33
32
|
|
34
33
|
def post(rv, _inst, args, _budget = nil, &_block)
|
35
|
-
Sqreen.log.debug { "RecordRequestContext post args: #{args.inspect}" }
|
36
34
|
framework.store_response(rv, args[0])
|
37
35
|
framework.clean_request
|
38
36
|
advise_action(nil)
|
39
37
|
end
|
40
38
|
|
41
|
-
def failing(_exception, _inst,
|
42
|
-
Sqreen.log.debug { "RecordRequestContext failing args: #{args.inspect}" }
|
39
|
+
def failing(_exception, _inst, _args, _budget = nil, &_block)
|
43
40
|
framework.clean_request
|
44
41
|
advise_action(nil)
|
45
42
|
end
|
@@ -26,6 +26,7 @@ require 'sqreen/rules_callbacks/binding_accessor_matcher'
|
|
26
26
|
require 'sqreen/rules_callbacks/count_http_codes'
|
27
27
|
require 'sqreen/rules_callbacks/crawler_user_agent_matches_metrics'
|
28
28
|
require 'sqreen/rules_callbacks/sdk_auth_track'
|
29
|
+
require 'sqreen/rules_callbacks/sdk_signup_track'
|
29
30
|
require 'sqreen/rules_callbacks/devise_auth_track'
|
30
31
|
|
31
32
|
require 'sqreen/rules_callbacks/custom_error'
|
data/lib/sqreen/runner.rb
CHANGED
@@ -119,7 +119,7 @@ module Sqreen
|
|
119
119
|
self.metrics_engine = MetricsStore.new
|
120
120
|
@instrumenter = Instrumentation.new(metrics_engine)
|
121
121
|
|
122
|
-
Sqreen.log.
|
122
|
+
Sqreen.log.debug "Using token #{@token}"
|
123
123
|
response = create_session(session_class)
|
124
124
|
wanted_features = response.fetch('features', {})
|
125
125
|
conf_initial_features = configuration.get(:initial_features)
|
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.17.2.
|
4
|
+
version: 1.17.2.beta4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sqreen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sq_mini_racer
|