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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/lazy_api_doc/variants_parser.rb +1 -1
- data/lib/lazy_api_doc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a399e710f96856c2fb1763fb625647a60b089096c58a42bfecdda84ed9c199a
|
4
|
+
data.tar.gz: 842381548c69be6d6aea07a31aff8db2a26eb9c2b8e8c074390ae01a9a50b980
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49e6405242909d210c727775d862dbce8c6afddbb744ab69a037530bebbc72be88a4da83c44b2f8402b76f8eec7acee498710640ba694de479c1067b6834a40e
|
7
|
+
data.tar.gz: 7e80fd689eaa7e7f3493d0e07d31d63229daa2b82b5a9039663358a19c7a58fa9432db2672c91ee19da062a12136f66a595d20d931d6278606e06b2c54623b31
|
data/Gemfile.lock
CHANGED
@@ -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.
|
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
|
[
|
data/lib/lazy_api_doc/version.rb
CHANGED