cancancan 1.8.1 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +5 -0
- data/README.rdoc +1 -1
- data/lib/cancan/ability.rb +1 -1
- data/lib/cancan/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee08238dc809747b4d8fd583546d8090ae41c388
|
4
|
+
data.tar.gz: 07de2fb484baa605dab80da5444378178c7a02c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 306997662a1978541ecc1a851cc779f486e91493ba6270ce708baaae32abc94f5d71d2cb17a4c5396d62ea9a0a35e0043b5f8d572ec48c6b32c36bf9d1727275
|
7
|
+
data.tar.gz: fbc981d0af75b1e9ee1888dae3f69542962ca07d566c731188171a5a2978e67a08b290415f18588c24b3950a834a0d5ad859a82142e2e6ded3c8e54ca87aa57f
|
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
{<img src="https://badge.fury.io/rb/cancancan.png" alt="Gem Version" />}[http://badge.fury.io/rb/cancancan]
|
3
3
|
{<img src="https://travis-ci.org/CanCanCommunity/cancancan.png?branch=master" alt="Build Status" />}[https://travis-ci.org/CanCanCommunity/cancancan]
|
4
4
|
{<img src="https://codeclimate.com/github/CanCanCommunity/cancancan.png" />}[https://codeclimate.com/github/CanCanCommunity/cancancan]
|
5
|
-
{<img src="http://inch-
|
5
|
+
{<img src="http://inch-ci.org/github/CanCanCommunity/cancancan.png" alt="Inline docs" />}[http://inch-ci.org/github/CanCanCommunity/cancancan]
|
6
6
|
|
7
7
|
Wiki[https://github.com/bryanrite/cancancan/wiki] | RDocs[http://rdoc.info/projects/ryanb/cancan] | Screencast[http://railscasts.com/episodes/192-authorization-with-cancan]
|
8
8
|
|
data/lib/cancan/ability.rb
CHANGED
@@ -285,7 +285,7 @@ module CanCan
|
|
285
285
|
|
286
286
|
# It translates to an array the subject or the hash with multiple subjects given to can?.
|
287
287
|
def extract_subjects(subject)
|
288
|
-
subject = if subject.
|
288
|
+
subject = if subject.kind_of?(Hash) && subject.key?(:any)
|
289
289
|
subject[:any]
|
290
290
|
else
|
291
291
|
[subject]
|
data/lib/cancan/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cancancan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Rite
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-05
|
12
|
+
date: 2014-06-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|