rest_framework 0.0.5 → 0.0.6

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: 6d0230ba5202225c71130921355680792e1907f593fa5c664d1d1bc862076d18
4
- data.tar.gz: 65fe4ade26bdeadc825261e568de4947ef6440e07a2783241eecaec9147dcf16
3
+ metadata.gz: a3e577365f00c98803ebf7f4548c10e5e0cde9208d47de71ac5d5193d0e0c776
4
+ data.tar.gz: b0527bc192535edcd85a91587e11df09c30dff460701c826fe6574ec487bc003
5
5
  SHA512:
6
- metadata.gz: d7b880340dd0b3b784e366abae39286632d3d36e784a792f76e74181e6a39a364cbcdb6d206893ae759f249f3cec559fe741c413b95ed741f359700ffdc4652a
7
- data.tar.gz: 904b8f2cd4390e7d912b63795e09c5cdbbfba7972fdcf6131c680e73a3d214eb88569ade00ce87da4ef9fa5a5b505877a5edd1c35c26f7431cb69c504381a269
6
+ metadata.gz: 805f9fe5d4fcd15f5e360459af7246e52392115f3cf6ab3fe51a2128f16c4092e10ac0797767769992416818cdf5dc429790e128ad7a889119cdb134d739ea61
7
+ data.tar.gz: d0079b9e2cb005938d95aa83cccc3971849183be3209e2c08a2ebae5c357d6c9c571663cd496f68c4a5f8855ea2b804a46fbfcb73d839693b41ce781563599c0
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
@@ -84,6 +84,7 @@ module RESTFramework
84
84
 
85
85
  # Helper alias for `respond_to`/`render`, and replace nil responses with blank ones.
86
86
  def api_response(payload, html_kwargs: nil, json_kwargs: nil, **kwargs)
87
+ payload ||= '' # replace nil with ''
87
88
  html_kwargs ||= {}
88
89
  json_kwargs ||= {}
89
90
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest_framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregory N. Schmit