certflare 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/certflare/common/authenticator.rb +2 -2
- data/lib/certflare/common/cleanup.rb +3 -3
- data/lib/certflare/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2a784a5934747e1596727da6a49a81c2f7b6c16dd3c088a0ec1bb620b0cefe44
|
|
4
|
+
data.tar.gz: 53aea1308cdcf6761627aaad9edfc9042beaf9cd970f6d7715b4a03b7917c41e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87573064475b8e488eaeac45e74c07517a62d12f56c646b4246049d056ae54f10d6da3f21ecc26cffe1b985afc6e589abf16e2bc2534d04137eb9e6ad86dd94a
|
|
7
|
+
data.tar.gz: 621dac69b46b8e91444e2c4e76e59a5045a1941590f2d2c0c2fe4a1c6616f46fa02b57e442d337dba7ce47f51aa7a1669b81a4ccdf56a611ffab4ecc75752fda
|
|
@@ -15,8 +15,8 @@ module Certflare
|
|
|
15
15
|
class Authenticator
|
|
16
16
|
def initialize
|
|
17
17
|
@cfg = YAML.load_file(Pathname.new('/etc/').join('certflare'))
|
|
18
|
-
@api_key = @cfg['
|
|
19
|
-
@email = @cfg['
|
|
18
|
+
@api_key = @cfg['api_key']
|
|
19
|
+
@email = @cfg['email']
|
|
20
20
|
@domain = ENV['CERTBOT_DOMAIN']
|
|
21
21
|
@validation = ENV['CERTBOT_VALIDATION']
|
|
22
22
|
@main_domain = PublicSuffix.domain(@domain)
|
|
@@ -15,9 +15,9 @@ module Certflare
|
|
|
15
15
|
class CleanUp
|
|
16
16
|
def initialize
|
|
17
17
|
@configs_dir = Pathname.new('/etc/')
|
|
18
|
-
@cfg =
|
|
19
|
-
@api_key = @cfg['
|
|
20
|
-
@email = @cfg['
|
|
18
|
+
@cfg = YAML.load_file(@configs_dir.join('certflare'))
|
|
19
|
+
@api_key = @cfg['api_key']
|
|
20
|
+
@email = @cfg['email']
|
|
21
21
|
@client = CloudflareClient::Zone.new(auth_key: @api_key, email: @email)
|
|
22
22
|
end
|
|
23
23
|
def get_certbot_vars
|
data/lib/certflare/version.rb
CHANGED