letsencrypt_heroku 0.2.4 → 0.2.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78fadc5a5aec359d08138a78a7a039ffc7deb717
|
4
|
+
data.tar.gz: 056129f2022c3eb201ead223e337fe63ed320040
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4113dbb5600459a47515c60659cbd88d7d96ff2c7fa2e920ba34131321c8b93d5c431c4f0f972f96fae2c9afaeaa1531c200836de9c1f3c18fce8473f51fba3
|
7
|
+
data.tar.gz: a5b8bb5121731a49d4e62046011cb1ed660945e6a065d20d7f71cf7cb88833b19f37588e4f23ce6ff3859dfd3496dcf1942b8c75ee83b4549611fae51d8dcea5
|
@@ -12,9 +12,9 @@ class LetsencryptHeroku::Process
|
|
12
12
|
File.write('fullchain.pem', certificate.fullchain_to_pem)
|
13
13
|
|
14
14
|
if has_already_cert(herokuapp)
|
15
|
-
execute "heroku
|
15
|
+
execute "heroku certs:update fullchain.pem privkey.pem --confirm #{herokuapp} --app #{herokuapp}"
|
16
16
|
else
|
17
|
-
execute "heroku
|
17
|
+
execute "heroku certs:add fullchain.pem privkey.pem --app #{herokuapp}"
|
18
18
|
end
|
19
19
|
FileUtils.rm %w(privkey.pem fullchain.pem)
|
20
20
|
end
|
@@ -22,7 +22,7 @@ class LetsencryptHeroku::Process
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def has_already_cert(herokuapp)
|
25
|
-
Open3.popen3("heroku
|
25
|
+
Open3.popen3("heroku certs:info --app #{herokuapp}") do |stdin, stdout, stderr, wait_thr|
|
26
26
|
return wait_thr.value.success?
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: letsencrypt_heroku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johannes Opper
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rainbow
|