gdpr_rails 0.3.2 → 0.3.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95e0a7e67d192035998e554716ca08d874dfc929
|
4
|
+
data.tar.gz: 732c3ef839875872d46a3f727833b8a503bcc75e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d17a5fd871b67bc064cd437ba6efb186f9e4f68d4d1af81c1b279d1884893fae8ed8a3d80e97f7342294ceaba74bdbe7aa652eca77556242c6a58a12fd74df8
|
7
|
+
data.tar.gz: 392f644111967fc375c7625c693bfe0f360ea1e48c610bf6a239ea22b830c6a0e14c196183f49f848c45ba1cb318c87f9d7c71d8d079fc76664dad26ad875084
|
@@ -32,6 +32,7 @@ module PolicyManager::Concerns::UserBehavior
|
|
32
32
|
end
|
33
33
|
|
34
34
|
define_method :"#{rule_name}=" do |val=true|
|
35
|
+
val = ActiveRecord::Type::Boolean.new.cast(val)
|
35
36
|
self.instance_variable_set("@#{rule_name}", val)
|
36
37
|
ut = user_terms.new
|
37
38
|
ut.term = policy_term_on(rule.name)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gdpr_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Michelson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-05-
|
12
|
+
date: 2018-05-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|