ability_list 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02257b2981224d6a1e1e43d60bb9721eba16420a
4
- data.tar.gz: 7b586e6a4ba0bf248bfef3084310353a2ac89015
3
+ metadata.gz: e95d07e414d179a6d8cf8df06270f131346f65da
4
+ data.tar.gz: e6e09b0b68c4fb7cc6dfc70eef31b4dae0fe8374
5
5
  SHA512:
6
- metadata.gz: 1cea5050c2133f0bc47a4d266fb4a1bbbad62e2fff7c9a6533e4d873d4174515afb43437af66a674eecdf6e7a356ea97cc01d437e0acef0bb7d0994b44ba83f1
7
- data.tar.gz: 14241716362b1380591ae3dbc59d847be38b9e8cb87d64b89892a35f4132967bf76ba1dee4f68673be0687f61aca57728025a6a6215d8837dbdc65d1c8182d40
6
+ metadata.gz: 11a5aa727c5531e479c40f6e3debd882d5c43be704eae24198cd55614d62be01dd23002fef088c1d639aa5b8fdf3fca79cabe264e598a5afb401a15a81fb3d7e
7
+ data.tar.gz: b90a3bf4ce6a813b3e1894afc59be6a229f7ec380fb5ee2216eb3d261f5941ec9e213c34fe0d3b3920408239614ede8f0b6f4f9322d0ea68b338ad5113d58b1f
data/lib/ability_list.rb CHANGED
@@ -35,8 +35,8 @@ class AbilityList
35
35
  end
36
36
 
37
37
  # Inverse of `can?`.
38
- def cannot?(verb, object=nil, columns)
39
- ! can?(verb, object, columns)
38
+ def cannot?(verb, object=nil, columns=[])
39
+ !can?(verb, object, columns)
40
40
  end
41
41
 
42
42
  # ---
@@ -1,3 +1,3 @@
1
1
  class AbilityList
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ability_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rico Sta. Cruz