table_sync 4.1.1 → 4.1.3
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/table_sync/receiving/handler.rb +1 -1
- data/lib/table_sync/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27a869ee77f7d03f716b6f78b269e3ab7bb8eec56107070d70e66e01ee542be8
|
4
|
+
data.tar.gz: 5de3ff098af0aa2125220406dba1c885bf9711756c5f3d64d42d007ff59b4bac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8a9e60af58d0a28c7e591c159c004cebc70f6e7b837adcb738f433936f9d5cc268f8b8c972fd4d8f5e8ccb73de8d09abe365fae2e5ca023e4597a8f79ae3fdf
|
7
|
+
data.tar.gz: 888e1113f1f0cb4a0f6d04233dace2ba9b28919c2eee5b65a219a99c12c333a752f29e7d8f9ade95295e7b8b884f02720cdeab6197c232cb0f7e4c0ea2cf1344
|
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
|
+
## [4.1.2] - 2020-11-19
|
5
|
+
### Fixed
|
6
|
+
- bug with sorting data in handler
|
7
|
+
|
4
8
|
## [4.1.1] - 2020-11-06
|
5
9
|
### Fixed
|
6
10
|
- dead locks in receiving module (see: `spec/receiving/handler_spec.rb#avoid dead locks`)
|
@@ -23,7 +23,7 @@ class TableSync::Receiving::Handler < Rabbit::EventHandler
|
|
23
23
|
|
24
24
|
validate_data(data, target_keys: target_keys)
|
25
25
|
|
26
|
-
data.sort_by! { |row| row.values_at(*target_keys) }
|
26
|
+
data.sort_by! { |row| row.values_at(*target_keys).hash }
|
27
27
|
|
28
28
|
params = { data: data, target_keys: target_keys, version_key: version_key }
|
29
29
|
|
data/lib/table_sync/version.rb
CHANGED
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: 4.1.
|
4
|
+
version: 4.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Umbrellio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: memery
|