rail-locator-api 1.0.33 → 1.0.34

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: a150f0e89a0530c4bff3458bf26c3cd0d752c2a7e1b13f8d7e4aacd377e0b777
4
- data.tar.gz: b29fd8486c0ffe1082a5ddcbd17799ec4412c2d5e1f8593c34c1f7bb1bed6304
3
+ metadata.gz: ccb40fb17c07a91468660c4bf642e94c902c6468395c9f66a91a01bd186e122d
4
+ data.tar.gz: d06c77b47de8ee341e08945dcd229440efc615fd6456d80832c7e1178344cdf1
5
5
  SHA512:
6
- metadata.gz: 7ef354b288e848b1d2778d7d17b48b9bd0784c5249a58a91471ac98d0f330e10c4159e83f3fef7373767d2781c5b374d5b6fa1373764319e79b1e1c3180e819d
7
- data.tar.gz: 2fc5e28438b9870871a6d33b54625a78606c7ebe8524735f2e802771e30950f60a187a7487315128bdc857645d189f9d04b6dcead4270b37dc2805b3589689c5
6
+ metadata.gz: 5ed439487c1336378a567afdccb504fbdfc4e979a5d3d71328eef300bdc7fe871ba589a109769cb4e135c204ed0b0e1d2a9b91432e909920bf4205e8059891ee
7
+ data.tar.gz: eb0964dcc6902a1758602daad125b961a5a8dca96d3e65d018dd638e24ecae19426bfd1fcaa48015db3772e6b36bfd16b96b021a0be7866264828d82a8cdd06a
@@ -274,6 +274,7 @@ module RailLocatorApi
274
274
  end
275
275
 
276
276
  def is_multipart?(body, result=false)
277
+ return false if body == {}
277
278
  if body.is_a?(Hash)
278
279
  body.inject({}) do |acc, kv|
279
280
  result = is_multipart?(kv.last, result)
@@ -1,3 +1,3 @@
1
1
  module RailLocatorApi
2
- VERSION = "1.0.33"
2
+ VERSION = "1.0.34"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rail-locator-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.33
4
+ version: 1.0.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Osetrov