skylight-core 4.2.0.beta3 → 4.2.0
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 +4 -4
- data/lib/skylight/core/probes/net_http.rb +2 -1
- data/lib/skylight/core/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a473587df8be0c1cf35b0296875e2cbd3c47d678be913e61c770e7d29d30756a
|
4
|
+
data.tar.gz: d637956868b2c614225343bf10a063038778df91418053222d7a5e5038fcaa69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91aebd0cfa951251a62903542df63949db425718233e178d362318bce81e4ccd865372e4d1cd9891d1adc09d87d8ac182daf5e5c6c7ded5b81f800ba1faa3374
|
7
|
+
data.tar.gz: 4d442162789bcbd47ae5bc37fabdaf49650c0fb4f7fc8b50c6a4c2c63cfe6271cd66191db27114d9985ffdcaf5a82effad58984065411b469d9cafa064f3ed63
|
@@ -8,10 +8,11 @@ module Skylight::Core
|
|
8
8
|
DISABLED_KEY = :__skylight_net_http_disabled
|
9
9
|
|
10
10
|
def self.disable
|
11
|
+
state_was = Thread.current[DISABLED_KEY]
|
11
12
|
Thread.current[DISABLED_KEY] = true
|
12
13
|
yield
|
13
14
|
ensure
|
14
|
-
Thread.current[DISABLED_KEY] =
|
15
|
+
Thread.current[DISABLED_KEY] = state_was
|
15
16
|
end
|
16
17
|
|
17
18
|
def self.disabled?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skylight-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.0
|
4
|
+
version: 4.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tilde, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -265,11 +265,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
265
265
|
version: '2.3'
|
266
266
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
267
267
|
requirements:
|
268
|
-
- - "
|
268
|
+
- - ">="
|
269
269
|
- !ruby/object:Gem::Version
|
270
|
-
version:
|
270
|
+
version: '0'
|
271
271
|
requirements: []
|
272
|
-
|
272
|
+
rubyforge_project:
|
273
|
+
rubygems_version: 2.7.6
|
273
274
|
signing_key:
|
274
275
|
specification_version: 4
|
275
276
|
summary: The core methods of the Skylight profiler.
|