to_qbxml 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +2 -0
- data/lib/to_qbxml/to_qbxml.rb +1 -1
- data/lib/to_qbxml/version.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e14f53acbbe4d00372edb2cc87881c7fc44b95edbac4a9f5ea65cf49ebf89d3e
|
4
|
+
data.tar.gz: 937ba37ff324a38dc0187174963073eb97500e5a22ae7a0ebb2907e5d2c0cb9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36ef4c045244d2b12156f25d5433e6ed7a65ba363d748f6e6cf602f4a9f5a3a39e86661e5f13bd739f9e0566c8e2215eccf052b9878f1dc614d1b17d8a2bbb23
|
7
|
+
data.tar.gz: e0873a47b0e4525488ac28fe092ffff618dabe73b751a55c078b562950736760a0d01d558b1271420fb20bb8977ff1e4a339a7e159bd461dcaba8e589e6004d5
|
data/.gitignore
CHANGED
data/README.md
CHANGED
data/lib/to_qbxml/to_qbxml.rb
CHANGED
@@ -107,7 +107,7 @@ class ToQbxml
|
|
107
107
|
|
108
108
|
def boilerplate(type, opts = {})
|
109
109
|
head = boilerplate_header(type, opts[:action] || 'add')
|
110
|
-
body_hash = opts[:action]
|
110
|
+
body_hash = [:query, :del].include?(opts[:action]) ? @hash : { head => @hash }
|
111
111
|
{ :qbxml_msgs_rq =>
|
112
112
|
[
|
113
113
|
{
|
data/lib/to_qbxml/version.rb
CHANGED
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.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Pelczarski (minimul)
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -129,7 +129,7 @@ files:
|
|
129
129
|
homepage: http://minimul.com
|
130
130
|
licenses: []
|
131
131
|
metadata: {}
|
132
|
-
post_install_message:
|
132
|
+
post_install_message:
|
133
133
|
rdoc_options: []
|
134
134
|
require_paths:
|
135
135
|
- lib
|
@@ -144,9 +144,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
|
-
|
148
|
-
|
149
|
-
signing_key:
|
147
|
+
rubygems_version: 3.0.3
|
148
|
+
signing_key:
|
150
149
|
specification_version: 4
|
151
150
|
summary: Takes Ruby Hash and turns it into QuickBooks XML Request
|
152
151
|
test_files:
|