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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f397f23e70ea3033291a979ecb6d49e5caa6bb98feda217d82c5c6112703b964
4
- data.tar.gz: ffcf85615feed2510c191e9a594dac1f0774e7a147f1fda44babc54f452fed3a
3
+ metadata.gz: a44f565cbedef9a4444a9729d196c03bb2c724278556eee3f01ba5d4297717e5
4
+ data.tar.gz: f28ef67a24f6aaef8b33dfb09c066eca0785ec1cc1509358b13af6aa5a1bfcba
5
5
  SHA512:
6
- metadata.gz: 024ccff97003a17ba51f242f088e5c6ee70b6ebcdcaa0dfef4ce2d2fd5caeea396124b0934d8b8c333e8e87a4c1b7457ecbe648d22b48e95759e25b492dba257
7
- data.tar.gz: 5b2289e1c763c18b56bc41399e6da35e3dc85ab5430b442f0ac5a10e633826dfe65dc541fb6e2666927e1c5287c2c30cef450b9f8765ea56426c3ef62342fb86
6
+ metadata.gz: 3962b9b16b0f59241ec1e36878a0a57554e097a9aea41a51bce42de8f9d8c7d01fc498b7d53a9f5ccf61ba8c81d6b9406744d33cd2fa31c07ee235c9fd7944f1
7
+ data.tar.gz: 7648c1a6d537efea9912952bdcd40c4e2c210f628eb9c0d29b3348fc1d7330f94e9aa1988f9838637d90ec2451a3a15f2ac63ae928d6589e7d3aaed027ad8f05
data/.travis.yml CHANGED
@@ -19,6 +19,7 @@ env:
19
19
  - ACTIVERECORD=5.0.0
20
20
  - ACTIVERECORD=5.1.1
21
21
  - ACTIVERECORD=5.2.0
22
+ - ACTIVERECORD=6.0.0
22
23
  matrix:
23
24
  exclude:
24
25
  - rvm: 2.0
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 5.2
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 >= "5.2"
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)
@@ -4,7 +4,7 @@ module AttrEncrypted
4
4
  # Contains information about this gem's version
5
5
  module Version
6
6
  MAJOR = 1
7
- MINOR = 1
7
+ MINOR = 2
8
8
  PATCH = 0
9
9
 
10
10
  # Returns a version string by joining <tt>MAJOR</tt>, <tt>MINOR</tt>, and <tt>PATCH</tt> with <tt>'.'</tt>
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.1.0
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: 2021-09-02 00:00:00.000000000 Z
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.4
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