deimos-ruby 1.14.6 → 1.15.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/deimos-ruby.gemspec +1 -1
- data/lib/deimos/version.rb +1 -1
- data/lib/deimos.rb +1 -0
- metadata +12 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0dd1a31f2dd75e160a7d63b4588b9cfc1f489be46650508aae3797f6d032110b
|
4
|
+
data.tar.gz: 8e1167cd5481a96ce18a53d46a9f153f9266d909bc54a50cc727ffe8d4a86244
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfad01dea7198a9ecf8b063433abc47d81db127beedf54213a82f995713c5b28a706ca43dba9129b28e38cfc8d1e0144f078786507a32e359f822a71ef9c0927
|
7
|
+
data.tar.gz: 9dc3e5dadac11d3b32a386ebbd938fc128a32bdfb511674489491a266e58c13074708d30fc89f47534e481949e59eeb18cbd4858eff9d27a28946408234c55ed
|
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
|
+
# 1.15.0 - 2022-07-20
|
11
|
+
|
12
|
+
- Update to `sigurd` 0.1.0 - DB producer should now exit when receiving a `SIGTERM` instead of throwing a `SignalException`
|
13
|
+
|
10
14
|
# 1.14.6 - 2022-06-21
|
11
15
|
|
12
16
|
- Add `generate_namespace_folders` to configuration; this will automatically generate subfolders to the `schemas` folder so that you can have different schemas with the same name but different namespaces generate separate classes.
|
data/deimos-ruby.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_runtime_dependency('avro_turf', '>= 0.11', '< 2')
|
22
22
|
spec.add_runtime_dependency('phobos', '>= 1.9', '< 3.0')
|
23
23
|
spec.add_runtime_dependency('ruby-kafka', '< 2')
|
24
|
-
spec.add_runtime_dependency('sigurd', '
|
24
|
+
spec.add_runtime_dependency('sigurd', '>= 0.1.0', '< 1.0')
|
25
25
|
spec.add_runtime_dependency('fig_tree', '~> 0.0.2')
|
26
26
|
|
27
27
|
spec.add_development_dependency('activerecord-import')
|
data/lib/deimos/version.rb
CHANGED
data/lib/deimos.rb
CHANGED
@@ -83,6 +83,7 @@ module Deimos
|
|
83
83
|
# Start the DB producers to send Kafka messages.
|
84
84
|
# @param thread_count [Integer] the number of threads to start.
|
85
85
|
def start_db_backend!(thread_count: 1)
|
86
|
+
Sigurd.exit_on_signal = true
|
86
87
|
if self.config.producers.backend != :db
|
87
88
|
raise('Publish backend is not set to :db, exiting')
|
88
89
|
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.
|
4
|
+
version: 1.15.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: 2022-
|
11
|
+
date: 2022-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avro_turf
|
@@ -68,16 +68,22 @@ dependencies:
|
|
68
68
|
name: sigurd
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
|
-
- - "
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: 0.1.0
|
74
|
+
- - "<"
|
72
75
|
- !ruby/object:Gem::Version
|
73
|
-
version:
|
76
|
+
version: '1.0'
|
74
77
|
type: :runtime
|
75
78
|
prerelease: false
|
76
79
|
version_requirements: !ruby/object:Gem::Requirement
|
77
80
|
requirements:
|
78
|
-
- - "
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 0.1.0
|
84
|
+
- - "<"
|
79
85
|
- !ruby/object:Gem::Version
|
80
|
-
version:
|
86
|
+
version: '1.0'
|
81
87
|
- !ruby/object:Gem::Dependency
|
82
88
|
name: fig_tree
|
83
89
|
requirement: !ruby/object:Gem::Requirement
|