keypairs 1.2.0 → 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: d319e3dfd424fc39049c607a4e2ac02426beba0da6dc8020ee1efd7acd9275a6
4
- data.tar.gz: d46bd9d4a0ca9539a00a413f75b0c33141594b57a5912917b5f849dff1407244
3
+ metadata.gz: 43873dcca40b21ab51a7d56d5bd8de510b9ec4667515c90557ded59e3e258101
4
+ data.tar.gz: 1e1233998e0eb742cfcb32008481acf71e57271d9a984ab55bc2754c26bce63b
5
5
  SHA512:
6
- metadata.gz: 064cc0e1906b0508711b8e1b11f2609df92a8798e5baa31aa99eb73548e6a884e1b8fc29642dfc53c05fa4f6d565eacefeb7a5d9c668ae7680a2c61e3be4aa30
7
- data.tar.gz: cfa16d1c56ce1686d1611ce4ffc159d59c22ccbebe6450add4acc547e17dbda46f8b027842ff30d1d2b98b608c528c68359eb65ccc21ef00ccdd117f8bb258a7
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.2.0'
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.2.0
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-09-23 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
@@ -58,14 +58,14 @@ dependencies:
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