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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 3ab957ed6ecd97a44a5e2469092553102ae0adcf
4
- data.tar.gz: 8391e13ebcc4a9a91c25590519993a446e1ba189
2
+ SHA256:
3
+ metadata.gz: d5888ae4ba64ed7d3286c2e6660683840eb5518a5e06b93e0966920243f217fa
4
+ data.tar.gz: 8b7a099d8c03494a096d05fa5f009780f17a65d11d70dd173f79b0798c59560f
5
5
  SHA512:
6
- metadata.gz: 12dda6d0e3f59b48b26e85199fdd3ead7b74e2e38d78f22392f5b6b662d505083a1498ad71acc2c94518c14a6866dd7f3ed744c46bc95189642572b97940940f
7
- data.tar.gz: b23152610874a9065f64d7d0bac9d12aadcfc1a0a2b7094858ae4d5c6f70dfa369964c28aaaba4b7c6f27dd3daffd26b52ad3dbf4d4726d9746b4c3f02365086
6
+ metadata.gz: 96f721c99d4e76009aa095c2a79bdb7e4cfaf10f9f13ec80eb6d17d5b401785d8fa9f799a30bddbaf8cae532e7510127c4eb29a655323c3e2ff9dd787b6cab1e
7
+ data.tar.gz: e9f7031c42efa9c3da926cdb1c43259494dbc844e1d353cfd552282e2a9aa361e26c43df84752dbef9db25b41cac1a76e829de3b20514ed3fd92c0dc39fbb3fc
@@ -0,0 +1,98 @@
1
+ name: CI
2
+
3
+ on:
4
+ - push
5
+
6
+ jobs:
7
+ test:
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ fail-fast: false
11
+ matrix:
12
+ ruby-version:
13
+ - 2.7
14
+ - '3.0'
15
+ - 3.1
16
+ - 3.2
17
+ - 3.3
18
+ - 3.4
19
+ rails-version:
20
+ - 5.1
21
+ - 5.2
22
+ - '6.0'
23
+ - 6.1
24
+ - '7.0'
25
+ - 7.1
26
+ - 7.2
27
+ - '8.0'
28
+ - 8.1
29
+ exclude:
30
+ - ruby-version: 2.7
31
+ rails-version: 7.1
32
+ - ruby-version: 2.7
33
+ rails-version: 7.2
34
+ - ruby-version: 2.7
35
+ rails-version: 8.0
36
+ - ruby-version: 2.7
37
+ rails-version: 8.1
38
+ - ruby-version: 3.0
39
+ rails-version: 5.1
40
+ - ruby-version: 3.0
41
+ rails-version: 5.2
42
+ - ruby-version: 3.0
43
+ rails-version: 7.1
44
+ - ruby-version: 3.0
45
+ rails-version: 7.2
46
+ - ruby-version: 3.0
47
+ rails-version: 8.0
48
+ - ruby-version: 3.0
49
+ rails-version: 8.1
50
+ - ruby-version: 3.1
51
+ rails-version: 5.1
52
+ - ruby-version: 3.1
53
+ rails-version: 5.2
54
+ - ruby-version: 3.1
55
+ rails-version: 7.1
56
+ - ruby-version: 3.1
57
+ rails-version: 7.2
58
+ - ruby-version: 3.1
59
+ rails-version: 8.0
60
+ - ruby-version: 3.1
61
+ rails-version: 8.1
62
+ - ruby-version: 3.2
63
+ rails-version: 5.1
64
+ - ruby-version: 3.2
65
+ rails-version: 5.2
66
+ - ruby-version: 3.2
67
+ rails-version: 6.0
68
+ - ruby-version: 3.2
69
+ rails-version: 6.1
70
+ - ruby-version: 3.3
71
+ rails-version: 5.1
72
+ - ruby-version: 3.3
73
+ rails-version: 5.2
74
+ - ruby-version: 3.3
75
+ rails-version: 6.0
76
+ - ruby-version: 3.3
77
+ rails-version: 6.1
78
+ - ruby-version: 3.3
79
+ rails-version: 7.0
80
+ - ruby-version: 3.4
81
+ rails-version: 5.1
82
+ - ruby-version: 3.4
83
+ rails-version: 5.2
84
+ - ruby-version: 3.4
85
+ rails-version: 6.0
86
+ - ruby-version: 3.4
87
+ rails-version: 6.1
88
+ - ruby-version: 3.4
89
+ rails-version: 7.0
90
+ env:
91
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails-version }}.gemfile
92
+ steps:
93
+ - uses: actions/checkout@v3
94
+ - uses: ruby/setup-ruby@v1
95
+ with:
96
+ ruby-version: "${{ matrix.ruby-version }}"
97
+ bundler-cache: true
98
+ - run: bundle exec rake
data/.gitignore CHANGED
@@ -1,6 +1,7 @@
1
1
  .rvmrc
2
- Gemfile.lock
3
2
  pkg
4
3
  .ruby-gemset
5
4
  .ruby-version
6
- gemfiles/*.lock
5
+ .idea
6
+ .rakeTasks
7
+ .byebug_history
data/Appraisals CHANGED
@@ -1,10 +1,51 @@
1
- appraise "rails-5.0" do
2
- # At least 5.0.1 due to test failures - https://github.com/rails/rails/pull/25950
3
- gem "actionpack", "~> 5.0.1"
4
- gem "actionview", "~> 5.0.1"
5
- end
6
-
7
1
  appraise "rails-5.1" do
8
2
  gem "actionpack", "~> 5.1.1"
9
3
  gem "actionview", "~> 5.1.1"
4
+ gem 'concurrent-ruby', '1.3.4'
5
+ end
6
+
7
+ appraise "rails-5.2" do
8
+ gem "actionpack", "~> 5.2.0"
9
+ gem "actionview", "~> 5.2.0"
10
+ gem 'concurrent-ruby', '1.3.4'
11
+ end
12
+
13
+ # Ruby 3.0+ is functional from this point on
14
+ appraise "rails-6.0" do
15
+ gem "actionpack", "~> 6.0.0"
16
+ gem "actionview", "~> 6.0.0"
17
+ gem 'concurrent-ruby', '1.3.4'
18
+ end
19
+
20
+ appraise "rails-6.1" do
21
+ gem "actionpack", "~> 6.1.0"
22
+ gem "actionview", "~> 6.1.0"
23
+ gem 'concurrent-ruby', '1.3.4'
24
+ end
25
+
26
+ appraise "rails-7.0" do
27
+ gem "actionpack", "~> 7.0.0"
28
+ gem "actionview", "~> 7.0.0"
29
+ gem 'concurrent-ruby', '1.3.4'
30
+ end
31
+
32
+ # Ruby 3.0+ is required from this point on
33
+ appraise "rails-7.1" do
34
+ gem "actionpack", "~> 7.1.0"
35
+ gem "actionview", "~> 7.1.0"
36
+ end
37
+
38
+ appraise "rails-7.2" do
39
+ gem "actionpack", "~> 7.2.0"
40
+ gem "actionview", "~> 7.2.0"
41
+ end
42
+
43
+ appraise "rails-8.0" do
44
+ gem "actionpack", "~> 8.0.0"
45
+ gem "actionview", "~> 8.0.0"
46
+ end
47
+
48
+ appraise "rails-8.1" do
49
+ gem "actionpack", "~> 8.1.0"
50
+ gem "actionview", "~> 8.1.0"
10
51
  end
data/CHANGELOG.md CHANGED
@@ -1,7 +1,29 @@
1
1
 
2
2
  # Change Log
3
3
 
4
- ## [1.1.0](https://github.com/qbwc/qbwc/releases/tag/v1.1.0) (2016-03-02)
4
+ ## [1.3.0](https://github.com/qbwc/qbwc/releases/tag/v1.3.0) (2025-03-19)
5
+ [Full Changelog](https://github.com/qbwc/qbwc/compare/1.2.0...1.3.0)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - Fix an error when `Rails.application.config.active_record.default_column_serializer` is `nil`, as is default starting in Rails 7.1. Add the config `QBWC.default_column_serializer` to set the default `coder` on ActiveRecord `serialize` declarations in `QBWC::ActiveRecord::Job`. If not set, default to the value from `Rails.application.config.active_record.default_column_serializer`. If that's not set, default to `YAML` to preserve backwards compatibility.
10
+ - Support Ruby 3.4.
11
+ - Support Rails 7.2, 8.0, and 8.1.
12
+
13
+ ## [1.2.0](https://github.com/qbwc/qbwc/releases/tag/v1.2.0) (2025-03-19)
14
+ [Full Changelog](https://github.com/qbwc/qbwc/compare/1.1.0...1.2.0)
15
+
16
+ **Fixed bugs:**
17
+
18
+ - Support Ruby 2.7 through 3.3.
19
+ - Support Rails 5.1 through 7.1.
20
+ - Prevent collisions in session tickets by using a random UUID instead of a timestamp. [\#126](https://github.com/qbwc/qbwc/pull/126)
21
+
22
+ **New features:**
23
+
24
+ - Save `requestID` in session. [\#132](https://github.com/qbwc/qbwc/pull/132)
25
+
26
+ ## [1.1.0](https://github.com/qbwc/qbwc/releases/tag/v1.1.0) (2017-12-08)
5
27
  [Full Changelog](https://github.com/qbwc/qbwc/compare/1.0.0...1.1.0)
6
28
 
7
29
  **Fixed bugs:**
data/Gemfile.lock ADDED
@@ -0,0 +1,276 @@
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
+ activerecord
264
+ appraisal
265
+ byebug
266
+ httpi
267
+ minitest
268
+ qbwc!
269
+ rails (>= 5.0.1, < 8.2)
270
+ rake
271
+ savon
272
+ sqlite3
273
+ webmock
274
+
275
+ BUNDLED WITH
276
+ 2.4.13
data/README.md CHANGED
@@ -1,6 +1,4 @@
1
- QBWC lets your Rails 4 application talk to QuickBooks Desktop.
2
-
3
- [![Build Status](https://travis-ci.org/qbwc/qbwc.svg?branch=master)](https://travis-ci.org/qbwc/qbwc)
1
+ QBWC lets your Rails application talk to QuickBooks Desktop.
4
2
 
5
3
  ## Installation
6
4
 
data/Rakefile CHANGED
@@ -8,8 +8,4 @@ Rake::TestTask.new do |t|
8
8
  t.pattern = 'test/**/*_test.rb'
9
9
  end
10
10
 
11
- task :default => :all
12
-
13
- task :all do |_t|
14
- exec('bundle exec appraisal install && bundle exec rake appraisal test')
15
- end
11
+ task :default => :test
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_RETRY: "1"
@@ -4,5 +4,6 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "actionpack", "~> 5.1.1"
6
6
  gem "actionview", "~> 5.1.1"
7
+ gem "concurrent-ruby", "1.3.4"
7
8
 
8
9
  gemspec path: "../"