powerhome-attr_encrypted 1.1.0 → 1.2.0
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 +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +4 -1
- data/lib/attr_encrypted/adapters/active_record.rb +1 -1
- data/lib/attr_encrypted/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a44f565cbedef9a4444a9729d196c03bb2c724278556eee3f01ba5d4297717e5
|
4
|
+
data.tar.gz: f28ef67a24f6aaef8b33dfb09c066eca0785ec1cc1509358b13af6aa5a1bfcba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3962b9b16b0f59241ec1e36878a0a57554e097a9aea41a51bce42de8f9d8c7d01fc498b7d53a9f5ccf61ba8c81d6b9406744d33cd2fa31c07ee235c9fd7944f1
|
7
|
+
data.tar.gz: 7648c1a6d537efea9912952bdcd40c4e2c210f628eb9c0d29b3348fc1d7330f94e9aa1988f9838637d90ec2451a3a15f2ac63ae928d6589e7d3aaed027ad8f05
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,13 @@
|
|
1
1
|
# attr_encrypted #
|
2
2
|
|
3
|
+
## 1.2.0 ##
|
4
|
+
* Added: Support for ActiveRecord 6.0
|
5
|
+
|
3
6
|
## 1.1.0 ##
|
4
7
|
* Added: Ability to rotate cipher key and iv (https://github.com/powerhome/attr_encrypted/pull/4)
|
5
8
|
|
6
9
|
## 1.0.1 ##
|
7
|
-
* Added: Support for ActiveRecord
|
10
|
+
* Added: Support for ActiveRecord 5.2
|
8
11
|
|
9
12
|
## 1.0.0 ##
|
10
13
|
* Forked from upstream (https://github.com/attr-encrypted/attr_encrypted) and rebraned
|
@@ -80,7 +80,7 @@ if defined?(ActiveRecord::Base)
|
|
80
80
|
# attributes are handled, @attributes[attr].value is nil which
|
81
81
|
# breaks attribute_was. Setting it here returns us to the expected
|
82
82
|
# behavior.
|
83
|
-
if ::ActiveRecord::VERSION::STRING
|
83
|
+
if ::ActiveRecord::VERSION::STRING == "5.2"
|
84
84
|
# This is needed support attribute_was before a record has
|
85
85
|
# been saved
|
86
86
|
set_attribute_was(attr, __send__(attr)) if value != __send__(attr)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: powerhome-attr_encrypted
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wade Winningham
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-04-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: encryptor
|
@@ -275,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
275
275
|
- !ruby/object:Gem::Version
|
276
276
|
version: '0'
|
277
277
|
requirements: []
|
278
|
-
rubygems_version: 3.1.
|
278
|
+
rubygems_version: 3.1.6
|
279
279
|
signing_key:
|
280
280
|
specification_version: 4
|
281
281
|
summary: Power's version of the attr_encrypted gem
|