table_sync 6.0.2 → 6.0.3

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: 41a5d020905434bea4c5a4e1a53a2bb1125a86a9335491202706b2bf64e9a938
4
- data.tar.gz: 9db8c23e9f26770a87f6952ebfb982e22b06e6abdf48a54ecf162f50dbe89bfa
3
+ metadata.gz: d7f8c135c90c156783f047526060e1477425060729fa8df6b1204dbc48284a39
4
+ data.tar.gz: 057cac1f9d152669b494943f8bc9a8f3df24765e982b97de4eb964b3818245b0
5
5
  SHA512:
6
- metadata.gz: 845f2b56ba16fc606eec72a3f88dc021ea72a08918b255eb1fe11cd9a0b7150001c43073469ef8e1ad055b6f98c8d2c6aa30f8cf46836bc5f252543be9e71bce
7
- data.tar.gz: 2665c600fc3961b32c860c121a48af09dbf53e4ddc0d7b8a76aade0d22003baef82df649c0d5e435c0e2ec992403913bb8cd131d6b5f5c9abb5f5309cfc4d0bb
6
+ metadata.gz: 348df7d65362b4b46c830486f65d9e545b55c54d16b8697f3ac1457c0042aa6220b54827caa8b01bb1a3944e95406827a19b2dff51b5184474a13178284ebbe0
7
+ data.tar.gz: 989cfdfda2d0a97dafee7ed814e7940270d12c1ca117c18d7bbf3e1a758d28848c0b286b2d3e401a1ddeee140ac312d5b7eb121f037cee2d2f0ec1da3d24dca6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [6.0.3] - 2021-12-09
5
+ ### Fixed
6
+ Fixed bug when routing key is nil.
7
+
4
8
  ## [6.0.2] - 2021-12-01
5
9
  ### Fixed
6
10
  - Fixed bug: skip publish when object is new and event is destroy for ActiveRecord
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- table_sync (6.0.2)
4
+ table_sync (6.0.3)
5
5
  memery
6
6
  rabbit_messaging
7
7
  rails
@@ -7,7 +7,7 @@ module TableSync::Publishing::Message
7
7
 
8
8
  def params
9
9
  TableSync::Publishing::Params::Batch.new(
10
- object_class: object_class, headers: headers, routing_key: routing_key,
10
+ attributes.slice(:object_class, :headers, :routing_key).compact,
11
11
  ).construct
12
12
  end
13
13
  end
@@ -47,7 +47,7 @@ module TableSync::Publishing::Message
47
47
 
48
48
  def params
49
49
  TableSync::Publishing::Params::Raw.new(
50
- object_class: object_class, routing_key: routing_key, headers: headers,
50
+ attributes.slice(:object_class, :headers, :routing_key).compact,
51
51
  ).construct
52
52
  end
53
53
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TableSync
4
- VERSION = "6.0.2"
4
+ VERSION = "6.0.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: table_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.2
4
+ version: 6.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Umbrellio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-02 00:00:00.000000000 Z
11
+ date: 2021-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: memery
@@ -338,7 +338,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
338
338
  - !ruby/object:Gem::Version
339
339
  version: '0'
340
340
  requirements: []
341
- rubygems_version: 3.2.3
341
+ rubygems_version: 3.3.0.dev
342
342
  signing_key:
343
343
  specification_version: 4
344
344
  summary: DB Table synchronization between microservices based on Model's event system