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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ba89b0ef2aa8be26d016ebaca42365ecb399bc4f9c0b7488cd9f7e4236a6477
4
- data.tar.gz: 2227fdae56665d3e33738556a9453508c348cb75bd291fc669db5c910f5d9028
3
+ metadata.gz: 379d31b769f0d185b71695e2e84022303c7db8593f8514ece50ff643af76bc48
4
+ data.tar.gz: 60ae793d36db87efa0c18e131a3af1473ad118d4ef94269f60ef9aace0974899
5
5
  SHA512:
6
- metadata.gz: 358c7975157948df291891d35296d05bd7d4fdd9eff49307964e939db27155cc8a88f132f7e0fd7b51f0a6b9d95af69dd68cb88519b67f5c524e0ea39cc0e3fd
7
- data.tar.gz: 321b946e467965b95962b90a7d30a4becc1a04ded70ddeaaa66e2060f3b22b15246941c26a512ed1a336880af0e6de0fad778cef2b996bbab95e4b47535678af
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
+ )
@@ -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.1.0
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: