crypt_keeper 2.0.1 → 2.1.0

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
  SHA256:
3
- metadata.gz: a3487da836fa168664dc80667a7ec11cf0101b74724cc63d67ea47c67e46615e
4
- data.tar.gz: 9bb8281e94f569254ff80c5e153a6291e8dbe0f40469a6e0fa2aeef058c745e6
3
+ metadata.gz: 8eea148fb3466355ab885c4b3e4ee37dec55bfe63f15d3046ca80f96b22830a7
4
+ data.tar.gz: 9dd4163ab7fa1b9bf44a673b1c12c0997fc7281b272584bb1a7fd6f104b6d996
5
5
  SHA512:
6
- metadata.gz: 422a52090724c857b26fafe9db634c736f1d21c66fb4a51d4516e76414f66a3f84205ef64b5e83facbb856c5dc1ee633f6827ced22144691edf43f24e79b8eb9
7
- data.tar.gz: d90f464be5ef20b854fa144b40dff7f081608f3e6384176b1ab8b8efb867dd98651a8d6d7b9785a0f37ef4687f229c1679731dd2a3925f885eedeb92e58eec5a
6
+ metadata.gz: 0b3d6761b62bd3c9bf95ca7192b0e70e715b887d42b54ee0ed0edde227b8c8b65bb544378952f93fefc7485654aed0874d56d9fa09e012f5269d51456cd08bf5
7
+ data.tar.gz: 0a38198f7068146b952c88f78d1e49ac2cf801997a3473a0c107649936a536b223455afa3dc5bafeb2f2a817edadb021f1668be994d0f2b1ebb243db812ee219
@@ -1,22 +1,51 @@
1
1
  language: ruby
2
2
 
3
3
  rvm:
4
- - 2.2.7
5
- - 2.3.4
6
- - 2.4.1
4
+ - 2.2.10
5
+ - 2.3.8
6
+ - 2.4.5
7
7
  - 2.5.3
8
- - 2.6.0
8
+ - 2.6.4
9
9
 
10
10
  gemfile:
11
11
  - gemfiles/activerecord_4_2.gemfile
12
12
  - gemfiles/activerecord_5_0.gemfile
13
13
  - gemfiles/activerecord_5_1.gemfile
14
14
  - gemfiles/activerecord_5_2.gemfile
15
+ - gemfiles/activerecord_6_0.gemfile
15
16
 
16
- addons:
17
- postgresql: 9.3
17
+ matrix:
18
+ exclude:
19
+ - rvm: 2.2.10
20
+ gemfile: gemfiles/activerecord_5_0.gemfile
21
+ - rvm: 2.2.10
22
+ gemfile: gemfiles/activerecord_5_1.gemfile
23
+ - rvm: 2.2.10
24
+ gemfile: gemfiles/activerecord_6_0.gemfile
25
+ - rvm: 2.3.8
26
+ gemfile: gemfiles/activerecord_5_0.gemfile
27
+ - rvm: 2.3.8
28
+ gemfile: gemfiles/activerecord_5_1.gemfile
29
+ - rvm: 2.3.8
30
+ gemfile: gemfiles/activerecord_6_0.gemfile
31
+ - rvm: 2.4.5
32
+ gemfile: gemfiles/activerecord_5_0.gemfile
33
+ - rvm: 2.4.5
34
+ gemfile: gemfiles/activerecord_5_1.gemfile
35
+ - rvm: 2.4.5
36
+ gemfile: gemfiles/activerecord_6_0.gemfile
37
+ - rvm: 2.5.3
38
+ gemfile: gemfiles/activerecord_5_0.gemfile
39
+ - rvm: 2.5.3
40
+ gemfile: gemfiles/activerecord_5_1.gemfile
41
+ - rvm: 2.6.4
42
+ gemfile: gemfiles/activerecord_5_0.gemfile
43
+ - rvm: 2.6.4
44
+ gemfile: gemfiles/activerecord_5_1.gemfile
18
45
 
19
- sudo: false
46
+ services:
47
+ - postgresql
48
+ - mysql
20
49
 
21
50
  before_script:
22
51
  - cp spec/default.database.yml spec/database.yml
data/Appraisals CHANGED
@@ -1,6 +1,7 @@
1
1
  appraise "activerecord_4_2" do
2
2
  gem "activerecord", "~> 4.2.0"
3
3
  gem "activesupport", "~> 4.2.0"
4
+ gem "sqlite3", "~> 1.3.0"
4
5
  end
5
6
 
6
7
  appraise "activerecord_5_0" do
@@ -17,3 +18,8 @@ appraise "activerecord_5_2" do
17
18
  gem "activerecord", "~> 5.2.0"
18
19
  gem "activesupport", "~> 5.2.0"
19
20
  end
21
+
22
+ appraise "activerecord_6_0" do
23
+ gem "activerecord", "~> 6.0.0"
24
+ gem "activesupport", "~> 6.0.0"
25
+ end
@@ -18,8 +18,8 @@ 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', '< 5.3'
22
- gem.add_runtime_dependency 'activesupport', '>= 4.2', '< 5.3'
21
+ gem.add_runtime_dependency 'activerecord', '>= 4.2', '< 6.1'
22
+ gem.add_runtime_dependency 'activesupport', '>= 4.2', '< 6.1'
23
23
 
24
24
  gem.add_development_dependency 'rspec', '~> 3.5.0'
25
25
  gem.add_development_dependency 'guard', '~> 2.6.1'
@@ -35,7 +35,7 @@ Gem::Specification.new do |gem|
35
35
  gem.add_development_dependency 'activerecord-jdbcpostgresql-adapter'
36
36
  gem.add_development_dependency 'activerecord-jdbcmysql-adapter'
37
37
  else
38
- gem.add_development_dependency 'sqlite3', '~> 1.3', '< 1.4'
38
+ gem.add_development_dependency 'sqlite3', '>= 1.3.3', '< 1.5'
39
39
  gem.add_development_dependency 'pg', '~> 0.18.0'
40
40
  gem.add_development_dependency 'mysql2', '>= 0.3.13', '< 0.6.0'
41
41
  end
@@ -4,5 +4,6 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", "~> 4.2.0"
6
6
  gem "activesupport", "~> 4.2.0"
7
+ gem "sqlite3", "~> 1.3.0"
7
8
 
8
9
  gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 6.0.0"
6
+ gem "activesupport", "~> 6.0.0"
7
+
8
+ gemspec :path => "../"
@@ -1,3 +1,3 @@
1
1
  module CryptKeeper
2
- VERSION = "2.0.1"
2
+ VERSION = "2.1.0"
3
3
  end
@@ -14,7 +14,11 @@ RSpec.configure do |config|
14
14
  config.filter_run :focus
15
15
 
16
16
  config.after :each do
17
- ActiveRecord::Base.descendants.each do |model|
17
+ descendants = ActiveRecord::Base.descendants.delete_if do |descendant|
18
+ descendant.to_s.include?("SchemaMigration")
19
+ end
20
+
21
+ descendants.each do |model|
18
22
  model.method(:delete_all).call
19
23
  end
20
24
  end
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.0.1
4
+ version: 2.1.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: 2019-02-13 00:00:00.000000000 Z
11
+ date: 2020-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '4.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5.3'
22
+ version: '6.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '4.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5.3'
32
+ version: '6.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: activesupport
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '4.2'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '5.3'
42
+ version: '6.1'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '4.2'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '5.3'
52
+ version: '6.1'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -152,22 +152,22 @@ dependencies:
152
152
  name: sqlite3
153
153
  requirement: !ruby/object:Gem::Requirement
154
154
  requirements:
155
- - - "~>"
155
+ - - ">="
156
156
  - !ruby/object:Gem::Version
157
- version: '1.3'
157
+ version: 1.3.3
158
158
  - - "<"
159
159
  - !ruby/object:Gem::Version
160
- version: '1.4'
160
+ version: '1.5'
161
161
  type: :development
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - "~>"
165
+ - - ">="
166
166
  - !ruby/object:Gem::Version
167
- version: '1.3'
167
+ version: 1.3.3
168
168
  - - "<"
169
169
  - !ruby/object:Gem::Version
170
- version: '1.4'
170
+ version: '1.5'
171
171
  - !ruby/object:Gem::Dependency
172
172
  name: pg
173
173
  requirement: !ruby/object:Gem::Requirement
@@ -223,6 +223,7 @@ files:
223
223
  - gemfiles/activerecord_5_0.gemfile
224
224
  - gemfiles/activerecord_5_1.gemfile
225
225
  - gemfiles/activerecord_5_2.gemfile
226
+ - gemfiles/activerecord_6_0.gemfile
226
227
  - lib/crypt_keeper.rb
227
228
  - lib/crypt_keeper/helper.rb
228
229
  - lib/crypt_keeper/log_subscriber/mysql_aes.rb