jekyll-ramler 0.0.7 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +3 -0
- data/.travis.yml +7 -4
- data/CHANGELOG +25 -1
- data/Gemfile +1 -2
- data/Gemfile.lock +60 -64
- data/README.md +10 -1
- data/jekyll-ramler.gemspec +10 -6
- data/lib/raml-generate.rb +60 -27
- data/lib/utils.rb +9 -6
- data/spec/spec_helper.rb +2 -0
- data/spec/utils_raml_schema_generator_spec.rb +8 -0
- metadata +44 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e30231809c7110df77da7e8fce68e66eeb800e862833da83927d141c030c332f
|
4
|
+
data.tar.gz: 845af5a3bcd4ec6e1739e1ec4bf45b933515d32c0f8f7fdf6a0b6a7297b31601
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3c2eaabfd27d68fdc5fb270a2d009108e4a7b3c3949f63d039782529da98ca70e8a1bf7fd68d5c48984804fc32cb6af4642ef6c125f4a2684df3fa9a2254120
|
7
|
+
data.tar.gz: b7cf9ac6d6bc7165eb4d55b4789f3b6c49a84522e13f7dd559392af97c01aae49365f2227e3a655577baff7b6d7650247b68d8950d65b7f9c84996949ed0a69a
|
data/.gitignore
ADDED
data/.travis.yml
CHANGED
@@ -1,10 +1,13 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
-
|
4
|
-
- 2.
|
5
|
-
- 2.
|
3
|
+
- 2.3.5
|
4
|
+
- 2.4.10
|
5
|
+
- 2.5.8
|
6
|
+
- 2.6.6
|
7
|
+
- 2.7.1
|
6
8
|
install:
|
7
|
-
- npm install raml-cop
|
9
|
+
- npm install raml-cop@^1.1.0 -g
|
10
|
+
- gem install bundler -v 2.1.4
|
8
11
|
- bundle install
|
9
12
|
script: "bundle exec rspec"
|
10
13
|
branches:
|
data/CHANGELOG
CHANGED
@@ -1,7 +1,31 @@
|
|
1
1
|
CHANGELOG
|
2
2
|
==========
|
3
3
|
|
4
|
-
|
4
|
+
## 1.0.0 - 2020-09-01
|
5
|
+
|
6
|
+
- Updated various dependencies
|
7
|
+
|
8
|
+
## 0.0.10 - 2015-03-18
|
9
|
+
|
10
|
+
### Fixed
|
11
|
+
|
12
|
+
- Generated JSON Schema table view now presents schema of child objects as
|
13
|
+
"Properties" or "Items" instead of "Example"
|
14
|
+
|
15
|
+
## 0.0.9 - 2015-03-02
|
16
|
+
|
17
|
+
### Fixed
|
18
|
+
|
19
|
+
- Generated JSON Schema no-longer include the displayName attribute from RAML
|
20
|
+
|
21
|
+
## 0.0.8 - 2015-02-25
|
22
|
+
|
23
|
+
### Fixed
|
24
|
+
|
25
|
+
- Newlines are no longer removed in descriptions in JSON Schema, maintaining
|
26
|
+
ability to transform via Markdown
|
27
|
+
- Fixed bug that could cause changes to JSON Schema to also appear in hash of
|
28
|
+
x-www-form-urlencoded formParameters
|
5
29
|
|
6
30
|
## 0.0.7 - 2015-02-25
|
7
31
|
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,74 +1,69 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
jekyll-ramler (0.0
|
5
|
-
jekyll
|
4
|
+
jekyll-ramler (1.0.0)
|
5
|
+
jekyll (~> 3.9.0)
|
6
|
+
kramdown-parser-gfm (~> 1.1.0)
|
7
|
+
ruby_deep_clone
|
6
8
|
|
7
9
|
GEM
|
8
10
|
remote: https://rubygems.org/
|
9
11
|
specs:
|
10
|
-
|
11
|
-
|
12
|
-
timers (~> 4.0.0)
|
13
|
-
classifier-reborn (2.0.3)
|
14
|
-
fast-stemmer (~> 1.0)
|
12
|
+
addressable (2.7.0)
|
13
|
+
public_suffix (>= 2.0.2, < 5.0)
|
15
14
|
coderay (1.1.0)
|
16
|
-
|
17
|
-
|
18
|
-
execjs
|
19
|
-
coffee-script-source (1.9.0)
|
20
|
-
colorator (0.1)
|
15
|
+
colorator (1.1.0)
|
16
|
+
concurrent-ruby (1.1.7)
|
21
17
|
diff-lcs (1.2.5)
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
18
|
+
em-websocket (0.5.1)
|
19
|
+
eventmachine (>= 0.12.9)
|
20
|
+
http_parser.rb (~> 0.6.0)
|
21
|
+
eventmachine (1.2.7)
|
22
|
+
fakefs (1.2.1)
|
23
|
+
ffi (1.13.1)
|
24
|
+
forwardable-extended (2.6.0)
|
25
|
+
http_parser.rb (0.6.0)
|
26
|
+
i18n (0.9.5)
|
27
|
+
concurrent-ruby (~> 1.0)
|
28
|
+
jekyll (3.9.0)
|
29
|
+
addressable (~> 2.4)
|
30
|
+
colorator (~> 1.0)
|
31
|
+
em-websocket (~> 0.5)
|
32
|
+
i18n (~> 0.7)
|
33
33
|
jekyll-sass-converter (~> 1.0)
|
34
|
-
jekyll-watch (~>
|
35
|
-
kramdown (
|
36
|
-
liquid (~>
|
34
|
+
jekyll-watch (~> 2.0)
|
35
|
+
kramdown (>= 1.17, < 3)
|
36
|
+
liquid (~> 4.0)
|
37
37
|
mercenary (~> 0.3.3)
|
38
|
-
|
39
|
-
|
38
|
+
pathutil (~> 0.9)
|
39
|
+
rouge (>= 1.7, < 4)
|
40
40
|
safe_yaml (~> 1.0)
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
rb-fsevent (>= 0.9.3)
|
55
|
-
rb-inotify (>= 0.9)
|
56
|
-
mercenary (0.3.5)
|
41
|
+
jekyll-sass-converter (1.5.2)
|
42
|
+
sass (~> 3.4)
|
43
|
+
jekyll-watch (2.2.1)
|
44
|
+
listen (~> 3.0)
|
45
|
+
kramdown (2.3.0)
|
46
|
+
rexml
|
47
|
+
kramdown-parser-gfm (1.1.0)
|
48
|
+
kramdown (~> 2.0)
|
49
|
+
liquid (4.0.3)
|
50
|
+
listen (3.2.1)
|
51
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
52
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
53
|
+
mercenary (0.3.6)
|
57
54
|
method_source (0.8.2)
|
58
|
-
|
59
|
-
|
60
|
-
posix-spawn (0.3.9)
|
55
|
+
pathutil (0.16.2)
|
56
|
+
forwardable-extended (~> 2.6)
|
61
57
|
pry (0.10.1)
|
62
58
|
coderay (~> 1.1.0)
|
63
59
|
method_source (~> 0.8.1)
|
64
60
|
slop (~> 3.4)
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
redcarpet (3.2.2)
|
61
|
+
public_suffix (4.0.5)
|
62
|
+
rb-fsevent (0.10.4)
|
63
|
+
rb-inotify (0.10.1)
|
64
|
+
ffi (~> 1.0)
|
65
|
+
rexml (3.2.4)
|
66
|
+
rouge (3.22.0)
|
72
67
|
rspec (3.2.0)
|
73
68
|
rspec-core (~> 3.2.0)
|
74
69
|
rspec-expectations (~> 3.2.0)
|
@@ -82,23 +77,24 @@ GEM
|
|
82
77
|
diff-lcs (>= 1.2.0, < 2.0)
|
83
78
|
rspec-support (~> 3.2.0)
|
84
79
|
rspec-support (3.2.1)
|
85
|
-
ruby_deep_clone (0.
|
86
|
-
safe_yaml (1.0.
|
87
|
-
sass (3.4
|
80
|
+
ruby_deep_clone (0.8.0)
|
81
|
+
safe_yaml (1.0.5)
|
82
|
+
sass (3.7.4)
|
83
|
+
sass-listen (~> 4.0.0)
|
84
|
+
sass-listen (4.0.0)
|
85
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
86
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
88
87
|
slop (3.6.0)
|
89
|
-
timers (4.0.1)
|
90
|
-
hitimes
|
91
|
-
toml (0.1.2)
|
92
|
-
parslet (~> 1.5.0)
|
93
|
-
yajl-ruby (1.2.1)
|
94
88
|
|
95
89
|
PLATFORMS
|
96
90
|
ruby
|
97
91
|
|
98
92
|
DEPENDENCIES
|
99
|
-
fakefs
|
93
|
+
fakefs (= 1.2.1)
|
100
94
|
jekyll-ramler!
|
101
95
|
pry
|
102
96
|
rspec
|
103
97
|
rspec-mocks
|
104
|
-
|
98
|
+
|
99
|
+
BUNDLED WITH
|
100
|
+
2.1.4
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
[![Build Status](https://travis-ci.
|
1
|
+
[![Build Status](https://travis-ci.com/Granicus/jekyll-ramler.svg?branch=master)](https://travis-ci.com/Granicus/jekyll-ramler)
|
2
2
|
[![Gem Version](https://badge.fury.io/rb/jekyll-ramler.svg)](http://badge.fury.io/rb/jekyll-ramler)
|
3
3
|
|
4
4
|
jekyll-ramler
|
@@ -18,6 +18,15 @@ specificed in a RAML file.
|
|
18
18
|
- Supports Raw and Table based displays of JSON Schema included in your RAMLs
|
19
19
|
- Automatic insertion of inherited JSON Schema (via `$ref` and `allOf`)
|
20
20
|
|
21
|
+
## Example
|
22
|
+
|
23
|
+
GovDelivery's developer documentation site, <http://developer.govdelivery.com>,
|
24
|
+
is built on jekyll-ramler, [jekyll-code-example-tag](https://github.com/govdelivery/jekyll-code-example-tag),
|
25
|
+
and [jekyll-nested-menu-generator](https://github.com/govdelivery/jekyll-nested-menu-generator).
|
26
|
+
|
27
|
+
For an example of the output generated by jekyll-ramler, please visit
|
28
|
+
GovDelivery's TMS API documentation at <http://developer.govdelivery.com/api/tms/>.
|
29
|
+
|
21
30
|
## Installation
|
22
31
|
|
23
32
|
### Dependencies
|
data/jekyll-ramler.gemspec
CHANGED
@@ -1,16 +1,20 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'jekyll-ramler'
|
3
|
-
s.version = '0.0
|
4
|
-
s.date = '
|
5
|
-
s.authors = ['
|
6
|
-
s.email = 'support@
|
7
|
-
s.homepage = 'https://github.com/
|
3
|
+
s.version = '1.0.0'
|
4
|
+
s.date = '2020-09-01'
|
5
|
+
s.authors = ['Granicus']
|
6
|
+
s.email = 'support@granicus.com'
|
7
|
+
s.homepage = 'https://github.com/granicus/jekyll-ramler'
|
8
8
|
s.license = 'BSD-3-Cluase'
|
9
9
|
s.summary = 'Jekyll plugin that generates API documentation pages based on RAML'
|
10
10
|
s.description = %q{Generates Jekyll pages for overview, security, and
|
11
11
|
resource documentation specificed in a RAML file.}
|
12
12
|
|
13
|
-
s.
|
13
|
+
s.required_ruby_version = '>= 2.3.0'
|
14
|
+
|
15
|
+
s.add_runtime_dependency 'jekyll', '~> 3.9.0'
|
16
|
+
s.add_runtime_dependency 'kramdown-parser-gfm', '~> 1.1.0'
|
17
|
+
s.add_runtime_dependency 'ruby_deep_clone'
|
14
18
|
|
15
19
|
s.files = `git ls-files`.split($\)
|
16
20
|
s.require_paths = ['lib']
|
data/lib/raml-generate.rb
CHANGED
@@ -40,8 +40,8 @@ module Jekyll
|
|
40
40
|
def transform_md(output)
|
41
41
|
# Use the existing Jekyll Markdown converters
|
42
42
|
md_converters = site.converters.select{|c| c.matches('.md')}
|
43
|
-
md_converters.reduce(output) do |
|
44
|
-
converter.convert
|
43
|
+
md_converters.reduce(output) do |output_to_convert, converter|
|
44
|
+
converter.convert output_to_convert
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
@@ -52,14 +52,14 @@ module Jekyll
|
|
52
52
|
|
53
53
|
default = {"values" => {}} if default.nil?
|
54
54
|
|
55
|
-
|
55
|
+
default['values'].fetch('layout', 'default')
|
56
56
|
end
|
57
57
|
|
58
58
|
end
|
59
59
|
|
60
60
|
class SecuritySchemePage<GeneratedPage
|
61
61
|
def initialize(site, base, web_root, dir, securityScheme)
|
62
|
-
super(site, base, web_root, dir, securityScheme,
|
62
|
+
super(site, base, web_root, dir, securityScheme, get_layout("#{web_root}resource", site))
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
@@ -163,22 +163,22 @@ module Jekyll
|
|
163
163
|
when 'application/json'
|
164
164
|
obj['schema_hash'] = JSON.parse(obj['schema'])
|
165
165
|
|
166
|
-
refactor_object = lambda do |
|
167
|
-
|
166
|
+
refactor_object = lambda do |lam_obj|
|
167
|
+
lam_obj['properties'].each do |name, param|
|
168
168
|
param['displayName'] = name
|
169
|
-
param['required'] = true if
|
169
|
+
param['required'] = true if lam_obj.fetch('required', []).include?(name)
|
170
170
|
|
171
171
|
if param.include?('example') and ['object', 'array'].include?(param['type'])
|
172
172
|
param['example'] = JSON.pretty_generate(JSON.parse(param['example']))
|
173
173
|
elsif param.include?('properties')
|
174
|
-
param['
|
174
|
+
param['properties'] = JSON.pretty_generate(param['properties'])
|
175
175
|
elsif param.include?('items')
|
176
|
-
param['
|
176
|
+
param['items'] = JSON.pretty_generate(param['items'])
|
177
177
|
end
|
178
178
|
|
179
|
-
|
179
|
+
lam_obj['properties'][name] = param
|
180
180
|
end
|
181
|
-
|
181
|
+
lam_obj
|
182
182
|
end
|
183
183
|
|
184
184
|
if obj['schema_hash'].include?('properties')
|
@@ -248,7 +248,37 @@ module Jekyll
|
|
248
248
|
@site.pages << DocumentationPage.new(@site, @site.source, @web_root, documentation_dir, documentation)
|
249
249
|
end
|
250
250
|
|
251
|
+
generate_downloadable_descriptors(raml_hash, raml_path)
|
252
|
+
end
|
253
|
+
|
254
|
+
private
|
255
|
+
def generate_resource_pages(resources, parent_dir=nil)
|
256
|
+
|
257
|
+
if parent_dir
|
258
|
+
dir = parent_dir
|
259
|
+
else
|
260
|
+
dir = Jekyll::get_dir('resource', @site.config)
|
261
|
+
end
|
262
|
+
|
263
|
+
resources.each do |resource|
|
264
|
+
resource_name = resource["relativeUri"]
|
265
|
+
resource_dir = File.join(dir, resource_name)
|
266
|
+
@site.pages << ResourcePage.new(@site, @site.source, @web_root, resource_dir, resource, @traits, @securitySchemes)
|
267
|
+
generate_resource_pages(resource['resources'], resource_dir) if resource.has_key?('resources')
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
271
|
+
def generate_downloadable_descriptors(raml_hash, raml_path)
|
251
272
|
# Allow users to download descriptor as RAML and JSON, which may be modified since it was read
|
273
|
+
raml_hash = DeepClone.clone raml_hash
|
274
|
+
|
275
|
+
# Get rid of 'title' attribute added to security schemes
|
276
|
+
# securitySchemes will be an array of hashes containing one key (Name) value (a hash of properties) pairing
|
277
|
+
raml_hash.fetch('securitySchemes', []).each {|el| el.each_value { |scheme| scheme.delete('title') }}
|
278
|
+
|
279
|
+
# replace "resources" with the associated "relativeUri" of each resource
|
280
|
+
fix_resources(raml_hash)
|
281
|
+
|
252
282
|
download_basename = @site.config.fetch('ramler_downloadable_descriptor_basenames', {}).fetch(raml_path, 'api')
|
253
283
|
raml_download_filename = download_basename + '.raml'
|
254
284
|
json_download_filename = download_basename + '.json'
|
@@ -261,24 +291,27 @@ module Jekyll
|
|
261
291
|
@site.static_files << RawFile.new(@site, @site.source, @web_root, json_download_filename, raml_json)
|
262
292
|
end
|
263
293
|
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
dir = Jekyll::get_dir('resource', @site.config)
|
271
|
-
end
|
272
|
-
|
273
|
-
resources.each do |resource|
|
274
|
-
resource_name = resource["relativeUri"]
|
275
|
-
resource_dir = File.join(dir, resource_name)
|
276
|
-
@site.pages << ResourcePage.new(@site, @site.source, @web_root, resource_dir, resource, @traits, @securitySchemes)
|
277
|
-
if resource.has_key?('resources')
|
278
|
-
generate_resource_pages(resource['resources'], resource_dir)
|
279
|
-
end
|
294
|
+
def fix_resources(raml_hash)
|
295
|
+
# DFS FTW
|
296
|
+
raml_hash.fetch('resources', []).each do |resource_hash|
|
297
|
+
raml_hash[resource_hash.delete('relativeUri')] = resource_hash
|
298
|
+
fix_resources(resource_hash)
|
299
|
+
end
|
280
300
|
|
301
|
+
raml_hash.fetch('methods', []).each do |method_hash|
|
302
|
+
raml_hash[method_hash.delete('method')] = method_hash
|
303
|
+
fix_body(method_hash)
|
281
304
|
end
|
305
|
+
raml_hash.delete('methods')
|
306
|
+
raml_hash.delete('schema_hash')
|
307
|
+
raml_hash.delete('relativeUriPathSegments')
|
308
|
+
raml_hash.delete('resources')
|
309
|
+
raml_hash
|
310
|
+
end
|
311
|
+
|
312
|
+
def fix_body(method_hash)
|
313
|
+
method_hash.fetch('body', {}).each {|content_type, definition| definition.delete('schema_hash')}
|
314
|
+
method_hash.fetch('responses', {}).each {|response_code, response_hash| fix_body(response_hash) if response_hash}
|
282
315
|
end
|
283
316
|
end
|
284
317
|
end
|
data/lib/utils.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'json'
|
2
|
+
require 'deep_clone'
|
2
3
|
|
3
4
|
module Jekyll
|
4
5
|
def self.get_dir(page_type, config)
|
@@ -6,11 +7,14 @@ module Jekyll
|
|
6
7
|
end
|
7
8
|
|
8
9
|
def self.sanatize_json_string(s)
|
9
|
-
|
10
|
+
# This use to do something. Hopefully someday it will do something again
|
11
|
+
# See strip_newlines
|
12
|
+
s
|
10
13
|
end
|
11
14
|
|
12
15
|
def self.strip_newlines(s)
|
13
16
|
# Assuming Markdown, so do NOT remove consecutive newlines
|
17
|
+
# TODO Also do not remove newlines at end of list items
|
14
18
|
regex = /([^\n])\n([^\n])/
|
15
19
|
s.gsub(regex, '\1 \2').strip
|
16
20
|
end
|
@@ -69,7 +73,7 @@ module Jekyll
|
|
69
73
|
schema_hash['type'] = 'object'
|
70
74
|
|
71
75
|
required_properties = []
|
72
|
-
schema_hash['properties'] = obj['body']['application/x-www-form-urlencoded']['formParameters']
|
76
|
+
schema_hash['properties'] = DeepClone.clone obj['body']['application/x-www-form-urlencoded']['formParameters']
|
73
77
|
schema_hash['properties'].each do |name, param|
|
74
78
|
if param.include?('required')
|
75
79
|
required_properties << name if param['required'] == true
|
@@ -80,10 +84,9 @@ module Jekyll
|
|
80
84
|
param['description'] = Jekyll::sanatize_json_string(param['description'])
|
81
85
|
end
|
82
86
|
|
83
|
-
# Repeat
|
84
|
-
|
85
|
-
|
86
|
-
end
|
87
|
+
# Repeat and displayName are not supported keywords in JSON Schema
|
88
|
+
param.delete('repeat')
|
89
|
+
param.delete('displayName')
|
87
90
|
end
|
88
91
|
schema_hash['required'] = required_properties if not required_properties.empty?
|
89
92
|
|
data/spec/spec_helper.rb
CHANGED
@@ -30,11 +30,13 @@ def example_raml_hash
|
|
30
30
|
'application/x-www-form-urlencoded' => {
|
31
31
|
'formParameters' => {
|
32
32
|
'foo' => {
|
33
|
+
'displayName' => 'foo',
|
33
34
|
'description' => 'Fooing',
|
34
35
|
'type' => 'string',
|
35
36
|
'example' => 'Foo'
|
36
37
|
},
|
37
38
|
'bar' => {
|
39
|
+
'displayName' => 'bar',
|
38
40
|
'description' => 'A place to get a drink',
|
39
41
|
'type' => 'object'
|
40
42
|
}
|
@@ -17,6 +17,14 @@ describe 'Utils' do
|
|
17
17
|
expect(json_schema['properties']).to eq(JSON.parse(simple_schema)['properties'])
|
18
18
|
end
|
19
19
|
|
20
|
+
it 'creates a JSON Schema string that does not include unsupported RAML keywords' do
|
21
|
+
json_schema = JSON.parse(@rsg.generate_json_schema(@raml_hash['resources']['/test_resource']['post']) )
|
22
|
+
json_schema['properties'].each do |prop|
|
23
|
+
expect(prop).not_to include('repeat')
|
24
|
+
expect(prop).not_to include('displayName')
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
20
28
|
it 'creates a JSON Schema with a required attribute if application/x-www-form-urlencoded:formParameters includes a required parameter' do
|
21
29
|
@raml_hash['resources']['/test_resource']['post']['body']['application/x-www-form-urlencoded']['formParameters']['bar']['required'] = true
|
22
30
|
json_schema = JSON.parse(@rsg.generate_json_schema(@raml_hash['resources']['/test_resource']['post']))
|
metadata
CHANGED
@@ -1,37 +1,66 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-ramler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
autorequire:
|
7
|
+
- Granicus
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.9.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.9.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: kramdown-parser-gfm
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.1.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.1.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: ruby_deep_clone
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
18
46
|
- !ruby/object:Gem::Version
|
19
47
|
version: '0'
|
20
48
|
type: :runtime
|
21
49
|
prerelease: false
|
22
50
|
version_requirements: !ruby/object:Gem::Requirement
|
23
51
|
requirements:
|
24
|
-
- -
|
52
|
+
- - ">="
|
25
53
|
- !ruby/object:Gem::Version
|
26
54
|
version: '0'
|
27
55
|
description: "Generates Jekyll pages for overview, security, and \n resource
|
28
56
|
documentation specificed in a RAML file."
|
29
|
-
email: support@
|
57
|
+
email: support@granicus.com
|
30
58
|
executables: []
|
31
59
|
extensions: []
|
32
60
|
extra_rdoc_files: []
|
33
61
|
files:
|
34
|
-
- .
|
62
|
+
- ".gitignore"
|
63
|
+
- ".travis.yml"
|
35
64
|
- CHANGELOG
|
36
65
|
- Gemfile
|
37
66
|
- Gemfile.lock
|
@@ -51,28 +80,27 @@ files:
|
|
51
80
|
- spec/spec_helper.rb
|
52
81
|
- spec/utils_json_schema_compiler_spec.rb
|
53
82
|
- spec/utils_raml_schema_generator_spec.rb
|
54
|
-
homepage: https://github.com/
|
83
|
+
homepage: https://github.com/granicus/jekyll-ramler
|
55
84
|
licenses:
|
56
85
|
- BSD-3-Cluase
|
57
86
|
metadata: {}
|
58
|
-
post_install_message:
|
87
|
+
post_install_message:
|
59
88
|
rdoc_options: []
|
60
89
|
require_paths:
|
61
90
|
- lib
|
62
91
|
required_ruby_version: !ruby/object:Gem::Requirement
|
63
92
|
requirements:
|
64
|
-
- -
|
93
|
+
- - ">="
|
65
94
|
- !ruby/object:Gem::Version
|
66
|
-
version:
|
95
|
+
version: 2.3.0
|
67
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
97
|
requirements:
|
69
|
-
- -
|
98
|
+
- - ">="
|
70
99
|
- !ruby/object:Gem::Version
|
71
100
|
version: '0'
|
72
101
|
requirements: []
|
73
|
-
|
74
|
-
|
75
|
-
signing_key:
|
102
|
+
rubygems_version: 3.1.4
|
103
|
+
signing_key:
|
76
104
|
specification_version: 4
|
77
105
|
summary: Jekyll plugin that generates API documentation pages based on RAML
|
78
106
|
test_files: []
|