activerecord-cipherstash-pg-adapter 0.7.1 → 0.7.2
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/CHANGELOG.md +6 -0
- data/lib/active_record/connection_adapters/6.1/postgres_cipherstash_adapter.rb +2 -2
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9bf0b9639a218a5da0dde267803a200993b45d5a1da9893f24e09ec259f9035
|
4
|
+
data.tar.gz: c8e8a2fc36e7f7aedeea6e18f35726237bd4086c839c70536630d2f7c2938ee6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4778556b03aacc6573fe0c03d1c348d976ee0e8f03e1f3c6f5e514c8975f7a662c6cb522a531e482f6d3f74ca8fa039eb8faf20fccde4108dad115df389e81f3
|
7
|
+
data.tar.gz: 191b9afc5308b6bdb8fd2c9ce315b0bad32b8dcec339d11726e0661a1869fa5a03e3ca24b2c0e6d5bba797237935951eee4371e4ba9ebf08c777cf29aea7f991
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [0.7.2] - 2023-05-02
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
|
13
|
+
- Fix more module names in ActiveRecord v6 adapter (`CipherstashPG` -> `CiphStashPG`).
|
14
|
+
|
9
15
|
## [0.7.1] - 2023-05-02
|
10
16
|
|
11
17
|
### Changed
|
@@ -924,7 +924,7 @@ module ActiveRecord
|
|
924
924
|
|
925
925
|
@type_map_for_results = ::CipherStashPG::TypeMapByOid.new
|
926
926
|
@type_map_for_results.default_type_map = map
|
927
|
-
@type_map_for_results.add_coder(::
|
927
|
+
@type_map_for_results.add_coder(::CipherStashPG::TextDecoder::Bytea.new(oid: 17, name: "bytea"))
|
928
928
|
@type_map_for_results.add_coder(MoneyDecoder.new(oid: 790, name: "money"))
|
929
929
|
|
930
930
|
# extract timestamp decoder for use in update_typemap_for_default_timezone
|
@@ -937,7 +937,7 @@ module ActiveRecord
|
|
937
937
|
coder_class.new(oid: row["oid"].to_i, name: row["typname"])
|
938
938
|
end
|
939
939
|
|
940
|
-
class MoneyDecoder < ::
|
940
|
+
class MoneyDecoder < ::CipherStashPG::SimpleDecoder # :nodoc:
|
941
941
|
TYPE = OID::Money.new
|
942
942
|
|
943
943
|
def decode(value, tuple = nil, field = nil)
|
data/lib/version.rb
CHANGED