remnant 0.9.0 → 0.9.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.
data/lib/remnant/rack.rb CHANGED
@@ -13,7 +13,7 @@ class Remnant
13
13
 
14
14
  begin
15
15
  # only gc capture as dev
16
- if env['rack.request.cookie_hash']['developer']
16
+ if env['rack.request.cookie_hash']['developer'] == '1'
17
17
  ::Remnant::GC.enable_stats
18
18
  end
19
19
 
@@ -26,7 +26,7 @@ class Remnant
26
26
  ::Remnant.collect
27
27
 
28
28
  # only gc capture as dev
29
- if env['rack.request.cookie_hash']['developer']
29
+ if env['rack.request.cookie_hash']['developer'] == '1'
30
30
  ::Remnant::GC.clear_stats
31
31
  end
32
32
 
@@ -1,3 +1,3 @@
1
1
  class Remnant
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remnant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: