karafka 2.4.17 → 2.4.18
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +2 -2
- data/lib/karafka/version.rb +1 -1
- data/lib/karafka.rb +8 -2
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66dcb47a4936205b3d71838001db5c64e6fab4da332f54fcb8e64521a081c871
|
4
|
+
data.tar.gz: 5f113ec8bc1459a5994acf8935c802b893695fd69002937b4a91b5697423cb81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1abbfec5c703e755f012d9171934e7486ab0fbfd1295c0fd2b81216156783156415aaa2d547215aa9ec8a62f54db53b269181ed6638644c66529456f897a708a
|
7
|
+
data.tar.gz: 677b50678298d384ea4862fc703327a9e351d1f2bacd82f027f4f43fd60cceaac81a93cec133c005e7f90f917162301ff5725bfe5f0ba6ed1754ce2fa0503c66
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Karafka Framework Changelog
|
2
2
|
|
3
|
+
## 2.4.18 (2025-04-09)
|
4
|
+
- [Fix] Make sure `Bundler.with_unbundled_env` is not called multiple times.
|
5
|
+
|
3
6
|
## 2.4.17 (2025-01-15)
|
4
7
|
- [Enhancement] Clean message key and headers when cleaning messages via the cleaner API (Pro).
|
5
8
|
- [Enhancement] Allow for setting `metadata: false` in the cleaner API for granular cleaning control (Pro)
|
data/Gemfile.lock
CHANGED
data/lib/karafka/version.rb
CHANGED
data/lib/karafka.rb
CHANGED
@@ -56,15 +56,21 @@ module Karafka
|
|
56
56
|
|
57
57
|
# @return [Pathname] Karafka app root path (user application path)
|
58
58
|
def root
|
59
|
+
return @root if @root
|
60
|
+
|
59
61
|
# If user points to a different root explicitly, use it
|
60
|
-
|
62
|
+
if ENV['KARAFKA_ROOT_DIR']
|
63
|
+
@root = Pathname.new(ENV['KARAFKA_ROOT_DIR'])
|
64
|
+
|
65
|
+
return @root
|
66
|
+
end
|
61
67
|
|
62
68
|
# By default we infer the project root from bundler.
|
63
69
|
# We cannot use the BUNDLE_GEMFILE env directly because it may be altered by things like
|
64
70
|
# ruby-lsp. Instead we always fallback to the most outer Gemfile. In most of the cases, it
|
65
71
|
# won't matter but in case of some automatic setup alterations like ruby-lsp, the location
|
66
72
|
# from which the project starts may not match the original Gemfile.
|
67
|
-
Pathname.new(
|
73
|
+
@root = Pathname.new(
|
68
74
|
File.dirname(
|
69
75
|
Bundler.with_unbundled_env { Bundler.default_gemfile }
|
70
76
|
)
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: karafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Mensfeld
|
@@ -34,7 +34,7 @@ cert_chain:
|
|
34
34
|
i9zWxov0mr44TWegTVeypcWGd/0nxu1+QHVNHJrpqlPBRvwQsUm7fwmRInGpcaB8
|
35
35
|
ap8wNYvryYzrzvzUxIVFBVM5PacgkFqRmolCa8I7tdKQN+R1
|
36
36
|
-----END CERTIFICATE-----
|
37
|
-
date: 2025-
|
37
|
+
date: 2025-04-09 00:00:00.000000000 Z
|
38
38
|
dependencies:
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: base64
|
metadata.gz.sig
CHANGED
Binary file
|