qbwc 1.1.0 → 1.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 +5 -5
- data/.github/workflows/ci.yml +98 -0
- data/.gitignore +3 -2
- data/Appraisals +47 -6
- data/CHANGELOG.md +23 -1
- data/Gemfile.lock +276 -0
- data/README.md +1 -3
- data/Rakefile +1 -5
- data/gemfiles/.bundle/config +2 -0
- data/gemfiles/rails_5.1.gemfile +1 -0
- data/gemfiles/rails_5.1.gemfile.lock +202 -0
- data/gemfiles/rails_5.2.gemfile +9 -0
- data/gemfiles/rails_5.2.gemfile.lock +210 -0
- data/gemfiles/rails_6.0.gemfile +9 -0
- data/gemfiles/rails_6.0.gemfile.lock +226 -0
- data/gemfiles/rails_6.1.gemfile +9 -0
- data/gemfiles/rails_6.1.gemfile.lock +229 -0
- data/gemfiles/rails_7.0.gemfile +9 -0
- data/gemfiles/rails_7.0.gemfile.lock +228 -0
- data/gemfiles/{rails_5.0.gemfile → rails_7.1.gemfile} +2 -2
- data/gemfiles/rails_7.1.gemfile.lock +275 -0
- data/gemfiles/rails_7.2.gemfile +8 -0
- data/gemfiles/rails_7.2.gemfile.lock +270 -0
- data/gemfiles/rails_8.0.gemfile +8 -0
- data/gemfiles/rails_8.0.gemfile.lock +300 -0
- data/gemfiles/rails_8.1.gemfile +8 -0
- data/gemfiles/rails_8.1.gemfile.lock +278 -0
- data/lib/qbwc/active_record/job.rb +15 -4
- data/lib/qbwc/controller.rb +2 -2
- data/lib/qbwc/session.rb +3 -2
- data/lib/qbwc/version.rb +1 -1
- data/lib/qbwc.rb +6 -1
- data/qbwc.gemspec +2 -2
- data/test/qbwc/controllers/controller_test.rb +1 -0
- data/test/qbwc/integration/savon_client_test.rb +1 -1
- data/test/qbwc/integration/session_test.rb +0 -4
- data/test/test_helper.rb +15 -5
- metadata +42 -23
- data/.rspec +0 -2
- data/.travis.yml +0 -13
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: ..
|
|
3
|
+
specs:
|
|
4
|
+
qbwc (1.3.0)
|
|
5
|
+
actionpack (>= 5.0.1)
|
|
6
|
+
qbxml (>= 0.3.0)
|
|
7
|
+
wash_out (>= 0.12.0)
|
|
8
|
+
|
|
9
|
+
GEM
|
|
10
|
+
remote: https://rubygems.org/
|
|
11
|
+
specs:
|
|
12
|
+
actioncable (8.0.2)
|
|
13
|
+
actionpack (= 8.0.2)
|
|
14
|
+
activesupport (= 8.0.2)
|
|
15
|
+
nio4r (~> 2.0)
|
|
16
|
+
websocket-driver (>= 0.6.1)
|
|
17
|
+
zeitwerk (~> 2.6)
|
|
18
|
+
actionmailbox (8.0.2)
|
|
19
|
+
actionpack (= 8.0.2)
|
|
20
|
+
activejob (= 8.0.2)
|
|
21
|
+
activerecord (= 8.0.2)
|
|
22
|
+
activestorage (= 8.0.2)
|
|
23
|
+
activesupport (= 8.0.2)
|
|
24
|
+
mail (>= 2.8.0)
|
|
25
|
+
actionmailer (8.0.2)
|
|
26
|
+
actionpack (= 8.0.2)
|
|
27
|
+
actionview (= 8.0.2)
|
|
28
|
+
activejob (= 8.0.2)
|
|
29
|
+
activesupport (= 8.0.2)
|
|
30
|
+
mail (>= 2.8.0)
|
|
31
|
+
rails-dom-testing (~> 2.2)
|
|
32
|
+
actionpack (8.0.2)
|
|
33
|
+
actionview (= 8.0.2)
|
|
34
|
+
activesupport (= 8.0.2)
|
|
35
|
+
nokogiri (>= 1.8.5)
|
|
36
|
+
rack (>= 2.2.4)
|
|
37
|
+
rack-session (>= 1.0.1)
|
|
38
|
+
rack-test (>= 0.6.3)
|
|
39
|
+
rails-dom-testing (~> 2.2)
|
|
40
|
+
rails-html-sanitizer (~> 1.6)
|
|
41
|
+
useragent (~> 0.16)
|
|
42
|
+
actiontext (8.0.2)
|
|
43
|
+
actionpack (= 8.0.2)
|
|
44
|
+
activerecord (= 8.0.2)
|
|
45
|
+
activestorage (= 8.0.2)
|
|
46
|
+
activesupport (= 8.0.2)
|
|
47
|
+
globalid (>= 0.6.0)
|
|
48
|
+
nokogiri (>= 1.8.5)
|
|
49
|
+
actionview (8.0.2)
|
|
50
|
+
activesupport (= 8.0.2)
|
|
51
|
+
builder (~> 3.1)
|
|
52
|
+
erubi (~> 1.11)
|
|
53
|
+
rails-dom-testing (~> 2.2)
|
|
54
|
+
rails-html-sanitizer (~> 1.6)
|
|
55
|
+
activejob (8.0.2)
|
|
56
|
+
activesupport (= 8.0.2)
|
|
57
|
+
globalid (>= 0.3.6)
|
|
58
|
+
activemodel (8.0.2)
|
|
59
|
+
activesupport (= 8.0.2)
|
|
60
|
+
activerecord (8.0.2)
|
|
61
|
+
activemodel (= 8.0.2)
|
|
62
|
+
activesupport (= 8.0.2)
|
|
63
|
+
timeout (>= 0.4.0)
|
|
64
|
+
activestorage (8.0.2)
|
|
65
|
+
actionpack (= 8.0.2)
|
|
66
|
+
activejob (= 8.0.2)
|
|
67
|
+
activerecord (= 8.0.2)
|
|
68
|
+
activesupport (= 8.0.2)
|
|
69
|
+
marcel (~> 1.0)
|
|
70
|
+
activesupport (8.0.2)
|
|
71
|
+
base64
|
|
72
|
+
benchmark (>= 0.3)
|
|
73
|
+
bigdecimal
|
|
74
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
75
|
+
connection_pool (>= 2.2.5)
|
|
76
|
+
drb
|
|
77
|
+
i18n (>= 1.6, < 2)
|
|
78
|
+
logger (>= 1.4.2)
|
|
79
|
+
minitest (>= 5.1)
|
|
80
|
+
securerandom (>= 0.3)
|
|
81
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
|
82
|
+
uri (>= 0.13.1)
|
|
83
|
+
addressable (2.8.7)
|
|
84
|
+
public_suffix (>= 2.0.2, < 7.0)
|
|
85
|
+
akami (1.3.3)
|
|
86
|
+
base64
|
|
87
|
+
gyoku (>= 0.4.0)
|
|
88
|
+
nokogiri
|
|
89
|
+
appraisal (2.5.0)
|
|
90
|
+
bundler
|
|
91
|
+
rake
|
|
92
|
+
thor (>= 0.14.0)
|
|
93
|
+
base64 (0.3.0)
|
|
94
|
+
benchmark (0.4.1)
|
|
95
|
+
bigdecimal (3.2.2)
|
|
96
|
+
builder (3.3.0)
|
|
97
|
+
byebug (12.0.0)
|
|
98
|
+
concurrent-ruby (1.3.5)
|
|
99
|
+
connection_pool (2.5.3)
|
|
100
|
+
crack (1.0.0)
|
|
101
|
+
bigdecimal
|
|
102
|
+
rexml
|
|
103
|
+
crass (1.0.6)
|
|
104
|
+
date (3.4.1)
|
|
105
|
+
drb (2.2.3)
|
|
106
|
+
erb (5.0.1)
|
|
107
|
+
erubi (1.13.1)
|
|
108
|
+
faraday (2.13.1)
|
|
109
|
+
faraday-net_http (>= 2.0, < 3.5)
|
|
110
|
+
json
|
|
111
|
+
logger
|
|
112
|
+
faraday-net_http (3.4.0)
|
|
113
|
+
net-http (>= 0.5.0)
|
|
114
|
+
globalid (1.2.1)
|
|
115
|
+
activesupport (>= 6.1)
|
|
116
|
+
gyoku (1.4.0)
|
|
117
|
+
builder (>= 2.1.2)
|
|
118
|
+
rexml (~> 3.0)
|
|
119
|
+
hashdiff (1.2.0)
|
|
120
|
+
httpi (4.0.4)
|
|
121
|
+
base64
|
|
122
|
+
mutex_m
|
|
123
|
+
nkf
|
|
124
|
+
rack (>= 2.0, < 4)
|
|
125
|
+
i18n (1.14.7)
|
|
126
|
+
concurrent-ruby (~> 1.0)
|
|
127
|
+
io-console (0.8.0)
|
|
128
|
+
irb (1.15.2)
|
|
129
|
+
pp (>= 0.6.0)
|
|
130
|
+
rdoc (>= 4.0.0)
|
|
131
|
+
reline (>= 0.4.2)
|
|
132
|
+
json (2.12.2)
|
|
133
|
+
logger (1.7.0)
|
|
134
|
+
loofah (2.24.1)
|
|
135
|
+
crass (~> 1.0.2)
|
|
136
|
+
nokogiri (>= 1.12.0)
|
|
137
|
+
mail (2.8.1)
|
|
138
|
+
mini_mime (>= 0.1.1)
|
|
139
|
+
net-imap
|
|
140
|
+
net-pop
|
|
141
|
+
net-smtp
|
|
142
|
+
marcel (1.0.4)
|
|
143
|
+
mini_mime (1.1.5)
|
|
144
|
+
minitest (5.25.5)
|
|
145
|
+
mutex_m (0.3.0)
|
|
146
|
+
net-http (0.6.0)
|
|
147
|
+
uri
|
|
148
|
+
net-imap (0.5.8)
|
|
149
|
+
date
|
|
150
|
+
net-protocol
|
|
151
|
+
net-pop (0.1.2)
|
|
152
|
+
net-protocol
|
|
153
|
+
net-protocol (0.2.2)
|
|
154
|
+
timeout
|
|
155
|
+
net-smtp (0.5.1)
|
|
156
|
+
net-protocol
|
|
157
|
+
nio4r (2.7.4)
|
|
158
|
+
nkf (0.2.0)
|
|
159
|
+
nokogiri (1.18.8-aarch64-linux-gnu)
|
|
160
|
+
racc (~> 1.4)
|
|
161
|
+
nokogiri (1.18.8-aarch64-linux-musl)
|
|
162
|
+
racc (~> 1.4)
|
|
163
|
+
nokogiri (1.18.8-arm-linux-gnu)
|
|
164
|
+
racc (~> 1.4)
|
|
165
|
+
nokogiri (1.18.8-arm-linux-musl)
|
|
166
|
+
racc (~> 1.4)
|
|
167
|
+
nokogiri (1.18.8-arm64-darwin)
|
|
168
|
+
racc (~> 1.4)
|
|
169
|
+
nokogiri (1.18.8-x86_64-darwin)
|
|
170
|
+
racc (~> 1.4)
|
|
171
|
+
nokogiri (1.18.8-x86_64-linux-gnu)
|
|
172
|
+
racc (~> 1.4)
|
|
173
|
+
nokogiri (1.18.8-x86_64-linux-musl)
|
|
174
|
+
racc (~> 1.4)
|
|
175
|
+
nori (2.7.1)
|
|
176
|
+
bigdecimal
|
|
177
|
+
pp (0.6.2)
|
|
178
|
+
prettyprint
|
|
179
|
+
prettyprint (0.2.0)
|
|
180
|
+
psych (5.2.6)
|
|
181
|
+
date
|
|
182
|
+
stringio
|
|
183
|
+
public_suffix (6.0.2)
|
|
184
|
+
qbxml (0.5.0)
|
|
185
|
+
activesupport (>= 5.0.0)
|
|
186
|
+
builder (~> 3.0)
|
|
187
|
+
nokogiri (~> 1.5)
|
|
188
|
+
racc (1.8.1)
|
|
189
|
+
rack (3.1.15)
|
|
190
|
+
rack-session (2.1.1)
|
|
191
|
+
base64 (>= 0.1.0)
|
|
192
|
+
rack (>= 3.0.0)
|
|
193
|
+
rack-test (2.2.0)
|
|
194
|
+
rack (>= 1.3)
|
|
195
|
+
rackup (2.2.1)
|
|
196
|
+
rack (>= 3)
|
|
197
|
+
rails (8.0.2)
|
|
198
|
+
actioncable (= 8.0.2)
|
|
199
|
+
actionmailbox (= 8.0.2)
|
|
200
|
+
actionmailer (= 8.0.2)
|
|
201
|
+
actionpack (= 8.0.2)
|
|
202
|
+
actiontext (= 8.0.2)
|
|
203
|
+
actionview (= 8.0.2)
|
|
204
|
+
activejob (= 8.0.2)
|
|
205
|
+
activemodel (= 8.0.2)
|
|
206
|
+
activerecord (= 8.0.2)
|
|
207
|
+
activestorage (= 8.0.2)
|
|
208
|
+
activesupport (= 8.0.2)
|
|
209
|
+
bundler (>= 1.15.0)
|
|
210
|
+
railties (= 8.0.2)
|
|
211
|
+
rails-dom-testing (2.3.0)
|
|
212
|
+
activesupport (>= 5.0.0)
|
|
213
|
+
minitest
|
|
214
|
+
nokogiri (>= 1.6)
|
|
215
|
+
rails-html-sanitizer (1.6.2)
|
|
216
|
+
loofah (~> 2.21)
|
|
217
|
+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
|
218
|
+
railties (8.0.2)
|
|
219
|
+
actionpack (= 8.0.2)
|
|
220
|
+
activesupport (= 8.0.2)
|
|
221
|
+
irb (~> 1.13)
|
|
222
|
+
rackup (>= 1.0.0)
|
|
223
|
+
rake (>= 12.2)
|
|
224
|
+
thor (~> 1.0, >= 1.2.2)
|
|
225
|
+
zeitwerk (~> 2.6)
|
|
226
|
+
rake (13.3.0)
|
|
227
|
+
rdoc (6.14.0)
|
|
228
|
+
erb
|
|
229
|
+
psych (>= 4.0.0)
|
|
230
|
+
reline (0.6.1)
|
|
231
|
+
io-console (~> 0.5)
|
|
232
|
+
rexml (3.4.1)
|
|
233
|
+
savon (2.15.1)
|
|
234
|
+
akami (~> 1.2)
|
|
235
|
+
builder (>= 2.1.2)
|
|
236
|
+
gyoku (~> 1.2)
|
|
237
|
+
httpi (>= 4, < 5)
|
|
238
|
+
mail (~> 2.5)
|
|
239
|
+
nokogiri (>= 1.8.1)
|
|
240
|
+
nori (~> 2.4)
|
|
241
|
+
wasabi (>= 3.7, < 6)
|
|
242
|
+
securerandom (0.4.1)
|
|
243
|
+
sqlite3 (2.6.0-aarch64-linux-gnu)
|
|
244
|
+
sqlite3 (2.6.0-aarch64-linux-musl)
|
|
245
|
+
sqlite3 (2.6.0-arm-linux-gnu)
|
|
246
|
+
sqlite3 (2.6.0-arm-linux-musl)
|
|
247
|
+
sqlite3 (2.6.0-arm64-darwin)
|
|
248
|
+
sqlite3 (2.6.0-x86_64-darwin)
|
|
249
|
+
sqlite3 (2.6.0-x86_64-linux-gnu)
|
|
250
|
+
sqlite3 (2.6.0-x86_64-linux-musl)
|
|
251
|
+
stringio (3.1.7)
|
|
252
|
+
thor (1.3.2)
|
|
253
|
+
timeout (0.4.3)
|
|
254
|
+
tzinfo (2.0.6)
|
|
255
|
+
concurrent-ruby (~> 1.0)
|
|
256
|
+
uri (1.0.3)
|
|
257
|
+
useragent (0.16.11)
|
|
258
|
+
wasabi (5.1.0)
|
|
259
|
+
addressable
|
|
260
|
+
faraday (>= 1.9, < 3)
|
|
261
|
+
nokogiri (>= 1.13.9)
|
|
262
|
+
wash_out (0.12.0)
|
|
263
|
+
nori (>= 2.0.0)
|
|
264
|
+
webmock (3.25.1)
|
|
265
|
+
addressable (>= 2.8.0)
|
|
266
|
+
crack (>= 0.3.2)
|
|
267
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
|
268
|
+
websocket-driver (0.8.0)
|
|
269
|
+
base64
|
|
270
|
+
websocket-extensions (>= 0.1.0)
|
|
271
|
+
websocket-extensions (0.1.5)
|
|
272
|
+
zeitwerk (2.7.3)
|
|
273
|
+
|
|
274
|
+
PLATFORMS
|
|
275
|
+
aarch64-linux-gnu
|
|
276
|
+
aarch64-linux-musl
|
|
277
|
+
arm-linux-gnu
|
|
278
|
+
arm-linux-musl
|
|
279
|
+
arm64-darwin
|
|
280
|
+
x86_64-darwin
|
|
281
|
+
x86_64-linux-gnu
|
|
282
|
+
x86_64-linux-musl
|
|
283
|
+
|
|
284
|
+
DEPENDENCIES
|
|
285
|
+
actionpack (~> 8.0.0)
|
|
286
|
+
actionview (~> 8.0.0)
|
|
287
|
+
activerecord
|
|
288
|
+
appraisal
|
|
289
|
+
byebug
|
|
290
|
+
httpi
|
|
291
|
+
minitest
|
|
292
|
+
qbwc!
|
|
293
|
+
rails (>= 5.0.1, < 8.2)
|
|
294
|
+
rake
|
|
295
|
+
savon
|
|
296
|
+
sqlite3
|
|
297
|
+
webmock
|
|
298
|
+
|
|
299
|
+
BUNDLED WITH
|
|
300
|
+
2.6.2
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: ..
|
|
3
|
+
specs:
|
|
4
|
+
qbwc (1.3.0)
|
|
5
|
+
actionpack (>= 5.0.1)
|
|
6
|
+
qbxml (>= 0.3.0)
|
|
7
|
+
wash_out (>= 0.12.0)
|
|
8
|
+
|
|
9
|
+
GEM
|
|
10
|
+
remote: https://rubygems.org/
|
|
11
|
+
specs:
|
|
12
|
+
action_text-trix (2.1.15)
|
|
13
|
+
railties
|
|
14
|
+
actioncable (8.1.1)
|
|
15
|
+
actionpack (= 8.1.1)
|
|
16
|
+
activesupport (= 8.1.1)
|
|
17
|
+
nio4r (~> 2.0)
|
|
18
|
+
websocket-driver (>= 0.6.1)
|
|
19
|
+
zeitwerk (~> 2.6)
|
|
20
|
+
actionmailbox (8.1.1)
|
|
21
|
+
actionpack (= 8.1.1)
|
|
22
|
+
activejob (= 8.1.1)
|
|
23
|
+
activerecord (= 8.1.1)
|
|
24
|
+
activestorage (= 8.1.1)
|
|
25
|
+
activesupport (= 8.1.1)
|
|
26
|
+
mail (>= 2.8.0)
|
|
27
|
+
actionmailer (8.1.1)
|
|
28
|
+
actionpack (= 8.1.1)
|
|
29
|
+
actionview (= 8.1.1)
|
|
30
|
+
activejob (= 8.1.1)
|
|
31
|
+
activesupport (= 8.1.1)
|
|
32
|
+
mail (>= 2.8.0)
|
|
33
|
+
rails-dom-testing (~> 2.2)
|
|
34
|
+
actionpack (8.1.1)
|
|
35
|
+
actionview (= 8.1.1)
|
|
36
|
+
activesupport (= 8.1.1)
|
|
37
|
+
nokogiri (>= 1.8.5)
|
|
38
|
+
rack (>= 2.2.4)
|
|
39
|
+
rack-session (>= 1.0.1)
|
|
40
|
+
rack-test (>= 0.6.3)
|
|
41
|
+
rails-dom-testing (~> 2.2)
|
|
42
|
+
rails-html-sanitizer (~> 1.6)
|
|
43
|
+
useragent (~> 0.16)
|
|
44
|
+
actiontext (8.1.1)
|
|
45
|
+
action_text-trix (~> 2.1.15)
|
|
46
|
+
actionpack (= 8.1.1)
|
|
47
|
+
activerecord (= 8.1.1)
|
|
48
|
+
activestorage (= 8.1.1)
|
|
49
|
+
activesupport (= 8.1.1)
|
|
50
|
+
globalid (>= 0.6.0)
|
|
51
|
+
nokogiri (>= 1.8.5)
|
|
52
|
+
actionview (8.1.1)
|
|
53
|
+
activesupport (= 8.1.1)
|
|
54
|
+
builder (~> 3.1)
|
|
55
|
+
erubi (~> 1.11)
|
|
56
|
+
rails-dom-testing (~> 2.2)
|
|
57
|
+
rails-html-sanitizer (~> 1.6)
|
|
58
|
+
activejob (8.1.1)
|
|
59
|
+
activesupport (= 8.1.1)
|
|
60
|
+
globalid (>= 0.3.6)
|
|
61
|
+
activemodel (8.1.1)
|
|
62
|
+
activesupport (= 8.1.1)
|
|
63
|
+
activerecord (8.1.1)
|
|
64
|
+
activemodel (= 8.1.1)
|
|
65
|
+
activesupport (= 8.1.1)
|
|
66
|
+
timeout (>= 0.4.0)
|
|
67
|
+
activestorage (8.1.1)
|
|
68
|
+
actionpack (= 8.1.1)
|
|
69
|
+
activejob (= 8.1.1)
|
|
70
|
+
activerecord (= 8.1.1)
|
|
71
|
+
activesupport (= 8.1.1)
|
|
72
|
+
marcel (~> 1.0)
|
|
73
|
+
activesupport (8.1.1)
|
|
74
|
+
base64
|
|
75
|
+
bigdecimal
|
|
76
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
77
|
+
connection_pool (>= 2.2.5)
|
|
78
|
+
drb
|
|
79
|
+
i18n (>= 1.6, < 2)
|
|
80
|
+
json
|
|
81
|
+
logger (>= 1.4.2)
|
|
82
|
+
minitest (>= 5.1)
|
|
83
|
+
securerandom (>= 0.3)
|
|
84
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
|
85
|
+
uri (>= 0.13.1)
|
|
86
|
+
addressable (2.8.7)
|
|
87
|
+
public_suffix (>= 2.0.2, < 7.0)
|
|
88
|
+
akami (1.3.3)
|
|
89
|
+
base64
|
|
90
|
+
gyoku (>= 0.4.0)
|
|
91
|
+
nokogiri
|
|
92
|
+
appraisal (2.5.0)
|
|
93
|
+
bundler
|
|
94
|
+
rake
|
|
95
|
+
thor (>= 0.14.0)
|
|
96
|
+
base64 (0.3.0)
|
|
97
|
+
bigdecimal (3.3.1)
|
|
98
|
+
builder (3.3.0)
|
|
99
|
+
byebug (12.0.0)
|
|
100
|
+
concurrent-ruby (1.3.5)
|
|
101
|
+
connection_pool (2.5.4)
|
|
102
|
+
crack (1.0.1)
|
|
103
|
+
bigdecimal
|
|
104
|
+
rexml
|
|
105
|
+
crass (1.0.6)
|
|
106
|
+
date (3.5.0)
|
|
107
|
+
drb (2.2.3)
|
|
108
|
+
erb (5.1.3)
|
|
109
|
+
erubi (1.13.1)
|
|
110
|
+
faraday (2.14.0)
|
|
111
|
+
faraday-net_http (>= 2.0, < 3.5)
|
|
112
|
+
json
|
|
113
|
+
logger
|
|
114
|
+
faraday-net_http (3.4.2)
|
|
115
|
+
net-http (~> 0.5)
|
|
116
|
+
globalid (1.3.0)
|
|
117
|
+
activesupport (>= 6.1)
|
|
118
|
+
gyoku (1.4.0)
|
|
119
|
+
builder (>= 2.1.2)
|
|
120
|
+
rexml (~> 3.0)
|
|
121
|
+
hashdiff (1.2.1)
|
|
122
|
+
httpi (4.0.4)
|
|
123
|
+
base64
|
|
124
|
+
mutex_m
|
|
125
|
+
nkf
|
|
126
|
+
rack (>= 2.0, < 4)
|
|
127
|
+
i18n (1.14.7)
|
|
128
|
+
concurrent-ruby (~> 1.0)
|
|
129
|
+
io-console (0.8.1)
|
|
130
|
+
irb (1.15.3)
|
|
131
|
+
pp (>= 0.6.0)
|
|
132
|
+
rdoc (>= 4.0.0)
|
|
133
|
+
reline (>= 0.4.2)
|
|
134
|
+
json (2.16.0)
|
|
135
|
+
logger (1.7.0)
|
|
136
|
+
loofah (2.24.1)
|
|
137
|
+
crass (~> 1.0.2)
|
|
138
|
+
nokogiri (>= 1.12.0)
|
|
139
|
+
mail (2.9.0)
|
|
140
|
+
logger
|
|
141
|
+
mini_mime (>= 0.1.1)
|
|
142
|
+
net-imap
|
|
143
|
+
net-pop
|
|
144
|
+
net-smtp
|
|
145
|
+
marcel (1.1.0)
|
|
146
|
+
mini_mime (1.1.5)
|
|
147
|
+
minitest (5.26.1)
|
|
148
|
+
mutex_m (0.3.0)
|
|
149
|
+
net-http (0.7.0)
|
|
150
|
+
uri
|
|
151
|
+
net-imap (0.5.12)
|
|
152
|
+
date
|
|
153
|
+
net-protocol
|
|
154
|
+
net-pop (0.1.2)
|
|
155
|
+
net-protocol
|
|
156
|
+
net-protocol (0.2.2)
|
|
157
|
+
timeout
|
|
158
|
+
net-smtp (0.5.1)
|
|
159
|
+
net-protocol
|
|
160
|
+
nio4r (2.7.5)
|
|
161
|
+
nkf (0.2.0)
|
|
162
|
+
nokogiri (1.18.10-x86_64-linux-gnu)
|
|
163
|
+
racc (~> 1.4)
|
|
164
|
+
nori (2.7.1)
|
|
165
|
+
bigdecimal
|
|
166
|
+
pp (0.6.3)
|
|
167
|
+
prettyprint
|
|
168
|
+
prettyprint (0.2.0)
|
|
169
|
+
psych (5.2.6)
|
|
170
|
+
date
|
|
171
|
+
stringio
|
|
172
|
+
public_suffix (6.0.2)
|
|
173
|
+
qbxml (0.5.0)
|
|
174
|
+
activesupport (>= 5.0.0)
|
|
175
|
+
builder (~> 3.0)
|
|
176
|
+
nokogiri (~> 1.5)
|
|
177
|
+
racc (1.8.1)
|
|
178
|
+
rack (3.2.4)
|
|
179
|
+
rack-session (2.1.1)
|
|
180
|
+
base64 (>= 0.1.0)
|
|
181
|
+
rack (>= 3.0.0)
|
|
182
|
+
rack-test (2.2.0)
|
|
183
|
+
rack (>= 1.3)
|
|
184
|
+
rackup (2.2.1)
|
|
185
|
+
rack (>= 3)
|
|
186
|
+
rails (8.1.1)
|
|
187
|
+
actioncable (= 8.1.1)
|
|
188
|
+
actionmailbox (= 8.1.1)
|
|
189
|
+
actionmailer (= 8.1.1)
|
|
190
|
+
actionpack (= 8.1.1)
|
|
191
|
+
actiontext (= 8.1.1)
|
|
192
|
+
actionview (= 8.1.1)
|
|
193
|
+
activejob (= 8.1.1)
|
|
194
|
+
activemodel (= 8.1.1)
|
|
195
|
+
activerecord (= 8.1.1)
|
|
196
|
+
activestorage (= 8.1.1)
|
|
197
|
+
activesupport (= 8.1.1)
|
|
198
|
+
bundler (>= 1.15.0)
|
|
199
|
+
railties (= 8.1.1)
|
|
200
|
+
rails-dom-testing (2.3.0)
|
|
201
|
+
activesupport (>= 5.0.0)
|
|
202
|
+
minitest
|
|
203
|
+
nokogiri (>= 1.6)
|
|
204
|
+
rails-html-sanitizer (1.6.2)
|
|
205
|
+
loofah (~> 2.21)
|
|
206
|
+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
|
207
|
+
railties (8.1.1)
|
|
208
|
+
actionpack (= 8.1.1)
|
|
209
|
+
activesupport (= 8.1.1)
|
|
210
|
+
irb (~> 1.13)
|
|
211
|
+
rackup (>= 1.0.0)
|
|
212
|
+
rake (>= 12.2)
|
|
213
|
+
thor (~> 1.0, >= 1.2.2)
|
|
214
|
+
tsort (>= 0.2)
|
|
215
|
+
zeitwerk (~> 2.6)
|
|
216
|
+
rake (13.3.1)
|
|
217
|
+
rdoc (6.15.1)
|
|
218
|
+
erb
|
|
219
|
+
psych (>= 4.0.0)
|
|
220
|
+
tsort
|
|
221
|
+
reline (0.6.3)
|
|
222
|
+
io-console (~> 0.5)
|
|
223
|
+
rexml (3.4.4)
|
|
224
|
+
savon (2.15.1)
|
|
225
|
+
akami (~> 1.2)
|
|
226
|
+
builder (>= 2.1.2)
|
|
227
|
+
gyoku (~> 1.2)
|
|
228
|
+
httpi (>= 4, < 5)
|
|
229
|
+
mail (~> 2.5)
|
|
230
|
+
nokogiri (>= 1.8.1)
|
|
231
|
+
nori (~> 2.4)
|
|
232
|
+
wasabi (>= 3.7, < 6)
|
|
233
|
+
securerandom (0.4.1)
|
|
234
|
+
sqlite3 (2.8.0-x86_64-linux-gnu)
|
|
235
|
+
stringio (3.1.7)
|
|
236
|
+
thor (1.4.0)
|
|
237
|
+
timeout (0.4.4)
|
|
238
|
+
tsort (0.2.0)
|
|
239
|
+
tzinfo (2.0.6)
|
|
240
|
+
concurrent-ruby (~> 1.0)
|
|
241
|
+
uri (1.1.1)
|
|
242
|
+
useragent (0.16.11)
|
|
243
|
+
wasabi (5.1.0)
|
|
244
|
+
addressable
|
|
245
|
+
faraday (>= 1.9, < 3)
|
|
246
|
+
nokogiri (>= 1.13.9)
|
|
247
|
+
wash_out (0.12.0)
|
|
248
|
+
nori (>= 2.0.0)
|
|
249
|
+
webmock (3.26.1)
|
|
250
|
+
addressable (>= 2.8.0)
|
|
251
|
+
crack (>= 0.3.2)
|
|
252
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
|
253
|
+
websocket-driver (0.8.0)
|
|
254
|
+
base64
|
|
255
|
+
websocket-extensions (>= 0.1.0)
|
|
256
|
+
websocket-extensions (0.1.5)
|
|
257
|
+
zeitwerk (2.7.3)
|
|
258
|
+
|
|
259
|
+
PLATFORMS
|
|
260
|
+
x86_64-linux
|
|
261
|
+
|
|
262
|
+
DEPENDENCIES
|
|
263
|
+
actionpack (~> 8.1.0)
|
|
264
|
+
actionview (~> 8.1.0)
|
|
265
|
+
activerecord
|
|
266
|
+
appraisal
|
|
267
|
+
byebug
|
|
268
|
+
httpi
|
|
269
|
+
minitest
|
|
270
|
+
qbwc!
|
|
271
|
+
rails (>= 5.0.1, < 8.2)
|
|
272
|
+
rake
|
|
273
|
+
savon
|
|
274
|
+
sqlite3
|
|
275
|
+
webmock
|
|
276
|
+
|
|
277
|
+
BUNDLED WITH
|
|
278
|
+
2.4.13
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
class QBWC::ActiveRecord::Job < QBWC::Job
|
|
2
2
|
class QbwcJob < ActiveRecord::Base
|
|
3
|
-
validates :name, :uniqueness => true, :presence => true
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
validates :name, :uniqueness => { :case_sensitive => true }, :presence => true
|
|
4
|
+
|
|
5
|
+
if Rails.version >= '7.1'
|
|
6
|
+
serialize :requests, type: Hash, coder: QBWC.default_column_serializer
|
|
7
|
+
serialize :request_index, type: Hash, coder: QBWC.default_column_serializer
|
|
8
|
+
serialize :data, coder: QBWC.default_column_serializer
|
|
9
|
+
elsif Rails.version >= '6.1'
|
|
10
|
+
serialize :requests, type: Hash
|
|
11
|
+
serialize :request_index, type: Hash
|
|
12
|
+
serialize :data
|
|
13
|
+
else
|
|
14
|
+
serialize :requests, Hash
|
|
15
|
+
serialize :request_index, Hash
|
|
16
|
+
serialize :data
|
|
17
|
+
end
|
|
7
18
|
|
|
8
19
|
def to_qbwc_job
|
|
9
20
|
QBWC::ActiveRecord::Job.new(name, enabled, company, worker_class, requests, data)
|
data/lib/qbwc/controller.rb
CHANGED
|
@@ -85,7 +85,7 @@ SB
|
|
|
85
85
|
#{scheduler_block}
|
|
86
86
|
</QBWCXML>
|
|
87
87
|
QWC
|
|
88
|
-
send_data qwc, :filename => "#{Rails.application.class.parent_name}.qwc", :content_type => 'application/x-qwc'
|
|
88
|
+
send_data qwc, :filename => "#{Rails.application.class.try(:module_parent_name) || Rails.application.class.parent_name}.qwc", :content_type => 'application/x-qwc'
|
|
89
89
|
end
|
|
90
90
|
|
|
91
91
|
class StringArray < WashOut::Type
|
|
@@ -162,7 +162,7 @@ QWC
|
|
|
162
162
|
end
|
|
163
163
|
|
|
164
164
|
def app_name
|
|
165
|
-
"#{Rails.application.class.parent_name} #{Rails.env}"
|
|
165
|
+
"#{Rails.application.class.try(:module_parent_name) || Rails.application.class.parent_name} #{Rails.env}"
|
|
166
166
|
end
|
|
167
167
|
|
|
168
168
|
def file_id
|
data/lib/qbwc/session.rb
CHANGED
|
@@ -18,7 +18,7 @@ class QBWC::Session
|
|
|
18
18
|
@iterator_id = nil
|
|
19
19
|
@initial_job_count = pending_jobs.length
|
|
20
20
|
|
|
21
|
-
@ticket = ticket || Digest::SHA1.hexdigest("#{Rails.application.config.secret_token}#{
|
|
21
|
+
@ticket = ticket || Digest::SHA1.hexdigest("#{Rails.application.config.try(:secret_key_base) || Rails.application.config.try(:secret_token)}#{SecureRandom.uuid}")
|
|
22
22
|
|
|
23
23
|
@@session = self
|
|
24
24
|
reset(ticket.nil?)
|
|
@@ -61,8 +61,9 @@ class QBWC::Session
|
|
|
61
61
|
request = self.next_request
|
|
62
62
|
if request && self.iterator_id.present?
|
|
63
63
|
request = request.to_hash
|
|
64
|
+
requestID = request.values.first["xml_attributes"]["requestID"]
|
|
64
65
|
request.delete('xml_attributes')
|
|
65
|
-
request.values.first['xml_attributes'] = {'iterator' => 'Continue', 'iteratorID' => self.iterator_id}
|
|
66
|
+
request.values.first['xml_attributes'] = {'iterator' => 'Continue', 'iteratorID' => self.iterator_id, 'requestID' => requestID}
|
|
66
67
|
request = QBWC::Request.new(request)
|
|
67
68
|
end
|
|
68
69
|
request
|
data/lib/qbwc/version.rb
CHANGED
data/lib/qbwc.rb
CHANGED
|
@@ -70,6 +70,9 @@ module QBWC
|
|
|
70
70
|
mattr_accessor :log_requests_and_responses
|
|
71
71
|
@@log_requests_and_responses = Rails.env == 'production' ? false : true
|
|
72
72
|
|
|
73
|
+
mattr_accessor :default_column_serializer
|
|
74
|
+
@@default_column_serializer = nil
|
|
75
|
+
|
|
73
76
|
class << self
|
|
74
77
|
|
|
75
78
|
def storage_module
|
|
@@ -133,6 +136,8 @@ module QBWC
|
|
|
133
136
|
storage_module::Job.clear_jobs
|
|
134
137
|
end
|
|
135
138
|
|
|
139
|
+
def default_column_serializer
|
|
140
|
+
@@default_column_serializer || Rails.application.config.try(:active_record)&.default_column_serializer || YAML
|
|
141
|
+
end
|
|
136
142
|
end
|
|
137
|
-
|
|
138
143
|
end
|
data/qbwc.gemspec
CHANGED
|
@@ -29,13 +29,13 @@ Gem::Specification.new do |s|
|
|
|
29
29
|
s.add_dependency 'actionpack', ['>= 5.0.1']
|
|
30
30
|
|
|
31
31
|
s.add_development_dependency('webmock')
|
|
32
|
-
s.add_development_dependency('rspec')
|
|
33
32
|
s.add_development_dependency('activerecord')
|
|
34
|
-
s.add_development_dependency('rails', [">= 5.0.1"])
|
|
33
|
+
s.add_development_dependency('rails', [">= 5.0.1", '< 8.2'])
|
|
35
34
|
s.add_development_dependency('sqlite3')
|
|
36
35
|
s.add_development_dependency('minitest')
|
|
37
36
|
s.add_development_dependency('rake')
|
|
38
37
|
s.add_development_dependency('appraisal')
|
|
39
38
|
s.add_development_dependency('savon')
|
|
40
39
|
s.add_development_dependency('httpi')
|
|
40
|
+
s.add_development_dependency('byebug')
|
|
41
41
|
end
|
|
@@ -8,6 +8,7 @@ class QBWCControllerTest < ActionController::TestCase
|
|
|
8
8
|
|
|
9
9
|
def setup
|
|
10
10
|
@routes = Rails.application.routes # https://github.com/blowmage/minitest-rails/issues/133#issuecomment-36401436
|
|
11
|
+
ActiveRecord::Base.yaml_column_permitted_classes += [Symbol] if ActiveRecord::Base.respond_to?(:yaml_column_permitted_classes)
|
|
11
12
|
@controller = QbwcController.new # http://stackoverflow.com/a/7743176
|
|
12
13
|
@session = QBWC::Session.new('foo', '')
|
|
13
14
|
|
|
@@ -20,7 +20,7 @@ class SavonClientTest < ActionDispatch::IntegrationTest
|
|
|
20
20
|
|
|
21
21
|
# http://blog.johnsonch.com/2013/04/18/rails-3-soap-and-testing-oh-my/
|
|
22
22
|
test "qbwc/action serverVersion" do
|
|
23
|
-
host = '
|
|
23
|
+
host = 'www.example.com'
|
|
24
24
|
url_base = "http://#{host}"
|
|
25
25
|
url_path = '/qbwc/action'
|
|
26
26
|
|