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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c4c10e441666f0951991950efacc1d6a88f47ccf2b694638c5151b277278b04
4
- data.tar.gz: 5501b48a97f4fbc0bb3ba6b907d894a54f420d59005bc364e1f5620944e208c6
3
+ metadata.gz: e14f53acbbe4d00372edb2cc87881c7fc44b95edbac4a9f5ea65cf49ebf89d3e
4
+ data.tar.gz: 937ba37ff324a38dc0187174963073eb97500e5a22ae7a0ebb2907e5d2c0cb9f
5
5
  SHA512:
6
- metadata.gz: 4547fddcef4b40d5639c2aacbf387941a8a3c03ca536c1928e2b6b166b924624c81c6c78cd51b73e485ab4263c4c3d23243ff9b2d043f34fc7d2b0c5cc65a0a7
7
- data.tar.gz: d09943d19aa1711069e5fab7b2aea68a74a1548e67df38e8f2b03fefcb4fb694da83d9b99b2abecf743c60950565702cf4a750b84c783c17dc280f6949572c2b
6
+ metadata.gz: 36ef4c045244d2b12156f25d5433e6ed7a65ba363d748f6e6cf602f4a9f5a3a39e86661e5f13bd739f9e0566c8e2215eccf052b9878f1dc614d1b17d8a2bbb23
7
+ data.tar.gz: e0873a47b0e4525488ac28fe092ffff618dabe73b751a55c078b562950736760a0d01d558b1271420fb20bb8977ff1e4a339a7e159bd461dcaba8e589e6004d5
data/.gitignore CHANGED
@@ -16,3 +16,4 @@ test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
18
  *.sess
19
+ .tool-versions
data/README.md CHANGED
@@ -4,6 +4,8 @@ ToQbxml creates QuickBooks XML Requests from a Ruby Hash
4
4
 
5
5
  ## Installation
6
6
 
7
+ **Tested in Ruby versions <= 2.6**
8
+
7
9
  Add this line to your application's Gemfile:
8
10
 
9
11
  gem 'to_qbxml'
@@ -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] == :query ? @hash : { head => @hash }
110
+ body_hash = [:query, :del].include?(opts[:action]) ? @hash : { head => @hash }
111
111
  { :qbxml_msgs_rq =>
112
112
  [
113
113
  {
@@ -1,3 +1,3 @@
1
1
  class ToQbxml
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  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.2.0
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: 2019-01-07 00:00:00.000000000 Z
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
- rubyforge_project:
148
- rubygems_version: 2.7.6
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: