Skip to content

Commit 29ce301

Browse files
authored
Change fuzzy rabbit_messaging dependency. (#86)
- Change dependency type cause rabbit_messaging is 1.0.0
1 parent d3c0937 commit 29ce301

File tree

4 files changed

+121
-97
lines changed

4 files changed

+121
-97
lines changed

Gemfile.lock

Lines changed: 119 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,121 @@
11
PATH
22
remote: .
33
specs:
4-
table_sync (6.5.0)
4+
table_sync (6.5.1)
55
memery
6-
rabbit_messaging (~> 0.13)
6+
rabbit_messaging (>= 0.13)
77
rails
88
self_data
99

1010
GEM
1111
remote: https://rubygems.org/
1212
specs:
13-
actioncable (7.0.8.1)
14-
actionpack (= 7.0.8.1)
15-
activesupport (= 7.0.8.1)
13+
actioncable (7.1.4.1)
14+
actionpack (= 7.1.4.1)
15+
activesupport (= 7.1.4.1)
1616
nio4r (~> 2.0)
1717
websocket-driver (>= 0.6.1)
18-
actionmailbox (7.0.8.1)
19-
actionpack (= 7.0.8.1)
20-
activejob (= 7.0.8.1)
21-
activerecord (= 7.0.8.1)
22-
activestorage (= 7.0.8.1)
23-
activesupport (= 7.0.8.1)
18+
zeitwerk (~> 2.6)
19+
actionmailbox (7.1.4.1)
20+
actionpack (= 7.1.4.1)
21+
activejob (= 7.1.4.1)
22+
activerecord (= 7.1.4.1)
23+
activestorage (= 7.1.4.1)
24+
activesupport (= 7.1.4.1)
2425
mail (>= 2.7.1)
2526
net-imap
2627
net-pop
2728
net-smtp
28-
actionmailer (7.0.8.1)
29-
actionpack (= 7.0.8.1)
30-
actionview (= 7.0.8.1)
31-
activejob (= 7.0.8.1)
32-
activesupport (= 7.0.8.1)
29+
actionmailer (7.1.4.1)
30+
actionpack (= 7.1.4.1)
31+
actionview (= 7.1.4.1)
32+
activejob (= 7.1.4.1)
33+
activesupport (= 7.1.4.1)
3334
mail (~> 2.5, >= 2.5.4)
3435
net-imap
3536
net-pop
3637
net-smtp
37-
rails-dom-testing (~> 2.0)
38-
actionpack (7.0.8.1)
39-
actionview (= 7.0.8.1)
40-
activesupport (= 7.0.8.1)
41-
rack (~> 2.0, >= 2.2.4)
38+
rails-dom-testing (~> 2.2)
39+
actionpack (7.1.4.1)
40+
actionview (= 7.1.4.1)
41+
activesupport (= 7.1.4.1)
42+
nokogiri (>= 1.8.5)
43+
racc
44+
rack (>= 2.2.4)
45+
rack-session (>= 1.0.1)
4246
rack-test (>= 0.6.3)
43-
rails-dom-testing (~> 2.0)
44-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
45-
actiontext (7.0.8.1)
46-
actionpack (= 7.0.8.1)
47-
activerecord (= 7.0.8.1)
48-
activestorage (= 7.0.8.1)
49-
activesupport (= 7.0.8.1)
47+
rails-dom-testing (~> 2.2)
48+
rails-html-sanitizer (~> 1.6)
49+
actiontext (7.1.4.1)
50+
actionpack (= 7.1.4.1)
51+
activerecord (= 7.1.4.1)
52+
activestorage (= 7.1.4.1)
53+
activesupport (= 7.1.4.1)
5054
globalid (>= 0.6.0)
5155
nokogiri (>= 1.8.5)
52-
actionview (7.0.8.1)
53-
activesupport (= 7.0.8.1)
56+
actionview (7.1.4.1)
57+
activesupport (= 7.1.4.1)
5458
builder (~> 3.1)
55-
erubi (~> 1.4)
56-
rails-dom-testing (~> 2.0)
57-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
58-
activejob (7.0.8.1)
59-
activesupport (= 7.0.8.1)
59+
erubi (~> 1.11)
60+
rails-dom-testing (~> 2.2)
61+
rails-html-sanitizer (~> 1.6)
62+
activejob (7.1.4.1)
63+
activesupport (= 7.1.4.1)
6064
globalid (>= 0.3.6)
61-
activemodel (7.0.8.1)
62-
activesupport (= 7.0.8.1)
63-
activerecord (7.0.8.1)
64-
activemodel (= 7.0.8.1)
65-
activesupport (= 7.0.8.1)
66-
activestorage (7.0.8.1)
67-
actionpack (= 7.0.8.1)
68-
activejob (= 7.0.8.1)
69-
activerecord (= 7.0.8.1)
70-
activesupport (= 7.0.8.1)
65+
activemodel (7.1.4.1)
66+
activesupport (= 7.1.4.1)
67+
activerecord (7.1.4.1)
68+
activemodel (= 7.1.4.1)
69+
activesupport (= 7.1.4.1)
70+
timeout (>= 0.4.0)
71+
activestorage (7.1.4.1)
72+
actionpack (= 7.1.4.1)
73+
activejob (= 7.1.4.1)
74+
activerecord (= 7.1.4.1)
75+
activesupport (= 7.1.4.1)
7176
marcel (~> 1.0)
72-
mini_mime (>= 1.1.0)
73-
activesupport (7.0.8.1)
77+
activesupport (7.1.4.1)
78+
base64
79+
bigdecimal
7480
concurrent-ruby (~> 1.0, >= 1.0.2)
81+
connection_pool (>= 2.2.5)
82+
drb
7583
i18n (>= 1.6, < 2)
7684
minitest (>= 5.1)
85+
mutex_m
7786
tzinfo (~> 2.0)
7887
amq-protocol (2.3.2)
7988
ast (2.4.2)
80-
builder (3.2.4)
89+
base64 (0.2.0)
90+
bigdecimal (3.1.8)
91+
builder (3.3.0)
8192
bundler-audit (0.9.1)
8293
bundler (>= 1.2.0, < 3)
8394
thor (~> 1.0)
8495
bunny (2.22.0)
8596
amq-protocol (~> 2.3, >= 2.3.1)
8697
sorted_set (~> 1, >= 1.0.2)
8798
coderay (1.1.3)
88-
concurrent-ruby (1.2.2)
99+
concurrent-ruby (1.3.4)
100+
connection_pool (2.4.1)
89101
crass (1.0.6)
90-
date (3.3.3)
102+
date (3.3.4)
91103
diff-lcs (1.5.0)
92104
docile (1.4.0)
93-
erubi (1.12.0)
105+
drb (2.2.1)
106+
erubi (1.13.0)
94107
globalid (1.2.1)
95108
activesupport (>= 6.1)
96-
i18n (1.14.1)
109+
i18n (1.14.6)
97110
concurrent-ruby (~> 1.0)
111+
io-console (0.7.2)
112+
irb (1.14.1)
113+
rdoc (>= 4.0.0)
114+
reline (>= 0.4.2)
98115
json (2.6.3)
99116
lamian (1.7.0)
100117
rails (>= 4.2)
101-
loofah (2.21.3)
118+
loofah (2.22.0)
102119
crass (~> 1.0.2)
103120
nokogiri (>= 1.12.0)
104121
mail (2.8.1)
@@ -109,21 +126,22 @@ GEM
109126
marcel (1.0.4)
110127
memery (1.5.0)
111128
ruby2_keywords (~> 0.0.2)
112-
method_source (1.0.0)
129+
method_source (1.1.0)
113130
mini_mime (1.1.5)
114-
mini_portile2 (2.8.4)
115-
minitest (5.20.0)
116-
net-imap (0.3.7)
131+
mini_portile2 (2.8.7)
132+
minitest (5.25.1)
133+
mutex_m (0.2.0)
134+
net-imap (0.4.17)
117135
date
118136
net-protocol
119137
net-pop (0.1.2)
120138
net-protocol
121-
net-protocol (0.2.1)
139+
net-protocol (0.2.2)
122140
timeout
123-
net-smtp (0.3.3)
141+
net-smtp (0.5.0)
124142
net-protocol
125-
nio4r (2.5.9)
126-
nokogiri (1.16.3)
143+
nio4r (2.7.3)
144+
nokogiri (1.16.7)
127145
mini_portile2 (~> 2.8.2)
128146
racc (~> 1.4)
129147
parallel (1.23.0)
@@ -134,49 +152,61 @@ GEM
134152
pry (0.14.2)
135153
coderay (~> 1.1)
136154
method_source (~> 1.0)
155+
psych (5.1.2)
156+
stringio
137157
rabbit_messaging (0.13.0)
138158
bunny (~> 2.0)
139159
lamian
140160
rails (>= 5.2)
141161
sneakers (~> 2.0)
142162
tainbox
143-
racc (1.7.1)
144-
rack (2.2.8.1)
163+
racc (1.8.1)
164+
rack (3.1.8)
165+
rack-session (2.0.0)
166+
rack (>= 3.0.0)
145167
rack-test (2.1.0)
146168
rack (>= 1.3)
147-
rails (7.0.8.1)
148-
actioncable (= 7.0.8.1)
149-
actionmailbox (= 7.0.8.1)
150-
actionmailer (= 7.0.8.1)
151-
actionpack (= 7.0.8.1)
152-
actiontext (= 7.0.8.1)
153-
actionview (= 7.0.8.1)
154-
activejob (= 7.0.8.1)
155-
activemodel (= 7.0.8.1)
156-
activerecord (= 7.0.8.1)
157-
activestorage (= 7.0.8.1)
158-
activesupport (= 7.0.8.1)
169+
rackup (2.1.0)
170+
rack (>= 3)
171+
webrick (~> 1.8)
172+
rails (7.1.4.1)
173+
actioncable (= 7.1.4.1)
174+
actionmailbox (= 7.1.4.1)
175+
actionmailer (= 7.1.4.1)
176+
actionpack (= 7.1.4.1)
177+
actiontext (= 7.1.4.1)
178+
actionview (= 7.1.4.1)
179+
activejob (= 7.1.4.1)
180+
activemodel (= 7.1.4.1)
181+
activerecord (= 7.1.4.1)
182+
activestorage (= 7.1.4.1)
183+
activesupport (= 7.1.4.1)
159184
bundler (>= 1.15.0)
160-
railties (= 7.0.8.1)
185+
railties (= 7.1.4.1)
161186
rails-dom-testing (2.2.0)
162187
activesupport (>= 5.0.0)
163188
minitest
164189
nokogiri (>= 1.6)
165190
rails-html-sanitizer (1.6.0)
166191
loofah (~> 2.21)
167192
nokogiri (~> 1.14)
168-
railties (7.0.8.1)
169-
actionpack (= 7.0.8.1)
170-
activesupport (= 7.0.8.1)
171-
method_source
193+
railties (7.1.4.1)
194+
actionpack (= 7.1.4.1)
195+
activesupport (= 7.1.4.1)
196+
irb
197+
rackup (>= 1.0.0)
172198
rake (>= 12.2)
173-
thor (~> 1.0)
174-
zeitwerk (~> 2.5)
199+
thor (~> 1.0, >= 1.2.2)
200+
zeitwerk (~> 2.6)
175201
rainbow (3.1.1)
176-
rake (13.0.6)
202+
rake (13.2.1)
177203
rbtree (0.4.6)
204+
rdoc (6.7.0)
205+
psych (>= 4.0.0)
178206
regexp_parser (2.8.1)
179-
rexml (3.2.6)
207+
reline (0.5.10)
208+
io-console (~> 0.5)
209+
rexml (3.3.8)
180210
rspec (3.12.0)
181211
rspec-core (~> 3.12.0)
182212
rspec-expectations (~> 3.12.0)
@@ -249,18 +279,20 @@ GEM
249279
sorted_set (1.0.3)
250280
rbtree
251281
set (~> 1.0)
282+
stringio (3.1.1)
252283
tainbox (2.1.2)
253284
activesupport
254-
thor (1.2.2)
285+
thor (1.3.2)
255286
timecop (0.9.7)
256-
timeout (0.4.0)
287+
timeout (0.4.1)
257288
tzinfo (2.0.6)
258289
concurrent-ruby (~> 1.0)
259290
unicode-display_width (2.4.2)
291+
webrick (1.8.2)
260292
websocket-driver (0.7.6)
261293
websocket-extensions (>= 0.1.0)
262294
websocket-extensions (0.1.5)
263-
zeitwerk (2.6.11)
295+
zeitwerk (2.6.18)
264296

265297
PLATFORMS
266298
ruby

lib/table_sync/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module TableSync
4-
VERSION = "6.5.0"
4+
VERSION = "6.5.1"
55
end

spec/receiving/models_spec.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,6 @@
185185
end
186186

187187
it "updates by pk" do
188-
pending("AR sucks") if described_class == TableSync::Receiving::Model::ActiveRecord
189-
190188
result = clients.upsert(
191189
data: [{ name: "test2", client_id: 222, project_id: 222, ts_version: 124 }],
192190
target_keys: %i[client_id project_id],
@@ -206,8 +204,6 @@
206204
end
207205

208206
it "updates by composite unique constraint" do
209-
pending("AR sucks") if described_class == TableSync::Receiving::Model::ActiveRecord
210-
211207
result = clients.upsert(
212208
data: [{ name: "test2", ext_id: 222, ext_project_id: 222, ts_version: 124 }],
213209
target_keys: %i[ext_id ext_project_id],
@@ -239,8 +235,6 @@
239235

240236
context "when multi update" do
241237
it "updates by composite unique constraint" do
242-
pending("AR sucks") if described_class == TableSync::Receiving::Model::ActiveRecord
243-
244238
result = clients.upsert(
245239
data: [
246240
{ name: "test2", ext_id: 222, ext_project_id: 222, ts_version: 124,
@@ -434,8 +428,6 @@
434428

435429
describe "#destroy" do
436430
it "destroys in table with composite primary keys" do
437-
pending("AR sucks") if described_class == TableSync::Receiving::Model::ActiveRecord
438-
439431
DB[:clients].multi_insert([
440432
{
441433
client_id: 111,

table_sync.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
2727
end
2828

2929
spec.add_runtime_dependency "memery"
30-
spec.add_runtime_dependency "rabbit_messaging", "~> 0.13"
30+
spec.add_runtime_dependency "rabbit_messaging", ">= 0.13"
3131
spec.add_runtime_dependency "rails"
3232
spec.add_runtime_dependency "self_data"
3333
end

0 commit comments

Comments
 (0)