better_rate_limit 0.1.3 → 0.1.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
  SHA256:
3
- metadata.gz: 1a5f2843da29693ce0d4c9ea1f12ac6310b4cf69bb135b5a4050a267b620f0ec
4
- data.tar.gz: 9ad1cecfb14d92490bab3e4eb92d9886142c4cc9cbb3196b4c983934286bde56
3
+ metadata.gz: 1ffd49df2965a97b61d730cbb292bf827c1e67efd36578a04b4832b65b6a23a9
4
+ data.tar.gz: 96b221bcb3b9328097cc4ba11fb7d8b9c514d0b19654f1e723933139f4725938
5
5
  SHA512:
6
- metadata.gz: 119b058e9262c95a42566a6e4d2eec5b9f710e81d3de68e24623cc775d609d35d42e90dcc6e3975aa580c1a9b1b14884e6adeeaf4f8601856d543d336402eb5d
7
- data.tar.gz: 5563b6847aa143b96dcf6f9ff2faa72deb41d58158022709a9f2e54880b34695745da4fc189560c84874da7cce1dd40eefd2874867acae3469e37b080f1888ca
6
+ metadata.gz: 5be3857423b38f9f56211922c084bc9ba4717f665b6571882c760d169b8b93e0d90959d9758ebb01153ab39ed7079ab47c05d32324fef347bb8a06889d2613d9
7
+ data.tar.gz: 68e6449f5bd8b32ce388f437c07b16af85bcd41b16ff84509d2cb15c4db74fd73c671d89df00919c78717b1b5e7a1a63e5e568c34dc983f27f1f70f50350356a
@@ -49,6 +49,10 @@ class Limit
49
49
  @options[:scope]
50
50
  end
51
51
 
52
+ def clear_if
53
+ @options[:clear_if]
54
+ end
55
+
52
56
  def clear_if_present?
53
57
  @options[:clear_if].present?
54
58
  end
@@ -1,3 +1,3 @@
1
1
  module BetterRateLimit
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: better_rate_limit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Fonseca