qbxml 0.4.0 → 1.0.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 (47) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/ci.yml +30 -0
  3. data/.gitignore +2 -0
  4. data/Appraisals +10 -6
  5. data/README.md +1 -5
  6. data/gemfiles/{rails_5.0.gemfile → rails_7.1.gemfile} +2 -2
  7. data/gemfiles/rails_7.1.gemfile.lock +94 -0
  8. data/gemfiles/{rails_4.1.gemfile → rails_7.2.gemfile} +2 -2
  9. data/gemfiles/rails_7.2.gemfile.lock +71 -0
  10. data/gemfiles/{rails_4.2.gemfile → rails_8.0.gemfile} +2 -2
  11. data/gemfiles/rails_8.0.gemfile.lock +94 -0
  12. data/gemfiles/rails_8.1.gemfile +7 -0
  13. data/gemfiles/rails_8.1.gemfile.lock +94 -0
  14. data/lib/qbxml/hash.rb +2 -1
  15. data/lib/qbxml/qbxml.rb +2 -1
  16. data/lib/qbxml/types.rb +3 -1
  17. data/lib/qbxml/version.rb +1 -1
  18. data/lib/qbxml.rb +2 -1
  19. data/qbxml.gemspec +4 -3
  20. data/schema/qbxmlops140.xml +35792 -0
  21. data/test/unit/xml_to_hash_test.rb +157 -0
  22. metadata +20 -77
  23. data/.travis.yml +0 -22
  24. data/gemfiles/rails_4.1.gemfile.lock +0 -80
  25. data/gemfiles/rails_4.2.gemfile.lock +0 -80
  26. data/gemfiles/rails_5.0.gemfile.lock +0 -80
  27. data/spec/backwards_compatibility.rb +0 -26
  28. data/spec/spec_helper.rb +0 -25
  29. data/spec/support/requests/account_query_rq.xml +0 -8
  30. data/spec/support/requests/customer_add_rq.xml +0 -28
  31. data/spec/support/requests/customer_query_iterator_rq.xml +0 -11
  32. data/spec/support/requests/customer_query_rq.xml +0 -9
  33. data/spec/support/requests/estimate_add_rq.xml +0 -45
  34. data/spec/support/requests/invoice_add_rq.xml +0 -40
  35. data/spec/support/requests/item_inventory_add_rq.xml +0 -22
  36. data/spec/support/requests/purchase_order_query_rq.xml +0 -14
  37. data/spec/support/requests/receive_payment_add_rq.xml +0 -35
  38. data/spec/support/requests/receive_payment_query_rq.xml +0 -9
  39. data/spec/support/requests/sales_receipt_add_rq.xml +0 -49
  40. data/spec/support/responses/account_query_rs.xml +0 -42
  41. data/spec/support/responses/customer_add_rs.xml +0 -37
  42. data/spec/support/responses/customer_query_rs.xml +0 -49
  43. data/spec/support/responses/customer_query_terator_rs.xml +0 -34
  44. data/spec/support/responses/item_inventory_add_rs.xml +0 -40
  45. data/spec/support/responses/purchase_order_query_rs.xml +0 -84
  46. data/spec/support/responses/receive_payment_query_rs.xml +0 -51
  47. data/spec/support/responses/sales_receipt_add_rs.xml +0 -89
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 6c56d438dd81ddd6797733fb49d66380275dd355
4
- data.tar.gz: b9e9a280fab05871d6d0ad11de67647edc381f05
2
+ SHA256:
3
+ metadata.gz: b9e0a517bcde4656f6c9af1ccb78d17292ff86df232121d05597a539f085550d
4
+ data.tar.gz: 40ff0bfaaf09977c59541f6737ad52aa6f574dd8a0ce1ae31e5158c3b7683e7e
5
5
  SHA512:
6
- metadata.gz: 6667cb6c3aa3064f6a30b5405b1b58141f7e286d16ccdec61fe7068af9327d09d542e51ec64228d6d5206655472869a5e42ffe0e44a225ebf52deb604489e76c
7
- data.tar.gz: 4299dd57e9015bb93eec46c7491389af1ac501920f4cec8d86d84e77e0174312b4cc5094f24de864804949570f7ccfcabecd1cbf8f12e8483fdfe84762ba1906
6
+ metadata.gz: 24d3a21ad32f93546bdab5ab1b7222f0f6bd789b4b170b878f22ce2b0f26f3bab89fd4299c3f28d112ae4192d85cc016b5f744d258eab84c4678daee178ed8b1
7
+ data.tar.gz: d47c505a64bf48970186de06d3e24f579844c325309d7d2373f55a9505c16121a85482be0b8c535d00419fda6229bd1e47f53bfd39d62717d6e87e3b48fe8607
@@ -0,0 +1,30 @@
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
+ - 3.2
14
+ - 3.3
15
+ - 3.4
16
+ - '4.0'
17
+ rails-version:
18
+ - 7.1
19
+ - 7.2
20
+ - '8.0'
21
+ - 8.1
22
+ env:
23
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails-version }}.gemfile
24
+ steps:
25
+ - uses: actions/checkout@v3
26
+ - uses: ruby/setup-ruby@v1
27
+ with:
28
+ ruby-version: "${{ matrix.ruby-version }}"
29
+ bundler-cache: true
30
+ - run: bundle exec rake
data/.gitignore CHANGED
@@ -17,3 +17,5 @@ test/version_tmp
17
17
  tmp
18
18
  .ruby-version
19
19
  .ruby-gemset
20
+ .idea
21
+ gemfiles/vendor
data/Appraisals CHANGED
@@ -1,11 +1,15 @@
1
- appraise "rails-4.1" do
2
- gem "activesupport", "~> 4.1.0"
1
+ appraise "rails-7.1" do
2
+ gem "activesupport", "~> 7.1.0"
3
3
  end
4
4
 
5
- appraise "rails-4.2" do
6
- gem "activesupport", "~> 4.2.0"
5
+ appraise "rails-7.2" do
6
+ gem "activesupport", "~> 7.2.0"
7
7
  end
8
8
 
9
- appraise "rails-5.0" do
10
- gem "activesupport", "~> 5.0.0"
9
+ appraise "rails-8.0" do
10
+ gem "activesupport", "~> 8.0.0"
11
+ end
12
+
13
+ appraise "rails-8.1" do
14
+ gem "activesupport", "~> 8.1.0"
11
15
  end
data/README.md CHANGED
@@ -1,8 +1,4 @@
1
- # Qbxml
2
-
3
- [![Build Status](https://travis-ci.org/qbwc/qbxml.svg?branch=master)](https://travis-ci.org/qbwc/qbxml)
4
-
5
- Qbxml is a QBXML parser and validation tool.
1
+ qbxml is a QBXML parser and validation tool. QBXML is used when integrating with QuickBooks Desktop. If you use QuickBooks Online, look elsewhere.
6
2
 
7
3
  ## Installation
8
4
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "activesupport", "~> 5.0.0"
5
+ gem "activesupport", "~> 7.1.0"
6
6
 
7
- gemspec :path => "../"
7
+ gemspec path: "../"
@@ -0,0 +1,94 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ qbxml (0.5.0)
5
+ activesupport (>= 7.1.0)
6
+ bigdecimal
7
+ builder (~> 3.0)
8
+ nokogiri (~> 1.5)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activesupport (7.1.6)
14
+ base64
15
+ benchmark (>= 0.3)
16
+ bigdecimal
17
+ concurrent-ruby (~> 1.0, >= 1.0.2)
18
+ connection_pool (>= 2.2.5)
19
+ drb
20
+ i18n (>= 1.6, < 2)
21
+ logger (>= 1.4.2)
22
+ minitest (>= 5.1)
23
+ mutex_m
24
+ securerandom (>= 0.3)
25
+ tzinfo (~> 2.0)
26
+ appraisal (2.5.0)
27
+ bundler
28
+ rake
29
+ thor (>= 0.14.0)
30
+ base64 (0.3.0)
31
+ benchmark (0.5.0)
32
+ bigdecimal (4.0.1)
33
+ builder (3.3.0)
34
+ coderay (1.1.3)
35
+ concurrent-ruby (1.3.6)
36
+ connection_pool (3.0.2)
37
+ drb (2.2.3)
38
+ i18n (1.14.8)
39
+ concurrent-ruby (~> 1.0)
40
+ logger (1.7.0)
41
+ method_source (1.1.0)
42
+ minitest (6.0.2)
43
+ drb (~> 2.0)
44
+ prism (~> 1.5)
45
+ mutex_m (0.3.0)
46
+ nokogiri (1.19.1-aarch64-linux-gnu)
47
+ racc (~> 1.4)
48
+ nokogiri (1.19.1-aarch64-linux-musl)
49
+ racc (~> 1.4)
50
+ nokogiri (1.19.1-arm-linux-gnu)
51
+ racc (~> 1.4)
52
+ nokogiri (1.19.1-arm-linux-musl)
53
+ racc (~> 1.4)
54
+ nokogiri (1.19.1-arm64-darwin)
55
+ racc (~> 1.4)
56
+ nokogiri (1.19.1-x86_64-darwin)
57
+ racc (~> 1.4)
58
+ nokogiri (1.19.1-x86_64-linux-gnu)
59
+ racc (~> 1.4)
60
+ nokogiri (1.19.1-x86_64-linux-musl)
61
+ racc (~> 1.4)
62
+ prism (1.9.0)
63
+ pry (0.14.2)
64
+ coderay (~> 1.1)
65
+ method_source (~> 1.0)
66
+ pry-nav (1.0.0)
67
+ pry (>= 0.9.10, < 0.15)
68
+ racc (1.8.1)
69
+ rake (13.3.1)
70
+ securerandom (0.4.1)
71
+ thor (1.5.0)
72
+ tzinfo (2.0.6)
73
+ concurrent-ruby (~> 1.0)
74
+
75
+ PLATFORMS
76
+ aarch64-linux-gnu
77
+ aarch64-linux-musl
78
+ arm-linux-gnu
79
+ arm-linux-musl
80
+ arm64-darwin
81
+ x86_64-darwin
82
+ x86_64-linux-gnu
83
+ x86_64-linux-musl
84
+
85
+ DEPENDENCIES
86
+ activesupport (~> 7.1.0)
87
+ appraisal
88
+ pry
89
+ pry-nav
90
+ qbxml!
91
+ rake
92
+
93
+ BUNDLED WITH
94
+ 2.6.9
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "activesupport", "~> 4.1.0"
5
+ gem "activesupport", "~> 7.2.0"
6
6
 
7
- gemspec :path => "../"
7
+ gemspec path: "../"
@@ -0,0 +1,71 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ qbxml (0.5.0)
5
+ activesupport (>= 7.1.0)
6
+ bigdecimal
7
+ builder (~> 3.0)
8
+ nokogiri (~> 1.5)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activesupport (7.2.2.1)
14
+ base64
15
+ benchmark (>= 0.3)
16
+ bigdecimal
17
+ concurrent-ruby (~> 1.0, >= 1.3.1)
18
+ connection_pool (>= 2.2.5)
19
+ drb
20
+ i18n (>= 1.6, < 2)
21
+ logger (>= 1.4.2)
22
+ minitest (>= 5.1)
23
+ securerandom (>= 0.3)
24
+ tzinfo (~> 2.0, >= 2.0.5)
25
+ appraisal (2.5.0)
26
+ bundler
27
+ rake
28
+ thor (>= 0.14.0)
29
+ base64 (0.3.0)
30
+ benchmark (0.4.1)
31
+ bigdecimal (3.2.1)
32
+ builder (3.3.0)
33
+ coderay (1.1.3)
34
+ concurrent-ruby (1.3.5)
35
+ connection_pool (2.5.3)
36
+ drb (2.2.3)
37
+ i18n (1.14.7)
38
+ concurrent-ruby (~> 1.0)
39
+ logger (1.7.0)
40
+ method_source (1.1.0)
41
+ minitest (6.0.2)
42
+ drb (~> 2.0)
43
+ prism (~> 1.5)
44
+ nokogiri (1.19.1-x86_64-linux-gnu)
45
+ racc (~> 1.4)
46
+ prism (1.9.0)
47
+ pry (0.14.2)
48
+ coderay (~> 1.1)
49
+ method_source (~> 1.0)
50
+ pry-nav (1.0.0)
51
+ pry (>= 0.9.10, < 0.15)
52
+ racc (1.8.1)
53
+ rake (13.3.0)
54
+ securerandom (0.4.1)
55
+ thor (1.3.2)
56
+ tzinfo (2.0.6)
57
+ concurrent-ruby (~> 1.0)
58
+
59
+ PLATFORMS
60
+ x86_64-linux
61
+
62
+ DEPENDENCIES
63
+ activesupport (~> 7.2.0)
64
+ appraisal
65
+ pry
66
+ pry-nav
67
+ qbxml!
68
+ rake
69
+
70
+ BUNDLED WITH
71
+ 2.6.9
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "activesupport", "~> 4.2.0"
5
+ gem "activesupport", "~> 8.0.0"
6
6
 
7
- gemspec :path => "../"
7
+ gemspec path: "../"
@@ -0,0 +1,94 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ qbxml (0.5.0)
5
+ activesupport (>= 7.1.0)
6
+ bigdecimal
7
+ builder (~> 3.0)
8
+ nokogiri (~> 1.5)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activesupport (8.0.2)
14
+ base64
15
+ benchmark (>= 0.3)
16
+ bigdecimal
17
+ concurrent-ruby (~> 1.0, >= 1.3.1)
18
+ connection_pool (>= 2.2.5)
19
+ drb
20
+ i18n (>= 1.6, < 2)
21
+ logger (>= 1.4.2)
22
+ minitest (>= 5.1)
23
+ securerandom (>= 0.3)
24
+ tzinfo (~> 2.0, >= 2.0.5)
25
+ uri (>= 0.13.1)
26
+ appraisal (2.5.0)
27
+ bundler
28
+ rake
29
+ thor (>= 0.14.0)
30
+ base64 (0.3.0)
31
+ benchmark (0.4.1)
32
+ bigdecimal (3.2.2)
33
+ builder (3.3.0)
34
+ coderay (1.1.3)
35
+ concurrent-ruby (1.3.5)
36
+ connection_pool (2.5.3)
37
+ drb (2.2.3)
38
+ i18n (1.14.7)
39
+ concurrent-ruby (~> 1.0)
40
+ logger (1.7.0)
41
+ method_source (1.1.0)
42
+ minitest (6.0.2)
43
+ drb (~> 2.0)
44
+ prism (~> 1.5)
45
+ nokogiri (1.19.1-aarch64-linux-gnu)
46
+ racc (~> 1.4)
47
+ nokogiri (1.19.1-aarch64-linux-musl)
48
+ racc (~> 1.4)
49
+ nokogiri (1.19.1-arm-linux-gnu)
50
+ racc (~> 1.4)
51
+ nokogiri (1.19.1-arm-linux-musl)
52
+ racc (~> 1.4)
53
+ nokogiri (1.19.1-arm64-darwin)
54
+ racc (~> 1.4)
55
+ nokogiri (1.19.1-x86_64-darwin)
56
+ racc (~> 1.4)
57
+ nokogiri (1.19.1-x86_64-linux-gnu)
58
+ racc (~> 1.4)
59
+ nokogiri (1.19.1-x86_64-linux-musl)
60
+ racc (~> 1.4)
61
+ prism (1.9.0)
62
+ pry (0.14.2)
63
+ coderay (~> 1.1)
64
+ method_source (~> 1.0)
65
+ pry-nav (1.0.0)
66
+ pry (>= 0.9.10, < 0.15)
67
+ racc (1.8.1)
68
+ rake (13.3.0)
69
+ securerandom (0.4.1)
70
+ thor (1.3.2)
71
+ tzinfo (2.0.6)
72
+ concurrent-ruby (~> 1.0)
73
+ uri (1.0.3)
74
+
75
+ PLATFORMS
76
+ aarch64-linux-gnu
77
+ aarch64-linux-musl
78
+ arm-linux-gnu
79
+ arm-linux-musl
80
+ arm64-darwin
81
+ x86_64-darwin
82
+ x86_64-linux-gnu
83
+ x86_64-linux-musl
84
+
85
+ DEPENDENCIES
86
+ activesupport (~> 8.0.0)
87
+ appraisal
88
+ pry
89
+ pry-nav
90
+ qbxml!
91
+ rake
92
+
93
+ BUNDLED WITH
94
+ 2.6.9
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activesupport", "~> 8.1.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,94 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ qbxml (0.5.0)
5
+ activesupport (>= 7.1.0)
6
+ bigdecimal
7
+ builder (~> 3.0)
8
+ nokogiri (~> 1.5)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activesupport (8.1.1)
14
+ base64
15
+ bigdecimal
16
+ concurrent-ruby (~> 1.0, >= 1.3.1)
17
+ connection_pool (>= 2.2.5)
18
+ drb
19
+ i18n (>= 1.6, < 2)
20
+ json
21
+ logger (>= 1.4.2)
22
+ minitest (>= 5.1)
23
+ securerandom (>= 0.3)
24
+ tzinfo (~> 2.0, >= 2.0.5)
25
+ uri (>= 0.13.1)
26
+ appraisal (2.5.0)
27
+ bundler
28
+ rake
29
+ thor (>= 0.14.0)
30
+ base64 (0.3.0)
31
+ bigdecimal (3.3.1)
32
+ builder (3.3.0)
33
+ coderay (1.1.3)
34
+ concurrent-ruby (1.3.5)
35
+ connection_pool (2.5.4)
36
+ drb (2.2.3)
37
+ i18n (1.14.7)
38
+ concurrent-ruby (~> 1.0)
39
+ json (2.16.0)
40
+ logger (1.7.0)
41
+ method_source (1.1.0)
42
+ minitest (6.0.2)
43
+ drb (~> 2.0)
44
+ prism (~> 1.5)
45
+ nokogiri (1.19.1-aarch64-linux-gnu)
46
+ racc (~> 1.4)
47
+ nokogiri (1.19.1-aarch64-linux-musl)
48
+ racc (~> 1.4)
49
+ nokogiri (1.19.1-arm-linux-gnu)
50
+ racc (~> 1.4)
51
+ nokogiri (1.19.1-arm-linux-musl)
52
+ racc (~> 1.4)
53
+ nokogiri (1.19.1-arm64-darwin)
54
+ racc (~> 1.4)
55
+ nokogiri (1.19.1-x86_64-darwin)
56
+ racc (~> 1.4)
57
+ nokogiri (1.19.1-x86_64-linux-gnu)
58
+ racc (~> 1.4)
59
+ nokogiri (1.19.1-x86_64-linux-musl)
60
+ racc (~> 1.4)
61
+ prism (1.9.0)
62
+ pry (0.14.2)
63
+ coderay (~> 1.1)
64
+ method_source (~> 1.0)
65
+ pry-nav (1.0.0)
66
+ pry (>= 0.9.10, < 0.15)
67
+ racc (1.8.1)
68
+ rake (13.3.1)
69
+ securerandom (0.4.1)
70
+ thor (1.4.0)
71
+ tzinfo (2.0.6)
72
+ concurrent-ruby (~> 1.0)
73
+ uri (1.1.1)
74
+
75
+ PLATFORMS
76
+ aarch64-linux-gnu
77
+ aarch64-linux-musl
78
+ arm-linux-gnu
79
+ arm-linux-musl
80
+ arm64-darwin
81
+ x86_64-darwin
82
+ x86_64-linux-gnu
83
+ x86_64-linux-musl
84
+
85
+ DEPENDENCIES
86
+ activesupport (~> 8.1.0)
87
+ appraisal
88
+ pry
89
+ pry-nav
90
+ qbxml!
91
+ rake
92
+
93
+ BUNDLED WITH
94
+ 2.6.9
data/lib/qbxml/hash.rb CHANGED
@@ -4,6 +4,7 @@
4
4
  # https://github.com/rails/rails/blob/master/activesupport/lib/active_support/xml_mini/nokogiri.rb
5
5
  #
6
6
  #
7
+
7
8
  class Qbxml::Hash < ::Hash
8
9
  include Qbxml::Types
9
10
 
@@ -28,7 +29,7 @@ class Qbxml::Hash < ::Hash
28
29
  end
29
30
 
30
31
  def to_xml(opts = {})
31
- hash = self.class.to_xml(self, opts)
32
+ self.class.to_xml(self, opts)
32
33
  end
33
34
 
34
35
  def self.to_xml(hash, opts = {})
data/lib/qbxml/qbxml.rb CHANGED
@@ -17,7 +17,8 @@ class Qbxml
17
17
  "10.0" => "#{SCHEMA_PATH}/qbxmlops100.xml",
18
18
  "11.0" => "#{SCHEMA_PATH}/qbxmlops110.xml",
19
19
  "12.0" => "#{SCHEMA_PATH}/qbxmlops120.xml",
20
- "13.0" => "#{SCHEMA_PATH}/qbxmlops130.xml"
20
+ "13.0" => "#{SCHEMA_PATH}/qbxmlops130.xml",
21
+ "14.0" => "#{SCHEMA_PATH}/qbxmlops140.xml"
21
22
  },
22
23
  qbpos: {
23
24
  "3.0" => "#{SCHEMA_PATH}/qbposxmlops30.xml"
data/lib/qbxml/types.rb CHANGED
@@ -1,3 +1,5 @@
1
+ require 'bigdecimal'
2
+
1
3
  module Qbxml::Types
2
4
 
3
5
  XML_DIRECTIVES = {
@@ -11,7 +13,7 @@ module Qbxml::Types
11
13
  TIME_CAST = Proc.new {|d| d ? Time.parse(d).xmlschema : Time.now.xmlschema }
12
14
  INT_CAST = Proc.new {|d| d ? Integer(d.to_i) : 0 }
13
15
  STR_CAST = Proc.new {|d| d ? String(d) : ''}
14
- BIGDECIMAL_CAST = Proc.new {|d| d ? BigDecimal.new(d) : 0.0}
16
+ BIGDECIMAL_CAST = Proc.new {|d| d ? BigDecimal(d) : 0.0}
15
17
 
16
18
  TYPE_MAP= {
17
19
  "AMTTYPE" => FLOAT_CAST,
data/lib/qbxml/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Qbxml
2
- VERSION = "0.4.0"
2
+ VERSION = "1.0.0"
3
3
  end
data/lib/qbxml.rb CHANGED
@@ -1,9 +1,10 @@
1
1
  require "qbxml/version"
2
2
 
3
3
  require 'nokogiri'
4
+ require 'active_support'
4
5
  require 'active_support/builder'
5
- require 'active_support/inflections'
6
6
  require 'active_support/core_ext/string'
7
+ require 'active_support/core_ext/object/blank.rb'
7
8
 
8
9
  class Qbxml; end
9
10
 
data/qbxml.gemspec CHANGED
@@ -17,14 +17,15 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.add_dependency('activesupport', '>= 4.1.0')
20
+ gem.required_ruby_version = '>= 3.2'
21
+
22
+ gem.add_dependency('activesupport', '>= 7.1.0')
21
23
  gem.add_dependency('nokogiri', '~> 1.5')
22
24
  gem.add_dependency('builder', '~> 3.0')
25
+ gem.add_dependency('bigdecimal')
23
26
 
24
27
  gem.add_development_dependency('pry')
25
28
  gem.add_development_dependency('pry-nav')
26
- gem.add_development_dependency('rspec')
27
- gem.add_development_dependency('simplecov')
28
29
  gem.add_development_dependency('rake')
29
30
  gem.add_development_dependency('appraisal')
30
31
  end