swagger_ui_engine_2 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +28 -0
  3. data/Rakefile +8 -0
  4. data/app/assets/config/swagger_ui_engine_2/manifest.js +3 -0
  5. data/app/assets/images/swagger_ui_engine_2/favicon-16x16.png +0 -0
  6. data/app/assets/images/swagger_ui_engine_2/favicon-32x32.png +0 -0
  7. data/app/assets/javascripts/swagger_ui_engine_2/application.js +1 -0
  8. data/app/assets/javascripts/swagger_ui_engine_2/swagger-ui-bundle.js +3 -0
  9. data/app/assets/javascripts/swagger_ui_engine_2/swagger-ui-bundle.js.map +1 -0
  10. data/app/assets/javascripts/swagger_ui_engine_2/swagger-ui-es-bundle-core.js +2 -0
  11. data/app/assets/javascripts/swagger_ui_engine_2/swagger-ui-es-bundle-core.js.map +1 -0
  12. data/app/assets/javascripts/swagger_ui_engine_2/swagger-ui-es-bundle.js +3 -0
  13. data/app/assets/javascripts/swagger_ui_engine_2/swagger-ui-es-bundle.js.map +1 -0
  14. data/app/assets/javascripts/swagger_ui_engine_2/swagger-ui-standalone-preset.js +3 -0
  15. data/app/assets/javascripts/swagger_ui_engine_2/swagger-ui-standalone-preset.js.map +1 -0
  16. data/app/assets/javascripts/swagger_ui_engine_2/swagger-ui.js +2 -0
  17. data/app/assets/stylesheets/swagger_ui_engine_2/application.css +35 -0
  18. data/app/assets/stylesheets/swagger_ui_engine_2/swagger-ui.css +4 -0
  19. data/app/assets/stylesheets/swagger_ui_engine_2/swagger-ui.css.map +1 -0
  20. data/app/assets/stylesheets/swagger_ui_engine_2/swagger-ui.js +2 -0
  21. data/app/assets/stylesheets/swagger_ui_engine_2/swagger-ui.js.map +1 -0
  22. data/app/controllers/swagger_ui_engine2/application_controller.rb +20 -0
  23. data/app/controllers/swagger_ui_engine2/swagger_docs_controller.rb +25 -0
  24. data/app/helpers/swagger_ui_engine_2/application_helper.rb +4 -0
  25. data/app/helpers/swagger_ui_engine_2/auth_config_parser.rb +19 -0
  26. data/app/helpers/swagger_ui_engine_2/config_parser.rb +26 -0
  27. data/app/views/layouts/swagger_ui_engine2/swagger.html.erb +17 -0
  28. data/app/views/swagger_ui_engine2/swagger_docs/index.html.erb +36 -0
  29. data/config/routes.rb +3 -0
  30. data/lib/swagger_ui_engine_2/configuration.rb +24 -0
  31. data/lib/swagger_ui_engine_2/defaults.rb +10 -0
  32. data/lib/swagger_ui_engine_2/engine.rb +5 -0
  33. data/lib/swagger_ui_engine_2/version.rb +3 -0
  34. data/lib/swagger_ui_engine_2.rb +19 -0
  35. data/lib/tasks/swaggerui_tasks.rake +4 -0
  36. metadata +104 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 2929291e3d0d75d2ceedefa94acfdaf5ff1249babd804206bc0532328fc23a95
4
+ data.tar.gz: 6f70517cdf51f4506ee7b4a90573d1f9de775aba7af339cdfb1f6caef71e8a50
5
+ SHA512:
6
+ metadata.gz: 9f0e6c065fd01bd3ad27fd4232366877c82737f321d6929d4cf7355c09f8dae75033da7b11477247954191a1750000e81849e749a71514ad218e7d882064de1e
7
+ data.tar.gz: 9545e7984acc4564b1b45752717478bed8523e40278d16e872eff47ec6631ea67ac254666a1d5cc4f077bdcec4579387ea9d3b10a9cc718127df59ab2f606885
data/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # SwaggerUiEngine2
2
+ Short description and motivation.
3
+
4
+ ## Usage
5
+ How to use my plugin.
6
+
7
+ ## Installation
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem "swaggerui"
12
+ ```
13
+
14
+ And then execute:
15
+ ```bash
16
+ $ bundle
17
+ ```
18
+
19
+ Or install it yourself as:
20
+ ```bash
21
+ $ gem install swaggerui
22
+ ```
23
+
24
+ ## Contributing
25
+ Contribution directions go here.
26
+
27
+ ## License
28
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ require "bundler/setup"
2
+
3
+ APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
4
+ load "rails/tasks/engine.rake"
5
+
6
+ load "rails/tasks/statistics.rake"
7
+
8
+ require "bundler/gem_tasks"
@@ -0,0 +1,3 @@
1
+ //= link_directory ../../stylesheets/swagger_ui_engine_2 .css
2
+ //= link_directory ../../javascripts/swagger_ui_engine_2 .js
3
+
@@ -0,0 +1 @@
1
+ //= require_tree .