ecm_rbac_backend 0.0.2 → 0.0.3
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0980859787a99f922ca1ea2eb528c040755c00cf
|
|
4
|
+
data.tar.gz: 21b7213a46e55d0815245db5d195d407ef84a2f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7e5c26b60863c166cd80327801e6716650ab61fbb7391b9fa448ccf9d3f7e3ffe22b573151d7c9b667dbbc913527176b5f02cd14d6f9cd109932f1f8eb2fb0ab
|
|
7
|
+
data.tar.gz: 6e62bec3189eafe3485f5e916ac60504a3d17b4fd1abea9aca847e1469f41aa6d52c8c713bab579d4b411e64b75c5df2e07f10007a654f0823d32897b013bc1f
|
|
@@ -22,11 +22,14 @@ module Ecm::Rbac
|
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
def load_filenames
|
|
25
|
-
::Rails::Engine.subclasses.map(&:instance).collect do |engine|
|
|
25
|
+
filenames = ::Rails::Engine.subclasses.map(&:instance).collect do |engine|
|
|
26
26
|
filename = engine.root.join *%w(config rbac.yml)
|
|
27
27
|
next unless File.readable? filename
|
|
28
28
|
filename
|
|
29
29
|
end.compact
|
|
30
|
+
application_filename = Rails.root.join *%w(config rbac.yml)
|
|
31
|
+
filenames << application_filename if File.readable? application_filename#
|
|
32
|
+
filenames
|
|
30
33
|
end
|
|
31
34
|
end
|
|
32
35
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ecm_rbac_backend
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Roberto Vasquez Angel
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-03-
|
|
11
|
+
date: 2016-03-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|