filesystem-explorer 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -0
- data/lib/filesystem_explorer/router.rb +8 -0
- data/lib/filesystem_explorer/version.rb +1 -1
- metadata +3 -3
- data/README.rdoc +0 -3
@@ -1,6 +1,14 @@
|
|
1
1
|
module ActionDispatch
|
2
2
|
module Routing
|
3
3
|
class Mapper
|
4
|
+
def initialize
|
5
|
+
if $filesystem_explorer_route_options.is_a?(Hash)
|
6
|
+
$filesystem_explorer_route_options.empty
|
7
|
+
else
|
8
|
+
$filesystem_explorer_route_options = {}
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
4
12
|
def filesystem_routes(&block)
|
5
13
|
config_file_path = Rails.root.join('config', 'filesystem_explorer.yml')
|
6
14
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: filesystem-explorer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-02-
|
12
|
+
date: 2014-02-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -68,7 +68,7 @@ files:
|
|
68
68
|
- lib/tasks/filesystem_explorer_tasks.rake
|
69
69
|
- MIT-LICENSE
|
70
70
|
- Rakefile
|
71
|
-
- README.
|
71
|
+
- README.md
|
72
72
|
- test/dummy/app/assets/javascripts/application.js
|
73
73
|
- test/dummy/app/assets/stylesheets/application.css
|
74
74
|
- test/dummy/app/controllers/application_controller.rb
|
data/README.rdoc
DELETED