History

Update dl.devdocs.io URL to HTTPS

Thibaut Courouble committed 8 years ago

Commit db523e21 parent e8d52c91 file · +1 −1Browse files

Unified · Split

lib/tasks/docs.thor+1−1
@@ -237,7 +237,7 @@ class DocsCLI < Thor · 236 unmodified lines
237 237
238 def download_doc(doc)238 def download_doc(doc)
239 target_path = File.join(Docs.store_path, doc.path)239 target_path = File.join(Docs.store_path, doc.path)
240 open "http://dl.devdocs.io/#{doc.path}.tar.gz" do |file|240 open "https://dl.devdocs.io/#{doc.path}.tar.gz" do |file|
241 FileUtils.mkpath(target_path)241 FileUtils.mkpath(target_path)
242 file.close242 file.close
243 tar = UnixUtils.gunzip(file.path)243 tar = UnixUtils.gunzip(file.path)