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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/deimos/producer.rb +6 -3
- data/lib/deimos/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: b73bb23507a35a1e4cd10af15db00f15f434f9464ed5451fb33ef64c25e48687
|
4
|
+
data.tar.gz: cbaccc72e855b4cd9cbb928f2d7c5409d77dd1c356d209e6081889d6cb6092e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/lib/deimos/producer.rb
CHANGED
@@ -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
|
-
|
41
|
-
|
42
|
-
|
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.
|
data/lib/deimos/version.rb
CHANGED
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.
|
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-
|
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:
|
629
|
+
version: '0'
|
630
630
|
requirements: []
|
631
631
|
rubygems_version: 3.3.20
|
632
632
|
signing_key:
|