deimos-ruby 2.2.1 → 2.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c65bec6ee47b3c7fc30871b7124d0dea51b7cfc831b07a4f36eb27c48636fc1
4
- data.tar.gz: bb411d26783b61f8737c70ddb8045d99a0673324ddef9eaa61bfa5c3c3e8933c
3
+ metadata.gz: ca14735549cff155e75b761beafaf9cc663da80a5b0cc5db9a7ad67934cb7276
4
+ data.tar.gz: 302d52cf0d80701337ce576b55ff201ebce7968b37194070bdfe5f269901f51b
5
5
  SHA512:
6
- metadata.gz: 7cfbb246222b9bbf795f9614f3c5ca9e15f217a84bec6c9f0d3e454179295a8c16539e36827f34dd4af2474568d6ecc7e6296fae5197a92be28ab7c8a72903c4
7
- data.tar.gz: 6fef3d36d1b7ad788eb40a985c24b50205c96bec6cabb13f6b6d29b37dcae2cabbe142ddce0622fa33fcfd7d087a1d1ae50756bd338754bf427c4d420ef8d1bc
6
+ metadata.gz: b3044b241cb7dab960e1e394d1438c39fa0fda920db8ce57375ac9e864bd3698182b400886efbdd7057e8232dfbfafa02a97d8ab9313f1a6edf502360dbb5c14
7
+ data.tar.gz: 8b1c0b604484db8425fd3f5dc57fc136d46ef2bbdfbc11027638f89b10db90088a0496ff00ea0022cd897b55fca16afe8daa86b5ca13f777aa3a2509b13fa5d5
data/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## UNRELEASED
9
9
 
10
+ # 2.2.2 - 2025-11-7
11
+
12
+ - Fix: Calling `producer_classes` on a topic config could make all topics disappear. :(
13
+
10
14
  # 2.2.1 - 2025-11-13
11
15
 
12
16
  - Fix: The global `use_schema_classes` setting wasn't being respected.
@@ -16,7 +16,7 @@ module Deimos
16
16
  module Topic
17
17
  (FIELDS + [:producer_class]).each do |field|
18
18
  define_method(field) do |*args|
19
- active(false) if %i(producer_class producer_classes).include?(field)
19
+ active(false) if %i(producer_class producer_classes).include?(field) && args.any?
20
20
  @deimos_producer_config ||= Config.new
21
21
  if args.any?
22
22
  @deimos_producer_config.public_send("#{field}=", args[0])
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deimos
4
- VERSION = '2.2.1'
4
+ VERSION = '2.2.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deimos-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner