surtr 0.2.0 → 0.2.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
  SHA256:
3
- metadata.gz: fca9124754acf3bf04d33a71a06648c8c0c1d947fb9484cd8f9ff8edcd90eb7f
4
- data.tar.gz: e6d981c356da1eacccbe8f104af4c31d2b9a79497ca3753590dde0af5606a03d
3
+ metadata.gz: 9fe25d92df407b684515f12904a45114052f9b733b2f584bf35927f9162e8390
4
+ data.tar.gz: 81b32a5e9ee4c3f22c45e4c0aac1abdef4ad88d93cf57e36bf922abb27dcf824
5
5
  SHA512:
6
- metadata.gz: 5e2025e6f7267723ae027d0c991267aade795b4f423d4ed8d1e89c35b32eb0bed36ca9679bc7d268b3116099fb517431d145a686e980161d9651b54a14d66c6b
7
- data.tar.gz: 2bbcd17b0a21d85a5caee4cdfd2d7208ec5ec6074cb07fb718490069b33b9670c5ed298a8f8ad5da1d071e4f397e2aee20231db3ec47ef42dd3ebcbc127e8f21
6
+ metadata.gz: 44442fee78c68da329c83eebd8734eed827bce4f3e2bcaf605621a1a7f1344b05e1cd2d233b9eb79f66fa229ed541f0d0991c0531590916e54ff108deba9c32c
7
+ data.tar.gz: 1679a7e88a38de25556a8694585c86431246b3cbc308f9dc0348184cc8b1d0b7cc4f25ccf8f89112f0668814e1a66911273db2cd8d9cafc768ee074821a3fd46
data/README.md CHANGED
@@ -6,6 +6,15 @@ A tool for managing Let's Encrypt certificates.
6
6
 
7
7
  gem install surtr
8
8
 
9
+ ## Set up GCP
10
+
11
+ You'll want to set `SURTR_GCP_PROJECT` to the name of the GCP project your Cloud DNS records are in.
12
+
13
+ You'll need to have credentials installed locally. The usual way to do this is to install the Google Cloud SDK and set up an application-default login.
14
+
15
+ * https://cloud.google.com/sdk/downloads
16
+ * https://cloud.google.com/sdk/gcloud/reference/auth/application-default/login
17
+
9
18
  ## Commands
10
19
 
11
20
  ### surtr wizard DESTINATION DOMAINS...
data/lib/surtr/dns.rb CHANGED
@@ -11,6 +11,7 @@ module Surtr
11
11
  r = Resolv::DNS.new(nameserver: ns)
12
12
  s = r.getresource(name, Resolv::DNS::Resource::IN::TXT).strings
13
13
  s.member?(value)
14
+ rescue Resolv::ResolvError
14
15
  end
15
16
  break if ok
16
17
  sleep 0.5
data/lib/surtr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Surtr
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: surtr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Baum
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-16 00:00:00.000000000 Z
11
+ date: 2018-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clamp