leakybucket 0.0.3 → 0.0.4

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: 56ec597997603d5c17fef41f9bda0a86d92ea1db
4
- data.tar.gz: 49140040673bd82d017ac6993e18f939ad2de476
3
+ metadata.gz: 413f5cc36c084e5040b54239c21f83b0d1329996
4
+ data.tar.gz: 703af2fad5c2b82a7cd73c1bd726dc10301f3795
5
5
  SHA512:
6
- metadata.gz: c51a4b71a5f812c157e6bb5a1662ad68f7703cb9bf6c9a715a5c654ee8fa39755b63f232280ba4291e41f039d63f474d6e77a213cbbdf51dd8d1d03d791294a6
7
- data.tar.gz: e7a42103e32ef13723dd83647df233054f89ea6fe4a875b5fd9c012dd16f47d2f70f0c3ccef9872c95c981aa1905285f96b599c8dd0b2c21a641284869b9c2b4
6
+ metadata.gz: 74510d9ba82f44f0350ea03a31e7c93acb8d217c4a5176379c21264746f495e877ac9268d6a5ef7b5318fb969c7d575ad5d8e0e24300b4dcb26ee450816a9dbe
7
+ data.tar.gz: 886969477556f22dfbe53fef9498df4bb4eb8dda972add50016887f895e93d86cc0a66bfbbbd08dc05c6771b28dbdf59792c3d8300028a0bc5f06b5663c29159
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- leakybucket (0.0.2)
4
+ leakybucket (0.0.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -14,7 +14,7 @@ class Leakybucket::Manager
14
14
  end
15
15
 
16
16
  def create_bucket(options = {})
17
- key = generate_key
17
+ key = options['key'] || generate_key
18
18
  b = Leakybucket::Bucket.new(default_options.merge(options), key)
19
19
  buckets[key] = b
20
20
  b
@@ -1,3 +1,3 @@
1
1
  module Leakybucket
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
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.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas Elmer