endow 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
  SHA1:
3
- metadata.gz: 616b181681a41d018b2f7e3bc66b358d8ec3c6a2
4
- data.tar.gz: cb32543eba23337ae446d70a4cb725f04b6ac72f
3
+ metadata.gz: 21b60c50db184440a6d6e9d017d611a100a87b5d
4
+ data.tar.gz: dbe9c521f1774ee6464c80db04d0b357f70c01b6
5
5
  SHA512:
6
- metadata.gz: d3bb94bea13e563efb7132f98071f0b0e6d7a000286372aff3222bf68fb7a8802c7e1697d3f0565ea97eab83200eca2a327243874de828f0aad436b3d11b717b
7
- data.tar.gz: 7727e0d799a314d4612050e2a0e1711f5265ccf71a3a833e3142fd65218d3af98dfbb986a003b3bd5281e286462e4d5e98aca4efdcc3fb6a947a09d5059ffdd6
6
+ metadata.gz: e6a6c646dad99963f786663e4d09d4bdfbba771efa99b02c5cef95836ca4e93fcd4cd15d779eed6e2d90836254c9edf2c97f0303b2469b750619f50557e47a8d
7
+ data.tar.gz: ced71f7b895da86b2ab2df1a1daf97aafa178bdb156487e56802272c531a6e9b44f76dcb42419f66c71619e078486f905e6db5fd4b970d72ea542efc55671dbc
@@ -164,6 +164,8 @@ module Endow
164
164
  end
165
165
 
166
166
  def decode_body_as_application_json( content )
167
+ return {} if content.nil? || content.empty?
168
+
167
169
  MultiJson.load( content )
168
170
  end
169
171
 
@@ -1,3 +1,3 @@
1
1
  module Endow
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: endow
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
  - Jason Harrelson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-19 00:00:00.000000000 Z
11
+ date: 2015-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport