json-schema-docs 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/json-schema-docs/generator.rb +2 -1
- data/lib/json-schema-docs/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: e2327f77f8ca5efc9430ed2c9e797d6d6dc91c3be5614b648414353ef23ae61c
|
4
|
+
data.tar.gz: 6a00ed5052091a39cfbb019eb57ccfee9473efe857f5068d7b88f0cf49e35cad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42bfbc5fd1fd2b4cd9d55783e7949c340436a4ea583af9ebbee18c1996ca2b2b10698a15b455c343a8d77c551455502e4dd43bc17c69e9dee5a3b1d27cf0d0d6
|
7
|
+
data.tar.gz: ec2f864f73c431562815c3ee4bf805ba601343bb89320a4a7bbd99b4f0c4cf3dcf98f014abedb60d8195cd32705798cbb3307871144cd23ac04d257efabf327f
|
@@ -92,7 +92,8 @@ module JsonSchemaDocs
|
|
92
92
|
meta = { type: type, title: name, name: name }
|
93
93
|
if has_yaml?(contents)
|
94
94
|
# Split data
|
95
|
-
|
95
|
+
frontmatter, contents = split_into_metadata_and_contents(contents)
|
96
|
+
meta = frontmatter.merge(meta)
|
96
97
|
end
|
97
98
|
|
98
99
|
if trim
|