racecar 2.10.0.beta1 → 2.10.0.beta2

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: 2277b7e88416d37c97f2467738360dcd92a52ea680a24e7a2aa6610883297917
4
+ data.tar.gz: fbd34f82fe0f4b75b4e1672073e8b92cd7f9b211b8361e6469af496aa9e6b338
5
5
  SHA512:
6
- metadata.gz: f3baeec4de02a68b55e4a302d2b713de67d0245564aae57cbca363aec8b34633f8dd2220d44c1e212347857d7fde35217644dae8afdbde06103e11a52394997d
7
- data.tar.gz: 66a2168ca6f7a4ec7a6d63e8cf767397502c02487d87445b59e4d7fbdd0269abee3279019e36ab1f343e246d4c58146e951ad521b1bc881a4cb60b3f35076b6e
6
+ metadata.gz: 6506e65b5380e1dbb71c91ece7065274f36c6f1afe880e529f9e811bd1c5dcb4ac0c81728194b07a92e4b125c0731d2d3a896bb61239d7a5977d33351ebaed4b
7
+ data.tar.gz: f4d19863c9cd0012a5542574d2f1c3b95a5dd8916a6176a6aff83712098da633b3fe43df4ef8c4e74ce2939510d169cbdf9fa4b58bdedcc8a8e686371cfd1b8b
@@ -17,6 +17,7 @@ jobs:
17
17
  - "3.0"
18
18
  - "3.1"
19
19
  - "3.2"
20
+ - "3.3.0-preview2"
20
21
 
21
22
  steps:
22
23
  - uses: zendesk/checkout@v3
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 2.10.0.beta2
6
+
7
+ * Don't load rails env for liveness probe
8
+ * Resolve Rails 7.1 logger incompatibility
9
+ * Test with Ruby 3.3 preview
10
+
5
11
  ## 2.10.0.beta1
6
12
 
7
13
  * Bump rdkafka gem version to 0.13.0
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.beta2)
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.beta2"
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.beta2
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: 2023-10-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: king_konf