acos_jekyll_openapi_helper 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/start.rb +8 -0
- data/lib/acos_jekyll_openapi.rb +2 -2
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 379d31b769f0d185b71695e2e84022303c7db8593f8514ece50ff643af76bc48
|
4
|
+
data.tar.gz: 60ae793d36db87efa0c18e131a3af1473ad118d4ef94269f60ef9aace0974899
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f60c5bed27fb06a1f58d409bf558472c5bc62b5d13420b793a8df804152d951cd65d6ab565cc8162d15f4b5aa677e223b10764ada92218414b99b66e8b354c79
|
7
|
+
data.tar.gz: 53c6359dafde8abd8c34aa10b72c5285f19f9de4f7bbadb0deb06d98299f7ff8ee74100990407c390776f1450be4560f7c749306866a94a0c659cf4ffa66a7d8
|
data/bin/start.rb
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'acos_jekyll_openapi'
|
4
|
+
AcosOpenApiHelper.generate_pages_from_data(
|
5
|
+
"/mnt/c/code/github/Acos.Integration.Documentation/_data/swagger",
|
6
|
+
"/mnt/c/code/github/Acos.Integration.Documentation",
|
7
|
+
"/mnt/c/code/github/Acos.Integration.Documentation/pages/swagger"
|
8
|
+
)
|
data/lib/acos_jekyll_openapi.rb
CHANGED
@@ -63,7 +63,7 @@ class AcosOpenApiHelper::PageEngine
|
|
63
63
|
_path = path[0] #path of swagger method
|
64
64
|
_methods = @data['paths'][_path]
|
65
65
|
#puts "Path: %s has methods: %s " % [_path, _methods]
|
66
|
-
puts "Methods: %s" % _methods
|
66
|
+
# puts "Methods: %s" % _methods
|
67
67
|
puts "Path: %s" % [_path]
|
68
68
|
#Should not need this. yet...
|
69
69
|
# _methods.each do | _method |
|
@@ -173,7 +173,7 @@ end
|
|
173
173
|
|
174
174
|
class AcosOpenApiHelper::PageCreator
|
175
175
|
def initialize(path, basePath, output_path, swaggerfile, sidebar)
|
176
|
-
puts "Initialize intput %s, %s, %s, %s" % [path, output_path, swaggerfile, sidebar]
|
176
|
+
# puts "Initialize intput %s, %s, %s, %s" % [path, output_path, swaggerfile, sidebar]
|
177
177
|
@path = path
|
178
178
|
@output_path = output_path
|
179
179
|
@swaggerfile = swaggerfile
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acos_jekyll_openapi_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Acos AS
|
@@ -9,13 +9,28 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2019-05-23 00:00:00.000000000 Z
|
12
|
-
dependencies:
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: json
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.2'
|
13
27
|
description: A gem to generate page entries for jekyll sites
|
14
28
|
email: utvikling@acos.no
|
15
29
|
executables: []
|
16
30
|
extensions: []
|
17
31
|
extra_rdoc_files: []
|
18
32
|
files:
|
33
|
+
- bin/start.rb
|
19
34
|
- lib/acos_jekyll_openapi.rb
|
20
35
|
homepage: https://rubygems.org/gems/acos_jekyll_openapi_helper
|
21
36
|
licenses:
|