logster 2.9.2 → 2.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/logster/redis_store.rb +1 -1
- data/lib/logster/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7de00b1dd1b414f3a589e3775c0f21cbc1b93902370b2d4ab60fc837cfe5f6b2
|
4
|
+
data.tar.gz: c48939f729a45ccbe5ba61f11b7e0375f59d30dca469e9067eeeccc1eedaeee5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01e9a444878311565c0e2acc9cd711d7e4c56080d109855a729faa35ed7bba1f33263e19e84e5a07d65070ca2cc20e727af6d4b8ed68d14a8e65d7a81888804a
|
7
|
+
data.tar.gz: bee2fa32126d20f4e7f4a515633c2094c989c58699c09ef282c668517acba7a57ef81e30074327743c7ffda1b36a55cb4201a591916c087c6f3885aab6275f0c
|
data/CHANGELOG.md
CHANGED
data/lib/logster/redis_store.rb
CHANGED
@@ -342,7 +342,7 @@ module Logster
|
|
342
342
|
def rate_limited?(ip_address, perform: false, limit: 60)
|
343
343
|
key = ip_rate_limit_key(ip_address)
|
344
344
|
|
345
|
-
limited = @redis.exists
|
345
|
+
limited = @redis.call([:exists, key])
|
346
346
|
if Integer === limited
|
347
347
|
limited = limited != 0
|
348
348
|
end
|
data/lib/logster/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Saffron
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -280,7 +280,7 @@ homepage: https://github.com/discourse/logster
|
|
280
280
|
licenses:
|
281
281
|
- MIT
|
282
282
|
metadata: {}
|
283
|
-
post_install_message:
|
283
|
+
post_install_message:
|
284
284
|
rdoc_options: []
|
285
285
|
require_paths:
|
286
286
|
- lib
|
@@ -295,8 +295,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
295
295
|
- !ruby/object:Gem::Version
|
296
296
|
version: '0'
|
297
297
|
requirements: []
|
298
|
-
rubygems_version: 3.
|
299
|
-
signing_key:
|
298
|
+
rubygems_version: 3.0.3
|
299
|
+
signing_key:
|
300
300
|
specification_version: 4
|
301
301
|
summary: UI for viewing logs in Rack
|
302
302
|
test_files:
|