Skip to content

Commit 4f94965

Browse files
committed
[Fix #867] Fix (cider-grimoire-lookup) regression due to HTTP 301 (Moved Permanently) to the old Grimoire URL.
Grimoire recently migrates to "http://conj.io". The old URL used in (cider-grimoire-lookup) would drop the "Content-Type: text/plain" request enroute of a HTTP 301 redirection. Updating the Grimoire URL to "http://conj.io" fixes the issue.
1 parent ea6ae34 commit 4f94965

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Bugs fixed
66

7+
* [#867](https://github.com/clojure-emacs/cider/issues/867): Update Grimoire URL to fix (cider-grimoire-lookup) regression due to HTTP 301 (Moved Permanently).
78
* [#883](https://github.com/clojure-emacs/cider/issues/883): Encode properly the javadoc url.
89

910
## 0.8.1 / 2014-11-20

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ CIDER packs plenty of features. Here are some of them (in no particular order):
2828
* Value inspector
2929
* Function tracing
3030
* Interactive macroexpansion
31-
* [Grimoire](http://grimoire.arrdem.com/) integration
31+
* [Grimoire](http://conj.io/) integration
3232
* `clojure.test` integration
3333
* Classpath browser
3434
* Namespace browser

cider-grimoire.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
(require 'cider-interaction)
2929

30-
(defconst cider-grimoire-url "http://grimoire.arrdem.com/")
30+
(defconst cider-grimoire-url "http://conj.io/")
3131

3232
(defun cider-grimoire-replace-special (name)
3333
"Convert the dashes in NAME to a grimoire friendly format."

test/cider-grimoire-tests.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
(should (equal (cider-grimoire-replace-special "/") "SLASH")))
1212

1313
(ert-deftest cider-grimoire-url ()
14-
(should (equal "http://grimoire.arrdem.com/1.5.0/clojure.core/even_QMARK/"
14+
(should (equal "http://conj.io/1.5.0/clojure.core/even_QMARK/"
1515
(cider-grimoire-url "even?" "clojure.core" "1.5.1")))
16-
(should (equal "http://grimoire.arrdem.com/1.5.0/clojure.core/"
16+
(should (equal "http://conj.io/1.5.0/clojure.core/"
1717
(cider-grimoire-url nil "clojure.core" "1.5.1"))))

0 commit comments

Comments
 (0)