para-acl 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/para/acl/ext/components_extension.rb +7 -4
- data/lib/para/acl/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e687558540f0ff922f605dee93fe58657f301a6a
|
4
|
+
data.tar.gz: 2e7072a119f1476a5e4557965b76fad099c97abf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7577e7bb74935b46b1d711a4faf6e04d3da37a675644e7ae7338730497b0f62a9992e328e5c4bec4792b4214fef221a40ada1cb237fef3dc24bafc6e650adcf5
|
7
|
+
data.tar.gz: e2578089eaf407fda21f2264a4cea0ffaedc7db2145503d649a450d04221a67c21cff9abb6e7d8c44bd015bdf167a1bcf679c95ff7eb5940d75a3673273958c1
|
@@ -4,10 +4,13 @@ module Para
|
|
4
4
|
extend ActiveSupport::Concern
|
5
5
|
|
6
6
|
included do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
before_destroy :clean_role_components
|
8
|
+
end
|
9
|
+
|
10
|
+
private
|
11
|
+
|
12
|
+
def clean_role_components
|
13
|
+
::Para::Acl::RoleComponent.where(component: self).destroy_all
|
11
14
|
end
|
12
15
|
end
|
13
16
|
end
|
data/lib/para/acl/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: para-acl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Valentin Ballestrino
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: para
|