puma-acme 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/puma/acme/structs.rb +2 -2
- data/lib/puma/acme/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc156b093b48c0f4382227d31f549b2bd93138f92f994a966613004d9c33d4ee
|
4
|
+
data.tar.gz: 80bcf8a859ba560e23b99e564405fa1673fb7b4eb952c5a6ae4369c1cd8b20ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ed43ee21855807e6debaa5b0affb1d5495bbab0415b41fa2158804f707eb78dcbe7be061a50bee12cb1048f101dbd4d33f9ddd1bd64b80034b5de640d3d73f7
|
7
|
+
data.tar.gz: b7eba9477b202317c27374e9305f8efffbd20df275d97a1dd9c9838d18ad2f4e9cbf1959b3f61b34f455ee34f6bf8ab92ad8be7f8fc2757d5c2d2e24e1085340
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/puma/acme/structs.rb
CHANGED
@@ -68,7 +68,7 @@ module Puma
|
|
68
68
|
end
|
69
69
|
|
70
70
|
def expired?(now: Time.now.utc)
|
71
|
-
x509.not_after
|
71
|
+
x509.not_after < now
|
72
72
|
end
|
73
73
|
|
74
74
|
def usable?(now: Time.now.utc)
|
@@ -135,7 +135,7 @@ module Puma
|
|
135
135
|
end
|
136
136
|
|
137
137
|
def expired?(now: Time.now.utc)
|
138
|
-
|
138
|
+
expires < now
|
139
139
|
end
|
140
140
|
end
|
141
141
|
end
|
data/lib/puma/acme/version.rb
CHANGED