our-eel-hacks 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/our-eel-hacks/rack.rb +3 -1
  2. metadata +7 -7
@@ -21,7 +21,9 @@ module OurEelHacks
21
21
  end
22
22
 
23
23
  def metric_from(env)
24
- Integer(env[@env_field]) rescue 0
24
+ (Integer(env[@env_field]) rescue 0).tap{|val|
25
+ puts "#{@env_field} => #{env[@env_field]} : #{val}"
26
+ }
25
27
  end
26
28
  end
27
29
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: our-eel-hacks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-05-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: corundum
16
- requirement: &85523460 !ruby/object:Gem::Requirement
16
+ requirement: &75106820 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.0.1
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *85523460
24
+ version_requirements: *75106820
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: heroku
27
- requirement: &85522530 !ruby/object:Gem::Requirement
27
+ requirement: &75138450 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>'
@@ -34,7 +34,7 @@ dependencies:
34
34
  - 0
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *85522530
37
+ version_requirements: *75138450
38
38
  description: ! " Middleware for Rack and Sidekiq to scale heroku.\n\n A heroku process
39
39
  knows everything it needs in order to scale itself. A little configuration, and
40
40
  you're set.\n"
@@ -66,7 +66,7 @@ rdoc_options:
66
66
  - --main
67
67
  - doc/README
68
68
  - --title
69
- - our-eel-hacks-0.0.5 RDoc
69
+ - our-eel-hacks-0.0.6 RDoc
70
70
  require_paths:
71
71
  - lib/
72
72
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -77,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
77
  version: '0'
78
78
  segments:
79
79
  - 0
80
- hash: 247718319
80
+ hash: 250928993
81
81
  required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  none: false
83
83
  requirements: