the_role 0.9.91 → 0.9.92

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.
@@ -1,3 +1,3 @@
1
1
  module TheRole
2
- VERSION = "0.9.91"
2
+ VERSION = "0.9.92"
3
3
  end
data/lib/the_role.rb CHANGED
@@ -36,7 +36,7 @@ module TheRole
36
36
  end
37
37
 
38
38
  def moderator? section
39
- role = self.the_role[:system] ? self.the_role[:moderator][section.to_sym] : false
39
+ role = self.the_role[:moderator] ? self.the_role[:moderator][section.to_sym] : false
40
40
  role && role.is_a?(TrueClass)
41
41
  end
42
42
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: the_role
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.91
4
+ version: 0.9.92
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-10-29 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: haml
16
- requirement: &76871660 !ruby/object:Gem::Requirement
16
+ requirement: &75395510 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *76871660
24
+ version_requirements: *75395510
25
25
  description: TheRole - simple, but powerful role system for ROR applications
26
26
  email:
27
27
  - zykin-ilya@ya.ru