consent 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/consent.rb +2 -2
- data/lib/consent/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79adf851fbc13c53c81e784d654c34e6da171a57c78767148b7da5ee9241181b
|
4
|
+
data.tar.gz: a9d032376facd18c89f8d0cfa4b8b2cd60661447649a51717c5a0923576fd531
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 229130ac93dc5d6f7705d67ac85e147d3f36013eb121cc92e5e6b43c7cd33b220c79c00df50ae873bee92b56be6fa7b73ecf7fa0ddae9375c87db5cf73b58e84
|
7
|
+
data.tar.gz: f68312f4f3bf1f3ce60911793a0149d5681adb99f02b3c44e86639d1a91aff86000debb0476c119fea123a89d76a7f296a48d9a8aaee237838f0522932b9302f
|
data/lib/consent.rb
CHANGED
@@ -41,8 +41,8 @@ module Consent
|
|
41
41
|
end
|
42
42
|
|
43
43
|
def self.load_subjects!(paths)
|
44
|
-
permission_files = paths.map { |dir|
|
45
|
-
Dir[*permission_files].each(&Kernel.method(:
|
44
|
+
permission_files = paths.map { |dir| File.join(dir, '*.rb') }
|
45
|
+
Dir[*permission_files].each(&Kernel.method(:require))
|
46
46
|
end
|
47
47
|
|
48
48
|
def self.define(key, label, options = {}, &block)
|
data/lib/consent/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: consent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carlos Palhares
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|