flexible_accessibility 0.2.96.pre → 0.2.97.pre

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.
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.96.pre"
18
+ gem.version = "0.2.97.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.96.pre"
8
+ s.version = "0.2.97.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"]
@@ -5,7 +5,7 @@ module FlexibleAccessibility
5
5
 
6
6
  def initialize resource_string
7
7
  @controller = resource_string.split("/").last
8
- @namespace = resource_string.split("/").first == @controller ? "default" : resource_string.split("/").last
8
+ @namespace = resource_string.split("/").first == @controller ? "default" : resource_string.split("/").first
9
9
  end
10
10
 
11
11
  def klass
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: 40712800
4
+ hash: 287882308
5
5
  prerelease: 7
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 96
9
+ - 97
10
10
  - pre
11
- version: 0.2.96.pre
11
+ version: 0.2.97.pre
12
12
  platform: ruby
13
13
  authors:
14
14
  - Sergey Awanesov