table_sync 4.2.0 → 4.2.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: 1a5d57fed3ce9ac59ad811d1917a57b26ef48c79865250b5ffd441681ab94e94
4
- data.tar.gz: 78790dfd46fd429e2b379ea3535cb61b42f753f793c4c13b5d82a74e41fdf2e1
3
+ metadata.gz: 73b565f881f6ae36dd659dd4d99d04bf0a739aa0456410c5b730eb7f0b107492
4
+ data.tar.gz: 95dee1cf9f11e6a05c04f3edd4cb5845e3819ea5aab694b3939b5b6e7e4b114d
5
5
  SHA512:
6
- metadata.gz: 7e314b1e227a0754be612963e560fee2823d231d988303f45fdb6a1f52f5113014d0d269688c7da10bad71a4ff020155bdc51c39d180d832687ab97a08581ab3
7
- data.tar.gz: 0251e5fa4d4f5bf2687fb2f537e50dab97b25c317cac6c61c607e76ba0f81d970fe7498915f7e37b4121b2ba8768a09f98969d356e06b0f368bcee691a4434da
6
+ metadata.gz: a5af5e1a66865f69ff220151e64649813c99af9a32323d7c3d246ae08a6e5962314bb911041b648898b02c6fc684f6312ce187647d5e0c0db8cbf9bef52cc435
7
+ data.tar.gz: 45b02a9f461b7cd406084bfe6fe2cd643bb43045f560cd06f2d4521e44067b1795a6ce231fbe6095a81d4ecfbf7bb678c8d05a61e4c369affd71a0abc6dd0d1c
@@ -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.2.1] - 2020-11-20
5
+ ### Fixed
6
+ - bug with sorting data in handler, it was bad idea to use `.hash` replaced to `.to_s`
7
+
4
8
  ## [4.2.0] - 2020-11-19
5
9
 
6
10
  - No changes. Just stabilization release.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- table_sync (4.2.0)
4
+ table_sync (4.2.1)
5
5
  memery
6
6
  rabbit_messaging (~> 0.3)
7
7
  rails
@@ -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).hash }
26
+ data.sort_by! { |row| row.values_at(*target_keys).to_s }
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.2.0"
4
+ VERSION = "4.2.1"
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.2.0
4
+ version: 4.2.1
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-19 00:00:00.000000000 Z
11
+ date: 2020-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: memery