filesystem-explorer 0.0.2

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 (53) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +40 -0
  4. data/app/assets/javascripts/filesystem_explorer/application.js +15 -0
  5. data/app/assets/stylesheets/filesystem_explorer/application.css +13 -0
  6. data/app/controllers/filesystem_explorer/application_controller.rb +53 -0
  7. data/app/helpers/filesystem_explorer/application_helper.rb +21 -0
  8. data/app/views/filesystem_explorer/application/_directory.html.erb +6 -0
  9. data/app/views/filesystem_explorer/application/_file.html.erb +6 -0
  10. data/app/views/filesystem_explorer/application/index.html.erb +28 -0
  11. data/app/views/filesystem_explorer/application/not_found.html.erb +15 -0
  12. data/config/routes.rb +5 -0
  13. data/lib/filesystem-explorer.rb +8 -0
  14. data/lib/filesystem_explorer/engine.rb +5 -0
  15. data/lib/filesystem_explorer/filesystem_item.rb +168 -0
  16. data/lib/filesystem_explorer/filesystem_route_options.rb +13 -0
  17. data/lib/filesystem_explorer/router.rb +51 -0
  18. data/lib/filesystem_explorer/version.rb +3 -0
  19. data/lib/tasks/filesystem_explorer_tasks.rake +4 -0
  20. data/test/dummy/README.rdoc +261 -0
  21. data/test/dummy/Rakefile +7 -0
  22. data/test/dummy/app/assets/javascripts/application.js +15 -0
  23. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  24. data/test/dummy/app/controllers/application_controller.rb +3 -0
  25. data/test/dummy/app/helpers/application_helper.rb +2 -0
  26. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  27. data/test/dummy/config/application.rb +59 -0
  28. data/test/dummy/config/boot.rb +10 -0
  29. data/test/dummy/config/database.yml +25 -0
  30. data/test/dummy/config/environment.rb +5 -0
  31. data/test/dummy/config/environments/development.rb +37 -0
  32. data/test/dummy/config/environments/production.rb +67 -0
  33. data/test/dummy/config/environments/test.rb +37 -0
  34. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  35. data/test/dummy/config/initializers/inflections.rb +15 -0
  36. data/test/dummy/config/initializers/mime_types.rb +5 -0
  37. data/test/dummy/config/initializers/secret_token.rb +7 -0
  38. data/test/dummy/config/initializers/session_store.rb +8 -0
  39. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  40. data/test/dummy/config/locales/en.yml +5 -0
  41. data/test/dummy/config/routes.rb +4 -0
  42. data/test/dummy/config.ru +4 -0
  43. data/test/dummy/db/development.sqlite3 +0 -0
  44. data/test/dummy/log/development.log +254 -0
  45. data/test/dummy/public/404.html +26 -0
  46. data/test/dummy/public/422.html +26 -0
  47. data/test/dummy/public/500.html +25 -0
  48. data/test/dummy/public/favicon.ico +0 -0
  49. data/test/dummy/script/rails +6 -0
  50. data/test/filesystem_explorer_test.rb +7 -0
  51. data/test/integration/navigation_test.rb +10 -0
  52. data/test/test_helper.rb +15 -0
  53. metadata +163 -0
@@ -0,0 +1,254 @@
1
+
2
+
3
+ Started GET "/" for 127.0.0.1 at 2014-01-21 19:39:35 +0000
4
+ Connecting to database specified by database.yml
5
+
6
+ ActionController::RoutingError (No route matches [GET] "/"):
7
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
8
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
9
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
10
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `block in call'
11
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
12
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
13
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
14
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
15
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
16
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
17
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
18
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
19
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
20
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
21
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
22
+ railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
23
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
24
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
25
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
26
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
27
+
28
+
29
+ Rendered /Users/pedro/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.2ms)
30
+
31
+
32
+ Started GET "/" for 127.0.0.1 at 2014-01-21 19:39:36 +0000
33
+
34
+ ActionController::RoutingError (No route matches [GET] "/"):
35
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
36
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
37
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
38
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `block in call'
39
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
40
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
41
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
42
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
43
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
44
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
45
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
46
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
47
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
48
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
49
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
50
+ railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
51
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
52
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
53
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
54
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
55
+
56
+
57
+ Rendered /Users/pedro/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
58
+ Connecting to database specified by database.yml
59
+
60
+
61
+ Started GET "/" for 127.0.0.1 at 2014-01-21 19:45:30 +0000
62
+
63
+ ActionController::RoutingError (No route matches [GET] "/"):
64
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
65
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
66
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
67
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `block in call'
68
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
69
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
70
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
71
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
72
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
73
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
74
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
75
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
76
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
77
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
78
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
79
+ railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
80
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
81
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
82
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
83
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
84
+
85
+
86
+ Rendered /Users/pedro/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
87
+
88
+
89
+ Started GET "/" for 127.0.0.1 at 2014-01-21 19:45:32 +0000
90
+
91
+ ActionController::RoutingError (No route matches [GET] "/"):
92
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
93
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
94
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
95
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `block in call'
96
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
97
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
98
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
99
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
100
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
101
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
102
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
103
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
104
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
105
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
106
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
107
+ railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
108
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
109
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
110
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
111
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
112
+
113
+
114
+ Rendered /Users/pedro/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
115
+
116
+
117
+ Started GET "/" for 127.0.0.1 at 2014-01-21 19:45:35 +0000
118
+
119
+ ActionController::RoutingError (No route matches [GET] "/"):
120
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
121
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
122
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
123
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `block in call'
124
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
125
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
126
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
127
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
128
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
129
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
130
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
131
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
132
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
133
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
134
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
135
+ railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
136
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
137
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
138
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
139
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
140
+
141
+
142
+ Rendered /Users/pedro/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
143
+
144
+
145
+ Started GET "/" for 127.0.0.1 at 2014-01-21 19:45:36 +0000
146
+
147
+ ActionController::RoutingError (No route matches [GET] "/"):
148
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
149
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
150
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
151
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `block in call'
152
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
153
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
154
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
155
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
156
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
157
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
158
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
159
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
160
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
161
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
162
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
163
+ railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
164
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
165
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
166
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
167
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
168
+
169
+
170
+ Rendered /Users/pedro/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
171
+
172
+
173
+ Started GET "/" for 127.0.0.1 at 2014-01-21 19:45:36 +0000
174
+
175
+ ActionController::RoutingError (No route matches [GET] "/"):
176
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
177
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
178
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
179
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `block in call'
180
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
181
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
182
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
183
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
184
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
185
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
186
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
187
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
188
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
189
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
190
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
191
+ railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
192
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
193
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
194
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
195
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
196
+
197
+
198
+ Rendered /Users/pedro/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.3ms)
199
+
200
+
201
+ Started GET "/billing/invoices" for 127.0.0.1 at 2014-01-21 19:45:37 +0000
202
+
203
+ ActionController::RoutingError (No route matches [GET] "/billing/invoices"):
204
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
205
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
206
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
207
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `block in call'
208
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
209
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
210
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
211
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
212
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
213
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
214
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
215
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
216
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
217
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
218
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
219
+ railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
220
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
221
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
222
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
223
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
224
+
225
+
226
+ Rendered /Users/pedro/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
227
+
228
+
229
+ Started GET "/bla" for 127.0.0.1 at 2014-01-21 19:45:37 +0000
230
+
231
+ ActionController::RoutingError (No route matches [GET] "/bla"):
232
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
233
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
234
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
235
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `block in call'
236
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
237
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
238
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
239
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
240
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
241
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
242
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
243
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
244
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
245
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
246
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
247
+ railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
248
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
249
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
250
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
251
+ /Users/pedro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
252
+
253
+
254
+ Rendered /Users/pedro/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</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/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</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/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -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>
File without changes
@@ -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,7 @@
1
+ require 'test_helper'
2
+
3
+ class FilesystemExplorerTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, FilesystemExplorer
6
+ end
7
+ end
@@ -0,0 +1,10 @@
1
+ require 'test_helper'
2
+
3
+ class NavigationTest < ActionDispatch::IntegrationTest
4
+ fixtures :all
5
+
6
+ # test "the truth" do
7
+ # assert true
8
+ # end
9
+ end
10
+
@@ -0,0 +1,15 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ # Load fixtures from the engine
13
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
+ end
metadata ADDED
@@ -0,0 +1,163 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: filesystem-explorer
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Pedro Miguel Rodrigues
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-02-20 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: 4.0.0
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: 4.0.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: sqlite3
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ description: Rails mountable engine to explore the filesystem.
47
+ email:
48
+ - pedro@bbde.org
49
+ executables: []
50
+ extensions: []
51
+ extra_rdoc_files: []
52
+ files:
53
+ - app/assets/javascripts/filesystem_explorer/application.js
54
+ - app/assets/stylesheets/filesystem_explorer/application.css
55
+ - app/controllers/filesystem_explorer/application_controller.rb
56
+ - app/helpers/filesystem_explorer/application_helper.rb
57
+ - app/views/filesystem_explorer/application/_directory.html.erb
58
+ - app/views/filesystem_explorer/application/_file.html.erb
59
+ - app/views/filesystem_explorer/application/index.html.erb
60
+ - app/views/filesystem_explorer/application/not_found.html.erb
61
+ - config/routes.rb
62
+ - lib/filesystem-explorer.rb
63
+ - lib/filesystem_explorer/engine.rb
64
+ - lib/filesystem_explorer/filesystem_item.rb
65
+ - lib/filesystem_explorer/filesystem_route_options.rb
66
+ - lib/filesystem_explorer/router.rb
67
+ - lib/filesystem_explorer/version.rb
68
+ - lib/tasks/filesystem_explorer_tasks.rake
69
+ - MIT-LICENSE
70
+ - Rakefile
71
+ - README.rdoc
72
+ - test/dummy/app/assets/javascripts/application.js
73
+ - test/dummy/app/assets/stylesheets/application.css
74
+ - test/dummy/app/controllers/application_controller.rb
75
+ - test/dummy/app/helpers/application_helper.rb
76
+ - test/dummy/app/views/layouts/application.html.erb
77
+ - test/dummy/config/application.rb
78
+ - test/dummy/config/boot.rb
79
+ - test/dummy/config/database.yml
80
+ - test/dummy/config/environment.rb
81
+ - test/dummy/config/environments/development.rb
82
+ - test/dummy/config/environments/production.rb
83
+ - test/dummy/config/environments/test.rb
84
+ - test/dummy/config/initializers/backtrace_silencers.rb
85
+ - test/dummy/config/initializers/inflections.rb
86
+ - test/dummy/config/initializers/mime_types.rb
87
+ - test/dummy/config/initializers/secret_token.rb
88
+ - test/dummy/config/initializers/session_store.rb
89
+ - test/dummy/config/initializers/wrap_parameters.rb
90
+ - test/dummy/config/locales/en.yml
91
+ - test/dummy/config/routes.rb
92
+ - test/dummy/config.ru
93
+ - test/dummy/db/development.sqlite3
94
+ - test/dummy/log/development.log
95
+ - test/dummy/public/404.html
96
+ - test/dummy/public/422.html
97
+ - test/dummy/public/500.html
98
+ - test/dummy/public/favicon.ico
99
+ - test/dummy/Rakefile
100
+ - test/dummy/README.rdoc
101
+ - test/dummy/script/rails
102
+ - test/filesystem_explorer_test.rb
103
+ - test/integration/navigation_test.rb
104
+ - test/test_helper.rb
105
+ homepage: http://github.com/gokuu/filesystem_explorer
106
+ licenses: []
107
+ post_install_message:
108
+ rdoc_options: []
109
+ require_paths:
110
+ - lib
111
+ required_ruby_version: !ruby/object:Gem::Requirement
112
+ none: false
113
+ requirements:
114
+ - - ! '>='
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ required_rubygems_version: !ruby/object:Gem::Requirement
118
+ none: false
119
+ requirements:
120
+ - - ! '>='
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ requirements: []
124
+ rubyforge_project:
125
+ rubygems_version: 1.8.24
126
+ signing_key:
127
+ specification_version: 3
128
+ summary: Rails mountable engine to explore the filesystem.
129
+ test_files:
130
+ - test/dummy/app/assets/javascripts/application.js
131
+ - test/dummy/app/assets/stylesheets/application.css
132
+ - test/dummy/app/controllers/application_controller.rb
133
+ - test/dummy/app/helpers/application_helper.rb
134
+ - test/dummy/app/views/layouts/application.html.erb
135
+ - test/dummy/config/application.rb
136
+ - test/dummy/config/boot.rb
137
+ - test/dummy/config/database.yml
138
+ - test/dummy/config/environment.rb
139
+ - test/dummy/config/environments/development.rb
140
+ - test/dummy/config/environments/production.rb
141
+ - test/dummy/config/environments/test.rb
142
+ - test/dummy/config/initializers/backtrace_silencers.rb
143
+ - test/dummy/config/initializers/inflections.rb
144
+ - test/dummy/config/initializers/mime_types.rb
145
+ - test/dummy/config/initializers/secret_token.rb
146
+ - test/dummy/config/initializers/session_store.rb
147
+ - test/dummy/config/initializers/wrap_parameters.rb
148
+ - test/dummy/config/locales/en.yml
149
+ - test/dummy/config/routes.rb
150
+ - test/dummy/config.ru
151
+ - test/dummy/db/development.sqlite3
152
+ - test/dummy/log/development.log
153
+ - test/dummy/public/404.html
154
+ - test/dummy/public/422.html
155
+ - test/dummy/public/500.html
156
+ - test/dummy/public/favicon.ico
157
+ - test/dummy/Rakefile
158
+ - test/dummy/README.rdoc
159
+ - test/dummy/script/rails
160
+ - test/filesystem_explorer_test.rb
161
+ - test/integration/navigation_test.rb
162
+ - test/test_helper.rb
163
+ has_rdoc: