mount_doc 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. data/.gitignore +18 -0
  2. data/Gemfile +16 -0
  3. data/Guardfile +33 -0
  4. data/LICENSE +22 -0
  5. data/README.md +49 -0
  6. data/Rakefile +2 -0
  7. data/app/assets/stylesheets/mount_doc.css.scss +148 -0
  8. data/app/controllers/mount_doc/application_controller.rb +6 -0
  9. data/app/controllers/mount_doc/mount_doc_controller.rb +77 -0
  10. data/app/helpers/mount_doc/mount_doc_helper.rb +104 -0
  11. data/app/views/layouts/mount_doc.slim +55 -0
  12. data/app/views/mount_doc/mount_doc/action_doc.slim +57 -0
  13. data/app/views/mount_doc/mount_doc/controller_doc.slim +14 -0
  14. data/app/views/mount_doc/mount_doc/index.slim +1 -0
  15. data/app/views/mount_doc/mount_doc/not_found.slim +3 -0
  16. data/config/routes.rb +7 -0
  17. data/lib/mount_doc.rb +11 -0
  18. data/lib/mount_doc/config.rb +74 -0
  19. data/lib/mount_doc/document.rb +38 -0
  20. data/lib/mount_doc/rails.rb +6 -0
  21. data/lib/mount_doc/rails/engine.rb +10 -0
  22. data/lib/mount_doc/rails/generators.rb +5 -0
  23. data/lib/mount_doc/rails/generators/initialize_generator.rb +5 -0
  24. data/lib/mount_doc/rails/route_set.rb +19 -0
  25. data/lib/mount_doc/string_patch.rb +1 -0
  26. data/lib/mount_doc/version.rb +3 -0
  27. data/mount_doc.gemspec +23 -0
  28. data/spec/lib/mount_doc/config_spec.rb +73 -0
  29. data/spec/lib/mount_doc/document_spec.rb +17 -0
  30. data/spec/lib/mount_doc/rails/engine_spec.rb +7 -0
  31. data/spec/lib/mount_doc/rails/route_set_spec.rb +16 -0
  32. data/spec/lib/mount_doc/rails_spec.rb +16 -0
  33. data/spec/mock/rails_3.2.3/.gitignore +15 -0
  34. data/spec/mock/rails_3.2.3/Gemfile +40 -0
  35. data/spec/mock/rails_3.2.3/README.rdoc +261 -0
  36. data/spec/mock/rails_3.2.3/Rakefile +7 -0
  37. data/spec/mock/rails_3.2.3/app/assets/images/rails.png +0 -0
  38. data/spec/mock/rails_3.2.3/app/assets/javascripts/api/documents.js.coffee +3 -0
  39. data/spec/mock/rails_3.2.3/app/assets/javascripts/application.js +15 -0
  40. data/spec/mock/rails_3.2.3/app/assets/javascripts/users.js.coffee +3 -0
  41. data/spec/mock/rails_3.2.3/app/assets/stylesheets/api/documents.css.scss +3 -0
  42. data/spec/mock/rails_3.2.3/app/assets/stylesheets/application.css +13 -0
  43. data/spec/mock/rails_3.2.3/app/assets/stylesheets/scaffolds.css.scss +56 -0
  44. data/spec/mock/rails_3.2.3/app/assets/stylesheets/users.css.scss +3 -0
  45. data/spec/mock/rails_3.2.3/app/controllers/api/documents_controller.rb +121 -0
  46. data/spec/mock/rails_3.2.3/app/controllers/application_controller.rb +3 -0
  47. data/spec/mock/rails_3.2.3/app/controllers/users_controller.rb +83 -0
  48. data/spec/mock/rails_3.2.3/app/helpers/api/documents_helper.rb +2 -0
  49. data/spec/mock/rails_3.2.3/app/helpers/application_helper.rb +2 -0
  50. data/spec/mock/rails_3.2.3/app/helpers/users_helper.rb +2 -0
  51. data/spec/mock/rails_3.2.3/app/mailers/.gitkeep +0 -0
  52. data/spec/mock/rails_3.2.3/app/models/.gitkeep +0 -0
  53. data/spec/mock/rails_3.2.3/app/models/api.rb +5 -0
  54. data/spec/mock/rails_3.2.3/app/models/api/document.rb +3 -0
  55. data/spec/mock/rails_3.2.3/app/models/user.rb +3 -0
  56. data/spec/mock/rails_3.2.3/app/views/api/documents/_form.html.erb +17 -0
  57. data/spec/mock/rails_3.2.3/app/views/api/documents/edit.html.erb +6 -0
  58. data/spec/mock/rails_3.2.3/app/views/api/documents/index.html.erb +21 -0
  59. data/spec/mock/rails_3.2.3/app/views/api/documents/new.html.erb +5 -0
  60. data/spec/mock/rails_3.2.3/app/views/api/documents/show.html.erb +5 -0
  61. data/spec/mock/rails_3.2.3/app/views/layouts/application.html.erb +14 -0
  62. data/spec/mock/rails_3.2.3/app/views/users/_form.html.erb +17 -0
  63. data/spec/mock/rails_3.2.3/app/views/users/edit.html.erb +6 -0
  64. data/spec/mock/rails_3.2.3/app/views/users/index.html.erb +21 -0
  65. data/spec/mock/rails_3.2.3/app/views/users/new.html.erb +5 -0
  66. data/spec/mock/rails_3.2.3/app/views/users/show.html.erb +5 -0
  67. data/spec/mock/rails_3.2.3/config.ru +4 -0
  68. data/spec/mock/rails_3.2.3/config/application.rb +65 -0
  69. data/spec/mock/rails_3.2.3/config/boot.rb +6 -0
  70. data/spec/mock/rails_3.2.3/config/database.yml +25 -0
  71. data/spec/mock/rails_3.2.3/config/environment.rb +5 -0
  72. data/spec/mock/rails_3.2.3/config/environments/development.rb +38 -0
  73. data/spec/mock/rails_3.2.3/config/environments/production.rb +67 -0
  74. data/spec/mock/rails_3.2.3/config/environments/test.rb +37 -0
  75. data/spec/mock/rails_3.2.3/config/initializers/backtrace_silencers.rb +7 -0
  76. data/spec/mock/rails_3.2.3/config/initializers/inflections.rb +15 -0
  77. data/spec/mock/rails_3.2.3/config/initializers/mime_types.rb +5 -0
  78. data/spec/mock/rails_3.2.3/config/initializers/secret_token.rb +7 -0
  79. data/spec/mock/rails_3.2.3/config/initializers/session_store.rb +8 -0
  80. data/spec/mock/rails_3.2.3/config/initializers/wrap_parameters.rb +14 -0
  81. data/spec/mock/rails_3.2.3/config/locales/en.yml +5 -0
  82. data/spec/mock/rails_3.2.3/config/routes.rb +63 -0
  83. data/spec/mock/rails_3.2.3/db/migrate/20120423193431_create_users.rb +8 -0
  84. data/spec/mock/rails_3.2.3/db/migrate/20120426181820_create_api_documents.rb +8 -0
  85. data/spec/mock/rails_3.2.3/db/schema.rb +21 -0
  86. data/spec/mock/rails_3.2.3/db/seeds.rb +7 -0
  87. data/spec/mock/rails_3.2.3/doc/README_FOR_APP +2 -0
  88. data/spec/mock/rails_3.2.3/doc//343/201/206/343/202/223/343/201/223/343/201/227/343/201/237/343/201/204.rdoc +3 -0
  89. data/spec/mock/rails_3.2.3/lib/assets/.gitkeep +0 -0
  90. data/spec/mock/rails_3.2.3/lib/tasks/.gitkeep +0 -0
  91. data/spec/mock/rails_3.2.3/log/.gitkeep +0 -0
  92. data/spec/mock/rails_3.2.3/public/404.html +26 -0
  93. data/spec/mock/rails_3.2.3/public/422.html +26 -0
  94. data/spec/mock/rails_3.2.3/public/500.html +25 -0
  95. data/spec/mock/rails_3.2.3/public/favicon.ico +0 -0
  96. data/spec/mock/rails_3.2.3/public/index.html +241 -0
  97. data/spec/mock/rails_3.2.3/public/robots.txt +5 -0
  98. data/spec/mock/rails_3.2.3/script/rails +6 -0
  99. data/spec/mock/rails_3.2.3/vendor/assets/javascripts/.gitkeep +0 -0
  100. data/spec/mock/rails_3.2.3/vendor/assets/stylesheets/.gitkeep +0 -0
  101. data/spec/mock/rails_3.2.3/vendor/plugins/.gitkeep +0 -0
  102. data/spec/requests/mount_doc_request_spec.rb +34 -0
  103. data/spec/requests/users_request_spec.rb +10 -0
  104. data/spec/spec_helper.rb +34 -0
  105. metadata +313 -0
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ </div>
24
+ </body>
25
+ </html>
@@ -0,0 +1,241 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Ruby on Rails: Welcome aboard</title>
5
+ <style type="text/css" media="screen">
6
+ body {
7
+ margin: 0;
8
+ margin-bottom: 25px;
9
+ padding: 0;
10
+ background-color: #f0f0f0;
11
+ font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
12
+ font-size: 13px;
13
+ color: #333;
14
+ }
15
+
16
+ h1 {
17
+ font-size: 28px;
18
+ color: #000;
19
+ }
20
+
21
+ a {color: #03c}
22
+ a:hover {
23
+ background-color: #03c;
24
+ color: white;
25
+ text-decoration: none;
26
+ }
27
+
28
+
29
+ #page {
30
+ background-color: #f0f0f0;
31
+ width: 750px;
32
+ margin: 0;
33
+ margin-left: auto;
34
+ margin-right: auto;
35
+ }
36
+
37
+ #content {
38
+ float: left;
39
+ background-color: white;
40
+ border: 3px solid #aaa;
41
+ border-top: none;
42
+ padding: 25px;
43
+ width: 500px;
44
+ }
45
+
46
+ #sidebar {
47
+ float: right;
48
+ width: 175px;
49
+ }
50
+
51
+ #footer {
52
+ clear: both;
53
+ }
54
+
55
+ #header, #about, #getting-started {
56
+ padding-left: 75px;
57
+ padding-right: 30px;
58
+ }
59
+
60
+
61
+ #header {
62
+ background-image: url("assets/rails.png");
63
+ background-repeat: no-repeat;
64
+ background-position: top left;
65
+ height: 64px;
66
+ }
67
+ #header h1, #header h2 {margin: 0}
68
+ #header h2 {
69
+ color: #888;
70
+ font-weight: normal;
71
+ font-size: 16px;
72
+ }
73
+
74
+
75
+ #about h3 {
76
+ margin: 0;
77
+ margin-bottom: 10px;
78
+ font-size: 14px;
79
+ }
80
+
81
+ #about-content {
82
+ background-color: #ffd;
83
+ border: 1px solid #fc0;
84
+ margin-left: -55px;
85
+ margin-right: -10px;
86
+ }
87
+ #about-content table {
88
+ margin-top: 10px;
89
+ margin-bottom: 10px;
90
+ font-size: 11px;
91
+ border-collapse: collapse;
92
+ }
93
+ #about-content td {
94
+ padding: 10px;
95
+ padding-top: 3px;
96
+ padding-bottom: 3px;
97
+ }
98
+ #about-content td.name {color: #555}
99
+ #about-content td.value {color: #000}
100
+
101
+ #about-content ul {
102
+ padding: 0;
103
+ list-style-type: none;
104
+ }
105
+
106
+ #about-content.failure {
107
+ background-color: #fcc;
108
+ border: 1px solid #f00;
109
+ }
110
+ #about-content.failure p {
111
+ margin: 0;
112
+ padding: 10px;
113
+ }
114
+
115
+
116
+ #getting-started {
117
+ border-top: 1px solid #ccc;
118
+ margin-top: 25px;
119
+ padding-top: 15px;
120
+ }
121
+ #getting-started h1 {
122
+ margin: 0;
123
+ font-size: 20px;
124
+ }
125
+ #getting-started h2 {
126
+ margin: 0;
127
+ font-size: 14px;
128
+ font-weight: normal;
129
+ color: #333;
130
+ margin-bottom: 25px;
131
+ }
132
+ #getting-started ol {
133
+ margin-left: 0;
134
+ padding-left: 0;
135
+ }
136
+ #getting-started li {
137
+ font-size: 18px;
138
+ color: #888;
139
+ margin-bottom: 25px;
140
+ }
141
+ #getting-started li h2 {
142
+ margin: 0;
143
+ font-weight: normal;
144
+ font-size: 18px;
145
+ color: #333;
146
+ }
147
+ #getting-started li p {
148
+ color: #555;
149
+ font-size: 13px;
150
+ }
151
+
152
+
153
+ #sidebar ul {
154
+ margin-left: 0;
155
+ padding-left: 0;
156
+ }
157
+ #sidebar ul h3 {
158
+ margin-top: 25px;
159
+ font-size: 16px;
160
+ padding-bottom: 10px;
161
+ border-bottom: 1px solid #ccc;
162
+ }
163
+ #sidebar li {
164
+ list-style-type: none;
165
+ }
166
+ #sidebar ul.links li {
167
+ margin-bottom: 5px;
168
+ }
169
+
170
+ .filename {
171
+ font-style: italic;
172
+ }
173
+ </style>
174
+ <script type="text/javascript">
175
+ function about() {
176
+ info = document.getElementById('about-content');
177
+ if (window.XMLHttpRequest)
178
+ { xhr = new XMLHttpRequest(); }
179
+ else
180
+ { xhr = new ActiveXObject("Microsoft.XMLHTTP"); }
181
+ xhr.open("GET","rails/info/properties",false);
182
+ xhr.send("");
183
+ info.innerHTML = xhr.responseText;
184
+ info.style.display = 'block'
185
+ }
186
+ </script>
187
+ </head>
188
+ <body>
189
+ <div id="page">
190
+ <div id="sidebar">
191
+ <ul id="sidebar-items">
192
+ <li>
193
+ <h3>Browse the documentation</h3>
194
+ <ul class="links">
195
+ <li><a href="http://guides.rubyonrails.org/">Rails Guides</a></li>
196
+ <li><a href="http://api.rubyonrails.org/">Rails API</a></li>
197
+ <li><a href="http://www.ruby-doc.org/core/">Ruby core</a></li>
198
+ <li><a href="http://www.ruby-doc.org/stdlib/">Ruby standard library</a></li>
199
+ </ul>
200
+ </li>
201
+ </ul>
202
+ </div>
203
+
204
+ <div id="content">
205
+ <div id="header">
206
+ <h1>Welcome aboard</h1>
207
+ <h2>You&rsquo;re riding Ruby on Rails!</h2>
208
+ </div>
209
+
210
+ <div id="about">
211
+ <h3><a href="rails/info/properties" onclick="about(); return false">About your application&rsquo;s environment</a></h3>
212
+ <div id="about-content" style="display: none"></div>
213
+ </div>
214
+
215
+ <div id="getting-started">
216
+ <h1>Getting started</h1>
217
+ <h2>Here&rsquo;s how to get rolling:</h2>
218
+
219
+ <ol>
220
+ <li>
221
+ <h2>Use <code>rails generate</code> to create your models and controllers</h2>
222
+ <p>To see all available options, run it without parameters.</p>
223
+ </li>
224
+
225
+ <li>
226
+ <h2>Set up a default route and remove <span class="filename">public/index.html</span></h2>
227
+ <p>Routes are set up in <span class="filename">config/routes.rb</span>.</p>
228
+ </li>
229
+
230
+ <li>
231
+ <h2>Create your database</h2>
232
+ <p>Run <code>rake db:create</code> to create your database. If you're not using SQLite (the default), edit <span class="filename">config/database.yml</span> with your username and password.</p>
233
+ </li>
234
+ </ol>
235
+ </div>
236
+ </div>
237
+
238
+ <div id="footer">&nbsp;</div>
239
+ </div>
240
+ </body>
241
+ </html>
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-Agent: *
5
+ # Disallow: /
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,34 @@
1
+ require 'spec_helper'
2
+
3
+ describe MountDoc::MountDocController do
4
+ describe 'GET /doc' do
5
+ before { get '/doc' }
6
+ it "status code 200" do
7
+ response.should be_success
8
+ response.status.should == 200
9
+ end
10
+
11
+ it "rendered README" do
12
+ response.body.should include('README')
13
+ response.body.should include(GitHub::Markup.render(File.join(
14
+ Rails.root,
15
+ 'README.rdoc'
16
+ )))
17
+ end
18
+ end
19
+
20
+ describe "GET /doc/files/README_FOR_APP" do
21
+ before { get '/doc/files/README_FOR_APP' }
22
+ it "status code 200" do
23
+ response.should be_success
24
+ response.status.should == 200
25
+ end
26
+
27
+ it "renderd doc/README_FOR_APP" do
28
+ response.body.should include(GitHub::Markup.render(File.join(
29
+ Rails.root,
30
+ 'doc/README_FOR_APP'
31
+ )))
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,10 @@
1
+ require 'spec_helper'
2
+
3
+ describe UsersController do
4
+ describe "GET /users" do
5
+ it "status code 200" do
6
+ get '/users'
7
+ response.status.should == 200
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,34 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+ require 'spork'
4
+ require 'rails'
5
+
6
+ if RUBY_PLATFORM.downcase.include?("darwin")
7
+ require 'growl'
8
+ end
9
+
10
+ Spork.prefork do
11
+ ENV['RAILS_VERSION'] ||= Rails.version
12
+
13
+ ENV['RAILS_ENV'] ||= 'test'
14
+ require File.expand_path(
15
+ "../mock/rails_#{ENV['RAILS_VERSION']}/config/environment",
16
+ __FILE__)
17
+ require 'rspec/rails'
18
+ require 'rspec/autorun'
19
+
20
+ RSpec.configure do | config |
21
+ config.include ActiveSupport::Testing::Assertions
22
+ end
23
+ end
24
+
25
+ Spork.each_run do
26
+ if Spork.using_spork?
27
+ Rails.application.reload_routes!
28
+
29
+ ActiveSupport::DescendantsTracker.clear
30
+ ActiveSupport::Dependencies.clear
31
+
32
+ ActiveRecord::Base.instantiate_observers
33
+ end
34
+ end
metadata ADDED
@@ -0,0 +1,313 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mount_doc
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Sho Kusano
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-05-11 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '3.2'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.2'
30
+ - !ruby/object:Gem::Dependency
31
+ name: github-markup
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '0.7'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '0.7'
46
+ - !ruby/object:Gem::Dependency
47
+ name: slim
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '1.2'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.2'
62
+ - !ruby/object:Gem::Dependency
63
+ name: yard
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: '0.8'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '0.8'
78
+ - !ruby/object:Gem::Dependency
79
+ name: coderay
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: '1.0'
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: '1.0'
94
+ description: Supporting Build APIs on Rails
95
+ email:
96
+ - rosylilly@aduca.org
97
+ executables: []
98
+ extensions: []
99
+ extra_rdoc_files: []
100
+ files:
101
+ - .gitignore
102
+ - Gemfile
103
+ - Guardfile
104
+ - LICENSE
105
+ - README.md
106
+ - Rakefile
107
+ - app/assets/stylesheets/mount_doc.css.scss
108
+ - app/controllers/mount_doc/application_controller.rb
109
+ - app/controllers/mount_doc/mount_doc_controller.rb
110
+ - app/helpers/mount_doc/mount_doc_helper.rb
111
+ - app/views/layouts/mount_doc.slim
112
+ - app/views/mount_doc/mount_doc/action_doc.slim
113
+ - app/views/mount_doc/mount_doc/controller_doc.slim
114
+ - app/views/mount_doc/mount_doc/index.slim
115
+ - app/views/mount_doc/mount_doc/not_found.slim
116
+ - config/routes.rb
117
+ - lib/mount_doc.rb
118
+ - lib/mount_doc/config.rb
119
+ - lib/mount_doc/document.rb
120
+ - lib/mount_doc/rails.rb
121
+ - lib/mount_doc/rails/engine.rb
122
+ - lib/mount_doc/rails/generators.rb
123
+ - lib/mount_doc/rails/generators/initialize_generator.rb
124
+ - lib/mount_doc/rails/route_set.rb
125
+ - lib/mount_doc/string_patch.rb
126
+ - lib/mount_doc/version.rb
127
+ - mount_doc.gemspec
128
+ - spec/lib/mount_doc/config_spec.rb
129
+ - spec/lib/mount_doc/document_spec.rb
130
+ - spec/lib/mount_doc/rails/engine_spec.rb
131
+ - spec/lib/mount_doc/rails/route_set_spec.rb
132
+ - spec/lib/mount_doc/rails_spec.rb
133
+ - spec/mock/rails_3.2.3/.gitignore
134
+ - spec/mock/rails_3.2.3/Gemfile
135
+ - spec/mock/rails_3.2.3/README.rdoc
136
+ - spec/mock/rails_3.2.3/Rakefile
137
+ - spec/mock/rails_3.2.3/app/assets/images/rails.png
138
+ - spec/mock/rails_3.2.3/app/assets/javascripts/api/documents.js.coffee
139
+ - spec/mock/rails_3.2.3/app/assets/javascripts/application.js
140
+ - spec/mock/rails_3.2.3/app/assets/javascripts/users.js.coffee
141
+ - spec/mock/rails_3.2.3/app/assets/stylesheets/api/documents.css.scss
142
+ - spec/mock/rails_3.2.3/app/assets/stylesheets/application.css
143
+ - spec/mock/rails_3.2.3/app/assets/stylesheets/scaffolds.css.scss
144
+ - spec/mock/rails_3.2.3/app/assets/stylesheets/users.css.scss
145
+ - spec/mock/rails_3.2.3/app/controllers/api/documents_controller.rb
146
+ - spec/mock/rails_3.2.3/app/controllers/application_controller.rb
147
+ - spec/mock/rails_3.2.3/app/controllers/users_controller.rb
148
+ - spec/mock/rails_3.2.3/app/helpers/api/documents_helper.rb
149
+ - spec/mock/rails_3.2.3/app/helpers/application_helper.rb
150
+ - spec/mock/rails_3.2.3/app/helpers/users_helper.rb
151
+ - spec/mock/rails_3.2.3/app/mailers/.gitkeep
152
+ - spec/mock/rails_3.2.3/app/models/.gitkeep
153
+ - spec/mock/rails_3.2.3/app/models/api.rb
154
+ - spec/mock/rails_3.2.3/app/models/api/document.rb
155
+ - spec/mock/rails_3.2.3/app/models/user.rb
156
+ - spec/mock/rails_3.2.3/app/views/api/documents/_form.html.erb
157
+ - spec/mock/rails_3.2.3/app/views/api/documents/edit.html.erb
158
+ - spec/mock/rails_3.2.3/app/views/api/documents/index.html.erb
159
+ - spec/mock/rails_3.2.3/app/views/api/documents/new.html.erb
160
+ - spec/mock/rails_3.2.3/app/views/api/documents/show.html.erb
161
+ - spec/mock/rails_3.2.3/app/views/layouts/application.html.erb
162
+ - spec/mock/rails_3.2.3/app/views/users/_form.html.erb
163
+ - spec/mock/rails_3.2.3/app/views/users/edit.html.erb
164
+ - spec/mock/rails_3.2.3/app/views/users/index.html.erb
165
+ - spec/mock/rails_3.2.3/app/views/users/new.html.erb
166
+ - spec/mock/rails_3.2.3/app/views/users/show.html.erb
167
+ - spec/mock/rails_3.2.3/config.ru
168
+ - spec/mock/rails_3.2.3/config/application.rb
169
+ - spec/mock/rails_3.2.3/config/boot.rb
170
+ - spec/mock/rails_3.2.3/config/database.yml
171
+ - spec/mock/rails_3.2.3/config/environment.rb
172
+ - spec/mock/rails_3.2.3/config/environments/development.rb
173
+ - spec/mock/rails_3.2.3/config/environments/production.rb
174
+ - spec/mock/rails_3.2.3/config/environments/test.rb
175
+ - spec/mock/rails_3.2.3/config/initializers/backtrace_silencers.rb
176
+ - spec/mock/rails_3.2.3/config/initializers/inflections.rb
177
+ - spec/mock/rails_3.2.3/config/initializers/mime_types.rb
178
+ - spec/mock/rails_3.2.3/config/initializers/secret_token.rb
179
+ - spec/mock/rails_3.2.3/config/initializers/session_store.rb
180
+ - spec/mock/rails_3.2.3/config/initializers/wrap_parameters.rb
181
+ - spec/mock/rails_3.2.3/config/locales/en.yml
182
+ - spec/mock/rails_3.2.3/config/routes.rb
183
+ - spec/mock/rails_3.2.3/db/migrate/20120423193431_create_users.rb
184
+ - spec/mock/rails_3.2.3/db/migrate/20120426181820_create_api_documents.rb
185
+ - spec/mock/rails_3.2.3/db/schema.rb
186
+ - spec/mock/rails_3.2.3/db/seeds.rb
187
+ - spec/mock/rails_3.2.3/doc/README_FOR_APP
188
+ - spec/mock/rails_3.2.3/doc/うんこしたい.rdoc
189
+ - spec/mock/rails_3.2.3/lib/assets/.gitkeep
190
+ - spec/mock/rails_3.2.3/lib/tasks/.gitkeep
191
+ - spec/mock/rails_3.2.3/log/.gitkeep
192
+ - spec/mock/rails_3.2.3/public/404.html
193
+ - spec/mock/rails_3.2.3/public/422.html
194
+ - spec/mock/rails_3.2.3/public/500.html
195
+ - spec/mock/rails_3.2.3/public/favicon.ico
196
+ - spec/mock/rails_3.2.3/public/index.html
197
+ - spec/mock/rails_3.2.3/public/robots.txt
198
+ - spec/mock/rails_3.2.3/script/rails
199
+ - spec/mock/rails_3.2.3/vendor/assets/javascripts/.gitkeep
200
+ - spec/mock/rails_3.2.3/vendor/assets/stylesheets/.gitkeep
201
+ - spec/mock/rails_3.2.3/vendor/plugins/.gitkeep
202
+ - spec/requests/mount_doc_request_spec.rb
203
+ - spec/requests/users_request_spec.rb
204
+ - spec/spec_helper.rb
205
+ homepage: https://github.com/rosylilly/mount_doc
206
+ licenses: []
207
+ post_install_message:
208
+ rdoc_options: []
209
+ require_paths:
210
+ - lib
211
+ required_ruby_version: !ruby/object:Gem::Requirement
212
+ none: false
213
+ requirements:
214
+ - - ! '>='
215
+ - !ruby/object:Gem::Version
216
+ version: '0'
217
+ segments:
218
+ - 0
219
+ hash: 352048401750777844
220
+ required_rubygems_version: !ruby/object:Gem::Requirement
221
+ none: false
222
+ requirements:
223
+ - - ! '>='
224
+ - !ruby/object:Gem::Version
225
+ version: '0'
226
+ segments:
227
+ - 0
228
+ hash: 352048401750777844
229
+ requirements: []
230
+ rubyforge_project:
231
+ rubygems_version: 1.8.22
232
+ signing_key:
233
+ specification_version: 3
234
+ summary: Railsで書かれたアクションにコメントを書くと、動的にドキュメントを生成し、その結果をRailsアプリにマウントする
235
+ test_files:
236
+ - spec/lib/mount_doc/config_spec.rb
237
+ - spec/lib/mount_doc/document_spec.rb
238
+ - spec/lib/mount_doc/rails/engine_spec.rb
239
+ - spec/lib/mount_doc/rails/route_set_spec.rb
240
+ - spec/lib/mount_doc/rails_spec.rb
241
+ - spec/mock/rails_3.2.3/.gitignore
242
+ - spec/mock/rails_3.2.3/Gemfile
243
+ - spec/mock/rails_3.2.3/README.rdoc
244
+ - spec/mock/rails_3.2.3/Rakefile
245
+ - spec/mock/rails_3.2.3/app/assets/images/rails.png
246
+ - spec/mock/rails_3.2.3/app/assets/javascripts/api/documents.js.coffee
247
+ - spec/mock/rails_3.2.3/app/assets/javascripts/application.js
248
+ - spec/mock/rails_3.2.3/app/assets/javascripts/users.js.coffee
249
+ - spec/mock/rails_3.2.3/app/assets/stylesheets/api/documents.css.scss
250
+ - spec/mock/rails_3.2.3/app/assets/stylesheets/application.css
251
+ - spec/mock/rails_3.2.3/app/assets/stylesheets/scaffolds.css.scss
252
+ - spec/mock/rails_3.2.3/app/assets/stylesheets/users.css.scss
253
+ - spec/mock/rails_3.2.3/app/controllers/api/documents_controller.rb
254
+ - spec/mock/rails_3.2.3/app/controllers/application_controller.rb
255
+ - spec/mock/rails_3.2.3/app/controllers/users_controller.rb
256
+ - spec/mock/rails_3.2.3/app/helpers/api/documents_helper.rb
257
+ - spec/mock/rails_3.2.3/app/helpers/application_helper.rb
258
+ - spec/mock/rails_3.2.3/app/helpers/users_helper.rb
259
+ - spec/mock/rails_3.2.3/app/mailers/.gitkeep
260
+ - spec/mock/rails_3.2.3/app/models/.gitkeep
261
+ - spec/mock/rails_3.2.3/app/models/api.rb
262
+ - spec/mock/rails_3.2.3/app/models/api/document.rb
263
+ - spec/mock/rails_3.2.3/app/models/user.rb
264
+ - spec/mock/rails_3.2.3/app/views/api/documents/_form.html.erb
265
+ - spec/mock/rails_3.2.3/app/views/api/documents/edit.html.erb
266
+ - spec/mock/rails_3.2.3/app/views/api/documents/index.html.erb
267
+ - spec/mock/rails_3.2.3/app/views/api/documents/new.html.erb
268
+ - spec/mock/rails_3.2.3/app/views/api/documents/show.html.erb
269
+ - spec/mock/rails_3.2.3/app/views/layouts/application.html.erb
270
+ - spec/mock/rails_3.2.3/app/views/users/_form.html.erb
271
+ - spec/mock/rails_3.2.3/app/views/users/edit.html.erb
272
+ - spec/mock/rails_3.2.3/app/views/users/index.html.erb
273
+ - spec/mock/rails_3.2.3/app/views/users/new.html.erb
274
+ - spec/mock/rails_3.2.3/app/views/users/show.html.erb
275
+ - spec/mock/rails_3.2.3/config.ru
276
+ - spec/mock/rails_3.2.3/config/application.rb
277
+ - spec/mock/rails_3.2.3/config/boot.rb
278
+ - spec/mock/rails_3.2.3/config/database.yml
279
+ - spec/mock/rails_3.2.3/config/environment.rb
280
+ - spec/mock/rails_3.2.3/config/environments/development.rb
281
+ - spec/mock/rails_3.2.3/config/environments/production.rb
282
+ - spec/mock/rails_3.2.3/config/environments/test.rb
283
+ - spec/mock/rails_3.2.3/config/initializers/backtrace_silencers.rb
284
+ - spec/mock/rails_3.2.3/config/initializers/inflections.rb
285
+ - spec/mock/rails_3.2.3/config/initializers/mime_types.rb
286
+ - spec/mock/rails_3.2.3/config/initializers/secret_token.rb
287
+ - spec/mock/rails_3.2.3/config/initializers/session_store.rb
288
+ - spec/mock/rails_3.2.3/config/initializers/wrap_parameters.rb
289
+ - spec/mock/rails_3.2.3/config/locales/en.yml
290
+ - spec/mock/rails_3.2.3/config/routes.rb
291
+ - spec/mock/rails_3.2.3/db/migrate/20120423193431_create_users.rb
292
+ - spec/mock/rails_3.2.3/db/migrate/20120426181820_create_api_documents.rb
293
+ - spec/mock/rails_3.2.3/db/schema.rb
294
+ - spec/mock/rails_3.2.3/db/seeds.rb
295
+ - spec/mock/rails_3.2.3/doc/README_FOR_APP
296
+ - spec/mock/rails_3.2.3/doc/うんこしたい.rdoc
297
+ - spec/mock/rails_3.2.3/lib/assets/.gitkeep
298
+ - spec/mock/rails_3.2.3/lib/tasks/.gitkeep
299
+ - spec/mock/rails_3.2.3/log/.gitkeep
300
+ - spec/mock/rails_3.2.3/public/404.html
301
+ - spec/mock/rails_3.2.3/public/422.html
302
+ - spec/mock/rails_3.2.3/public/500.html
303
+ - spec/mock/rails_3.2.3/public/favicon.ico
304
+ - spec/mock/rails_3.2.3/public/index.html
305
+ - spec/mock/rails_3.2.3/public/robots.txt
306
+ - spec/mock/rails_3.2.3/script/rails
307
+ - spec/mock/rails_3.2.3/vendor/assets/javascripts/.gitkeep
308
+ - spec/mock/rails_3.2.3/vendor/assets/stylesheets/.gitkeep
309
+ - spec/mock/rails_3.2.3/vendor/plugins/.gitkeep
310
+ - spec/requests/mount_doc_request_spec.rb
311
+ - spec/requests/users_request_spec.rb
312
+ - spec/spec_helper.rb
313
+ has_rdoc: