rails-letsencrypt 0.11.1 → 0.11.3

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: c7982391c7429690c46359fb4fb5c2b5bb29507af9b35804680f4cc92278f38b
4
- data.tar.gz: 52f3594d63ec0d693e1ab201d7652fd7ff3cb7706913d4e8ca5e9831d8b35fa1
3
+ metadata.gz: f0edc7fb113891045af86b87c2804503f58df7c77c3141dd613da62e14f70a41
4
+ data.tar.gz: e4049903145539cc020d3568c62d0e92f221909fe1c7696c9b8e72939ca7292e
5
5
  SHA512:
6
- metadata.gz: bf61439ef46a30f56b4c950f9d3294d66ae9c16e6b15d40da06ee3cb4b4b55ab552feb956dde25d1dbf28dbe4faf5e9e7f67d3bde97344631b5188273b6c564e
7
- data.tar.gz: 5fe30cef16b46d073eab2fc4010b44d129ae2945f5c7bbcfbeaca252f94727b7c2b0566487846c8a82dc51f4e4336e8afa9bec48bbc7a71dad89dce9b7ea6db6
6
+ metadata.gz: 885f68a89b22a6ae3abd0aa89b4d4cf868124fef706877b7e8f874212b590c7ed27af2ac1c46c2b9807a224393d60a43b3879609e46b1cf4d0d3e354e1f594bb
7
+ data.tar.gz: 4b0c77625b7cbc70fb120cb8554e780304478e17dd8c26fda1f220b630cdad15d98382186db41a1cfc89dcfec5c73f8af1b34632982cfec5178c09161a749822
@@ -60,7 +60,7 @@ module LetsEncrypt
60
60
  sleep 1
61
61
  verify
62
62
  else
63
- logger.info "#{domain}: Error: #{e.class} (#{e.message})"
63
+ logger.info "#{domain}: Error: #{error.class} (#{error.message})"
64
64
  false
65
65
  end
66
66
  end
@@ -26,6 +26,8 @@ module LetsEncrypt
26
26
  include CertificateVerifiable
27
27
  include CertificateIssuable
28
28
 
29
+ self.table_name = 'letsencrypt_certificates'
30
+
29
31
  validates :domain, presence: true, uniqueness: true
30
32
 
31
33
  scope :active, -> { where('certificate IS NOT NULL AND expires_at > ?', Time.zone.now) }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LetsEncrypt
4
- VERSION = '0.11.1'
4
+ VERSION = '0.11.3'
5
5
  end
data/lib/letsencrypt.rb CHANGED
@@ -83,11 +83,6 @@ module LetsEncrypt
83
83
  @config
84
84
  end
85
85
 
86
- # @api private
87
- def table_name_prefix
88
- 'letsencrypt_'
89
- end
90
-
91
86
  def certificate_model
92
87
  @certificate_model ||= config.certificate_model.constantize
93
88
  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.11.1
4
+ version: 0.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - 蒼時弦也
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-14 00:00:00.000000000 Z
11
+ date: 2024-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: acme-client
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
186
  - !ruby/object:Gem::Version
187
187
  version: '0'
188
188
  requirements: []
189
- rubygems_version: 3.4.10
189
+ rubygems_version: 3.1.6
190
190
  signing_key:
191
191
  specification_version: 4
192
192
  summary: The Let's Encrypt certificate manager for rails