keypairs 1.1.0 → 1.2.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: b27173f10b5fa527f4bc1c1ea863ee154735fa91afd45b0b050fc07e30d3d4c1
4
- data.tar.gz: 471a038be596fec5dcac92e16923fde534348288abd000c9a235178244dff4ee
3
+ metadata.gz: d319e3dfd424fc39049c607a4e2ac02426beba0da6dc8020ee1efd7acd9275a6
4
+ data.tar.gz: d46bd9d4a0ca9539a00a413f75b0c33141594b57a5912917b5f849dff1407244
5
5
  SHA512:
6
- metadata.gz: 7da952c440fb88a52457fa801ac78ea318cdccd7514b44187f5fd7701c36d72e83dbbc6c436789b9fb029680b6c1b4f9197c69bcca7449b74bdc09b00ded9d94
7
- data.tar.gz: 8bb70edb0ea21824d99841414f3b02bfa467f5e420c3fb7ae1ca61ee593a491123ea7826f455f549beb42f8408399d78afb15a227a399f298f5e8d41ebae15b3
6
+ metadata.gz: 064cc0e1906b0508711b8e1b11f2609df92a8798e5baa31aa99eb73548e6a884e1b8fc29642dfc53c05fa4f6d565eacefeb7a5d9c668ae7680a2c61e3be4aa30
7
+ data.tar.gz: cfa16d1c56ce1686d1611ce4ffc159d59c22ccbebe6450add4acc547e17dbda46f8b027842ff30d1d2b98b608c528c68359eb65ccc21ef00ccdd117f8bb258a7
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
- encrypts :_keypair
41
+ lockbox_encrypts :_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.0'
4
+ VERSION = '1.2.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.0
4
+ version: 1.2.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: 2021-12-02 00:00:00.000000000 Z
11
+ date: 2022-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -44,14 +44,14 @@ 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
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0.4'
69
+ - !ruby/object:Gem::Dependency
70
+ name: appraisal
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: brakeman
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -250,14 +264,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
250
264
  requirements:
251
265
  - - ">="
252
266
  - !ruby/object:Gem::Version
253
- version: 2.6.0
267
+ version: 2.7.0
254
268
  required_rubygems_version: !ruby/object:Gem::Requirement
255
269
  requirements:
256
270
  - - ">="
257
271
  - !ruby/object:Gem::Version
258
272
  version: '0'
259
273
  requirements: []
260
- rubygems_version: 3.1.4
274
+ rubygems_version: 3.3.7
261
275
  signing_key:
262
276
  specification_version: 4
263
277
  summary: Manage application level keypairs with automatic rotation and JWT support