gcra 1.3.0 → 1.3.1
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.
- checksums.yaml +4 -4
- data/lib/gcra/redis_store.rb +1 -1
- data/lib/gcra/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 423a09e8fad6de7de3fea1bbeb9fbaeba9b68606558ea555a770ab0d744a8f2d
|
4
|
+
data.tar.gz: 0a398f0db3ea50330caecce3e56a69ccb5e8dc286633fa114f9ccfcd3ba22039
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9be28b39e06b8715f2ce7249a35e727538bdbcc3e48bdea59849fc906ac9dc8fee5d69af54d405321bc3bce98db6c7b9cd4f1aef0f7012e08ca830b8853d081b
|
7
|
+
data.tar.gz: b39c6f352d0a2b9617827394eb725e7a6dc52554705c0e3066af790ed19446218385524c89f2f002239fce31aa025082eb9e867fcf0d5a70e7ea90674ba54d7c
|
data/lib/gcra/redis_store.rb
CHANGED
@@ -17,7 +17,7 @@ module GCRA
|
|
17
17
|
CAS_SHA = "89118e702230c0d65969c5fc557a6e942a2f4d31".freeze
|
18
18
|
CAS_SCRIPT_MISSING_KEY_RESPONSE_PATTERN = Regexp.new('^key does not exist')
|
19
19
|
SCRIPT_NOT_IN_CACHE_RESPONSE_PATTERN = Regexp.new(
|
20
|
-
'^NOSCRIPT No matching script
|
20
|
+
'^NOSCRIPT No matching script(?:\. Please use EVAL\.)?'
|
21
21
|
)
|
22
22
|
|
23
23
|
def initialize(redis, key_prefix, options = {})
|
data/lib/gcra/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gcra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Frister
|
8
8
|
- Tobias Schoknecht
|
9
|
-
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2025-06-27 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rspec
|
@@ -53,7 +52,6 @@ homepage: https://github.com/viafintech/gcra-ruby
|
|
53
52
|
licenses:
|
54
53
|
- MIT
|
55
54
|
metadata: {}
|
56
|
-
post_install_message:
|
57
55
|
rdoc_options: []
|
58
56
|
require_paths:
|
59
57
|
- lib
|
@@ -68,8 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
66
|
- !ruby/object:Gem::Version
|
69
67
|
version: '0'
|
70
68
|
requirements: []
|
71
|
-
rubygems_version: 3.
|
72
|
-
signing_key:
|
69
|
+
rubygems_version: 3.6.2
|
73
70
|
specification_version: 4
|
74
71
|
summary: Ruby implementation of a generic cell rate algorithm (GCRA), ported from
|
75
72
|
the Go implementation throttled.
|