portunus 0.3.4 → 0.3.5

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: c2091c0b2f89bc1de7319b97f7a85718911c03745d18cd8aab498d5a394b54b0
4
- data.tar.gz: ca989222c33f665491091ad04e18fd8423a6a520eca5dd4cf22544c3c0895a7a
3
+ metadata.gz: 3550e3c505e933ed612ddb7fede00e9d5071428f6fc47cbec262982d303c4fa8
4
+ data.tar.gz: 8f249e798e8075a82aad74997be541bb55fdc41fbbb2cf313091269a13ddfd3b
5
5
  SHA512:
6
- metadata.gz: 83c3454f07200f11ffc6cbd0344eb7d14aba9c638c4c4a2ee17425592efdbe005c9c956aae4f99acd935a75b21b1fabce445815d53a40876a4980073b6f1a558
7
- data.tar.gz: b0b7ba00db4925cd67971a4a85bbd266ed2ab28720abbaababda828114c21c127b672a7c9cf55a7e74198a0276726c4f2547e2159be92ac8b0bb33acee250bb9
6
+ metadata.gz: 10b794b14f6f7e7eeb7e6c282c31eee4cb708c4417045237a46d516187cb4c649e206c75645c462cc333fb43378d4e26e0a9e03d9c3e083a17f440e96f40c758
7
+ data.tar.gz: 3018430d52d24319bc643bb7f3990379557e271869c1a6e396824d834bed24f1005b173ac0b2fda5879a1bdb1227224ce53e7e6a4058423de207bd3614102d2b
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- portunus (0.3.1)
4
+ portunus (0.3.5)
5
5
  openssl (>= 2.1.0)
6
6
  rails (>= 5.0.0)
7
7
 
@@ -79,7 +79,6 @@ GEM
79
79
  activesupport (>= 4.2.0)
80
80
  i18n (1.8.2)
81
81
  concurrent-ruby (~> 1.0)
82
- ipaddr (1.2.2)
83
82
  json (2.3.0)
84
83
  loofah (2.4.0)
85
84
  crass (~> 1.0.2)
@@ -97,7 +96,6 @@ GEM
97
96
  nokogiri (1.10.9)
98
97
  mini_portile2 (~> 2.4.0)
99
98
  openssl (2.1.2)
100
- ipaddr
101
99
  pry (0.12.2)
102
100
  coderay (~> 1.1.0)
103
101
  method_source (~> 0.9.0)
@@ -185,3 +183,6 @@ DEPENDENCIES
185
183
  rspec
186
184
  simplecov (~> 0.17.1)
187
185
  sqlite3
186
+
187
+ BUNDLED WITH
188
+ 2.1.4
@@ -3,7 +3,7 @@ namespace :portunus do
3
3
  task rotate_keks: :environment do
4
4
  scope = ::Portunus::DataEncryptionKey.
5
5
  where(
6
- "last_kek_rotation < ? or (created_at < ? and last_kek_rotation is null",
6
+ "last_kek_rotation < ? or (created_at < ? and last_kek_rotation is null)",
7
7
  ::Portunus.configuration.max_key_duration,
8
8
  ::Portunus.configuration.max_key_duration
9
9
  )
@@ -22,7 +22,7 @@ namespace :portunus do
22
22
  else
23
23
  scope = ::Portunus::DataEncryptionKey.
24
24
  where(
25
- "last_dek_rotation < ? or (created_at < ? and last_dek_rotation is null",
25
+ "last_dek_rotation < ? or (created_at < ? and last_dek_rotation is null)",
26
26
  ::Portunus.configuration.max_key_duration,
27
27
  ::Portunus.configuration.max_key_duration
28
28
  )
@@ -1,3 +1,3 @@
1
1
  module Portunus
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
33
33
  end
34
34
  spec.require_paths = ["lib"]
35
35
 
36
- spec.add_runtime_dependency "rails", ">= 4.0.0"
36
+ spec.add_runtime_dependency "rails", ">= 5.0.0"
37
37
  spec.add_runtime_dependency "openssl", ">= 2.1.0"
38
38
 
39
39
  spec.add_development_dependency "bundler", "> 1.17"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: portunus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin Petruno
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-02 00:00:00.000000000 Z
11
+ date: 2020-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.0
19
+ version: 5.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 4.0.0
26
+ version: 5.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: openssl
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -234,8 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
234
  - !ruby/object:Gem::Version
235
235
  version: '0'
236
236
  requirements: []
237
- rubyforge_project:
238
- rubygems_version: 2.7.6.2
237
+ rubygems_version: 3.1.4
239
238
  signing_key:
240
239
  specification_version: 4
241
240
  summary: DEK and KEK Encryption for Rails