prop 2.0.0 → 2.0.1

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: c346d4ae613e60059428af7761f47af474a02c63
4
- data.tar.gz: 5eadca75e381659c036eaf348ff24181148d127b
3
+ metadata.gz: 15f1ee6538591f2bbfe0b3769b76128c7702f069
4
+ data.tar.gz: fa672d034d03e20e58b6b1dd34e63f3468351dc7
5
5
  SHA512:
6
- metadata.gz: ce9e3393a3ff39720b1083a34d96b9c3c960f0ba5b47ab1f1cc7cb131132183880a6de7b0928a9736fb93c29ea1a81bd39abc79287783b5b85633bddf36edd48
7
- data.tar.gz: 1ee56b82228280ef143b2cece612d2e310da75a99685259da374b05b6fe9a39810fb6fbecd006d260e9220c1b88e172b3793919fa1ca2ce4e1e4c26c889a3abc
6
+ metadata.gz: 15309c4ab0acdc4cc32bd0d2ab21c7bb2ca1c3bd0d9963271fbaa9f4b4ffc33709f2355545bd251d3ef4883b76be4ecb0e0cf31d68aabfb1e333ff15c7b2876b
7
+ data.tar.gz: d6bafea38fa124dcdbac66f40c7c1a5b4a6368c74256e7192bfc0a863b2bf2e667e607a8014ddcd2f5809e31d53f940a67993f7a9cfda3cf2a23fffaf74d3b73
data/lib/prop.rb CHANGED
@@ -2,7 +2,7 @@ require "prop/limiter"
2
2
  require "forwardable"
3
3
 
4
4
  module Prop
5
- VERSION = "1.2.0"
5
+ VERSION = "2.0.1"
6
6
 
7
7
  # Short hand for accessing Prop::Limiter methods
8
8
  class << self
@@ -32,7 +32,7 @@ module Prop
32
32
  window = (Time.now.to_i / interval)
33
33
  cache_key = Prop::Key.normalize([ handle, key, window ])
34
34
 
35
- "prop/#{Digest::MD5.hexdigest(cache_key)}"
35
+ "prop/v2/#{Digest::MD5.hexdigest(cache_key)}"
36
36
  end
37
37
 
38
38
  def threshold_reached(options)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prop
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Morten Primdahl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-27 00:00:00.000000000 Z
11
+ date: 2015-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake