sqreen 1.15.3.beta1 → 1.15.3.beta2

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: dbb664dd1e3cac0de5c1a05dcc99871cdc2c404e480344fade45a1cd7c938ada
4
- data.tar.gz: 76fe67fac3ae676b4e9262b8c21ebd4175cc42275726271709a7dbe0b326bef6
3
+ metadata.gz: 22bb2bb71ea7c1ab0a557a3cd2f8018a3da8531f3adb985eb95b23ba36a06bda
4
+ data.tar.gz: 17a9ab6b561e96366fff1fe89aa3dc61bb3ee120a8ffcf36dad3c9f9e6cb2a9d
5
5
  SHA512:
6
- metadata.gz: f1d9174082fc76585abc4d74dd25d064dda15d6ec68d0f30699194c59cac5aa7041c5d6d487b90e467a9704246d9006b2f23ccf9d2782e201b6757799afe6615
7
- data.tar.gz: b9d7a157aa6b5a9abd145476cb660f5acee9044bedfdb364794e149e15b5939325701fd695dfecd140c2547c4ed7a3942c192b9868facab038a8be4ab723a01a
6
+ metadata.gz: ef504985ed22ae98abc51cf88d08e8ce0e99c4c3c990f8e4d2233deeabd009e6aa8564e260f15705716c8115db89e282e1582d84dd93070d0c0a82246c8e8a18
7
+ data.tar.gz: ed7b28ca551034387bfb5373aad968d4e6432602fffa696f872b8a489f3e3186d3d5a8c239a4ed3a737079c91db1552818c254f8521f7e291be95dab37a0bf10
@@ -246,7 +246,6 @@ module Sqreen
246
246
  return unless ensure_rack_loaded
247
247
  self.remaining_perf_budget = Sqreen.performance_budget
248
248
  SharedStorage.set(:request, Rack::Request.new(object))
249
- SharedStorage.inc(:stored_requests)
250
249
  SharedStorage.set(:xss_params, nil)
251
250
  SharedStorage.set(:whitelisted, nil)
252
251
  SharedStorage.set(:request_overtime, nil)
@@ -259,12 +258,6 @@ module Sqreen
259
258
 
260
259
  # Cleanup request context
261
260
  def clean_request
262
- unless SharedStorage.dec(:stored_requests) <= 0
263
- Sqreen.log.debug('Skipping clean_request due to value of ' \
264
- "stored_requests: #{SharedStorage.get(:stored_requests)}")
265
- return
266
- end
267
-
268
261
  payload_creator = Sqreen::PayloadCreator.new(self)
269
262
  close_request_record(Sqreen.queue, Sqreen.observations_queue, payload_creator)
270
263
  self.remaining_perf_budget = nil
@@ -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.15.3.beta1'.freeze
4
+ VERSION = '1.15.3.beta2'.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.15.3.beta1
4
+ version: 1.15.3.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sqreen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-31 00:00:00.000000000 Z
11
+ date: 2018-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sq_mini_racer