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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4cfaa01c1cf6ece41d10032df322ad2441d19ff78888b8f6821e2d149a7ee2bd
4
- data.tar.gz: 343ac5abc8e4a49bdd04f4ec2ea998ab6408fb83cd0a9b2a54ddb750bc3c494d
3
+ metadata.gz: 79adf851fbc13c53c81e784d654c34e6da171a57c78767148b7da5ee9241181b
4
+ data.tar.gz: a9d032376facd18c89f8d0cfa4b8b2cd60661447649a51717c5a0923576fd531
5
5
  SHA512:
6
- metadata.gz: 4723a478ad632b41223aeb185dc681edf454fc7879a22c7c7267ab2e4ad53e02a44d71c1d73732c792e7c25a921545a35669695a6536f8317d430c0066121f77
7
- data.tar.gz: 6bebde1fc871b955daeb0af93547221a91551f8bda579f8986257663fdcee5175d1b318225adb1483c0e3852485185bb85d86a9ed6c2f71378c3a3e8dcc10459
6
+ metadata.gz: 229130ac93dc5d6f7705d67ac85e147d3f36013eb121cc92e5e6b43c7cd33b220c79c00df50ae873bee92b56be6fa7b73ecf7fa0ddae9375c87db5cf73b58e84
7
+ data.tar.gz: f68312f4f3bf1f3ce60911793a0149d5681adb99f02b3c44e86639d1a91aff86000debb0476c119fea123a89d76a7f296a48d9a8aaee237838f0522932b9302f
@@ -41,8 +41,8 @@ module Consent
41
41
  end
42
42
 
43
43
  def self.load_subjects!(paths)
44
- permission_files = paths.map { |dir| dir.join('*.rb') }
45
- Dir[*permission_files].each(&Kernel.method(:load))
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)
@@ -1,3 +1,3 @@
1
1
  module Consent
2
- VERSION = '0.4.2'.freeze
2
+ VERSION = '0.4.3'.freeze
3
3
  end
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.2
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-03-28 00:00:00.000000000 Z
11
+ date: 2019-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport