Skip to content

Commit

Permalink
Go straight for the https
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaspers committed Jul 25, 2016
1 parent 1c5f15c commit 8e178ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elisp/defuns.el
Expand Up @@ -81,7 +81,7 @@ Ready to be pasted in the Gemfile"

(let* ((gem_name (read-string "Enter gem: "))
(json-data (save-excursion
(set-buffer (url-retrieve-synchronously (concat "http://rubygems.org/api/v1/gems/" gem_name)))
(set-buffer (url-retrieve-synchronously (concat "https://rubygems.org/api/v1/gems/" gem_name)))
(goto-char url-http-end-of-headers)
(json-read)))

Expand Down

0 comments on commit 8e178ab

Please sign in to comment.