skylight-core 4.2.0.beta3 → 4.2.0

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: 60447468569409892f992529357071ffbc96fdec761b360f0d875dd28a4b4cda
4
- data.tar.gz: 55f68601c0449764eea3f85a5228a233d55829f9c485500fc518a39e4465d1a0
3
+ metadata.gz: a473587df8be0c1cf35b0296875e2cbd3c47d678be913e61c770e7d29d30756a
4
+ data.tar.gz: d637956868b2c614225343bf10a063038778df91418053222d7a5e5038fcaa69
5
5
  SHA512:
6
- metadata.gz: bf727015e1cb1112fa8edb96ddb1845f023e15f5c15811849106fb0e8649565b69b5559037e423d446eb87d2dc533ff710cad3e0f64b603b2c892c3b377538c1
7
- data.tar.gz: 397ab6335dcda160000b90fae373cb20731b96bd6f5f451f30e1daa037c98d38162530b71af10c892ab6bae252bd230f679d2be43af218ce3482d666c9eab200
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] = false
15
+ Thread.current[DISABLED_KEY] = state_was
15
16
  end
16
17
 
17
18
  def self.disabled?
@@ -1,5 +1,5 @@
1
1
  module Skylight
2
2
  module Core
3
- VERSION = "4.2.0-beta3".freeze
3
+ VERSION = "4.2.0".freeze
4
4
  end
5
5
  end
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.beta3
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-09 00:00:00.000000000 Z
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: 1.3.1
270
+ version: '0'
271
271
  requirements: []
272
- rubygems_version: 3.0.3
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.