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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c2a571110c8f306d04bcfb7b796a511b0b78d951228d9d09f7e9c85b10f704a
4
- data.tar.gz: e69f07af2fbfee19655edd291c78f4c22773aa602d1e5c06b1ccde4b1a6d1cfb
3
+ metadata.gz: 27a869ee77f7d03f716b6f78b269e3ab7bb8eec56107070d70e66e01ee542be8
4
+ data.tar.gz: 5de3ff098af0aa2125220406dba1c885bf9711756c5f3d64d42d007ff59b4bac
5
5
  SHA512:
6
- metadata.gz: 4f8e01507a1ad943aa26f08d667869d80c2154bd4c0effe8de25b3ca4698cd4b7af67a741fbb81875f7dbc3f45f082ca04abb43a41aa35d340e6409858f5503b
7
- data.tar.gz: a931a4d842586f703730c96c90bae10b43cea362e17d45ca4c62d27185306e9fc7cdcf18ac6c209c0ecb38ff6f4dc3f38415c1487cad6eea2a3be095c8cede72
6
+ metadata.gz: f8a9e60af58d0a28c7e591c159c004cebc70f6e7b837adcb738f433936f9d5cc268f8b8c972fd4d8f5e8ccb73de8d09abe365fae2e5ca023e4597a8f79ae3fdf
7
+ data.tar.gz: 888e1113f1f0cb4a0f6d04233dace2ba9b28919c2eee5b65a219a99c12c333a752f29e7d8f9ade95295e7b8b884f02720cdeab6197c232cb0f7e4c0ea2cf1344
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TableSync
4
- VERSION = "4.1.1"
4
+ VERSION = "4.1.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: 4.1.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-06 00:00:00.000000000 Z
11
+ date: 2020-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: memery