deimos-ruby 1.19.beta2 → 1.19.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: c460892f0e27ef50137442b4ca2a1328479c54fe47b65850575e7ef3ff769ff7
4
- data.tar.gz: 57cbd04c1d2bb0582579ef9b0413c38cd4de4dcca682ca0ff201564815960d6e
3
+ metadata.gz: b73bb23507a35a1e4cd10af15db00f15f434f9464ed5451fb33ef64c25e48687
4
+ data.tar.gz: cbaccc72e855b4cd9cbb928f2d7c5409d77dd1c356d209e6081889d6cb6092e8
5
5
  SHA512:
6
- metadata.gz: c07bdf21830aa08b0151ad5db8291ebe597fac4265592ab549db6583ada6043765d92052cd7a6bae6f2264b2cbd15242659b8e108572bb32aaca710eb3fdc740
7
- data.tar.gz: 5c51d92c8956f54fe8a689015e46c195ab8ee2b543555c2b8e9b1263d3e58c3411b2263283a46e2f29bdf467f4b8d1cb49af528c8dc2d5450d98e5f5481b60ff
6
+ metadata.gz: 0fe9445824b00c2c492a1357965408c99f4cd36f40ea7431bbf79727466575d69a7c91cb0709204b57ad49cee8158d4c628e3b300a85b5da56203827ecbf27c9
7
+ data.tar.gz: c0adb09c939eb8c2f784a58ffdfddf2ae6b11dad3dd1ba1be5572551cd4d97774db7f38ce7265f2b017fa0c5e339bf2a258dc9c21f14f3984a9e8ce1ef87ccad
data/CHANGELOG.md CHANGED
@@ -7,7 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## UNRELEASED
9
9
 
10
+ # 1.19.0 - 2023-02-21
11
+
10
12
  - Feature: When consuming data in batch mode, this adds ability to save data to multiple tables with `association_list`.
13
+ - Fix bug with the `disable_producers` method where producers may remain disabled after the block
14
+ is done processing if an error occurs inside it.
11
15
 
12
16
  # 1.18.2 - 2022-11-14
13
17
 
@@ -37,9 +37,12 @@ module Deimos
37
37
  Thread.current[:frk_disabled_producers] ||= Set.new
38
38
  producers_to_disable = producer_classes -
39
39
  Thread.current[:frk_disabled_producers].to_a
40
- Thread.current[:frk_disabled_producers] += producers_to_disable
41
- yield
42
- Thread.current[:frk_disabled_producers] -= producers_to_disable
40
+ begin
41
+ Thread.current[:frk_disabled_producers] += producers_to_disable
42
+ yield
43
+ ensure
44
+ Thread.current[:frk_disabled_producers] -= producers_to_disable
45
+ end
43
46
  end
44
47
 
45
48
  # Are producers disabled? If a class is passed in, check only that class.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deimos
4
- VERSION = '1.19.beta2'
4
+ VERSION = '1.19.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deimos-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.beta2
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-02 00:00:00.000000000 Z
11
+ date: 2023-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro_turf
@@ -624,9 +624,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
624
624
  version: '0'
625
625
  required_rubygems_version: !ruby/object:Gem::Requirement
626
626
  requirements:
627
- - - ">"
627
+ - - ">="
628
628
  - !ruby/object:Gem::Version
629
- version: 1.3.1
629
+ version: '0'
630
630
  requirements: []
631
631
  rubygems_version: 3.3.20
632
632
  signing_key: