to_qbxml 1.0.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7d0fae5d6caaaad3ea2983cbc676bab80fa7b4f2
4
- data.tar.gz: 7240d049dbdd4087a97fca788f43cf2c6030af2b
2
+ SHA256:
3
+ metadata.gz: 6c4c10e441666f0951991950efacc1d6a88f47ccf2b694638c5151b277278b04
4
+ data.tar.gz: 5501b48a97f4fbc0bb3ba6b907d894a54f420d59005bc364e1f5620944e208c6
5
5
  SHA512:
6
- metadata.gz: 1ade8547d07b29bd8d134d0b04e6a14ade7131261a6adfdfbbbb8f306a01497bf2ce10e8b327f5725407fa175660e06bfb6193ed6be8f28766ea702a9ec4f8e4
7
- data.tar.gz: 1931412d8a4eae44df43828960de1cd89f8eb206163695fc9c3dcf68aec60d76d624cf1f197020afb663da397a6a00be47b1ea1310e363125ea9dab4cf9d0aba
6
+ metadata.gz: 4547fddcef4b40d5639c2aacbf387941a8a3c03ca536c1928e2b6b166b924624c81c6c78cd51b73e485ab4263c4c3d23243ff9b2d043f34fc7d2b0c5cc65a0a7
7
+ data.tar.gz: d09943d19aa1711069e5fab7b2aea68a74a1548e67df38e8f2b03fefcb4fb694da83d9b99b2abecf743c60950565702cf4a750b84c783c17dc280f6949572c2b
data/README.md CHANGED
@@ -55,7 +55,7 @@ end
55
55
 
56
56
  ```xml
57
57
  <?xml version="1.0" encoding="US-ASCII"?>
58
- <?qbxml version="7.0"?>
58
+ <?qbxml version="13.0"?>
59
59
  <QBXML>
60
60
  <QBXMLMsgsRq onError="stopOnError">
61
61
  <InvoiceAddRq requestID="1">
@@ -116,7 +116,7 @@ Use the parent node *repeat* to make repeating nodes such as *InvoiceLineAdd* an
116
116
 
117
117
  ```xml
118
118
  <?xml version="1.0" encoding="US-ASCII"?>
119
- <?qbxml version="7.0"?>
119
+ <?qbxml version="13.0"?>
120
120
  <QBXML>
121
121
  <QBXMLMsgsRq onError="stopOnError">
122
122
  <InvoiceModRq requestID="1">
@@ -166,7 +166,7 @@ Use the parent node *repeat* to make repeating nodes such as *InvoiceLineAdd* an
166
166
 
167
167
  ```xml
168
168
  <?xml version="1.0" encoding="US-ASCII"?>
169
- <?qbxml version="7.0"?>
169
+ <?qbxml version="13.0"?>
170
170
  <QBXML>
171
171
  <QBXMLMsgsRq onError="stopOnError">
172
172
  <CustomerQueryRq requestID="1" iterator="Start"/>
@@ -209,7 +209,7 @@ Here are some quick examples:
209
209
  #### Given
210
210
  ```xml
211
211
  <?xml version="1.0" encoding="US-ASCII"?>
212
- <?qbxml version="7.0"?>
212
+ <?qbxml version="13.0"?>
213
213
  <QBXML>
214
214
  <QBXMLMsgsRq onError="stopOnError">
215
215
  <InvoiceAddRq requestID="1">
@@ -17,7 +17,7 @@ class ToQbxml
17
17
  end
18
18
 
19
19
  def self.version
20
- @version ||= '7.0'
20
+ @version ||= '13.0'
21
21
  end
22
22
 
23
23
  def self.version=(number)
@@ -1,3 +1,3 @@
1
1
  class ToQbxml
2
- VERSION = "1.0.2"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -41,9 +41,9 @@ describe ToQbxml do
41
41
  expect(xml).to match /version=\"12\.0/
42
42
  end
43
43
 
44
- it "default version is 7.0" do
44
+ it "default version is 13.0" do
45
45
  xml = ToQbxml.new({}).generate
46
- expect(xml).to match /version=\"7\.0/
46
+ expect(xml).to match /version=\"13\.0/
47
47
  end
48
48
 
49
49
  it "should change system-wide qbxml version to 10.0" do
@@ -18,11 +18,11 @@ Gem::Specification.new do |gem|
18
18
  gem.require_paths = ["lib"]
19
19
 
20
20
  gem.add_dependency('activesupport', '>= 3.2')
21
- gem.add_dependency('nokogiri', '~> 1.6')
22
- gem.add_dependency('builder', '~> 3.0')
23
- gem.add_dependency('json', '~> 1.8')
21
+ gem.add_dependency('nokogiri', '>= 1.6')
22
+ gem.add_dependency('builder', '>= 3.0')
23
+ gem.add_dependency('json', '>= 1.8')
24
24
 
25
- gem.add_development_dependency('bundler', '~> 1.5')
26
- gem.add_development_dependency('rake', '~> 10.1')
27
- gem.add_development_dependency('rspec', '~> 3.1', '>= 3.1.0')
25
+ gem.add_development_dependency('bundler')
26
+ gem.add_development_dependency('rake')
27
+ gem.add_development_dependency('rspec')
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: to_qbxml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Pelczarski (minimul)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-08 00:00:00.000000000 Z
11
+ date: 2019-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -28,92 +28,86 @@ dependencies:
28
28
  name: nokogiri
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.6'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.6'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: builder
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '3.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: json
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.8'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.8'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '1.5'
75
+ version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '1.5'
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '10.1'
89
+ version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: '10.1'
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '3.1'
104
101
  - - ">="
105
102
  - !ruby/object:Gem::Version
106
- version: 3.1.0
103
+ version: '0'
107
104
  type: :development
108
105
  prerelease: false
109
106
  version_requirements: !ruby/object:Gem::Requirement
110
107
  requirements:
111
- - - "~>"
112
- - !ruby/object:Gem::Version
113
- version: '3.1'
114
108
  - - ">="
115
109
  - !ruby/object:Gem::Version
116
- version: 3.1.0
110
+ version: '0'
117
111
  description: Ruby Hash to QuickBooks XML Request
118
112
  email:
119
113
  - christian@minimul.com
@@ -151,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
145
  version: '0'
152
146
  requirements: []
153
147
  rubyforge_project:
154
- rubygems_version: 2.4.6
148
+ rubygems_version: 2.7.6
155
149
  signing_key:
156
150
  specification_version: 4
157
151
  summary: Takes Ruby Hash and turns it into QuickBooks XML Request