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: 59f391a93b4401240e1613584d8088bc59e217fe
4
- data.tar.gz: 0dbe8e602509cd5f2ebd74c9a51ca720a35e0223
3
+ metadata.gz: 78fadc5a5aec359d08138a78a7a039ffc7deb717
4
+ data.tar.gz: 056129f2022c3eb201ead223e337fe63ed320040
5
5
  SHA512:
6
- metadata.gz: 0c52328cd3f0702f12ca9e2ca798cbab9e29d809c573a5dfbe23148653cd072392f059ed69ff85dd72f39cd236b058d0f6d32c18c7afb34dae0c45b3342d15eb
7
- data.tar.gz: 2f3a736074dce9fac0d6377ddc7cbc2b846d76fbab90f1a0422daee434a7e937aa5ae010f25ee9fbeb51524a1a804ed2a64df19fccc9c5f25900514407fac460
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 _certs:update fullchain.pem privkey.pem --confirm #{herokuapp} --app #{herokuapp}"
15
+ execute "heroku certs:update fullchain.pem privkey.pem --confirm #{herokuapp} --app #{herokuapp}"
16
16
  else
17
- execute "heroku _certs:add fullchain.pem privkey.pem --app #{herokuapp}"
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 _certs:info --app #{herokuapp}") do |stdin, stdout, stderr, wait_thr|
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
@@ -1,3 +1,3 @@
1
1
  module LetsencryptHeroku
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  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
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-08-17 00:00:00.000000000 Z
11
+ date: 2016-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rainbow