acmesmith 0.6.0 → 0.6.1

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: 63bbb87b41e2ab5fbe44ca6ad4026795e314519f
4
- data.tar.gz: c1d0645c4dc6d710e0422afd4caade86ed46c745
3
+ metadata.gz: e7fcd16986fecaf6cb855a668f261f191236f041
4
+ data.tar.gz: c2995040c1e0681c9322243132e3393399fbbd07
5
5
  SHA512:
6
- metadata.gz: d01c1960e2fa8eae938260f3bb9a2f52f7caedf31d4540c667ab6061f4c8095bb1855e34d1170b409b5d7f396438dc69b38474bf2d25458563e1924a1ddf0c47
7
- data.tar.gz: f5ae0c2375fb018564e5c5dbb5fe107613d35dbac0227e8c62e58b4037e6936acd5adef2a46f96eceaa93115af687375e08388973a66389d3037ddb99625b131
6
+ metadata.gz: 1d2ba38ef47edf8b10a960dff3a608221dcc879a279a7713a9fa85f95141f03e67ead6aa227809951fd57b6f44fa04b6567a69c33cad53eef0f83a2f066aae51
7
+ data.tar.gz: 35aefc2f03da1d5fa3c16858c9000349a2434c7f65cfea6ccffea74fdd36dc5ca6ead77d9f8acea07a94c6167b39889e92ea3fcc65b6eefe2d809d936b04cad7
@@ -81,6 +81,7 @@ module Acmesmith
81
81
  acme.new_certificate(csr)
82
82
  rescue Acme::Client::Error::Unauthorized => e
83
83
  raise unless config.auto_authorize_on_request
84
+ raise if retried
84
85
 
85
86
  puts "=> Authorizing unauthorized domain names"
86
87
  # https://github.com/letsencrypt/boulder/blob/b9369a481415b3fe31e010b34e2ff570b89e42aa/ra/ra.go#L604
@@ -95,7 +96,7 @@ module Acmesmith
95
96
  puts " * #{domains.join(', ')}"
96
97
  authorize(*domains)
97
98
  retried = true
98
- retry unless retried
99
+ retry
99
100
  end
100
101
 
101
102
  cert = Certificate.from_acme_client_certificate(acme_cert)
@@ -1,3 +1,3 @@
1
1
  module Acmesmith
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acmesmith
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sorah (Shota Fukumori)