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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20d99952a5fed288ccf2a91a784e1042ffb5be58
4
- data.tar.gz: a55d6f532be02ab448695b0b9c90a3b39f9fe76b
3
+ metadata.gz: a9fc95cfa6a6ebd9a4445edbc1b31582eb1a9ad1
4
+ data.tar.gz: c38b0856b09cd866e00571e046a57c551617dcba
5
5
  SHA512:
6
- metadata.gz: 8bdd74b0ca815dc03c277852b597d9aa07369db2ef8d2ccef9e2d47e2baa1f2e4391e24c585405baabb12dea055abad2098d519ed50adfecc89634a45237b9a5
7
- data.tar.gz: a0bee2de40ad55c1a9766ace4b4ba5baa913a18fe9c53263526599ebc5b5018846ca86cba067b7fd065f8004d06b65cbda254f7c69628bf98cf301951d5958f4
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
- # :nodoc:
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
- [intermediaries, certificate].join("\n")
60
+ certificate + intermediaries
41
61
  end
42
62
 
43
63
  def certificate_object
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LetsEncrypt
4
- VERSION = '0.5.1'
4
+ VERSION = '0.5.2'
5
5
  end
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.1
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-05-15 00:00:00.000000000 Z
11
+ date: 2017-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails