corral_acl 0.9.1 → 0.9.9

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9fb4dcd8dc3f0d68ecb3614390ef974fc0099f1
4
- data.tar.gz: 77377b9cdcfdf554221eb7915e0ea5dd0221bccc
3
+ metadata.gz: 109d68a815474f4d6c29c677eb916607aaa85404
4
+ data.tar.gz: 864996ff4eaecd593c8b900fa8eac14882d52aef
5
5
  SHA512:
6
- metadata.gz: '0433192143c132b8ddacd566ccfb4ed670f11b323e5b2aa1fb4646892b3a3480b43871bec9c7b88cd4faa289f20a6c8557e9a9f947efa6741db2ea65f15ea659'
7
- data.tar.gz: db75efabd778d892cbb76602e51e6b4fd6dc549c60c6bf61d6575cdae5b0ef558dd1d96cbb11f10eb9e9625479567bb537271956366d0d8b672f8d21923307f5
6
+ metadata.gz: 57518f38d32e3fd35ef776f1b14892f5ae157452ba17854f567d1f3a72dd2b7ba3853b92bf9b9103095a80ec4ba347f18cbc60e5a706130535279ed3c8932282
7
+ data.tar.gz: 74cd802f26f852fbd1102feb2cf2a02c33b2cab3471b45eef760b9b375cb8fac4f3c17acdeb7e56eb004fb5054810e64d30ef4b0134e260ea057cc7665a61ca1
@@ -78,8 +78,9 @@ module Corral
78
78
  when Symbol, Class
79
79
  r = subjects[subject] || subjects[:all] || NullRule
80
80
  else
81
- subjects[subject.class] || NullRule
81
+ r = subjects[subject.class] || NullRule
82
82
  end
83
+ r
83
84
  end
84
85
  end
85
86
  end
@@ -1,3 +1,3 @@
1
1
  module Corral
2
- VERSION = "0.9.1"
2
+ VERSION = "0.9.9"
3
3
  end
data/lib/corral.rb CHANGED
@@ -3,3 +3,7 @@ require 'corral/rule'
3
3
  require 'corral/ability'
4
4
  require 'corral/controller_additions'
5
5
  require 'corral/exceptions'
6
+
7
+ module Corral
8
+ end
9
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corral_acl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elliot Speck (Arcaire)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-09 00:00:00.000000000 Z
11
+ date: 2016-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -137,4 +137,3 @@ signing_key:
137
137
  specification_version: 4
138
138
  summary: Yet another opinionated ACL framework.
139
139
  test_files: []
140
- has_rdoc: