lazy_api_doc 0.1.1 → 0.1.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
  SHA256:
3
- metadata.gz: e13f1dbef507e8cd73dba019cf5b46049a06f257225aaba546a1e426465cfb0a
4
- data.tar.gz: f7d05704e71695f96752ae86678df55d5ffbaed7fbcd8af66cb4800fae40622d
3
+ metadata.gz: 6a399e710f96856c2fb1763fb625647a60b089096c58a42bfecdda84ed9c199a
4
+ data.tar.gz: 842381548c69be6d6aea07a31aff8db2a26eb9c2b8e8c074390ae01a9a50b980
5
5
  SHA512:
6
- metadata.gz: 412a28cb29f54a64e3290ad235b645932a86d253f3bbd5cadd9225638bec0c966a9085b56252ed27d28880c31d672fc8712c05723c0cec92f8d7d173cac3c73a
7
- data.tar.gz: 5676bfcf8a8e909d9838239051c693512938ab8d0e8150e7e4b1474adf94423f365e5a3ac142e8f0df1e31f1fbf9f9de0c9e7bdbe1ada138bf7e7b74d69514ed
6
+ metadata.gz: 49e6405242909d210c727775d862dbce8c6afddbb744ab69a037530bebbc72be88a4da83c44b2f8402b76f8eec7acee498710640ba694de479c1067b6834a40e
7
+ data.tar.gz: 7e80fd689eaa7e7f3493d0e07d31d63229daa2b82b5a9039663358a19c7a58fa9432db2672c91ee19da062a12136f66a595d20d931d6278606e06b2c54623b31
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lazy_api_doc (0.1.1)
4
+ lazy_api_doc (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -68,7 +68,7 @@ module LazyApiDoc
68
68
 
69
69
  def parse_hash(variants)
70
70
  result = types_template(variants)
71
- variant = variants.select { |v| v.instance_of?(Hash) }.reverse_each
71
+ variant = variants.select { |v| v.is_a?(Hash) }.reverse_each
72
72
  .each_with_object({}) { |v, res| res.merge!(v) }
73
73
  result["properties"] = variant.map do |key, val|
74
74
  [
@@ -1,3 +1,3 @@
1
1
  module LazyApiDoc
2
- VERSION = "0.1.1".freeze
2
+ VERSION = "0.1.2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lazy_api_doc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bogdan Guban