Skip to content

Commit

Permalink
Update test data for clojuredocs middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidz authored and bbatsov committed Aug 14, 2019
1 parent 877344a commit 52b6b95
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ JAVA_VERSION = $(shell lein with-profile +sysutils \
sysutils :java-version-simple | cut -d " " -f 2)

test/resources/cider/nrepl/clojuredocs/export.edn:
curl -o $@ https://clojuredocs-edn.netlify.com/export.edn
curl -o $@ https://clojuredocs-edn.netlify.com/export.compact.edn

.inline-deps:
lein inline-deps
Expand Down
4 changes: 2 additions & 2 deletions src/cider/nrepl.clj
Original file line number Diff line number Diff line change
Expand Up @@ -483,13 +483,13 @@
:handles {"clojuredocs-refresh-cache"
{:doc "Reload exported documents file from ClojureDocs, and store it as a cache."
:requires {}
:optional {"export-edn-url" "EDN file URL exported from ClojureDocs. Defaults to \"https://clojuredocs-edn.netlify.com/export.edn\"."}
:optional {"export-edn-url" "EDN file URL exported from ClojureDocs. Defaults to \"https://clojuredocs-edn.netlify.com/export.compact.edn\"."}
:returns {"status" "\"ok\" if reloading was successful"}}
"clojuredocs-lookup"
{:doc "Return a map of information in ClojureDocs."
:requires {"ns" "The namespace where `symbol` is define."
"symbol" "The symbol to lookup."}
:optional {"export-edn-url" "EDN file URL exported from ClojureDocs. Defaults to \"https://clojuredocs-edn.netlify.com/export.edn\"."}
:optional {"export-edn-url" "EDN file URL exported from ClojureDocs. Defaults to \"https://clojuredocs-edn.netlify.com/export.compact.edn\"."}
:returns {"clojuredocs" "A map of information in ClojureDocs."
"status" "\"no-document\" if there is no document matching to `ns` and `symbol`."}}}})

Expand Down
2 changes: 1 addition & 1 deletion test/resources/cider/nrepl/clojuredocs/export.edn

Large diffs are not rendered by default.

0 comments on commit 52b6b95

Please sign in to comment.