leakybucket 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 413f5cc36c084e5040b54239c21f83b0d1329996
4
- data.tar.gz: 703af2fad5c2b82a7cd73c1bd726dc10301f3795
3
+ metadata.gz: 38f3b52d2d9d4135adced03cc9982cdba36340b5
4
+ data.tar.gz: aa06dab0d4337480ce1b0d3e1d52a55040d7ff6b
5
5
  SHA512:
6
- metadata.gz: 74510d9ba82f44f0350ea03a31e7c93acb8d217c4a5176379c21264746f495e877ac9268d6a5ef7b5318fb969c7d575ad5d8e0e24300b4dcb26ee450816a9dbe
7
- data.tar.gz: 886969477556f22dfbe53fef9498df4bb4eb8dda972add50016887f895e93d86cc0a66bfbbbd08dc05c6771b28dbdf59792c3d8300028a0bc5f06b5663c29159
6
+ metadata.gz: f4c7f97264d5918c7bfb2f171f2d4d7b03c0ca7ca9f825b34f6ef4c35d21f43d7415a5a000bba748940047d3b1b5b1a18449b09bdf3ca43126e14fbd9642fde7
7
+ data.tar.gz: 5b04b79f7501f3b760416649bd9859e9574347da2cfe8de54014c4f8f8949adddd1a213b56800884d1cb2e8ca23ee6f5cb51f93502c15ce3bc6ab4eb16a5d186
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- leakybucket (0.0.3)
4
+ leakybucket (0.0.5)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -3,7 +3,7 @@ class Leakybucket::Bucket
3
3
  attr_accessor :limit, :value, :leaking_callback, :key
4
4
 
5
5
  def initialize(options = {}, key = '')
6
- self.limit = default_options.merge(options)[:limit]
6
+ self.limit = default_options.merge(options)[:limit].to_i
7
7
  self.value = self.limit
8
8
  self.key = key
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module Leakybucket
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leakybucket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas Elmer