keypairs 1.1.1 → 1.3.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: 7d16e91f622673ad1e6b0675d86fefecfcf2dea5f49d04e4e412eb6d13b1690e
4
- data.tar.gz: fce2c5965a3487437f6f265244bcc9eff7f04435104826fd9d48df51a8a7425e
3
+ metadata.gz: 43873dcca40b21ab51a7d56d5bd8de510b9ec4667515c90557ded59e3e258101
4
+ data.tar.gz: 1e1233998e0eb742cfcb32008481acf71e57271d9a984ab55bc2754c26bce63b
5
5
  SHA512:
6
- metadata.gz: 608c44fa803ecd3af3bcd2e6bc16feaddefa073032c8b569d56756c23814e8bd035b2453e561de333786abc8b3c32a99d1b824e0a48d050afa8853103b255e7e
7
- data.tar.gz: 586339052532023f863e8fa0fe1ab3ddce3636271be7375a21af04c3f01d348c8bdead9e6e03cd9a7d5cec0aecad40e3fa4078e1907ecd122846a90940e7109f
6
+ metadata.gz: 2ca6e2c54d251dfb9e2d7b98b082ca2e238140c095a1c5350d93e2c4011171c7665a70b0f3ae26625c56015f960ecdd0088ac9067587b223278a88cc55c49ceb
7
+ data.tar.gz: 9783aa2f524959a0da4ebaf134d700749fe3fef382a89c3ea0bf6fe1fa4e453c1932f1fe170e35bc5b8469218d4c7a378f80928b38431c04011a596dab9d5393
data/lib/keypair.rb CHANGED
@@ -38,7 +38,7 @@ class Keypair < ActiveRecord::Base
38
38
  ALGORITHM = 'RS256'
39
39
  ROTATION_INTERVAL = 1.month
40
40
 
41
- lockbox_encrypts :_keypair
41
+ has_encrypted :_keypair
42
42
 
43
43
  validates :_keypair, presence: true
44
44
  validates :jwk_kid, presence: true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Keypairs
4
- VERSION = '1.1.1'
4
+ VERSION = '1.3.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keypairs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stef Schenkelaars
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-22 00:00:00.000000000 Z
11
+ date: 2023-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2.1'
47
+ version: '2.5'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '2.1'
54
+ version: '2.5'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: lockbox
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.4'
61
+ version: '1.3'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.4'
68
+ version: '1.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: appraisal
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -271,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
271
271
  - !ruby/object:Gem::Version
272
272
  version: '0'
273
273
  requirements: []
274
- rubygems_version: 3.3.7
274
+ rubygems_version: 3.4.10
275
275
  signing_key:
276
276
  specification_version: 4
277
277
  summary: Manage application level keypairs with automatic rotation and JWT support