sf6 0.1 → 0.2

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.
Files changed (2) hide show
  1. data/lib/sf6.rb +2 -2
  2. metadata +2 -2
data/lib/sf6.rb CHANGED
@@ -25,7 +25,7 @@ module SF6
25
25
  module Limiter
26
26
 
27
27
  def self.data
28
- @data ||= {counts: Hash.new(0), timestamps: Hash.new(0)}
28
+ @data ||= {:counts => Hash.new(0), :timestamps => Hash.new(0)}
29
29
  end
30
30
 
31
31
  def self.check(attr, value, bucket, &blk)
@@ -40,7 +40,7 @@ module SF6
40
40
  module Breaker
41
41
 
42
42
  def self.data
43
- @data ||= {counts: Hash.new(0), timestamps: Hash.new(0)}
43
+ @data ||= {:counts => Hash.new(0), :timestamps => Hash.new(0)}
44
44
  end
45
45
 
46
46
  def self.check(attr, value, bucket, &blk)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sf6
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: '0.2'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-10 00:00:00.000000000 Z
12
+ date: 2013-03-08 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Circuit breaker, Rate limiter.
15
15
  email: mark.fine@gmail.com