flapjack 0.7.3 → 0.7.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## Flapjack Changelog
2
2
 
3
+ # 0.7.4 - 2013-05-16
4
+ - Bug: Event counter values are strings, not integers gh-173 (@auxesis)
5
+
3
6
  # 0.7.3 - 2013-05-14
4
7
  - Bug: Web and api gateways have configuable http timeout gh-170 (@jessereynolds)
5
8
  - Bug: Support POSTs to API larger than ~112 KB gh-169 (@jessereynolds)
@@ -120,18 +120,18 @@ module Flapjack
120
120
  'failing_checks' => @count_failing_checks,
121
121
  'processed_events' => {
122
122
  'all_time' => {
123
- 'total' => @event_counters['all'],
124
- 'ok' => @event_counters['ok'],
125
- 'failure' => @event_counters['failure'],
126
- 'action' => @event_counters['action'],
127
- },
128
- 'instance' => {
129
- 'total' => @event_counters_instance['all'],
130
- 'ok' => @event_counters_instance['ok'],
131
- 'failure' => @event_counters_instance['failure'],
132
- 'action' => @event_counters_instance['action'],
133
- 'average' => @event_rate_all,
123
+ 'total' => @event_counters['all'].to_i,
124
+ 'ok' => @event_counters['ok'].to_i,
125
+ 'failure' => @event_counters['failure'].to_i,
126
+ 'action' => @event_counters['action'].to_i,
134
127
  }
128
+ # 'instance' => {
129
+ # 'total' => @event_counters_instance['all'].to_i,
130
+ # 'ok' => @event_counters_instance['ok'].to_i,
131
+ # 'failure' => @event_counters_instance['failure'].to_i,
132
+ # 'action' => @event_counters_instance['action'].to_i,
133
+ # 'average' => @event_rate_all.to_i,
134
+ # }
135
135
  },
136
136
  'total_keys' => @dbsize,
137
137
  'uptime' => @uptime_string,
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  module Flapjack
4
- VERSION = "0.7.3"
4
+ VERSION = "0.7.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flapjack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-05-14 00:00:00.000000000 Z
14
+ date: 2013-05-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: dante
@@ -553,7 +553,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
553
553
  version: '0'
554
554
  segments:
555
555
  - 0
556
- hash: 2332608677203659919
556
+ hash: 876014140940183775
557
557
  required_rubygems_version: !ruby/object:Gem::Requirement
558
558
  none: false
559
559
  requirements:
@@ -562,7 +562,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
562
562
  version: '0'
563
563
  segments:
564
564
  - 0
565
- hash: 2332608677203659919
565
+ hash: 876014140940183775
566
566
  requirements: []
567
567
  rubyforge_project:
568
568
  rubygems_version: 1.8.23