json-schema-docs 0.3.0 → 0.3.1
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 +0 -6
- data/lib/json-schema-docs/parser.rb +1 -1
- data/lib/json-schema-docs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e12dab13997ed70d61d00ca46e556038e158061d80cabdfe27bca4eb79dbdf25
|
4
|
+
data.tar.gz: 5b62515b720996aebcf3caf180dfcb612b5c53742ea9191fbbac1dd68e2df574
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7f25060eef4c867fcb0dfd69b79e1c40f15fdc20323b99ca673ddec481f65a5858eac77c63f39d83fd10fc49cc6f03fb13105bad1192d4337a515adb4ddee76
|
7
|
+
data.tar.gz: 8af89ced4d25ca59d24faf4c8ebb26b2d8f5ffb15b2337824d885ecd6e3ee69238d15c5f6af89a775a2b2e1cd34e9bb77a6e27c55b2c85ca135b536e8bf168c2
|
@@ -96,12 +96,6 @@ module JsonSchemaDocs
|
|
96
96
|
meta = frontmatter.merge(meta)
|
97
97
|
end
|
98
98
|
|
99
|
-
if trim
|
100
|
-
# normalize spacing so that CommonMarker doesn't treat it as `pre`
|
101
|
-
contents = contents.gsub(/^\s+$/, '')
|
102
|
-
contents = contents.gsub(/^\s{4}/m, ' ')
|
103
|
-
end
|
104
|
-
|
105
99
|
filename = File.join(path, 'index.html')
|
106
100
|
meta[:filename] = filename
|
107
101
|
output = @renderer.render(contents, meta: meta)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json-schema-docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prmd
|