rails-letsencrypt 0.11.2 → 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: b90b941507b07b26a40e0ab915b21cb6e785ea1b11bd58502b4424494499ad6d
4
- data.tar.gz: b9e74ad7a5f720ee8fa3b926acd4870f2a6785bd65f5168a7603624c103ac902
3
+ metadata.gz: f0edc7fb113891045af86b87c2804503f58df7c77c3141dd613da62e14f70a41
4
+ data.tar.gz: e4049903145539cc020d3568c62d0e92f221909fe1c7696c9b8e72939ca7292e
5
5
  SHA512:
6
- metadata.gz: 73bb4892deacfb37ce21503766ea1e32553e124cc2fdd2b78dacc9a99fda614262cec65c0106d8a7439ed32c770498844b5c1fcb2883f56638ee5eaff84e5434
7
- data.tar.gz: f5aa856e5d60a0e9a40168cb9996d10293cdf0b31fab9cb08f70e5023b3adea8e6beaab32ab249a1e112ac75bd495181588085b8b0233df9d4def8e530b4eae5
6
+ metadata.gz: 885f68a89b22a6ae3abd0aa89b4d4cf868124fef706877b7e8f874212b590c7ed27af2ac1c46c2b9807a224393d60a43b3879609e46b1cf4d0d3e354e1f594bb
7
+ data.tar.gz: 4b0c77625b7cbc70fb120cb8554e780304478e17dd8c26fda1f220b630cdad15d98382186db41a1cfc89dcfec5c73f8af1b34632982cfec5178c09161a749822
@@ -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.2'
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.2
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-12-21 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