dandy 0.11.1 → 0.11.2

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: 4dd632af42e18c575b066bdc64e5006ddb3c01cd
4
- data.tar.gz: e584f947fbb113360fff69464fa5ec7f14d97dc0
3
+ metadata.gz: 83b6dd6b9df24071485386eb8fe1428a257860d8
4
+ data.tar.gz: 22765670a620ea4460b30d5b9b42ae97d0c80c82
5
5
  SHA512:
6
- metadata.gz: f4a39f04fcd2bd19b3570c3e8952dffaa50017c965e1e3dd6103a7db861dfadf31bf10e5c635347f2596173baddef348376b87e959f3c7b70293df2318258797
7
- data.tar.gz: 1b333a87f034910b0e71ded685484388c5da1531e8ec1cf78d96bf2094b310bc473f507055d54a59d54850e8e5d7e667122674d8be566508d9549e1a3b2ec9c5
6
+ metadata.gz: 8113168961dc46d5ae352e461d6e1b892f34ce5e8db3ed046907195d30ee1abfa64b5defb361f9b3384a6aea19af4e29c54e87c96bbdc94aa4ce3ef73084faca
7
+ data.tar.gz: 7f62204d3c4fd6c686300e077e73ef991460151e62a3e9fe7e682853ff103b464412c0b05605891c568859879614ea61a381fdc974030cbc14ae93cc9fb87706
@@ -49,7 +49,7 @@ module Dandy
49
49
  if chain_result.is_a?(String)
50
50
  body = chain_result
51
51
  else # generate JSON when nothing other is requested
52
- if headers['Keys-Format'] == 'camel' && chain_result.is_a?(Hash)
52
+ if headers['Keys-Format'] == 'camel' && chain_result
53
53
  chain_result = chain_result.to_camelback_keys
54
54
  end
55
55
 
@@ -1,3 +1,3 @@
1
1
  module Dandy
2
- VERSION = '0.11.1'.freeze
2
+ VERSION = '0.11.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dandy
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
  - Vladimir Kalinkin