kiev 4.8.3 → 4.9.0
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/README.md +1 -1
- data/lib/kiev/config.rb +1 -1
- data/lib/kiev/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 18c5fd3d74d83b7c5cdd7c1c1be2fc53fec12ed7cd91dbf77b2191cca5e99270
|
|
4
|
+
data.tar.gz: 36a158e6dfa2ac4156c07426656e3677f45e9bc3a9c6211b2aa3efbe7ad093df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba630dfefd775980fde944a711ea9f1184fbd08cb0e9759eb7f272f8cc1bc66d9beeecfeab0bd21d1780ce4493080958f943dd24b11c060b8aadc43ab556af9f
|
|
7
|
+
data.tar.gz: f508d1fba4a14aefc135f3905b10ade0dd4f0a8015a9de0a498ed5bdfee02ff758e07fff029377c80dcaf0de8518b34eef7659e9a5f717a26116804037dd9324
|
data/README.md
CHANGED
|
@@ -385,7 +385,7 @@ end
|
|
|
385
385
|
|
|
386
386
|
### log_request_condition
|
|
387
387
|
|
|
388
|
-
By default, Kiev doesn't log requests to `/ping` or `/
|
|
388
|
+
By default, Kiev doesn't log requests to `/ping`, `/health`, `/live` or `/ready` or requests to assets.
|
|
389
389
|
|
|
390
390
|
You can override this behaviour via the `log_request_condition` option, which should be a `proc` returning a `boolean`:
|
|
391
391
|
|
data/lib/kiev/config.rb
CHANGED
|
@@ -6,7 +6,7 @@ module Kiev
|
|
|
6
6
|
class Config
|
|
7
7
|
include Singleton
|
|
8
8
|
|
|
9
|
-
DEFAULT_LOG_REQUEST_REGEXP = %r{(^(/ping|/health))|(\.(js|css|png|jpg|gif|ico|svg)$)}
|
|
9
|
+
DEFAULT_LOG_REQUEST_REGEXP = %r{(^(/ping|/health|/live|/ready))|(\.(js|css|png|jpg|gif|ico|svg)$)}
|
|
10
10
|
private_constant :DEFAULT_LOG_REQUEST_REGEXP
|
|
11
11
|
|
|
12
12
|
DEFAULT_LOG_REQUEST_CONDITION = proc do |request, _response|
|
data/lib/kiev/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kiev
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Blacklane
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-11-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oga
|
|
@@ -124,7 +124,7 @@ description: Kiev is a logging tool aimed at distributed environments. It logs t
|
|
|
124
124
|
JSON, while providing human-readable output in development mode. It integrates nicely
|
|
125
125
|
with Rails, Sinatra and other Rack-based frameworks, Sidekiq, Que, HTTParty, Her
|
|
126
126
|
and other Faraday-based HTTP clients.
|
|
127
|
-
email:
|
|
127
|
+
email:
|
|
128
128
|
executables: []
|
|
129
129
|
extensions: []
|
|
130
130
|
extra_rdoc_files: []
|
|
@@ -207,7 +207,7 @@ homepage: https://github.com/blacklane/kiev
|
|
|
207
207
|
licenses:
|
|
208
208
|
- MIT
|
|
209
209
|
metadata: {}
|
|
210
|
-
post_install_message:
|
|
210
|
+
post_install_message:
|
|
211
211
|
rdoc_options: []
|
|
212
212
|
require_paths:
|
|
213
213
|
- lib
|
|
@@ -222,9 +222,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
222
222
|
- !ruby/object:Gem::Version
|
|
223
223
|
version: '0'
|
|
224
224
|
requirements: []
|
|
225
|
-
rubyforge_project:
|
|
225
|
+
rubyforge_project:
|
|
226
226
|
rubygems_version: 2.7.6
|
|
227
|
-
signing_key:
|
|
227
|
+
signing_key:
|
|
228
228
|
specification_version: 4
|
|
229
229
|
summary: Distributed logging to JSON integrated with various Ruby frameworks and tools
|
|
230
230
|
test_files: []
|