usps-imis-api 0.11.1 → 0.11.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79ac4896cbc9c4c191719e15d3addb758aa35f16cee662571eff3c751258925e
4
- data.tar.gz: '09ad846e09959909b4e3c719b823c5ced5fdcd0f9682b2c8e235a29087b3218c'
3
+ metadata.gz: 3ae172a9c55f4af8298e49c3eda45769f427ef373f0f136acf605e916e20ce0d
4
+ data.tar.gz: 01d8ca97541785761ee2713ebf06705ba70703cf2c3435f67195ffe07b1ccc0c
5
5
  SHA512:
6
- metadata.gz: be267ec4b89aafe323d457ddf7dcc05c565b1613765b318cbda0c653fc900e49916ae55b8b3a89c9f5ede33faa21b51cbb66c800d7b68017b06ed261c2661b5d
7
- data.tar.gz: 20068ce7e8870804cdf02724958c763f5c6843d53d52f73aca9a0856f56771cfc448c271579dde9cc09ff8b2b97149da473f119c262a0e26e4bd057019a743c3
6
+ metadata.gz: 061415c29f6e9ea552de17e8b589bb1b2a842727b07b704a2eaeb48177efb8211f6f29ef013db6bdb7382df985d4e36f981f70403aa8841e4fec5c41e569cccd
7
+ data.tar.gz: 53c68f5487b0b7adef9489b2507baa11b033ad3e4c316cd814d254cf4d9db649d1a421b7370e83e4b30f5e56d78631f8f9ebb4cb8076de60cf58bbfe923b0ea0
@@ -66,7 +66,7 @@ module Usps
66
66
  @options[:data] = read_stdin if stdin?
67
67
  # :nocov:
68
68
 
69
- @options[:data] = JSON.parse(@options[:data])
69
+ @options[:data] = JSON.parse(@options[:data]) if @options[:data]
70
70
  end
71
71
 
72
72
  private
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Usps
4
4
  module Imis
5
- VERSION = '0.11.1'
5
+ VERSION = '0.11.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usps-imis-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Fiander