lecli 0.2.1 → 0.2.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: 032b67c78b3ab17e770faf7583c173faa6cd0333
4
- data.tar.gz: 4ed9b4cf5b0c03f913953ebc949529e5169e73c6
3
+ metadata.gz: 4808b041d83a611a2a5b133ab485d3e59aabfaaf
4
+ data.tar.gz: b5781570c2e72e9bf34f4649e32ac77a0d206256
5
5
  SHA512:
6
- metadata.gz: 4536d4d4f0f041ed7ce8dc89db29e58f04639562ab261b4df60efdb691d4ea5b829ab2b6ebd46b20ea0f5259c947abf4a74a16f758612d0876238e6b30dfbef8
7
- data.tar.gz: b5dd8a95a6579ef16443df3417a8887c176ea84de25b60bcd77642d96f761a7c21e22d87a67faea9272da0f3a0e63ab3d9c80331bbe7964384f9f8a3b5a6be7c
6
+ metadata.gz: cba07c13f72fd47dcde7b9dd3a73300ea37cda6ba249ee4fc87b73a1cdc2e3f3bfc8669d6812d63835b06d384f4f7ca213d0119afb3d451120b1703f29554d20
7
+ data.tar.gz: 06a9eea65ae077421593d8414208b4c68a2bd0c1be656ad15c430cbfa782349692ef23493cc9074bfb2f6c0c6a287dc56ff967c7fa2e3a589ef579e2800b1861
data/Gemfile.lock CHANGED
@@ -1,13 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lecli (0.2.1)
4
+ lecli (0.2.2)
5
+ acme-client (~> 2.0.0)
5
6
  thor (~> 0.20.0)
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
9
10
  specs:
11
+ acme-client (2.0.0)
12
+ faraday (~> 0.9, >= 0.9.1)
10
13
  diff-lcs (1.3)
14
+ faraday (0.15.2)
15
+ multipart-post (>= 1.2, < 3)
16
+ multipart-post (2.0.0)
11
17
  rake (10.5.0)
12
18
  rspec (3.7.0)
13
19
  rspec-core (~> 3.7.0)
data/lecli.gemspec CHANGED
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.require_paths = ["lib"]
23
23
 
24
24
  spec.add_dependency "thor", "~> 0.20.0"
25
+ spec.add_dependency "acme-client", "~> 2.0.0"
25
26
 
26
27
  spec.add_development_dependency "bundler", "~> 1.16"
27
28
  spec.add_development_dependency "rake", "~> 10.0"
@@ -1,4 +1,7 @@
1
1
  require "thor"
2
+ require "acme-client"
3
+ require "uri"
4
+ require "fileutils"
2
5
 
3
6
  module LECLI
4
7
  class CertificateBuilder
@@ -50,7 +53,11 @@ module LECLI
50
53
  pending = true
51
54
  while pending
52
55
  challenges.each do |challenge|
53
- challenge.request_validation
56
+ begin
57
+ challenge.request_validation
58
+ rescue Acme::Client::Error::Malformed
59
+ print "."
60
+ end
54
61
  end
55
62
 
56
63
  status = challenges.map(&:status)
data/lib/lecli/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module LECLI
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lecli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Valverde Arredondo
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.20.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: acme-client
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 2.0.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 2.0.0
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bundler
29
43
  requirement: !ruby/object:Gem::Requirement