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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0057ec2861db783b83e34a63c0a09a0be476ed6cb57b760dea3e2cc5ef57d1f
4
- data.tar.gz: 22dac9ed21af6f9abfd50f22d9dc86032a68af556e1be77bff2f59cbf505ccf2
3
+ metadata.gz: f3f3ca0f465510fef5659a765dc90bc1902522b2793fa2f6af03e0be23f93f93
4
+ data.tar.gz: 149a2ce49346b0a98e120d00814025fa812526fc912998b715fe5c17cd27a6c8
5
5
  SHA512:
6
- metadata.gz: f3baeec4de02a68b55e4a302d2b713de67d0245564aae57cbca363aec8b34633f8dd2220d44c1e212347857d7fde35217644dae8afdbde06103e11a52394997d
7
- data.tar.gz: 66a2168ca6f7a4ec7a6d63e8cf767397502c02487d87445b59e4d7fbdd0269abee3279019e36ab1f343e246d4c58146e951ad521b1bc881a4cb60b3f35076b6e
6
+ metadata.gz: 4ded7458c65547b3d81f4027fb2472354434661912a2bea329a3014eb2dedfe946553ba79c190c5a4e45d33774a0fdae62f120e83cff7ebb8917a70e743a381b
7
+ data.tar.gz: 577bbfc015b1f087ad0fe10deb6e710470526b8bb498341eb202a702fefe45c57c123530e64ca5647cfb77e9178967acb72cd1cbea3cb15cbe721e0956807bf5
@@ -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: zendesk/checkout@v3
23
+ - uses: actions/checkout@v4
23
24
  - name: Set up Ruby
24
- uses: zendesk/setup-ruby@v1
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: zendesk/checkout@v3
35
+ - uses: actions/checkout@v4
35
36
  - name: Set up Ruby
36
- uses: zendesk/setup-ruby@v1
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.beta1
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 unecessary group leave/joins. The log level is also changed to WARN instead of ERROR. ([#295](https://github.com/zendesk/racecar/pull/295))
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- racecar (2.9.0)
4
+ racecar (2.10.0)
5
5
  king_konf (~> 1.0.0)
6
6
  rdkafka (~> 0.13.0)
7
7
 
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
- RailsConfigFileLoader.load! unless config.without_rails?
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.logger.extend(ActiveSupport::Logger.broadcast(console))
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Racecar
4
- VERSION = "2.10.0.beta1"
4
+ VERSION = "2.10.0"
5
5
  end
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.beta1
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: 2023-10-09 00:00:00.000000000 Z
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: 1.3.1
230
+ version: '0'
231
231
  requirements: []
232
232
  rubygems_version: 3.0.3.1
233
233
  signing_key: