qbwc 1.0.0 → 1.2.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.
Files changed (45) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/ci.yml +66 -0
  3. data/.gitignore +3 -1
  4. data/Appraisals +36 -0
  5. data/CHANGELOG.md +27 -0
  6. data/Gemfile +1 -1
  7. data/Gemfile.lock +276 -0
  8. data/README.md +4 -6
  9. data/Rakefile +2 -0
  10. data/gemfiles/.bundle/config +2 -0
  11. data/gemfiles/rails_5.1.gemfile +9 -0
  12. data/gemfiles/rails_5.1.gemfile.lock +217 -0
  13. data/gemfiles/rails_5.2.gemfile +9 -0
  14. data/gemfiles/rails_5.2.gemfile.lock +225 -0
  15. data/gemfiles/rails_6.0.gemfile +9 -0
  16. data/gemfiles/rails_6.0.gemfile.lock +241 -0
  17. data/gemfiles/rails_6.1.gemfile +9 -0
  18. data/gemfiles/rails_6.1.gemfile.lock +244 -0
  19. data/gemfiles/rails_7.0.gemfile +9 -0
  20. data/gemfiles/rails_7.0.gemfile.lock +243 -0
  21. data/gemfiles/rails_7.1.gemfile +8 -0
  22. data/gemfiles/rails_7.1.gemfile.lock +292 -0
  23. data/lib/generators/qbwc/install/templates/db/migrate/change_request_index.rb +1 -1
  24. data/lib/generators/qbwc/install/templates/db/migrate/create_qbwc_jobs.rb +1 -1
  25. data/lib/generators/qbwc/install/templates/db/migrate/create_qbwc_sessions.rb +2 -2
  26. data/lib/generators/qbwc/install/templates/db/migrate/index_qbwc_jobs.rb +1 -1
  27. data/lib/generators/qbwc/install/templates/db/migrate/session_pending_jobs_text.rb +1 -1
  28. data/lib/qbwc/active_record/job.rb +10 -3
  29. data/lib/qbwc/controller.rb +7 -7
  30. data/lib/qbwc/job.rb +1 -1
  31. data/lib/qbwc/session.rb +3 -2
  32. data/lib/qbwc/version.rb +1 -1
  33. data/qbwc.gemspec +9 -6
  34. data/test/qbwc/controllers/controller_test.rb +15 -9
  35. data/test/qbwc/integration/job_management_test.rb +2 -2
  36. data/test/qbwc/integration/request_generation_test.rb +12 -12
  37. data/test/qbwc/integration/response_test.rb +2 -0
  38. data/test/qbwc/integration/routes_test.rb +6 -6
  39. data/test/qbwc/integration/savon_client_test.rb +48 -0
  40. data/test/qbwc/integration/session_test.rb +1 -5
  41. data/test/test_helper.rb +63 -6
  42. metadata +61 -28
  43. data/.travis.yml +0 -8
  44. data/Guardfile +0 -46
  45. data/test/wash_out_helper.rb +0 -76
@@ -0,0 +1,244 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ qbwc (1.1.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 (6.1.7.10)
13
+ actionpack (= 6.1.7.10)
14
+ activesupport (= 6.1.7.10)
15
+ nio4r (~> 2.0)
16
+ websocket-driver (>= 0.6.1)
17
+ actionmailbox (6.1.7.10)
18
+ actionpack (= 6.1.7.10)
19
+ activejob (= 6.1.7.10)
20
+ activerecord (= 6.1.7.10)
21
+ activestorage (= 6.1.7.10)
22
+ activesupport (= 6.1.7.10)
23
+ mail (>= 2.7.1)
24
+ actionmailer (6.1.7.10)
25
+ actionpack (= 6.1.7.10)
26
+ actionview (= 6.1.7.10)
27
+ activejob (= 6.1.7.10)
28
+ activesupport (= 6.1.7.10)
29
+ mail (~> 2.5, >= 2.5.4)
30
+ rails-dom-testing (~> 2.0)
31
+ actionpack (6.1.7.10)
32
+ actionview (= 6.1.7.10)
33
+ activesupport (= 6.1.7.10)
34
+ rack (~> 2.0, >= 2.0.9)
35
+ rack-test (>= 0.6.3)
36
+ rails-dom-testing (~> 2.0)
37
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
38
+ actiontext (6.1.7.10)
39
+ actionpack (= 6.1.7.10)
40
+ activerecord (= 6.1.7.10)
41
+ activestorage (= 6.1.7.10)
42
+ activesupport (= 6.1.7.10)
43
+ nokogiri (>= 1.8.5)
44
+ actionview (6.1.7.10)
45
+ activesupport (= 6.1.7.10)
46
+ builder (~> 3.1)
47
+ erubi (~> 1.4)
48
+ rails-dom-testing (~> 2.0)
49
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
50
+ activejob (6.1.7.10)
51
+ activesupport (= 6.1.7.10)
52
+ globalid (>= 0.3.6)
53
+ activemodel (6.1.7.10)
54
+ activesupport (= 6.1.7.10)
55
+ activerecord (6.1.7.10)
56
+ activemodel (= 6.1.7.10)
57
+ activesupport (= 6.1.7.10)
58
+ activestorage (6.1.7.10)
59
+ actionpack (= 6.1.7.10)
60
+ activejob (= 6.1.7.10)
61
+ activerecord (= 6.1.7.10)
62
+ activesupport (= 6.1.7.10)
63
+ marcel (~> 1.0)
64
+ mini_mime (>= 1.1.0)
65
+ activesupport (6.1.7.10)
66
+ concurrent-ruby (~> 1.0, >= 1.0.2)
67
+ i18n (>= 1.6, < 2)
68
+ minitest (>= 5.1)
69
+ tzinfo (~> 2.0)
70
+ zeitwerk (~> 2.3)
71
+ addressable (2.8.7)
72
+ public_suffix (>= 2.0.2, < 7.0)
73
+ akami (1.3.2)
74
+ gyoku (>= 0.4.0)
75
+ nokogiri
76
+ appraisal (2.5.0)
77
+ bundler
78
+ rake
79
+ thor (>= 0.14.0)
80
+ base64 (0.2.0)
81
+ bigdecimal (3.1.9)
82
+ builder (3.3.0)
83
+ byebug (11.1.3)
84
+ concurrent-ruby (1.3.4)
85
+ crack (1.0.0)
86
+ bigdecimal
87
+ rexml
88
+ crass (1.0.6)
89
+ date (3.4.1)
90
+ diff-lcs (1.6.0)
91
+ erubi (1.13.1)
92
+ globalid (1.2.1)
93
+ activesupport (>= 6.1)
94
+ gyoku (1.4.0)
95
+ builder (>= 2.1.2)
96
+ rexml (~> 3.0)
97
+ hashdiff (1.1.2)
98
+ httpi (3.0.1)
99
+ rack
100
+ i18n (1.14.7)
101
+ concurrent-ruby (~> 1.0)
102
+ loofah (2.24.0)
103
+ crass (~> 1.0.2)
104
+ nokogiri (>= 1.12.0)
105
+ mail (2.8.1)
106
+ mini_mime (>= 0.1.1)
107
+ net-imap
108
+ net-pop
109
+ net-smtp
110
+ marcel (1.0.4)
111
+ method_source (1.1.0)
112
+ mini_mime (1.1.5)
113
+ mini_portile2 (2.8.8)
114
+ minitest (5.25.5)
115
+ net-imap (0.4.19)
116
+ date
117
+ net-protocol
118
+ net-pop (0.1.2)
119
+ net-protocol
120
+ net-protocol (0.2.2)
121
+ timeout
122
+ net-smtp (0.5.1)
123
+ net-protocol
124
+ nio4r (2.7.4)
125
+ nokogiri (1.15.7)
126
+ mini_portile2 (~> 2.8.2)
127
+ racc (~> 1.4)
128
+ nokogiri (1.15.7-x86_64-linux)
129
+ racc (~> 1.4)
130
+ nori (2.6.0)
131
+ public_suffix (5.1.1)
132
+ qbxml (0.5.0)
133
+ activesupport (>= 5.0.0)
134
+ builder (~> 3.0)
135
+ nokogiri (~> 1.5)
136
+ racc (1.8.1)
137
+ rack (2.2.13)
138
+ rack-test (2.2.0)
139
+ rack (>= 1.3)
140
+ rails (6.1.7.10)
141
+ actioncable (= 6.1.7.10)
142
+ actionmailbox (= 6.1.7.10)
143
+ actionmailer (= 6.1.7.10)
144
+ actionpack (= 6.1.7.10)
145
+ actiontext (= 6.1.7.10)
146
+ actionview (= 6.1.7.10)
147
+ activejob (= 6.1.7.10)
148
+ activemodel (= 6.1.7.10)
149
+ activerecord (= 6.1.7.10)
150
+ activestorage (= 6.1.7.10)
151
+ activesupport (= 6.1.7.10)
152
+ bundler (>= 1.15.0)
153
+ railties (= 6.1.7.10)
154
+ sprockets-rails (>= 2.0.0)
155
+ rails-dom-testing (2.2.0)
156
+ activesupport (>= 5.0.0)
157
+ minitest
158
+ nokogiri (>= 1.6)
159
+ rails-html-sanitizer (1.6.2)
160
+ loofah (~> 2.21)
161
+ 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)
162
+ railties (6.1.7.10)
163
+ actionpack (= 6.1.7.10)
164
+ activesupport (= 6.1.7.10)
165
+ method_source
166
+ rake (>= 12.2)
167
+ thor (~> 1.0)
168
+ rake (13.2.1)
169
+ rexml (3.4.1)
170
+ rspec (3.13.0)
171
+ rspec-core (~> 3.13.0)
172
+ rspec-expectations (~> 3.13.0)
173
+ rspec-mocks (~> 3.13.0)
174
+ rspec-core (3.13.3)
175
+ rspec-support (~> 3.13.0)
176
+ rspec-expectations (3.13.3)
177
+ diff-lcs (>= 1.2.0, < 2.0)
178
+ rspec-support (~> 3.13.0)
179
+ rspec-mocks (3.13.2)
180
+ diff-lcs (>= 1.2.0, < 2.0)
181
+ rspec-support (~> 3.13.0)
182
+ rspec-support (3.13.2)
183
+ savon (2.15.0)
184
+ akami (~> 1.2)
185
+ builder (>= 2.1.2)
186
+ gyoku (~> 1.2)
187
+ httpi (>= 2.4.5, < 5)
188
+ mail (~> 2.5)
189
+ nokogiri (>= 1.8.1)
190
+ nori (~> 2.4)
191
+ wasabi (>= 3.7, < 6)
192
+ sprockets (4.2.1)
193
+ concurrent-ruby (~> 1.0)
194
+ rack (>= 2.2.4, < 4)
195
+ sprockets-rails (3.5.2)
196
+ actionpack (>= 6.1)
197
+ activesupport (>= 6.1)
198
+ sprockets (>= 3.0.0)
199
+ sqlite3 (1.6.9)
200
+ mini_portile2 (~> 2.8.0)
201
+ sqlite3 (1.6.9-x86_64-linux)
202
+ thor (1.3.2)
203
+ timeout (0.4.3)
204
+ tzinfo (2.0.6)
205
+ concurrent-ruby (~> 1.0)
206
+ wasabi (4.0.0)
207
+ addressable
208
+ httpi (~> 3.0)
209
+ nokogiri (>= 1.13.9)
210
+ wash_out (0.12.0)
211
+ nori (>= 2.0.0)
212
+ webmock (3.25.1)
213
+ addressable (>= 2.8.0)
214
+ crack (>= 0.3.2)
215
+ hashdiff (>= 0.4.0, < 2.0.0)
216
+ websocket-driver (0.7.7)
217
+ base64
218
+ websocket-extensions (>= 0.1.0)
219
+ websocket-extensions (0.1.5)
220
+ zeitwerk (2.6.18)
221
+
222
+ PLATFORMS
223
+ ruby
224
+ x86_64-linux
225
+
226
+ DEPENDENCIES
227
+ actionpack (~> 6.1.0)
228
+ actionview (~> 6.1.0)
229
+ activerecord
230
+ appraisal
231
+ byebug
232
+ concurrent-ruby (= 1.3.4)
233
+ httpi
234
+ minitest
235
+ qbwc!
236
+ rails (>= 5.0.1, < 7.2)
237
+ rake
238
+ rspec
239
+ savon
240
+ sqlite3
241
+ webmock
242
+
243
+ BUNDLED WITH
244
+ 2.4.13
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "actionpack", "~> 7.0.0"
6
+ gem "actionview", "~> 7.0.0"
7
+ gem "concurrent-ruby", "1.3.4"
8
+
9
+ gemspec path: "../"
@@ -0,0 +1,243 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ qbwc (1.1.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 (7.0.8.7)
13
+ actionpack (= 7.0.8.7)
14
+ activesupport (= 7.0.8.7)
15
+ nio4r (~> 2.0)
16
+ websocket-driver (>= 0.6.1)
17
+ actionmailbox (7.0.8.7)
18
+ actionpack (= 7.0.8.7)
19
+ activejob (= 7.0.8.7)
20
+ activerecord (= 7.0.8.7)
21
+ activestorage (= 7.0.8.7)
22
+ activesupport (= 7.0.8.7)
23
+ mail (>= 2.7.1)
24
+ net-imap
25
+ net-pop
26
+ net-smtp
27
+ actionmailer (7.0.8.7)
28
+ actionpack (= 7.0.8.7)
29
+ actionview (= 7.0.8.7)
30
+ activejob (= 7.0.8.7)
31
+ activesupport (= 7.0.8.7)
32
+ mail (~> 2.5, >= 2.5.4)
33
+ net-imap
34
+ net-pop
35
+ net-smtp
36
+ rails-dom-testing (~> 2.0)
37
+ actionpack (7.0.8.7)
38
+ actionview (= 7.0.8.7)
39
+ activesupport (= 7.0.8.7)
40
+ rack (~> 2.0, >= 2.2.4)
41
+ rack-test (>= 0.6.3)
42
+ rails-dom-testing (~> 2.0)
43
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
44
+ actiontext (7.0.8.7)
45
+ actionpack (= 7.0.8.7)
46
+ activerecord (= 7.0.8.7)
47
+ activestorage (= 7.0.8.7)
48
+ activesupport (= 7.0.8.7)
49
+ globalid (>= 0.6.0)
50
+ nokogiri (>= 1.8.5)
51
+ actionview (7.0.8.7)
52
+ activesupport (= 7.0.8.7)
53
+ builder (~> 3.1)
54
+ erubi (~> 1.4)
55
+ rails-dom-testing (~> 2.0)
56
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
57
+ activejob (7.0.8.7)
58
+ activesupport (= 7.0.8.7)
59
+ globalid (>= 0.3.6)
60
+ activemodel (7.0.8.7)
61
+ activesupport (= 7.0.8.7)
62
+ activerecord (7.0.8.7)
63
+ activemodel (= 7.0.8.7)
64
+ activesupport (= 7.0.8.7)
65
+ activestorage (7.0.8.7)
66
+ actionpack (= 7.0.8.7)
67
+ activejob (= 7.0.8.7)
68
+ activerecord (= 7.0.8.7)
69
+ activesupport (= 7.0.8.7)
70
+ marcel (~> 1.0)
71
+ mini_mime (>= 1.1.0)
72
+ activesupport (7.0.8.7)
73
+ concurrent-ruby (~> 1.0, >= 1.0.2)
74
+ i18n (>= 1.6, < 2)
75
+ minitest (>= 5.1)
76
+ tzinfo (~> 2.0)
77
+ addressable (2.8.7)
78
+ public_suffix (>= 2.0.2, < 7.0)
79
+ akami (1.3.2)
80
+ gyoku (>= 0.4.0)
81
+ nokogiri
82
+ appraisal (2.5.0)
83
+ bundler
84
+ rake
85
+ thor (>= 0.14.0)
86
+ base64 (0.2.0)
87
+ bigdecimal (3.1.9)
88
+ builder (3.3.0)
89
+ byebug (11.1.3)
90
+ concurrent-ruby (1.3.4)
91
+ crack (1.0.0)
92
+ bigdecimal
93
+ rexml
94
+ crass (1.0.6)
95
+ date (3.4.1)
96
+ diff-lcs (1.6.0)
97
+ erubi (1.13.1)
98
+ globalid (1.2.1)
99
+ activesupport (>= 6.1)
100
+ gyoku (1.4.0)
101
+ builder (>= 2.1.2)
102
+ rexml (~> 3.0)
103
+ hashdiff (1.1.2)
104
+ httpi (3.0.1)
105
+ rack
106
+ i18n (1.14.7)
107
+ concurrent-ruby (~> 1.0)
108
+ loofah (2.24.0)
109
+ crass (~> 1.0.2)
110
+ nokogiri (>= 1.12.0)
111
+ mail (2.8.1)
112
+ mini_mime (>= 0.1.1)
113
+ net-imap
114
+ net-pop
115
+ net-smtp
116
+ marcel (1.0.4)
117
+ method_source (1.1.0)
118
+ mini_mime (1.1.5)
119
+ mini_portile2 (2.8.8)
120
+ minitest (5.25.5)
121
+ net-imap (0.4.19)
122
+ date
123
+ net-protocol
124
+ net-pop (0.1.2)
125
+ net-protocol
126
+ net-protocol (0.2.2)
127
+ timeout
128
+ net-smtp (0.5.1)
129
+ net-protocol
130
+ nio4r (2.7.4)
131
+ nokogiri (1.15.7)
132
+ mini_portile2 (~> 2.8.2)
133
+ racc (~> 1.4)
134
+ nokogiri (1.15.7-x86_64-linux)
135
+ racc (~> 1.4)
136
+ nori (2.6.0)
137
+ public_suffix (5.1.1)
138
+ qbxml (0.5.0)
139
+ activesupport (>= 5.0.0)
140
+ builder (~> 3.0)
141
+ nokogiri (~> 1.5)
142
+ racc (1.8.1)
143
+ rack (2.2.13)
144
+ rack-test (2.2.0)
145
+ rack (>= 1.3)
146
+ rails (7.0.8.7)
147
+ actioncable (= 7.0.8.7)
148
+ actionmailbox (= 7.0.8.7)
149
+ actionmailer (= 7.0.8.7)
150
+ actionpack (= 7.0.8.7)
151
+ actiontext (= 7.0.8.7)
152
+ actionview (= 7.0.8.7)
153
+ activejob (= 7.0.8.7)
154
+ activemodel (= 7.0.8.7)
155
+ activerecord (= 7.0.8.7)
156
+ activestorage (= 7.0.8.7)
157
+ activesupport (= 7.0.8.7)
158
+ bundler (>= 1.15.0)
159
+ railties (= 7.0.8.7)
160
+ rails-dom-testing (2.2.0)
161
+ activesupport (>= 5.0.0)
162
+ minitest
163
+ nokogiri (>= 1.6)
164
+ rails-html-sanitizer (1.6.2)
165
+ loofah (~> 2.21)
166
+ 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)
167
+ railties (7.0.8.7)
168
+ actionpack (= 7.0.8.7)
169
+ activesupport (= 7.0.8.7)
170
+ method_source
171
+ rake (>= 12.2)
172
+ thor (~> 1.0)
173
+ zeitwerk (~> 2.5)
174
+ rake (13.2.1)
175
+ rexml (3.4.1)
176
+ rspec (3.13.0)
177
+ rspec-core (~> 3.13.0)
178
+ rspec-expectations (~> 3.13.0)
179
+ rspec-mocks (~> 3.13.0)
180
+ rspec-core (3.13.3)
181
+ rspec-support (~> 3.13.0)
182
+ rspec-expectations (3.13.3)
183
+ diff-lcs (>= 1.2.0, < 2.0)
184
+ rspec-support (~> 3.13.0)
185
+ rspec-mocks (3.13.2)
186
+ diff-lcs (>= 1.2.0, < 2.0)
187
+ rspec-support (~> 3.13.0)
188
+ rspec-support (3.13.2)
189
+ savon (2.15.0)
190
+ akami (~> 1.2)
191
+ builder (>= 2.1.2)
192
+ gyoku (~> 1.2)
193
+ httpi (>= 2.4.5, < 5)
194
+ mail (~> 2.5)
195
+ nokogiri (>= 1.8.1)
196
+ nori (~> 2.4)
197
+ wasabi (>= 3.7, < 6)
198
+ sqlite3 (1.6.9)
199
+ mini_portile2 (~> 2.8.0)
200
+ sqlite3 (1.6.9-x86_64-linux)
201
+ thor (1.3.2)
202
+ timeout (0.4.3)
203
+ tzinfo (2.0.6)
204
+ concurrent-ruby (~> 1.0)
205
+ wasabi (4.0.0)
206
+ addressable
207
+ httpi (~> 3.0)
208
+ nokogiri (>= 1.13.9)
209
+ wash_out (0.12.0)
210
+ nori (>= 2.0.0)
211
+ webmock (3.25.1)
212
+ addressable (>= 2.8.0)
213
+ crack (>= 0.3.2)
214
+ hashdiff (>= 0.4.0, < 2.0.0)
215
+ websocket-driver (0.7.7)
216
+ base64
217
+ websocket-extensions (>= 0.1.0)
218
+ websocket-extensions (0.1.5)
219
+ zeitwerk (2.6.18)
220
+
221
+ PLATFORMS
222
+ ruby
223
+ x86_64-linux
224
+
225
+ DEPENDENCIES
226
+ actionpack (~> 7.0.0)
227
+ actionview (~> 7.0.0)
228
+ activerecord
229
+ appraisal
230
+ byebug
231
+ concurrent-ruby (= 1.3.4)
232
+ httpi
233
+ minitest
234
+ qbwc!
235
+ rails (>= 5.0.1, < 7.2)
236
+ rake
237
+ rspec
238
+ savon
239
+ sqlite3
240
+ webmock
241
+
242
+ BUNDLED WITH
243
+ 2.4.13
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "actionpack", "~> 7.1.0"
6
+ gem "actionview", "~> 7.1.0"
7
+
8
+ gemspec path: "../"