letsencrypt-rails-heroku 1.1.0 → 1.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e656c9229f6a8721d684ec0909a229d9fd80ea23
4
- data.tar.gz: 3627d2cf277d9bc3c3310d43d646cfbe5f16c426
3
+ metadata.gz: 2cbd66efbb99d3f1796a6d33964a991e66f20013
4
+ data.tar.gz: 05a60da6b7f607dffb69c183dde9791232a427a5
5
5
  SHA512:
6
- metadata.gz: f2e12aa812981cd9fceb7b38830df18448e774524e3e8a8dd43f862875fac250a650084ce29cf1b01be2427a8ba5b22a0beaf8b14e95d0833886b700e6faf3d8
7
- data.tar.gz: 51ad28ed49e4fd61647014a35d34d249f6ea4caee0678ac91cc91a1e8e612bf74cfc949a3b68ccec7232a44533dc8de5864ad63e1f34c9fcf9336fcda510ad42
6
+ metadata.gz: 354d948e82eeb5a44a0f3450ed934e31b744cc959b7837bba4b64de89cc75245ad90b183a9faa13d6a849ed6fe8046c654a26ba80aa58aef1fb4c70cf29e0445
7
+ data.tar.gz: c016ad7d53af11d25a10cd38aab9202687ceb3825deb2a64b0ea1528b02e004545a2cb5c4cd1ab83ddeb3d2264e6f5a1e021ffd032d01b2546340306bc06eb20
@@ -1,3 +1,10 @@
1
+ # 1.1.1
2
+
3
+ - Capture `OpenURI::HTTPRedirect` exceptions when polling for challenge
4
+ filename. Heroku apps configured for zero downtime will be able to respond
5
+ straight away to the request, but will probably respond with a redirect if
6
+ configured with `force_ssl`. Closes issue #41.
7
+
1
8
  # 1.1.0
2
9
 
3
10
  - Make `ACME_DOMAIN` optional by using the Heroku API to get a full list of
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: letsencrypt-rails-heroku 1.1.0 ruby lib
5
+ # stub: letsencrypt-rails-heroku 1.1.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "letsencrypt-rails-heroku"
9
- s.version = "1.1.0"
9
+ s.version = "1.1.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Pixie Labs", "David Somers", "Abigail McPhillips"]
14
- s.date = "2017-02-22"
14
+ s.date = "2017-02-28"
15
15
  s.description = "This gem automatically handles creation, renewal, and applying SSL certificates from LetsEncrypt to your Heroku account."
16
16
  s.email = "team@pixielabs.io"
17
17
  s.extra_rdoc_files = [
@@ -62,7 +62,7 @@ namespace :letsencrypt do
62
62
 
63
63
  begin
64
64
  open("http://#{hostname}/#{challenge.filename}").read
65
- rescue OpenURI::HTTPError => e
65
+ rescue OpenURI::HTTPError, OpenURI::HTTPRedirect => e
66
66
  if Time.now - start_time <= 30
67
67
  puts "Error fetching challenge, retrying... #{e.message}"
68
68
  sleep(5)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: letsencrypt-rails-heroku
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pixie Labs
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-02-22 00:00:00.000000000 Z
13
+ date: 2017-02-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: acme-client