flexible_accessibility 0.2.3.pre → 0.2.4.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/flexible_accessibility.gemspec +1 -1
- data/lib/flexible_accessibility/utils.rb +3 -2
- metadata +3 -3
data/Rakefile
CHANGED
@@ -15,7 +15,7 @@ require 'jeweler'
|
|
15
15
|
Jeweler::Tasks.new do |gem|
|
16
16
|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
17
|
gem.name = "flexible_accessibility"
|
18
|
-
gem.version = "0.2.
|
18
|
+
gem.version = "0.2.4.pre"
|
19
19
|
gem.homepage = "http://github.com/mochnatiy/flexible_accessibility"
|
20
20
|
gem.license = "MIT"
|
21
21
|
gem.summary = %Q{Flexible access control system}
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "flexible_accessibility"
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.4.pre"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Sergey Awanesov"]
|
@@ -14,11 +14,12 @@ module FlexibleAccessibility
|
|
14
14
|
if File.directory? path + entry
|
15
15
|
get_controllers_recursive path + entry + '/'
|
16
16
|
else
|
17
|
-
|
17
|
+
parent_directory = File.dirname(path + entry).split(/\//).last
|
18
|
+
container = parent_directory == "controllers" ? "default" : parent_directory
|
18
19
|
@controllers[container.to_sym] << File.basename(path + entry, ".*") unless File.basename(path + entry, ".*") == "application_controller"
|
19
20
|
end
|
20
21
|
end
|
21
22
|
@controllers
|
22
23
|
end
|
23
24
|
end
|
24
|
-
end
|
25
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flexible_accessibility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: -
|
4
|
+
hash: -2067863757
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
9
|
+
- 4
|
10
10
|
- pre
|
11
|
-
version: 0.2.
|
11
|
+
version: 0.2.4.pre
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Sergey Awanesov
|