rails-letsencrypt 0.9.0 → 0.10.0

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: c66c89051c25749cc81ea2c424a44906bb6dc7919a8dcf1f1232545cae89ccd2
4
- data.tar.gz: 15e4fd11a59a9785cc1f082a9892eb8d6f55da8d7eaac7e7031bc56c4b6fb1c0
3
+ metadata.gz: 803822003496186ae2408760697b9ee88f136051e1cfed2ec6364ac6cfd1d90e
4
+ data.tar.gz: 8132cddcd9d2c6ceb6b039aec68a517873994041ef798a74d396fa92f59240f5
5
5
  SHA512:
6
- metadata.gz: 95fc3af7a3f89e95e4b50ed67ae0c1ed0ec21e3f1dd8c8a8563d5154f38acb23e6350d622bfc5104f89ac4274b8b0da84da9a34db49420eaf860d38d5e4ee9cb
7
- data.tar.gz: 5743cc2eefdd22bcd211651add527f0f0e6df56f0fe085cb8da6e5cdae071b16e372f9a8e7a72f4a8e51615fd08894b00be3db493e663806132b5695f114d0e0
6
+ metadata.gz: 36ef4db53e0d1652115908850deb8a229f5566964b01415fd6ad4399f47401bd493fa556a4de6c21d7406cf17b2b7f009aef44ec98d4753ebaa24508ab63b8ab
7
+ data.tar.gz: 6fe213a8aaa548b1cead27f95aa56771aa5924b182d52902d5b584e17fe526674ba945ebb2b834c374be73f0ef335f42afa9b6d4a280806b6dd65c1106a1e924
@@ -10,7 +10,7 @@ module LetsEncrypt
10
10
  logger.info "Getting certificate for #{domain}"
11
11
  create_certificate
12
12
  # rubocop:disable Metrics/LineLength
13
- logger.info "Certificate issued (expires on #{expires_at}, will renew after #{renew_after})"
13
+ logger.info "Certificate issued for #{domain} (expires on #{expires_at}, will renew after #{renew_after})"
14
14
  # rubocop:enable Metrics/LineLength
15
15
  true
16
16
  end
@@ -35,7 +35,7 @@ module LetsEncrypt
35
35
  until @challenge.status != 'pending'
36
36
  checks += 1
37
37
  if checks > 30
38
- logger.info 'Status remained at pending for 30 checks'
38
+ logger.info "#{domain}: Status remained at pending for 30 checks"
39
39
  return false
40
40
  end
41
41
  sleep 1
@@ -45,7 +45,7 @@ module LetsEncrypt
45
45
 
46
46
  def check_verify_status
47
47
  unless @challenge.status == 'valid'
48
- logger.info "Status was not valid (was: #{@challenge.status})"
48
+ logger.info "#{domain}: Status was not valid (was: #{@challenge.status})"
49
49
  return false
50
50
  end
51
51
 
@@ -56,11 +56,11 @@ module LetsEncrypt
56
56
  @retries ||= 0
57
57
  if e.is_a?(Acme::Client::Error::BadNonce) && @retries < 5
58
58
  @retries += 1
59
- logger.info "Bad nounce encountered. Retrying (#{@retries} of 5 attempts)"
59
+ logger.info "#{domain}: Bad nounce encountered. Retrying (#{@retries} of 5 attempts)"
60
60
  sleep 1
61
61
  verify
62
62
  else
63
- logger.info "Error: #{e.class} (#{e.message})"
63
+ logger.info "#{domain}: Error: #{e.class} (#{e.message})"
64
64
  return false
65
65
  end
66
66
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LetsEncrypt
4
- VERSION = '0.9.0'
4
+ VERSION = '0.10.0'
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.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - 蒼時弦也
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-04 00:00:00.000000000 Z
11
+ date: 2020-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -156,7 +156,7 @@ homepage: https://github.com/elct9620/rails-letsencrypt
156
156
  licenses:
157
157
  - MIT
158
158
  metadata: {}
159
- post_install_message:
159
+ post_install_message:
160
160
  rdoc_options: []
161
161
  require_paths:
162
162
  - lib
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  version: '0'
173
173
  requirements: []
174
174
  rubygems_version: 3.0.3
175
- signing_key:
175
+ signing_key:
176
176
  specification_version: 4
177
177
  summary: The Let's Encrypt certificate manager for rails
178
178
  test_files: []