cache_debugging 0.1.0 → 0.1.1

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: b6f1d6cd5b9d295bbb09481343e61a41c3179493
4
- data.tar.gz: b113ac5ae559bf44e02472190cca54cc8c02761a
3
+ metadata.gz: 5fc7aa4aa487a16f4a041e8e7f60a5ddd971e508
4
+ data.tar.gz: 168aa60d34fd991944d719f09b00c596f23852b2
5
5
  SHA512:
6
- metadata.gz: 76bfd3b1c5419d0c77bdf0db5524b883248ef6c48898188b2f02d20550c5b2dccaa6893b0a354ef661c0c5c843348a867cf543453016ebe700a82f2592eaadf5
7
- data.tar.gz: 25e759f6223135c33462b6a0c11f11020e93ff5748fdd8b6ddd0bdcc8987dbf0ebc4aaae6027ea2124847ac3c316b4e28baf5f611466f2bf4102c2c5bbe24594
6
+ metadata.gz: 8b25f9e8ae1564dfa70339d9526ed7448b310fb4bff66e3835193e96524c3a3f8dfdd23f24e3febced35c9256f29f3a1f010ec5a0517f41db1ebdf418acba93f
7
+ data.tar.gz: c19e1c26e3c3fe110f58183524bd92c0bf674ed66a2efd23bb71f7847321270be8f79e3b2fdcbbd73d6ae047aa1b05048c3f583757fc0b99145a445dad1256aa
@@ -1,3 +1,3 @@
1
1
  module CacheDebugging
2
- VERSION = "0.1.0"
3
- end
2
+ VERSION = "0.1.1"
3
+ end
@@ -45,8 +45,9 @@ module CacheDebugging
45
45
 
46
46
  # clear forcing of view sampling if it's been initiated
47
47
  def cache_with_view_sampling(name = {}, options = nil, &block)
48
- cache_without_view_sampling(name, options, &block)
49
- CacheDebugging::ViewSampling.force_sampling = false if cache_depth == 0
48
+ cache_without_view_sampling(name, options, &block).tap do
49
+ CacheDebugging::ViewSampling.force_sampling = false if cache_depth == 0
50
+ end
50
51
  end
51
52
 
52
53
  private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cache_debugging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Ching