racecar 2.10.0.beta1 → 2.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +5 -4
- data/CHANGELOG.md +5 -3
- data/Gemfile.lock +1 -1
- data/lib/racecar/ctl.rb +3 -1
- data/lib/racecar/rails_config_file_loader.rb +5 -1
- data/lib/racecar/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3f3ca0f465510fef5659a765dc90bc1902522b2793fa2f6af03e0be23f93f93
|
4
|
+
data.tar.gz: 149a2ce49346b0a98e120d00814025fa812526fc912998b715fe5c17cd27a6c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ded7458c65547b3d81f4027fb2472354434661912a2bea329a3014eb2dedfe946553ba79c190c5a4e45d33774a0fdae62f120e83cff7ebb8917a70e743a381b
|
7
|
+
data.tar.gz: 577bbfc015b1f087ad0fe10deb6e710470526b8bb498341eb202a702fefe45c57c123530e64ca5647cfb77e9178967acb72cd1cbea3cb15cbe721e0956807bf5
|
data/.github/workflows/ci.yml
CHANGED
@@ -17,11 +17,12 @@ jobs:
|
|
17
17
|
- "3.0"
|
18
18
|
- "3.1"
|
19
19
|
- "3.2"
|
20
|
+
- "3.3"
|
20
21
|
|
21
22
|
steps:
|
22
|
-
- uses:
|
23
|
+
- uses: actions/checkout@v4
|
23
24
|
- name: Set up Ruby
|
24
|
-
uses:
|
25
|
+
uses: ruby/setup-ruby@v1
|
25
26
|
with:
|
26
27
|
ruby-version: ${{ matrix.ruby-version }}
|
27
28
|
bundler-cache: true
|
@@ -31,9 +32,9 @@ jobs:
|
|
31
32
|
integration-specs:
|
32
33
|
runs-on: ubuntu-latest
|
33
34
|
steps:
|
34
|
-
- uses:
|
35
|
+
- uses: actions/checkout@v4
|
35
36
|
- name: Set up Ruby
|
36
|
-
uses:
|
37
|
+
uses: ruby/setup-ruby@v1
|
37
38
|
with:
|
38
39
|
ruby-version: "2.7"
|
39
40
|
bundler-cache: true
|
data/CHANGELOG.md
CHANGED
@@ -2,15 +2,17 @@
|
|
2
2
|
|
3
3
|
## Unreleased
|
4
4
|
|
5
|
-
## 2.10.0
|
5
|
+
## 2.10.0
|
6
6
|
|
7
7
|
* Bump rdkafka gem version to 0.13.0
|
8
8
|
* Support cooperative-sticky
|
9
9
|
* Instrument produce delivery errors
|
10
|
+
* Resolve Rails 7.1 logger incompatibility
|
11
|
+
* Don't load rails env for liveness probe
|
10
12
|
* Fix config load for liveness probe
|
11
13
|
* Send exceptions to `process_batch` instrumenter
|
12
14
|
* Docker test fixes
|
13
|
-
* Test with Ruby 3.2
|
15
|
+
* Test in CI with Ruby 3.2
|
14
16
|
|
15
17
|
## v2.9.0, v2.9.0.beta1
|
16
18
|
|
@@ -20,7 +22,7 @@
|
|
20
22
|
* Add built-in liveness probe for Kubernetes deployments.
|
21
23
|
|
22
24
|
## v2.8.2
|
23
|
-
* Handles ErroneousStateError, in previous versions the consumer would do several
|
25
|
+
* Handles ErroneousStateError, in previous versions the consumer would do several unnecessary group leave/joins. The log level is also changed to WARN instead of ERROR. ([#295](https://github.com/zendesk/racecar/pull/295))
|
24
26
|
|
25
27
|
## v2.8.1
|
26
28
|
* Adds new ErroneousStateError to racecar in order to give more information on this new possible exception.
|
data/Gemfile.lock
CHANGED
data/lib/racecar/ctl.rb
CHANGED
@@ -36,7 +36,9 @@ module Racecar
|
|
36
36
|
require "racecar/liveness_probe"
|
37
37
|
parse_options!(args)
|
38
38
|
|
39
|
-
|
39
|
+
if ENV["RAILS_ENV"] && File.exist?("config/racecar.yml")
|
40
|
+
Racecar.config.load_file("config/racecar.yml", ENV["RAILS_ENV"])
|
41
|
+
end
|
40
42
|
|
41
43
|
if File.exist?("config/racecar.rb")
|
42
44
|
require "./config/racecar"
|
@@ -26,7 +26,11 @@ module Racecar
|
|
26
26
|
console = ActiveSupport::Logger.new($stdout)
|
27
27
|
console.formatter = Rails.logger.formatter
|
28
28
|
console.level = Rails.logger.level
|
29
|
-
Rails
|
29
|
+
if ::Rails::VERSION::STRING < "7.1"
|
30
|
+
Rails.logger.extend(ActiveSupport::Logger.broadcast(console))
|
31
|
+
else
|
32
|
+
Rails.logger = ActiveSupport::BroadcastLogger.new(Rails.logger, console)
|
33
|
+
end
|
30
34
|
end
|
31
35
|
end
|
32
36
|
end
|
data/lib/racecar/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: racecar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.10.0
|
4
|
+
version: 2.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Schierbeck
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-01-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: king_konf
|
@@ -225,9 +225,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
225
225
|
version: '2.6'
|
226
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
227
227
|
requirements:
|
228
|
-
- - "
|
228
|
+
- - ">="
|
229
229
|
- !ruby/object:Gem::Version
|
230
|
-
version:
|
230
|
+
version: '0'
|
231
231
|
requirements: []
|
232
232
|
rubygems_version: 3.0.3.1
|
233
233
|
signing_key:
|