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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cabb0842af2e9904ceddafa66cfb55f82cf3cc175a7723bff0a5958bf64b2deb
4
- data.tar.gz: 7c58a8fdc330df14a88d035d385fc628b84df73d4e1f469fad007d2f75c7dbb3
3
+ metadata.gz: ae720196a9cc5460fc487559b18e34e138059e7353d49c6c5da0d586025d7964
4
+ data.tar.gz: e9ee6e6f3a26f906a4ff18534b90bfc305b1a38895e5edc3b865b85fb617743e
5
5
  SHA512:
6
- metadata.gz: a5cc467d7326721c2a2decf309308d558ed18b3c286567466f9a6ac45e9e0f9bfe97e997d52474fbb00da20450ec3bc9c38c71cf1aae09da1a3cc1b00a0fa95f
7
- data.tar.gz: 1cd615e2ad7084e7d86d51d81583ab5ba55ed6d84620b733960e9620742a792c03a4fb4960eda498ef2d62fb88e37a7f63af8a8c14fec18b063d9cc7dd9d1702
6
+ metadata.gz: 936a39e27c48afaa5c01d73d11b5fb010006c4a1a63150c843c2489ca54c2f713c3d442f69dfc2bd21d985df7f3f1dcd9db149a815f46b6b0571589412dd2bdd
7
+ data.tar.gz: 1fd4a96084b1abe61ec2a0c98168b0575a1037189c6ab721aadc0bf6b0b2c3edc363db335fb9bc424240dc7b14500b23d5bdffa52607d545992bc9c958623731
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 1.17.2.beta4
2
+
3
+ * Improve output of logging
4
+ * Fix user signup tracking issue
5
+
1
6
  ## 1.17.2.beta3
2
7
 
3
8
  * Improve performance of user tracking
@@ -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, args, _budget = nil, &_block)
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.warn "Using token #{@token}"
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)
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2015 Sqreen. All Rights Reserved.
2
2
  # Please refer to our terms for more information: https://www.sqreen.io/terms.html
3
3
  module Sqreen
4
- VERSION = '1.17.2.beta3'.freeze
4
+ VERSION = '1.17.2.beta4'.freeze
5
5
  end
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.beta3
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-09 00:00:00.000000000 Z
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