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: f7ed84b5e6e29cd7ab4aba92a9ff0e1deca0970f
4
- data.tar.gz: 8e6d790f269980243a07457c6839ee3a9b369bd6
3
+ metadata.gz: 95e0a7e67d192035998e554716ca08d874dfc929
4
+ data.tar.gz: 732c3ef839875872d46a3f727833b8a503bcc75e
5
5
  SHA512:
6
- metadata.gz: 26f5cfb577a410ace7e0f84ad068b51c4538b8b87deb384093c11cb4408cf54055eecc640fff9c1e53034ed1e59dc22715d00f4744442f1f44aa62c384a16135
7
- data.tar.gz: edce893fbfdadba67c89c9ac82619db6bfac198f0dc551c836cc3367f6a077f2b0c28eaf6919b27fa67314d00ba39468e1dc24f02c57feb3bf49da4b042d7555
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)
@@ -1,3 +1,3 @@
1
1
  module PolicyManager
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.3'
3
3
  end
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.2
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-17 00:00:00.000000000 Z
12
+ date: 2018-05-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails