Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix #867] Update Grimoire URL to fix (cider-grimoire-lookup) regression due to HTTP 301 (Moved Permanently) #891

Merged
merged 1 commit into from
Nov 24, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Bugs fixed

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

## 0.8.1 / 2014-11-20
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ CIDER packs plenty of features. Here are some of them (in no particular order):
* Value inspector
* Function tracing
* Interactive macroexpansion
* [Grimoire](http://grimoire.arrdem.com/) integration
* [Grimoire](http://conj.io/) integration
* `clojure.test` integration
* Classpath browser
* Namespace browser
Expand Down
2 changes: 1 addition & 1 deletion cider-grimoire.el
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

(require 'cider-interaction)

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

(defun cider-grimoire-replace-special (name)
"Convert the dashes in NAME to a grimoire friendly format."
Expand Down
4 changes: 2 additions & 2 deletions test/cider-grimoire-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
(should (equal (cider-grimoire-replace-special "/") "SLASH")))

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