table_sync 6.1.0 → 6.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 10bb9ae0cf3986bb7feba1c61403b8d459a7bc8efc3dc3bcbf3db47306efee5e
4
- data.tar.gz: 1d3d5b855d79efb73e2816ac617b8b73c1a85cc2a3e0cb9b2f975f07c86e0de3
3
+ metadata.gz: 251f53271dc85250b7440f317c7d88821164059da4f98dda2c1a1bb529e3e8cb
4
+ data.tar.gz: 3f413e11ebe4a980813740be902df63cd59cb38191164a96183efa92c96cb83b
5
5
  SHA512:
6
- metadata.gz: f569ca939a161a9e1a17f998066cbdf86483b28f4742efd1fd614a33689cbe7e6aa5cadba85e973b271337cc3207e9535e1ddcb42949f53948d444121d107d32
7
- data.tar.gz: 78ab27afcdb65a1dd0baaafe8f83f5812822bb5cdf002b3b9b31c3619c6ccc74d331e130f2170aa1d9063e36c88c05e24c8f8dc8dbeb2d08241a90cdd4a85603
6
+ metadata.gz: a430b17c569d1df6cd0cff7fd2f6c1786871b7a1fdd5e7ed8803ca7201c98f5db6e46169510d3010bac0c65d1838375c5d44c5824ebf3a5686db5e6c4b262a0b
7
+ data.tar.gz: '0758e052599d7d049a9a44e29d5b48f2bc2e8915c49849638cb57757ac90e88f736ad03ed57354fc3092243c5f7b4f91f673c42a5e09db4795507a1f0c429871'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,15 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [6.3.0] - 2023-07-24
5
+ ### Changed
6
+ - Send all original attributes for `delete` events instead of just PK.
7
+
8
+ ## [6.2.0] - 2023-06-29
9
+ ### Changed
10
+ - `rabbit_messaging` gem version is locked on `~> 0.13` in order to provide a way to keep "up-to-date"
11
+ the actual rabbit_messaging gem version on our projects with table_sync update;
12
+
4
13
  ## [6.1.0] - 2022-11-24
5
14
  ### Changed
6
15
 
data/Gemfile.lock CHANGED
@@ -1,76 +1,76 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- table_sync (6.1.0)
4
+ table_sync (6.3.0)
5
5
  memery
6
- rabbit_messaging
6
+ rabbit_messaging (~> 0.13)
7
7
  rails
8
8
  self_data
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actioncable (7.0.4.2)
14
- actionpack (= 7.0.4.2)
15
- activesupport (= 7.0.4.2)
13
+ actioncable (7.0.5.1)
14
+ actionpack (= 7.0.5.1)
15
+ activesupport (= 7.0.5.1)
16
16
  nio4r (~> 2.0)
17
17
  websocket-driver (>= 0.6.1)
18
- actionmailbox (7.0.4.2)
19
- actionpack (= 7.0.4.2)
20
- activejob (= 7.0.4.2)
21
- activerecord (= 7.0.4.2)
22
- activestorage (= 7.0.4.2)
23
- activesupport (= 7.0.4.2)
18
+ actionmailbox (7.0.5.1)
19
+ actionpack (= 7.0.5.1)
20
+ activejob (= 7.0.5.1)
21
+ activerecord (= 7.0.5.1)
22
+ activestorage (= 7.0.5.1)
23
+ activesupport (= 7.0.5.1)
24
24
  mail (>= 2.7.1)
25
25
  net-imap
26
26
  net-pop
27
27
  net-smtp
28
- actionmailer (7.0.4.2)
29
- actionpack (= 7.0.4.2)
30
- actionview (= 7.0.4.2)
31
- activejob (= 7.0.4.2)
32
- activesupport (= 7.0.4.2)
28
+ actionmailer (7.0.5.1)
29
+ actionpack (= 7.0.5.1)
30
+ actionview (= 7.0.5.1)
31
+ activejob (= 7.0.5.1)
32
+ activesupport (= 7.0.5.1)
33
33
  mail (~> 2.5, >= 2.5.4)
34
34
  net-imap
35
35
  net-pop
36
36
  net-smtp
37
37
  rails-dom-testing (~> 2.0)
38
- actionpack (7.0.4.2)
39
- actionview (= 7.0.4.2)
40
- activesupport (= 7.0.4.2)
41
- rack (~> 2.0, >= 2.2.0)
38
+ actionpack (7.0.5.1)
39
+ actionview (= 7.0.5.1)
40
+ activesupport (= 7.0.5.1)
41
+ rack (~> 2.0, >= 2.2.4)
42
42
  rack-test (>= 0.6.3)
43
43
  rails-dom-testing (~> 2.0)
44
44
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
45
- actiontext (7.0.4.2)
46
- actionpack (= 7.0.4.2)
47
- activerecord (= 7.0.4.2)
48
- activestorage (= 7.0.4.2)
49
- activesupport (= 7.0.4.2)
45
+ actiontext (7.0.5.1)
46
+ actionpack (= 7.0.5.1)
47
+ activerecord (= 7.0.5.1)
48
+ activestorage (= 7.0.5.1)
49
+ activesupport (= 7.0.5.1)
50
50
  globalid (>= 0.6.0)
51
51
  nokogiri (>= 1.8.5)
52
- actionview (7.0.4.2)
53
- activesupport (= 7.0.4.2)
52
+ actionview (7.0.5.1)
53
+ activesupport (= 7.0.5.1)
54
54
  builder (~> 3.1)
55
55
  erubi (~> 1.4)
56
56
  rails-dom-testing (~> 2.0)
57
57
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
58
- activejob (7.0.4.2)
59
- activesupport (= 7.0.4.2)
58
+ activejob (7.0.5.1)
59
+ activesupport (= 7.0.5.1)
60
60
  globalid (>= 0.3.6)
61
- activemodel (7.0.4.2)
62
- activesupport (= 7.0.4.2)
63
- activerecord (7.0.4.2)
64
- activemodel (= 7.0.4.2)
65
- activesupport (= 7.0.4.2)
66
- activestorage (7.0.4.2)
67
- actionpack (= 7.0.4.2)
68
- activejob (= 7.0.4.2)
69
- activerecord (= 7.0.4.2)
70
- activesupport (= 7.0.4.2)
61
+ activemodel (7.0.5.1)
62
+ activesupport (= 7.0.5.1)
63
+ activerecord (7.0.5.1)
64
+ activemodel (= 7.0.5.1)
65
+ activesupport (= 7.0.5.1)
66
+ activestorage (7.0.5.1)
67
+ actionpack (= 7.0.5.1)
68
+ activejob (= 7.0.5.1)
69
+ activerecord (= 7.0.5.1)
70
+ activesupport (= 7.0.5.1)
71
71
  marcel (~> 1.0)
72
72
  mini_mime (>= 1.1.0)
73
- activesupport (7.0.4.2)
73
+ activesupport (7.0.5.1)
74
74
  concurrent-ruby (~> 1.0, >= 1.0.2)
75
75
  i18n (>= 1.6, < 2)
76
76
  minitest (>= 5.1)
@@ -85,7 +85,7 @@ GEM
85
85
  amq-protocol (~> 2.3, >= 2.3.1)
86
86
  sorted_set (~> 1, >= 1.0.2)
87
87
  coderay (1.1.3)
88
- concurrent-ruby (1.2.0)
88
+ concurrent-ruby (1.2.2)
89
89
  crass (1.0.6)
90
90
  date (3.3.3)
91
91
  diff-lcs (1.5.0)
@@ -93,14 +93,14 @@ GEM
93
93
  erubi (1.12.0)
94
94
  globalid (1.1.0)
95
95
  activesupport (>= 5.0)
96
- i18n (1.12.0)
96
+ i18n (1.14.1)
97
97
  concurrent-ruby (~> 1.0)
98
98
  json (2.6.3)
99
99
  lamian (1.7.0)
100
100
  rails (>= 4.2)
101
- loofah (2.19.1)
101
+ loofah (2.21.3)
102
102
  crass (~> 1.0.2)
103
- nokogiri (>= 1.5.9)
103
+ nokogiri (>= 1.12.0)
104
104
  mail (2.8.1)
105
105
  mini_mime (>= 0.1.1)
106
106
  net-imap
@@ -111,9 +111,9 @@ GEM
111
111
  ruby2_keywords (~> 0.0.2)
112
112
  method_source (1.0.0)
113
113
  mini_mime (1.1.2)
114
- mini_portile2 (2.8.1)
115
- minitest (5.17.0)
116
- net-imap (0.3.4)
114
+ mini_portile2 (2.8.2)
115
+ minitest (5.18.1)
116
+ net-imap (0.3.6)
117
117
  date
118
118
  net-protocol
119
119
  net-pop (0.1.2)
@@ -122,9 +122,9 @@ GEM
122
122
  timeout
123
123
  net-smtp (0.3.3)
124
124
  net-protocol
125
- nio4r (2.5.8)
126
- nokogiri (1.14.2)
127
- mini_portile2 (~> 2.8.0)
125
+ nio4r (2.5.9)
126
+ nokogiri (1.15.2)
127
+ mini_portile2 (~> 2.8.2)
128
128
  racc (~> 1.4)
129
129
  parallel (1.22.1)
130
130
  parser (3.2.1.0)
@@ -133,38 +133,39 @@ GEM
133
133
  pry (0.14.2)
134
134
  coderay (~> 1.1)
135
135
  method_source (~> 1.0)
136
- rabbit_messaging (0.12.1)
136
+ rabbit_messaging (0.13.0)
137
137
  bunny (~> 2.0)
138
138
  lamian
139
139
  rails (>= 5.2)
140
140
  sneakers (~> 2.0)
141
141
  tainbox
142
- racc (1.6.2)
143
- rack (2.2.6.2)
144
- rack-test (2.0.2)
142
+ racc (1.7.1)
143
+ rack (2.2.7)
144
+ rack-test (2.1.0)
145
145
  rack (>= 1.3)
146
- rails (7.0.4.2)
147
- actioncable (= 7.0.4.2)
148
- actionmailbox (= 7.0.4.2)
149
- actionmailer (= 7.0.4.2)
150
- actionpack (= 7.0.4.2)
151
- actiontext (= 7.0.4.2)
152
- actionview (= 7.0.4.2)
153
- activejob (= 7.0.4.2)
154
- activemodel (= 7.0.4.2)
155
- activerecord (= 7.0.4.2)
156
- activestorage (= 7.0.4.2)
157
- activesupport (= 7.0.4.2)
146
+ rails (7.0.5.1)
147
+ actioncable (= 7.0.5.1)
148
+ actionmailbox (= 7.0.5.1)
149
+ actionmailer (= 7.0.5.1)
150
+ actionpack (= 7.0.5.1)
151
+ actiontext (= 7.0.5.1)
152
+ actionview (= 7.0.5.1)
153
+ activejob (= 7.0.5.1)
154
+ activemodel (= 7.0.5.1)
155
+ activerecord (= 7.0.5.1)
156
+ activestorage (= 7.0.5.1)
157
+ activesupport (= 7.0.5.1)
158
158
  bundler (>= 1.15.0)
159
- railties (= 7.0.4.2)
159
+ railties (= 7.0.5.1)
160
160
  rails-dom-testing (2.0.3)
161
161
  activesupport (>= 4.2.0)
162
162
  nokogiri (>= 1.6)
163
- rails-html-sanitizer (1.5.0)
164
- loofah (~> 2.19, >= 2.19.1)
165
- railties (7.0.4.2)
166
- actionpack (= 7.0.4.2)
167
- activesupport (= 7.0.4.2)
163
+ rails-html-sanitizer (1.6.0)
164
+ loofah (~> 2.21)
165
+ nokogiri (~> 1.14)
166
+ railties (7.0.5.1)
167
+ actionpack (= 7.0.5.1)
168
+ activesupport (= 7.0.5.1)
168
169
  method_source
169
170
  rake (>= 12.2)
170
171
  thor (~> 1.0)
@@ -245,16 +246,16 @@ GEM
245
246
  set (~> 1.0)
246
247
  tainbox (2.1.2)
247
248
  activesupport
248
- thor (1.2.1)
249
+ thor (1.2.2)
249
250
  timecop (0.9.6)
250
- timeout (0.3.1)
251
+ timeout (0.4.0)
251
252
  tzinfo (2.0.6)
252
253
  concurrent-ruby (~> 1.0)
253
254
  unicode-display_width (2.4.2)
254
255
  websocket-driver (0.7.5)
255
256
  websocket-extensions (>= 0.1.0)
256
257
  websocket-extensions (0.1.5)
257
- zeitwerk (2.6.7)
258
+ zeitwerk (2.6.8)
258
259
 
259
260
  PLATFORMS
260
261
  ruby
@@ -53,7 +53,7 @@ module TableSync::ORMAdapter
53
53
  if object.respond_to?(:attributes_for_destroy)
54
54
  object.attributes_for_destroy
55
55
  else
56
- needle
56
+ attributes
57
57
  end
58
58
  end
59
59
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TableSync
4
- VERSION = "6.1.0"
4
+ VERSION = "6.3.0"
5
5
  end
data/table_sync.gemspec CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  end
28
28
 
29
29
  spec.add_runtime_dependency "memery"
30
- spec.add_runtime_dependency "rabbit_messaging"
30
+ spec.add_runtime_dependency "rabbit_messaging", "~> 0.13"
31
31
  spec.add_runtime_dependency "rails"
32
32
  spec.add_runtime_dependency "self_data"
33
33
 
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.1.0
4
+ version: 6.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Umbrellio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-16 00:00:00.000000000 Z
11
+ date: 2023-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: memery
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: rabbit_messaging
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '0.13'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '0.13'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rails
43
43
  requirement: !ruby/object:Gem::Requirement