Unified · Split
| @@ -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.close | 242 | file.close |
| 243 | tar = UnixUtils.gunzip(file.path) | 243 | tar = UnixUtils.gunzip(file.path) |