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 +5 -5
- data/README.md +4 -4
- data/lib/to_qbxml/to_qbxml.rb +1 -1
- data/lib/to_qbxml/version.rb +1 -1
- data/spec/lib/to_qbxml/to_qbxml_spec.rb +2 -2
- data/to_qbxml.gemspec +6 -6
- metadata +19 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6c4c10e441666f0951991950efacc1d6a88f47ccf2b694638c5151b277278b04
|
4
|
+
data.tar.gz: 5501b48a97f4fbc0bb3ba6b907d894a54f420d59005bc364e1f5620944e208c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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="
|
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="
|
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="
|
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="
|
212
|
+
<?qbxml version="13.0"?>
|
213
213
|
<QBXML>
|
214
214
|
<QBXMLMsgsRq onError="stopOnError">
|
215
215
|
<InvoiceAddRq requestID="1">
|
data/lib/to_qbxml/to_qbxml.rb
CHANGED
data/lib/to_qbxml/version.rb
CHANGED
@@ -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
|
44
|
+
it "default version is 13.0" do
|
45
45
|
xml = ToQbxml.new({}).generate
|
46
|
-
expect(xml).to match /version=\"
|
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
|
data/to_qbxml.gemspec
CHANGED
@@ -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', '
|
22
|
-
gem.add_dependency('builder', '
|
23
|
-
gem.add_dependency('json', '
|
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'
|
26
|
-
gem.add_development_dependency('rake'
|
27
|
-
gem.add_development_dependency('rspec'
|
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
|
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:
|
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: '
|
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: '
|
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: '
|
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: '
|
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:
|
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:
|
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.
|
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
|