qbwc 1.2.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.
@@ -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,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "actionpack", "~> 8.1.0"
6
+ gem "actionview", "~> 8.1.0"
7
+
8
+ gemspec path: "../"
@@ -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
@@ -2,16 +2,20 @@ class QBWC::ActiveRecord::Job < QBWC::Job
2
2
  class QbwcJob < ActiveRecord::Base
3
3
  validates :name, :uniqueness => { :case_sensitive => true }, :presence => true
4
4
 
5
- if Rails.version >= '6.1'
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'
6
10
  serialize :requests, type: Hash
7
11
  serialize :request_index, type: Hash
12
+ serialize :data
8
13
  else
9
14
  serialize :requests, Hash
10
15
  serialize :request_index, Hash
16
+ serialize :data
11
17
  end
12
18
 
13
- serialize :data
14
-
15
19
  def to_qbwc_job
16
20
  QBWC::ActiveRecord::Job.new(name, enabled, company, worker_class, requests, data)
17
21
  end
data/lib/qbwc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module QBWC
2
- VERSION = "1.2.0"
2
+ VERSION = "1.3.0"
3
3
  end
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,9 +29,8 @@ 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", '< 7.2'])
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')