nexmo-oas-renderer 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. checksums.yaml +7 -0
  2. data/.env.example +1 -0
  3. data/.gitignore +5 -0
  4. data/CHANGELOG.md +2 -0
  5. data/CONTRIBUTING.md +46 -0
  6. data/Gemfile +4 -0
  7. data/Gemfile.lock +183 -0
  8. data/LICENSE.txt +21 -0
  9. data/README.md +73 -0
  10. data/Rakefile +2 -0
  11. data/bin/console +14 -0
  12. data/bin/setup +8 -0
  13. data/exe/nexmo-oas-renderer +5 -0
  14. data/lib/nexmo/oas/engine.rb +9 -0
  15. data/lib/nexmo/oas/renderer.rb +13 -0
  16. data/lib/nexmo/oas/renderer/app.rb +116 -0
  17. data/lib/nexmo/oas/renderer/config.ru +7 -0
  18. data/lib/nexmo/oas/renderer/config/code_languages.yml +138 -0
  19. data/lib/nexmo/oas/renderer/config/dynamic_content.yml +1 -0
  20. data/lib/nexmo/oas/renderer/config/redirects.yml +8 -0
  21. data/lib/nexmo/oas/renderer/constraints/open_api.rb +76 -0
  22. data/lib/nexmo/oas/renderer/constraints/redirector.rb +17 -0
  23. data/lib/nexmo/oas/renderer/decorators/response_parser_decorator.rb +55 -0
  24. data/lib/nexmo/oas/renderer/filters/anchor.rb +17 -0
  25. data/lib/nexmo/oas/renderer/filters/audio.rb +21 -0
  26. data/lib/nexmo/oas/renderer/filters/block_escape.rb +24 -0
  27. data/lib/nexmo/oas/renderer/filters/break.rb +13 -0
  28. data/lib/nexmo/oas/renderer/filters/code.rb +64 -0
  29. data/lib/nexmo/oas/renderer/filters/code_snippet.rb +194 -0
  30. data/lib/nexmo/oas/renderer/filters/code_snippet_list.rb +33 -0
  31. data/lib/nexmo/oas/renderer/filters/code_snippets.rb +158 -0
  32. data/lib/nexmo/oas/renderer/filters/collapsible.rb +27 -0
  33. data/lib/nexmo/oas/renderer/filters/columns.rb +50 -0
  34. data/lib/nexmo/oas/renderer/filters/concept_list.rb +33 -0
  35. data/lib/nexmo/oas/renderer/filters/dynamic_content.rb +30 -0
  36. data/lib/nexmo/oas/renderer/filters/external_link.rb +32 -0
  37. data/lib/nexmo/oas/renderer/filters/frontmatter.rb +14 -0
  38. data/lib/nexmo/oas/renderer/filters/heading.rb +61 -0
  39. data/lib/nexmo/oas/renderer/filters/icon.rb +22 -0
  40. data/lib/nexmo/oas/renderer/filters/indent.rb +20 -0
  41. data/lib/nexmo/oas/renderer/filters/inline_escape.rb +17 -0
  42. data/lib/nexmo/oas/renderer/filters/js_sequence_diagram.rb +21 -0
  43. data/lib/nexmo/oas/renderer/filters/label.rb +32 -0
  44. data/lib/nexmo/oas/renderer/filters/language.rb +15 -0
  45. data/lib/nexmo/oas/renderer/filters/markdown.rb +85 -0
  46. data/lib/nexmo/oas/renderer/filters/modal.rb +41 -0
  47. data/lib/nexmo/oas/renderer/filters/partial.rb +28 -0
  48. data/lib/nexmo/oas/renderer/filters/php_inliner.rb +15 -0
  49. data/lib/nexmo/oas/renderer/filters/screenshot.rb +26 -0
  50. data/lib/nexmo/oas/renderer/filters/tab.rb +250 -0
  51. data/lib/nexmo/oas/renderer/filters/techio.rb +24 -0
  52. data/lib/nexmo/oas/renderer/filters/tooltip.rb +22 -0
  53. data/lib/nexmo/oas/renderer/filters/tutorial_link.rb +27 -0
  54. data/lib/nexmo/oas/renderer/filters/tutorials.rb +28 -0
  55. data/lib/nexmo/oas/renderer/filters/unfreeze.rb +20 -0
  56. data/lib/nexmo/oas/renderer/filters/user_personalization.rb +43 -0
  57. data/lib/nexmo/oas/renderer/helpers/navigation.rb +66 -0
  58. data/lib/nexmo/oas/renderer/helpers/render.rb +24 -0
  59. data/lib/nexmo/oas/renderer/helpers/summary.rb +30 -0
  60. data/lib/nexmo/oas/renderer/helpers/url.rb +17 -0
  61. data/lib/nexmo/oas/renderer/lib/core_ext/string.rb +14 -0
  62. data/lib/nexmo/oas/renderer/lib/redcarpet.rb +14 -0
  63. data/lib/nexmo/oas/renderer/models/code_snippet.rb +75 -0
  64. data/lib/nexmo/oas/renderer/models/tutorial.rb +83 -0
  65. data/lib/nexmo/oas/renderer/pipelines/markdown_pipeline.rb +52 -0
  66. data/lib/nexmo/oas/renderer/presenters/api_specification.rb +42 -0
  67. data/lib/nexmo/oas/renderer/presenters/groups.rb +35 -0
  68. data/lib/nexmo/oas/renderer/presenters/navigation.rb +24 -0
  69. data/lib/nexmo/oas/renderer/presenters/open_api_specification.rb +68 -0
  70. data/lib/nexmo/oas/renderer/presenters/versions.rb +40 -0
  71. data/lib/nexmo/oas/renderer/public/assets/fonts/Lato-Black.woff +0 -0
  72. data/lib/nexmo/oas/renderer/public/assets/fonts/Lato-Black.woff2 +0 -0
  73. data/lib/nexmo/oas/renderer/public/assets/fonts/Lato-Heavy.woff +0 -0
  74. data/lib/nexmo/oas/renderer/public/assets/fonts/Lato-Heavy.woff2 +0 -0
  75. data/lib/nexmo/oas/renderer/public/assets/fonts/Lato-Regular.woff +0 -0
  76. data/lib/nexmo/oas/renderer/public/assets/fonts/Lato-Regular.woff2 +0 -0
  77. data/lib/nexmo/oas/renderer/public/assets/fonts/Lato-Semibold.woff +0 -0
  78. data/lib/nexmo/oas/renderer/public/assets/fonts/Lato-Semibold.woff2 +0 -0
  79. data/lib/nexmo/oas/renderer/public/assets/images/brands/android.svg +1 -0
  80. data/lib/nexmo/oas/renderer/public/assets/images/brands/curl.svg +1 -0
  81. data/lib/nexmo/oas/renderer/public/assets/images/brands/dotnet.svg +1 -0
  82. data/lib/nexmo/oas/renderer/public/assets/images/brands/ios.svg +1 -0
  83. data/lib/nexmo/oas/renderer/public/assets/images/brands/java.svg +1 -0
  84. data/lib/nexmo/oas/renderer/public/assets/images/brands/javascript.svg +1 -0
  85. data/lib/nexmo/oas/renderer/public/assets/images/brands/node.svg +1 -0
  86. data/lib/nexmo/oas/renderer/public/assets/images/brands/php.svg +1 -0
  87. data/lib/nexmo/oas/renderer/public/assets/images/brands/python.svg +11 -0
  88. data/lib/nexmo/oas/renderer/public/assets/images/brands/ruby.svg +1 -0
  89. data/lib/nexmo/oas/renderer/public/assets/images/lost.svg +37 -0
  90. data/lib/nexmo/oas/renderer/public/assets/javascripts/components/format.js +42 -0
  91. data/lib/nexmo/oas/renderer/public/assets/javascripts/volta.accordion.js +249 -0
  92. data/lib/nexmo/oas/renderer/public/assets/javascripts/volta.core.js +230 -0
  93. data/lib/nexmo/oas/renderer/public/assets/javascripts/volta.modal.js +300 -0
  94. data/lib/nexmo/oas/renderer/public/assets/javascripts/volta.tabs.js +139 -0
  95. data/lib/nexmo/oas/renderer/public/assets/stylesheets/api.css +95 -0
  96. data/lib/nexmo/oas/renderer/public/assets/stylesheets/buttons.css +80 -0
  97. data/lib/nexmo/oas/renderer/public/assets/stylesheets/core.css +79 -0
  98. data/lib/nexmo/oas/renderer/public/assets/stylesheets/mediaqueries.css +2 -0
  99. data/lib/nexmo/oas/renderer/public/assets/stylesheets/mediaqueries.css.map +7 -0
  100. data/lib/nexmo/oas/renderer/public/assets/stylesheets/navigation.css +79 -0
  101. data/lib/nexmo/oas/renderer/public/assets/stylesheets/nexmo.css +68 -0
  102. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/api.scss +147 -0
  103. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/core.scss +133 -0
  104. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/mediaqueries.scss +48 -0
  105. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/navigation.scss +106 -0
  106. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/nexmo.scss +61 -0
  107. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/style.scss +10 -0
  108. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/syntax.scss +63 -0
  109. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/typography.scss +248 -0
  110. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/variables.scss +91 -0
  111. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/volta-templates.scss +119 -0
  112. data/lib/nexmo/oas/renderer/public/assets/stylesheets/style.css +2 -0
  113. data/lib/nexmo/oas/renderer/public/assets/stylesheets/style.css.map +7 -0
  114. data/lib/nexmo/oas/renderer/public/assets/stylesheets/syntax.css +79 -0
  115. data/lib/nexmo/oas/renderer/public/assets/stylesheets/typography.css +86 -0
  116. data/lib/nexmo/oas/renderer/public/assets/stylesheets/variables.css +2 -0
  117. data/lib/nexmo/oas/renderer/public/assets/stylesheets/variables.css.map +7 -0
  118. data/lib/nexmo/oas/renderer/public/assets/stylesheets/volta-templates.css +2 -0
  119. data/lib/nexmo/oas/renderer/public/assets/stylesheets/volta-templates.css.map +7 -0
  120. data/lib/nexmo/oas/renderer/public/assets/stylesheets/volta.min.css +1 -0
  121. data/lib/nexmo/oas/renderer/public/assets/symbol/volta-icons.svg +1 -0
  122. data/lib/nexmo/oas/renderer/public/favicon.ico +0 -0
  123. data/lib/nexmo/oas/renderer/services/code_language_api.rb +98 -0
  124. data/lib/nexmo/oas/renderer/services/oas_parser.rb +21 -0
  125. data/lib/nexmo/oas/renderer/services/open_api_definition_resolver.rb +33 -0
  126. data/lib/nexmo/oas/renderer/version.rb +7 -0
  127. data/lib/nexmo/oas/renderer/views/api/show.erb +1 -0
  128. data/lib/nexmo/oas/renderer/views/code_snippets/_application_messages_dispatch.html.erb +9 -0
  129. data/lib/nexmo/oas/renderer/views/code_snippets/_application_rtc.html.erb +41 -0
  130. data/lib/nexmo/oas/renderer/views/code_snippets/_application_voice.html.erb +24 -0
  131. data/lib/nexmo/oas/renderer/views/code_snippets/_code_only.html.erb +6 -0
  132. data/lib/nexmo/oas/renderer/views/code_snippets/_configure_client.html.erb +20 -0
  133. data/lib/nexmo/oas/renderer/views/code_snippets/_dependencies.html.erb +11 -0
  134. data/lib/nexmo/oas/renderer/views/code_snippets/_write_code.html.erb +13 -0
  135. data/lib/nexmo/oas/renderer/views/code_snippets/list/plain.html.erb +10 -0
  136. data/lib/nexmo/oas/renderer/views/concepts/list/plain.html.erb +5 -0
  137. data/lib/nexmo/oas/renderer/views/layouts/_head.erb +4 -0
  138. data/lib/nexmo/oas/renderer/views/layouts/_javascripts.erb +9 -0
  139. data/lib/nexmo/oas/renderer/views/layouts/api.erb +23 -0
  140. data/lib/nexmo/oas/renderer/views/layouts/open_api.erb +10 -0
  141. data/lib/nexmo/oas/renderer/views/open_api/_callback.erb +5 -0
  142. data/lib/nexmo/oas/renderer/views/open_api/_callback_endpoint.erb +48 -0
  143. data/lib/nexmo/oas/renderer/views/open_api/_code_examples.erb +16 -0
  144. data/lib/nexmo/oas/renderer/views/open_api/_endpoint.erb +156 -0
  145. data/lib/nexmo/oas/renderer/views/open_api/_model.erb +38 -0
  146. data/lib/nexmo/oas/renderer/views/open_api/_navigation.erb +80 -0
  147. data/lib/nexmo/oas/renderer/views/open_api/_parameter_groups.erb +50 -0
  148. data/lib/nexmo/oas/renderer/views/open_api/_parameters.erb +165 -0
  149. data/lib/nexmo/oas/renderer/views/open_api/_response_description_parameters.erb +61 -0
  150. data/lib/nexmo/oas/renderer/views/open_api/_response_descriptions.erb +41 -0
  151. data/lib/nexmo/oas/renderer/views/open_api/show.erb +104 -0
  152. data/lib/nexmo/oas/renderer/views/static/404.erb +6 -0
  153. data/lib/nexmo/oas/renderer/views/tutorials/_index.html.erb +32 -0
  154. data/lib/nexmo/oas/renderer/views/tutorials/index.html.erb +7 -0
  155. data/lib/nexmo/oas/renderer/views/tutorials/list/plain.html.erb +5 -0
  156. data/lib/nexmo/oas/renderer/views/tutorials/show.html.erb +8 -0
  157. data/nexmo-oas-renderer.gemspec +49 -0
  158. metadata +399 -0
@@ -0,0 +1,6 @@
1
+ <center>
2
+ <img src="/assets/images/lost.svg" alt="" width="120">
3
+ <br><br>
4
+ <h2>This page can't be found!</h2>
5
+ <p>Click <a href="/">here</a> to go back to the start</p>
6
+ </center>
@@ -0,0 +1,32 @@
1
+ <div class="masonry" data-turbolinks="false">
2
+ <% @tutorials.each_with_index do |tutorial, index| %>
3
+ <div class="item">
4
+ <div class="Vlt-card Vlt-card--image Nxd-card--tutorials">
5
+ <div class="Vlt-card__image Vlt-card__image--tech Vlt-card__image--blue">
6
+ <a href="/<%= tutorial.products.join("") %>/tutorials/<%= @language %>" class="Vlt-badge Vlt-badge--large Nxd-tutorials__product Nxd-tutorials__product--<%= tutorial.subtitle %>"><%= tutorial.subtitle %></a>
7
+ </div>
8
+
9
+ <a href="<%= tutorial.path %>">
10
+ <div class="Vlt-card__content">
11
+ <h2>
12
+ <span><%= tutorial.title %></span>
13
+ </h2>
14
+ <p><%= tutorial.description %></p>
15
+ </a>
16
+
17
+ <% if tutorial.languages.count > 0 %>
18
+ <% tutorial.languages.each do |language| %>
19
+ <a href="<%= "#{@base_path}/#{language.downcase}" %>"><small class="Vlt-grey-darker Nxd-tutorials__language Nxd-tutorials__language--<%= language %>"><span>●</span> <%= language == "Objective_C" ? "Objective-C" : language %></small></a>
20
+ <% end %>
21
+ <% end %>
22
+
23
+ <div class="Vlt-card__cta">
24
+ <a href="<%= tutorial.path %>" class="Vlt-btn Vlt-btn--secondary">
25
+ Read more
26
+ </a>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ </div>
31
+ <% end %>
32
+ </div>
@@ -0,0 +1,7 @@
1
+ <h1>Tutorials</h1>
2
+
3
+ <p>Get started with Nexmo with tutorials that will walk you through building a variety of practical applications</p>
4
+
5
+ <br>
6
+
7
+ <%= render 'index' %>
@@ -0,0 +1,5 @@
1
+ <ul class="Vlt-list Vlt-list--simple">
2
+ <% @tutorials.each do |tutorial| %>
3
+ <li><a href="<%= tutorial.path %>"><%= tutorial.title %></a></li>
4
+ <% end %>
5
+ </ul>
@@ -0,0 +1,8 @@
1
+ <div class="Vlt-grid ">
2
+ <div class="Vlt-col Vlt-col--3of4 Nxd-tutorial">
3
+ <%= @content.html_safe %>
4
+ </div>
5
+ <div class="Vlt-col Vlt-col--1of4 Vlt-sidenav Nxd-tutorial-sidenav">
6
+ <%= navigation_from_content(content: @content) %>
7
+ </div>
8
+ </div>
@@ -0,0 +1,49 @@
1
+ lib = File.expand_path("../lib", __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "nexmo/oas/renderer/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "nexmo-oas-renderer"
7
+ spec.version = Nexmo::OAS::Renderer::VERSION
8
+ spec.authors = ["Fabian Rodriguez"]
9
+ spec.email = ["fabian.rodriguez@vonage.com"]
10
+
11
+ spec.summary = %q{OpenAPI Specification renderer.}
12
+ spec.homepage = "https://github.com/Nexmo/nexmo-oas-renderer"
13
+ spec.license = "MIT"
14
+
15
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
16
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
17
+ if spec.respond_to?(:metadata)
18
+ spec.metadata["homepage_uri"] = spec.homepage
19
+ spec.metadata["source_code_uri"] = "https://github.com/Nexmo/nexmo-oas-renderer"
20
+ else
21
+ raise "RubyGems 2.0 or newer is required to protect against " \
22
+ "public gem pushes."
23
+ end
24
+
25
+ # Specify which files should be added to the gem when it is released.
26
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
27
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
28
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
29
+ end
30
+ spec.bindir = "exe"
31
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
32
+ spec.require_paths = ["lib"]
33
+
34
+ spec.add_runtime_dependency 'sinatra', '~> 2.0'
35
+ spec.add_runtime_dependency 'shotgun', '~> 0.9'
36
+ spec.add_runtime_dependency 'rouge', '2.0.7'
37
+ spec.add_runtime_dependency 'oas_parser', '0.18.1'
38
+ spec.add_runtime_dependency 'neatjson', '~> 0.8'
39
+ spec.add_runtime_dependency 'activesupport', '~> 5.2'
40
+ spec.add_runtime_dependency 'banzai', '~> 0.1.2'
41
+ spec.add_runtime_dependency 'octicons_helper', '~> 8.2'
42
+ spec.add_runtime_dependency 'redcarpet', '3.4.0'
43
+ spec.add_runtime_dependency 'sass', '~> 3.1'
44
+ spec.add_runtime_dependency 'activemodel', '~> 5.2'
45
+
46
+ spec.add_development_dependency "bundler", "~> 2.0"
47
+ spec.add_development_dependency "rake", "~> 10.0"
48
+ spec.add_development_dependency "dotenv", "~> 2.7"
49
+ end
metadata ADDED
@@ -0,0 +1,399 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nexmo-oas-renderer
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Fabian Rodriguez
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-06-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: sinatra
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: shotgun
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.9'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.9'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rouge
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 2.0.7
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 2.0.7
55
+ - !ruby/object:Gem::Dependency
56
+ name: oas_parser
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 0.18.1
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '='
67
+ - !ruby/object:Gem::Version
68
+ version: 0.18.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: neatjson
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.8'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.8'
83
+ - !ruby/object:Gem::Dependency
84
+ name: activesupport
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '5.2'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '5.2'
97
+ - !ruby/object:Gem::Dependency
98
+ name: banzai
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.1.2
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.1.2
111
+ - !ruby/object:Gem::Dependency
112
+ name: octicons_helper
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '8.2'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '8.2'
125
+ - !ruby/object:Gem::Dependency
126
+ name: redcarpet
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '='
130
+ - !ruby/object:Gem::Version
131
+ version: 3.4.0
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '='
137
+ - !ruby/object:Gem::Version
138
+ version: 3.4.0
139
+ - !ruby/object:Gem::Dependency
140
+ name: sass
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '3.1'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '3.1'
153
+ - !ruby/object:Gem::Dependency
154
+ name: activemodel
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '5.2'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '5.2'
167
+ - !ruby/object:Gem::Dependency
168
+ name: bundler
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '2.0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '2.0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rake
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '10.0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '10.0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: dotenv
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: '2.7'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: '2.7'
209
+ description:
210
+ email:
211
+ - fabian.rodriguez@vonage.com
212
+ executables:
213
+ - nexmo-oas-renderer
214
+ extensions: []
215
+ extra_rdoc_files: []
216
+ files:
217
+ - ".env.example"
218
+ - ".gitignore"
219
+ - CHANGELOG.md
220
+ - CONTRIBUTING.md
221
+ - Gemfile
222
+ - Gemfile.lock
223
+ - LICENSE.txt
224
+ - README.md
225
+ - Rakefile
226
+ - bin/console
227
+ - bin/setup
228
+ - exe/nexmo-oas-renderer
229
+ - lib/nexmo/oas/engine.rb
230
+ - lib/nexmo/oas/renderer.rb
231
+ - lib/nexmo/oas/renderer/app.rb
232
+ - lib/nexmo/oas/renderer/config.ru
233
+ - lib/nexmo/oas/renderer/config/code_languages.yml
234
+ - lib/nexmo/oas/renderer/config/dynamic_content.yml
235
+ - lib/nexmo/oas/renderer/config/redirects.yml
236
+ - lib/nexmo/oas/renderer/constraints/open_api.rb
237
+ - lib/nexmo/oas/renderer/constraints/redirector.rb
238
+ - lib/nexmo/oas/renderer/decorators/response_parser_decorator.rb
239
+ - lib/nexmo/oas/renderer/filters/anchor.rb
240
+ - lib/nexmo/oas/renderer/filters/audio.rb
241
+ - lib/nexmo/oas/renderer/filters/block_escape.rb
242
+ - lib/nexmo/oas/renderer/filters/break.rb
243
+ - lib/nexmo/oas/renderer/filters/code.rb
244
+ - lib/nexmo/oas/renderer/filters/code_snippet.rb
245
+ - lib/nexmo/oas/renderer/filters/code_snippet_list.rb
246
+ - lib/nexmo/oas/renderer/filters/code_snippets.rb
247
+ - lib/nexmo/oas/renderer/filters/collapsible.rb
248
+ - lib/nexmo/oas/renderer/filters/columns.rb
249
+ - lib/nexmo/oas/renderer/filters/concept_list.rb
250
+ - lib/nexmo/oas/renderer/filters/dynamic_content.rb
251
+ - lib/nexmo/oas/renderer/filters/external_link.rb
252
+ - lib/nexmo/oas/renderer/filters/frontmatter.rb
253
+ - lib/nexmo/oas/renderer/filters/heading.rb
254
+ - lib/nexmo/oas/renderer/filters/icon.rb
255
+ - lib/nexmo/oas/renderer/filters/indent.rb
256
+ - lib/nexmo/oas/renderer/filters/inline_escape.rb
257
+ - lib/nexmo/oas/renderer/filters/js_sequence_diagram.rb
258
+ - lib/nexmo/oas/renderer/filters/label.rb
259
+ - lib/nexmo/oas/renderer/filters/language.rb
260
+ - lib/nexmo/oas/renderer/filters/markdown.rb
261
+ - lib/nexmo/oas/renderer/filters/modal.rb
262
+ - lib/nexmo/oas/renderer/filters/partial.rb
263
+ - lib/nexmo/oas/renderer/filters/php_inliner.rb
264
+ - lib/nexmo/oas/renderer/filters/screenshot.rb
265
+ - lib/nexmo/oas/renderer/filters/tab.rb
266
+ - lib/nexmo/oas/renderer/filters/techio.rb
267
+ - lib/nexmo/oas/renderer/filters/tooltip.rb
268
+ - lib/nexmo/oas/renderer/filters/tutorial_link.rb
269
+ - lib/nexmo/oas/renderer/filters/tutorials.rb
270
+ - lib/nexmo/oas/renderer/filters/unfreeze.rb
271
+ - lib/nexmo/oas/renderer/filters/user_personalization.rb
272
+ - lib/nexmo/oas/renderer/helpers/navigation.rb
273
+ - lib/nexmo/oas/renderer/helpers/render.rb
274
+ - lib/nexmo/oas/renderer/helpers/summary.rb
275
+ - lib/nexmo/oas/renderer/helpers/url.rb
276
+ - lib/nexmo/oas/renderer/lib/core_ext/string.rb
277
+ - lib/nexmo/oas/renderer/lib/redcarpet.rb
278
+ - lib/nexmo/oas/renderer/models/code_snippet.rb
279
+ - lib/nexmo/oas/renderer/models/tutorial.rb
280
+ - lib/nexmo/oas/renderer/pipelines/markdown_pipeline.rb
281
+ - lib/nexmo/oas/renderer/presenters/api_specification.rb
282
+ - lib/nexmo/oas/renderer/presenters/groups.rb
283
+ - lib/nexmo/oas/renderer/presenters/navigation.rb
284
+ - lib/nexmo/oas/renderer/presenters/open_api_specification.rb
285
+ - lib/nexmo/oas/renderer/presenters/versions.rb
286
+ - lib/nexmo/oas/renderer/public/assets/fonts/Lato-Black.woff
287
+ - lib/nexmo/oas/renderer/public/assets/fonts/Lato-Black.woff2
288
+ - lib/nexmo/oas/renderer/public/assets/fonts/Lato-Heavy.woff
289
+ - lib/nexmo/oas/renderer/public/assets/fonts/Lato-Heavy.woff2
290
+ - lib/nexmo/oas/renderer/public/assets/fonts/Lato-Regular.woff
291
+ - lib/nexmo/oas/renderer/public/assets/fonts/Lato-Regular.woff2
292
+ - lib/nexmo/oas/renderer/public/assets/fonts/Lato-Semibold.woff
293
+ - lib/nexmo/oas/renderer/public/assets/fonts/Lato-Semibold.woff2
294
+ - lib/nexmo/oas/renderer/public/assets/images/brands/android.svg
295
+ - lib/nexmo/oas/renderer/public/assets/images/brands/curl.svg
296
+ - lib/nexmo/oas/renderer/public/assets/images/brands/dotnet.svg
297
+ - lib/nexmo/oas/renderer/public/assets/images/brands/ios.svg
298
+ - lib/nexmo/oas/renderer/public/assets/images/brands/java.svg
299
+ - lib/nexmo/oas/renderer/public/assets/images/brands/javascript.svg
300
+ - lib/nexmo/oas/renderer/public/assets/images/brands/node.svg
301
+ - lib/nexmo/oas/renderer/public/assets/images/brands/php.svg
302
+ - lib/nexmo/oas/renderer/public/assets/images/brands/python.svg
303
+ - lib/nexmo/oas/renderer/public/assets/images/brands/ruby.svg
304
+ - lib/nexmo/oas/renderer/public/assets/images/lost.svg
305
+ - lib/nexmo/oas/renderer/public/assets/javascripts/components/format.js
306
+ - lib/nexmo/oas/renderer/public/assets/javascripts/volta.accordion.js
307
+ - lib/nexmo/oas/renderer/public/assets/javascripts/volta.core.js
308
+ - lib/nexmo/oas/renderer/public/assets/javascripts/volta.modal.js
309
+ - lib/nexmo/oas/renderer/public/assets/javascripts/volta.tabs.js
310
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/api.css
311
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/buttons.css
312
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/core.css
313
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/mediaqueries.css
314
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/mediaqueries.css.map
315
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/navigation.css
316
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/nexmo.css
317
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/api.scss
318
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/core.scss
319
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/mediaqueries.scss
320
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/navigation.scss
321
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/nexmo.scss
322
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/style.scss
323
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/syntax.scss
324
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/typography.scss
325
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/variables.scss
326
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/volta-templates.scss
327
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/style.css
328
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/style.css.map
329
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/syntax.css
330
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/typography.css
331
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/variables.css
332
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/variables.css.map
333
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/volta-templates.css
334
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/volta-templates.css.map
335
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/volta.min.css
336
+ - lib/nexmo/oas/renderer/public/assets/symbol/volta-icons.svg
337
+ - lib/nexmo/oas/renderer/public/favicon.ico
338
+ - lib/nexmo/oas/renderer/services/code_language_api.rb
339
+ - lib/nexmo/oas/renderer/services/oas_parser.rb
340
+ - lib/nexmo/oas/renderer/services/open_api_definition_resolver.rb
341
+ - lib/nexmo/oas/renderer/version.rb
342
+ - lib/nexmo/oas/renderer/views/api/show.erb
343
+ - lib/nexmo/oas/renderer/views/code_snippets/_application_messages_dispatch.html.erb
344
+ - lib/nexmo/oas/renderer/views/code_snippets/_application_rtc.html.erb
345
+ - lib/nexmo/oas/renderer/views/code_snippets/_application_voice.html.erb
346
+ - lib/nexmo/oas/renderer/views/code_snippets/_code_only.html.erb
347
+ - lib/nexmo/oas/renderer/views/code_snippets/_configure_client.html.erb
348
+ - lib/nexmo/oas/renderer/views/code_snippets/_dependencies.html.erb
349
+ - lib/nexmo/oas/renderer/views/code_snippets/_write_code.html.erb
350
+ - lib/nexmo/oas/renderer/views/code_snippets/list/plain.html.erb
351
+ - lib/nexmo/oas/renderer/views/concepts/list/plain.html.erb
352
+ - lib/nexmo/oas/renderer/views/layouts/_head.erb
353
+ - lib/nexmo/oas/renderer/views/layouts/_javascripts.erb
354
+ - lib/nexmo/oas/renderer/views/layouts/api.erb
355
+ - lib/nexmo/oas/renderer/views/layouts/open_api.erb
356
+ - lib/nexmo/oas/renderer/views/open_api/_callback.erb
357
+ - lib/nexmo/oas/renderer/views/open_api/_callback_endpoint.erb
358
+ - lib/nexmo/oas/renderer/views/open_api/_code_examples.erb
359
+ - lib/nexmo/oas/renderer/views/open_api/_endpoint.erb
360
+ - lib/nexmo/oas/renderer/views/open_api/_model.erb
361
+ - lib/nexmo/oas/renderer/views/open_api/_navigation.erb
362
+ - lib/nexmo/oas/renderer/views/open_api/_parameter_groups.erb
363
+ - lib/nexmo/oas/renderer/views/open_api/_parameters.erb
364
+ - lib/nexmo/oas/renderer/views/open_api/_response_description_parameters.erb
365
+ - lib/nexmo/oas/renderer/views/open_api/_response_descriptions.erb
366
+ - lib/nexmo/oas/renderer/views/open_api/show.erb
367
+ - lib/nexmo/oas/renderer/views/static/404.erb
368
+ - lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
369
+ - lib/nexmo/oas/renderer/views/tutorials/index.html.erb
370
+ - lib/nexmo/oas/renderer/views/tutorials/list/plain.html.erb
371
+ - lib/nexmo/oas/renderer/views/tutorials/show.html.erb
372
+ - nexmo-oas-renderer.gemspec
373
+ homepage: https://github.com/Nexmo/nexmo-oas-renderer
374
+ licenses:
375
+ - MIT
376
+ metadata:
377
+ homepage_uri: https://github.com/Nexmo/nexmo-oas-renderer
378
+ source_code_uri: https://github.com/Nexmo/nexmo-oas-renderer
379
+ post_install_message:
380
+ rdoc_options: []
381
+ require_paths:
382
+ - lib
383
+ required_ruby_version: !ruby/object:Gem::Requirement
384
+ requirements:
385
+ - - ">="
386
+ - !ruby/object:Gem::Version
387
+ version: '0'
388
+ required_rubygems_version: !ruby/object:Gem::Requirement
389
+ requirements:
390
+ - - ">="
391
+ - !ruby/object:Gem::Version
392
+ version: '0'
393
+ requirements: []
394
+ rubyforge_project:
395
+ rubygems_version: 2.7.6.2
396
+ signing_key:
397
+ specification_version: 4
398
+ summary: OpenAPI Specification renderer.
399
+ test_files: []