sqreen 1.1.31481742180 → 1.1.41481804991

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a51b92d7cf7a400bf11c25407bd9797ae2713b3
4
- data.tar.gz: 8c2eb063f80b282a6cb843d2e7f5b7661917156f
3
+ metadata.gz: f0d9c631d14ca94e904705fbadd947639b0353b7
4
+ data.tar.gz: c38ee8e47603a5f1b0b21b4ff4d22699c7254c34
5
5
  SHA512:
6
- metadata.gz: 6c8e7e009f06da4e7a26a46645dd24dab15cf2a9fa3e9e6798f1a7c03520feae18e2338d1e45d0d457005cd0558ceac7137e74b94716c515a917dcfa2c208a62
7
- data.tar.gz: 89cd3830d0540e9fa1610af6679d350d25f53f720ba4ae78699ced94a99b3e4389bfb3ba5f9bafbb2f9ba11337ee3d0df548b1c1cd3702d48f02641c02fb196c
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 = 'sqreen_call_count'.freeze
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)
@@ -2,5 +2,5 @@
2
2
  # Please refer to our terms for more information: https://www.sqreen.io/terms.html
3
3
  # Warning This file is auto generated! DO NOT edit.
4
4
  module Sqreen
5
- VERSION = "1.1.31481742180".freeze
5
+ VERSION = "1.1.41481804991".freeze
6
6
  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.1.31481742180
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-14 00:00:00.000000000 Z
11
+ date: 2016-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs