remnant 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
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: