sqreen 1.1.31481742180 → 1.1.41481804991
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sqreen/call_countable.rb +1 -1
- data/lib/sqreen/frameworks/rails.rb +1 -1
- 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: f0d9c631d14ca94e904705fbadd947639b0353b7
|
4
|
+
data.tar.gz: c38ee8e47603a5f1b0b21b4ff4d22699c7254c34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86a21565360f4ad945a4a5ace28df5797670754fbb96e68837b7f0e3e297b04636efbf91e293c171f84d5115459f81abc77d63668c4ca1a23dc9c9568c725259
|
7
|
+
data.tar.gz: 0fb5ce9e34bb1fb9048b46d67c6b5f3a6342ec0787180985a234f626232f6516e7567318849596e4ab0c49dcc5f3ae5bcbeee2694c10b17b97d790eee2ce7a70
|
@@ -31,7 +31,7 @@ module Sqreen
|
|
31
31
|
PRE = 'pre'.freeze
|
32
32
|
POST = 'post'.freeze
|
33
33
|
FAILING = 'failing'.freeze
|
34
|
-
COUNT_CALLS = '
|
34
|
+
COUNT_CALLS = 'sqreen_call_counts'.freeze
|
35
35
|
|
36
36
|
def pre_with_count(inst, *args, &block)
|
37
37
|
ret = pre_without_count(inst, *args, &block)
|
@@ -92,7 +92,7 @@ module Sqreen
|
|
92
92
|
res = super
|
93
93
|
return res if res
|
94
94
|
run_in_test = sqreen_configuration.get(:run_in_test)
|
95
|
-
return :rails_test if !run_in_test && Rails.env.test?
|
95
|
+
return :rails_test if !run_in_test && (Rails.env.test? || Rails.env.cucumber?)
|
96
96
|
|
97
97
|
# SQREEN-880 - prevent Sqreen startup on Sidekiq workers
|
98
98
|
return :sidekiq_cli if defined?(Sidekiq::CLI)
|
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.1.
|
4
|
+
version: 1.1.41481804991
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sqreen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|