reuser 3.1.1 → 3.1.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.
data/.travis.yml CHANGED
@@ -4,7 +4,6 @@ rvm:
4
4
  - 1.8.7
5
5
  - 1.9.2
6
6
  - 1.9.3
7
- - ruby-head
8
7
  - jruby-18mode
9
8
  - jruby-19mode
10
9
  - jruby-head
data/lib/reuser.rb CHANGED
@@ -37,6 +37,7 @@ module ReUser
37
37
  end
38
38
  self.class.role(self.role).could? permission, *block_args
39
39
  end
40
+ alias_method :able_to?, :could?
40
41
 
41
42
  def couldnt? permission, *block_args
42
43
  !could?(permission, *block_args)
@@ -1,3 +1,3 @@
1
1
  module ReUser
2
- VERSION = "3.1.1"
2
+ VERSION = "3.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reuser
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
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: 2012-08-15 00:00:00.000000000 Z
12
+ date: 2012-08-16 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ReUser is a DSL for Ruby to create roles and manage actions.
15
15
  email:
@@ -56,7 +56,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
56
56
  version: '0'
57
57
  segments:
58
58
  - 0
59
- hash: -1602940265211324019
59
+ hash: 2207008034009230130
60
60
  required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  version: '0'
66
66
  segments:
67
67
  - 0
68
- hash: -1602940265211324019
68
+ hash: 2207008034009230130
69
69
  requirements: []
70
70
  rubyforge_project:
71
71
  rubygems_version: 1.8.24