rails-letsencrypt 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/lets_encrypt/certificate.rb +22 -2
- data/lib/letsencrypt/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9fc95cfa6a6ebd9a4445edbc1b31582eb1a9ad1
|
4
|
+
data.tar.gz: c38b0856b09cd866e00571e046a57c551617dcba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c87a1fecd0cd8d06dbbea7e28cc154f0a0c6c0f661e23f67df9251c3f718dd59b012cc0f0744c4d520d1d6a7fea9b6cfa81cf9c365ab1e04edae60ab864da6e1
|
7
|
+
data.tar.gz: 581b105cb8fba112473fbf49f596b7028096618e604915e04e091a0722420d1b7149ea1088ac60e2c60d918f89e768f940606b5f6268edd021c1498622afb5e8
|
@@ -1,7 +1,27 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module LetsEncrypt
|
4
|
-
#
|
4
|
+
# == Schema Information
|
5
|
+
#
|
6
|
+
# Table name: letsencrypt_certificates
|
7
|
+
#
|
8
|
+
# id :integer not null, primary key
|
9
|
+
# domain :string(255)
|
10
|
+
# certificate :text(65535)
|
11
|
+
# intermediaries :text(65535)
|
12
|
+
# key :text(65535)
|
13
|
+
# expires_at :datetime
|
14
|
+
# renew_after :datetime
|
15
|
+
# verification_path :string(255)
|
16
|
+
# verification_string :string(255)
|
17
|
+
# created_at :datetime not null
|
18
|
+
# updated_at :datetime not null
|
19
|
+
#
|
20
|
+
# Indexes
|
21
|
+
#
|
22
|
+
# index_letsencrypt_certificates_on_domain (domain)
|
23
|
+
# index_letsencrypt_certificates_on_renew_after (renew_after)
|
24
|
+
#
|
5
25
|
class Certificate < ActiveRecord::Base
|
6
26
|
include CertificateVerifiable
|
7
27
|
include CertificateIssuable
|
@@ -37,7 +57,7 @@ module LetsEncrypt
|
|
37
57
|
|
38
58
|
# Returns full-chain bundled certificates
|
39
59
|
def bundle
|
40
|
-
|
60
|
+
certificate + intermediaries
|
41
61
|
end
|
42
62
|
|
43
63
|
def certificate_object
|
data/lib/letsencrypt/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-letsencrypt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 蒼時弦也
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|