cmor_rbac 0.0.6.pre → 0.0.7.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/inject_user_concern.rb +4 -2
- data/lib/cmor_rbac.rb +1 -1
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c29924305b0996b8808973b51bec66bb481dd89ac56caf04f3e2537ef6d7cb0d
|
4
|
+
data.tar.gz: 613974bf89b09800b34819c37be1ceb7ef00b7728bbd279ecaeced243e7aafab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: debf768a30390f3d2dbba7852de913044785fb66585bb635026a9966254957ab3a1c10b3266fe3939df2fc37f5e21eb8224b218be91f3745177925789bb19556
|
7
|
+
data.tar.gz: 0f99f534f69a8f1a77d0961adf5e276424ebed422ec848499ccffff5d15c7b880f3660a1db655c23bcbcbbf613c5ce2b7a6a9ce6fb62bbfc545a015793efaa5e
|
@@ -1,10 +1,12 @@
|
|
1
1
|
Rails.configuration.to_prepare do
|
2
2
|
begin
|
3
|
-
|
3
|
+
print "[CMOR RBAC] Including Model::Cmor::Rbac::UserConcern in #{Cmor::Rbac.user_class_name}"
|
4
4
|
Cmor::Rbac.user_class_name.constantize.class_eval do
|
5
5
|
include Model::Cmor::Rbac::UserConcern
|
6
|
+
puts " => [OK]"
|
6
7
|
end
|
7
8
|
rescue NameError => e
|
8
|
-
"
|
9
|
+
puts " => [FAILED]"
|
10
|
+
puts " Could not include Model::Cmor::Rbac::UserConcern into #{Cmor::Rbac.user_class_name}. Error: #{e.message}"
|
9
11
|
end
|
10
12
|
end
|
data/lib/cmor_rbac.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmor_rbac
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7.pre
|
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: 2019-04-
|
11
|
+
date: 2019-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -30,14 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.0.
|
33
|
+
version: 0.0.7.pre
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.0.
|
40
|
+
version: 0.0.7.pre
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: cmor_core_frontend
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.0.7.pre
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.0.7.pre
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: sqlite3
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|