swagger_yard 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +113 -0
  4. data/Rakefile +40 -0
  5. data/app/controllers/swagger_yard/application_controller.rb +4 -0
  6. data/app/controllers/swagger_yard/swagger_controller.rb +21 -0
  7. data/app/views/swagger_yard/swagger/doc.html.erb +80 -0
  8. data/config/routes.rb +6 -0
  9. data/lib/generators/swagger_yard/doc_generator.rb +11 -0
  10. data/lib/generators/swagger_yard/js_generator.rb +13 -0
  11. data/lib/swagger_yard.rb +113 -0
  12. data/lib/swagger_yard/api.rb +132 -0
  13. data/lib/swagger_yard/api_declaration.rb +42 -0
  14. data/lib/swagger_yard/cache.rb +50 -0
  15. data/lib/swagger_yard/engine.rb +18 -0
  16. data/lib/swagger_yard/local_dispatcher.rb +51 -0
  17. data/lib/swagger_yard/parameter.rb +9 -0
  18. data/lib/swagger_yard/parser.rb +35 -0
  19. data/lib/swagger_yard/resource_listing.rb +32 -0
  20. data/lib/swagger_yard/version.rb +3 -0
  21. data/public/swagger-ui/css/hightlight.default.css +135 -0
  22. data/public/swagger-ui/css/screen.css +1759 -0
  23. data/public/swagger-ui/images/logo_small.png +0 -0
  24. data/public/swagger-ui/images/pet_store_api.png +0 -0
  25. data/public/swagger-ui/images/throbber.gif +0 -0
  26. data/public/swagger-ui/images/wordnik_api.png +0 -0
  27. data/public/swagger-ui/lib/MD5.js +319 -0
  28. data/public/swagger-ui/lib/backbone-min.js +38 -0
  29. data/public/swagger-ui/lib/handlebars-1.0.rc.1.js +1920 -0
  30. data/public/swagger-ui/lib/highlight.7.3.pack.js +1 -0
  31. data/public/swagger-ui/lib/jquery-1.8.0.min.js +2 -0
  32. data/public/swagger-ui/lib/jquery.ba-bbq.min.js +18 -0
  33. data/public/swagger-ui/lib/jquery.slideto.min.js +1 -0
  34. data/public/swagger-ui/lib/jquery.wiggle.min.js +8 -0
  35. data/public/swagger-ui/lib/swagger.js +794 -0
  36. data/public/swagger-ui/lib/underscore-min.js +32 -0
  37. data/public/swagger-ui/swagger-ui.js +2090 -0
  38. data/public/swagger-ui/swagger-ui_org.js +2005 -0
  39. metadata +125 -0
metadata ADDED
@@ -0,0 +1,125 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: swagger_yard
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.5
5
+ platform: ruby
6
+ authors:
7
+ - chtrinh (Chris Trinh)
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-09-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 3.2.8
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 3.2.8
27
+ - !ruby/object:Gem::Dependency
28
+ name: sqlite3
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: yard
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: SwaggerYard API doc gem that uses YARD to parse the docs for a REST rails
56
+ API
57
+ email:
58
+ - chris@synctv.com
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - app/controllers/swagger_yard/application_controller.rb
64
+ - app/controllers/swagger_yard/swagger_controller.rb
65
+ - app/views/swagger_yard/swagger/doc.html.erb
66
+ - config/routes.rb
67
+ - public/swagger-ui/css/hightlight.default.css
68
+ - public/swagger-ui/css/screen.css
69
+ - public/swagger-ui/images/logo_small.png
70
+ - public/swagger-ui/images/pet_store_api.png
71
+ - public/swagger-ui/images/throbber.gif
72
+ - public/swagger-ui/images/wordnik_api.png
73
+ - public/swagger-ui/lib/backbone-min.js
74
+ - public/swagger-ui/lib/handlebars-1.0.rc.1.js
75
+ - public/swagger-ui/lib/highlight.7.3.pack.js
76
+ - public/swagger-ui/lib/jquery-1.8.0.min.js
77
+ - public/swagger-ui/lib/jquery.ba-bbq.min.js
78
+ - public/swagger-ui/lib/jquery.slideto.min.js
79
+ - public/swagger-ui/lib/jquery.wiggle.min.js
80
+ - public/swagger-ui/lib/MD5.js
81
+ - public/swagger-ui/lib/swagger.js
82
+ - public/swagger-ui/lib/underscore-min.js
83
+ - public/swagger-ui/swagger-ui.js
84
+ - public/swagger-ui/swagger-ui_org.js
85
+ - lib/generators/swagger_yard/doc_generator.rb
86
+ - lib/generators/swagger_yard/js_generator.rb
87
+ - lib/swagger_yard/api.rb
88
+ - lib/swagger_yard/api_declaration.rb
89
+ - lib/swagger_yard/cache.rb
90
+ - lib/swagger_yard/engine.rb
91
+ - lib/swagger_yard/local_dispatcher.rb
92
+ - lib/swagger_yard/parameter.rb
93
+ - lib/swagger_yard/parser.rb
94
+ - lib/swagger_yard/resource_listing.rb
95
+ - lib/swagger_yard/version.rb
96
+ - lib/swagger_yard.rb
97
+ - MIT-LICENSE
98
+ - Rakefile
99
+ - README.md
100
+ homepage: http://www.synctv.com
101
+ licenses:
102
+ - MIT
103
+ metadata: {}
104
+ post_install_message:
105
+ rdoc_options: []
106
+ require_paths:
107
+ - lib
108
+ required_ruby_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ! '>='
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ required_rubygems_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ requirements: []
119
+ rubyforge_project:
120
+ rubygems_version: 2.1.3
121
+ signing_key:
122
+ specification_version: 4
123
+ summary: SwaggerYard API doc through YARD
124
+ test_files: []
125
+ has_rdoc: