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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6bfa37a007e1a0c6949cf94791f4d910af327bf8a715c155f33bab108813f1f
4
- data.tar.gz: cca6f8e9ce0edd51c6ff7d370fac3e75740cbe96cfd43873aee7dc3b3d3e6ebe
3
+ metadata.gz: 7de00b1dd1b414f3a589e3775c0f21cbc1b93902370b2d4ab60fc837cfe5f6b2
4
+ data.tar.gz: c48939f729a45ccbe5ba61f11b7e0375f59d30dca469e9067eeeccc1eedaeee5
5
5
  SHA512:
6
- metadata.gz: b84f20df74b3613493dbf752cf31fda784c070384f7d83c0aa9f28fe288b8c9ef8c5fc3ddd56fe5873a442684c43c1298c8e78d4700791f62717bb70230cf341
7
- data.tar.gz: 676e6b97dc13dfe5965612b5548c8475e517d5307a705e9c82d6fe05e6069827515d1e2938dfc90c9c66836931ef4e997c2fdd94dadd701e8105ab525f027e53
6
+ metadata.gz: 01e9a444878311565c0e2acc9cd711d7e4c56080d109855a729faa35ed7bba1f33263e19e84e5a07d65070ca2cc20e727af6d4b8ed68d14a8e65d7a81888804a
7
+ data.tar.gz: bee2fa32126d20f4e7f4a515633c2094c989c58699c09ef282c668517acba7a57ef81e30074327743c7ffda1b36a55cb4201a591916c087c6f3885aab6275f0c
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ - 2020-08-20: 2.9.3
4
+
5
+ - FIX: fix code that causes warning from recent redis gem
6
+
3
7
  - 2020-08-11: 2.9.2
4
8
 
5
9
  - FIX: `report_js_error` incorrectly denying logs when Redis#exists returns integer
@@ -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(key)
345
+ limited = @redis.call([:exists, key])
346
346
  if Integer === limited
347
347
  limited = limited != 0
348
348
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Logster
4
- VERSION = "2.9.2"
4
+ VERSION = "2.9.3"
5
5
  end
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.2
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 00:00:00.000000000 Z
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.1.2
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: