crypt_keeper 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +6 -0
- data/crypt_keeper.gemspec +3 -3
- data/gemfiles/activerecord_7_0.gemfile +9 -0
- data/lib/crypt_keeper/provider/postgres_pgp.rb +1 -1
- data/lib/crypt_keeper/version.rb +1 -1
- metadata +16 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a090653644f2d7aba77cd684309d1a720f3a956a8568d5c03f06985ca8b608ff
|
4
|
+
data.tar.gz: a61221ebb211944e2f2695f223da199c905e6ae70ce681aa3d4c909e61801e6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2eb493363aad423a7ea2131056b48e0c5be36ee4c61f46e1bc3dda20dba6cd70ac72e2f2a1741ed004a5e35c6b2526faaeaab5b777fee9f768a9ddd5e4a97db2
|
7
|
+
data.tar.gz: dd4f889755d15483c9777199a3e332d0d66b8845355179d9fbd4b0dc26e8524ad54cbe4df6a88882d7669d0f27c9bb37fc2473379ed2ada777a897ff41f5ca57
|
data/Appraisals
CHANGED
data/crypt_keeper.gemspec
CHANGED
@@ -18,13 +18,13 @@ Gem::Specification.new do |gem|
|
|
18
18
|
|
19
19
|
gem.post_install_message = "WARNING: CryptKeeper 2.0 contains breaking changes and may require you to reencrypt your data! Please view the README at https://github.com/jmazzi/crypt_keeper for more information."
|
20
20
|
|
21
|
-
gem.add_runtime_dependency 'activerecord', '>= 4.2', '
|
22
|
-
gem.add_runtime_dependency 'activesupport', '>= 4.2', '
|
21
|
+
gem.add_runtime_dependency 'activerecord', '>= 4.2', '<= 7'
|
22
|
+
gem.add_runtime_dependency 'activesupport', '>= 4.2', '<= 7'
|
23
23
|
|
24
24
|
gem.add_development_dependency 'rspec', '~> 3.5.0'
|
25
25
|
gem.add_development_dependency 'guard', '~> 2.6.1'
|
26
26
|
gem.add_development_dependency 'guard-rspec', '~> 4.2.9'
|
27
|
-
gem.add_development_dependency 'rake'
|
27
|
+
gem.add_development_dependency 'rake'
|
28
28
|
gem.add_development_dependency 'rb-fsevent', '~> 0.9.1'
|
29
29
|
gem.add_development_dependency 'coveralls'
|
30
30
|
gem.add_development_dependency 'appraisal', '~> 2.1.0'
|
@@ -44,7 +44,7 @@ module CryptKeeper
|
|
44
44
|
def search(records, field, criteria)
|
45
45
|
if criteria.present?
|
46
46
|
records
|
47
|
-
.where.not("TRIM(BOTH FROM #{field}) = ?", "")
|
47
|
+
.where.not("TRIM(BOTH FROM \"#{field}\") = ?", "")
|
48
48
|
.where("(pgp_sym_decrypt(cast(\"#{field}\" AS bytea), ?) = ?)",
|
49
49
|
key, criteria)
|
50
50
|
else
|
data/lib/crypt_keeper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crypt_keeper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Mazzi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -17,9 +17,9 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '4.2'
|
20
|
-
- - "
|
20
|
+
- - "<="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '7'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +27,9 @@ dependencies:
|
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '4.2'
|
30
|
-
- - "
|
30
|
+
- - "<="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '7'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: activesupport
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -37,9 +37,9 @@ dependencies:
|
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '4.2'
|
40
|
-
- - "
|
40
|
+
- - "<="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '7'
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -47,9 +47,9 @@ dependencies:
|
|
47
47
|
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '4.2'
|
50
|
-
- - "
|
50
|
+
- - "<="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
52
|
+
version: '7'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rspec
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -96,16 +96,16 @@ dependencies:
|
|
96
96
|
name: rake
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
|
-
- - "
|
99
|
+
- - ">="
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
101
|
+
version: '0'
|
102
102
|
type: :development
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
|
-
- - "
|
106
|
+
- - ">="
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version:
|
108
|
+
version: '0'
|
109
109
|
- !ruby/object:Gem::Dependency
|
110
110
|
name: rb-fsevent
|
111
111
|
requirement: !ruby/object:Gem::Requirement
|
@@ -225,6 +225,7 @@ files:
|
|
225
225
|
- gemfiles/activerecord_5_2.gemfile
|
226
226
|
- gemfiles/activerecord_6_0.gemfile
|
227
227
|
- gemfiles/activerecord_6_1.gemfile
|
228
|
+
- gemfiles/activerecord_7_0.gemfile
|
228
229
|
- lib/crypt_keeper.rb
|
229
230
|
- lib/crypt_keeper/helper.rb
|
230
231
|
- lib/crypt_keeper/log_subscriber/mysql_aes.rb
|
@@ -273,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
273
274
|
- !ruby/object:Gem::Version
|
274
275
|
version: '0'
|
275
276
|
requirements: []
|
276
|
-
rubygems_version: 3.
|
277
|
+
rubygems_version: 3.1.4
|
277
278
|
signing_key:
|
278
279
|
specification_version: 4
|
279
280
|
summary: Transparent ActiveRecord encryption
|