deimos-ruby 1.17.0 → 1.17.1

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: 8b4270b2fc345a60377ead079f053ea92281bd606df2d24da782c583bf25e3b9
4
- data.tar.gz: 6c824200ea66395439dfbc00a0478a30f1410d10032915fb063f94e0d7efbeb0
3
+ metadata.gz: a2626347406fc29d48c68e375692b600eff69b85d24abad15919fa21c4013e78
4
+ data.tar.gz: cbcab580a7f88581d6a984f908a44694fcf04f8f0a0802357a8f640ae5d0902f
5
5
  SHA512:
6
- metadata.gz: db33a95a08af5e4d5a6e42ea7d8d7193432647afe1c18186d8d4dbf58dca3fa7994cf06c67abda80c841a918746fe4059e72386c6ab2d98080bd1e9aa727e25e
7
- data.tar.gz: 8d091dfb4478e66dc898949bc87304dc82a48fc29e1c89e2b1235ea199d338a59c62cc8b29667a03eb45e45db846187feaa28f8f490db3beb17c8e70ddfb7cf0
6
+ metadata.gz: 79356ac5f75a0dae4c2b83875b11d1a6727c8c2268259a266b68caa3e29e16a9e1017ec45c53d86f6d6039abc37665c5b1a987e022272d8ec68ff319836593d0
7
+ data.tar.gz: 5982d3397e011b7684d8ed2f3c858c0426968ed907fa59773c6a2cdbfbbecce88aa7d18b33a95f33c650985a64186db85aee3247560288e68dfc08ba9f1f8989
data/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## UNRELEASED
9
9
 
10
+ # 1.17.1 - 2022-10-20
11
+
12
+ - Fix the log message for publishing messages so it uses the topic of the actual message instead of
13
+ the default for the producer.
14
+ - Use public sord gem instead of private fork.
15
+
10
16
  # 1.17.0 - 2022-10-19
11
17
  - Fix the linting step in the CI
12
18
  - CHANGE: Add retries to DB poller and bypass "bad batches".
data/Gemfile CHANGED
@@ -4,8 +4,3 @@ source 'https://rubygems.org'
4
4
 
5
5
  # Specify your gem's dependencies in boilerplate.gemspec
6
6
  gemspec
7
-
8
- if !ENV['CI'] || ENV['CI'] == ''
9
- # TODO: once all PRs are merged, add this to gemspec as a development dependency
10
- gem 'sord', git: 'git@github.com:dorner/sord.git', ref: 'local-develop'
11
- end
data/deimos-ruby.gemspec CHANGED
@@ -42,6 +42,7 @@ Gem::Specification.new do |spec|
42
42
  spec.add_development_dependency('rspec-snapshot', '~> 2.0')
43
43
  spec.add_development_dependency('rubocop', '0.89.0')
44
44
  spec.add_development_dependency('rubocop-rspec', '1.42.0')
45
+ spec.add_development_dependency('sord', '>= 5.0')
45
46
  spec.add_development_dependency('sqlite3', '~> 1.3')
46
47
  spec.add_development_dependency('steep', '~> 1.0')
47
48
  end
@@ -11,7 +11,7 @@ module Deimos
11
11
  def publish(producer_class:, messages:)
12
12
  Deimos.config.logger.info(
13
13
  message: 'Publishing messages',
14
- topic: producer_class.topic,
14
+ topic: messages.first&.topic,
15
15
  payloads: messages.map do |message|
16
16
  {
17
17
  payload: message.payload,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deimos
4
- VERSION = '1.17.0'
4
+ VERSION = '1.17.1'
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.17.0
4
+ version: 1.17.1
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-10-19 00:00:00.000000000 Z
11
+ date: 2022-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro_turf
@@ -350,6 +350,20 @@ dependencies:
350
350
  - - '='
351
351
  - !ruby/object:Gem::Version
352
352
  version: 1.42.0
353
+ - !ruby/object:Gem::Dependency
354
+ name: sord
355
+ requirement: !ruby/object:Gem::Requirement
356
+ requirements:
357
+ - - ">="
358
+ - !ruby/object:Gem::Version
359
+ version: '5.0'
360
+ type: :development
361
+ prerelease: false
362
+ version_requirements: !ruby/object:Gem::Requirement
363
+ requirements:
364
+ - - ">="
365
+ - !ruby/object:Gem::Version
366
+ version: '5.0'
353
367
  - !ruby/object:Gem::Dependency
354
368
  name: sqlite3
355
369
  requirement: !ruby/object:Gem::Requirement