Skip to content

Commit

Permalink
Remove sprunge.us as provider
Browse files Browse the repository at this point in the history
This is due to rupa/sprunge#45
  • Loading branch information
etu committed Aug 14, 2018
1 parent a5d0ba1 commit 5c742bf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
4 changes: 2 additions & 2 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -173,14 +173,14 @@ webpaste first and then just read the documentation by running this:
(describe-function 'webpaste--provider)
#+end_src

* TODO Providers to implement [7/10]
* TODO Providers to implement [6/10]
- [X] ptpb.pw
- [X] ix.io
- [X] dpaste.com
- [X] sprunge.us
- [X] dpaste.de
- [X] gist.github.com
- [X] paste.pound-python.org
- [ ] paste.debian.net
- [ ] bpaste.net
- [ ] eval.in
- [ ] sprunge.us (removed due to [[https://github.com/rupa/sprunge/issues/45][sprunge#45]] that yields 500s)
9 changes: 0 additions & 9 deletions tests/integration/test-webpaste-providers.el
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@
(expect (spy-calls-count 'webpaste--paste-text) :to-equal 0))


(it
"local: can paste with sprunge.us"

(funcall (webpaste--get-provider-by-name "sprunge.us") paste-message :sync t)

(expect (spy-calls-count 'webpaste--return-url) :to-equal 1)
(expect (spy-calls-count 'webpaste--paste-text) :to-equal 0))


(it
"ci: can paste with dpaste.com"

Expand Down
7 changes: 0 additions & 7 deletions webpaste.el
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,6 @@ This uses `browse-url-generic' to open URLs."
(nix-mode . "nix"))
:success-lambda webpaste--providers-success-returned-string)

("sprunge.us"
:uri "http://sprunge.us/"
:post-field "sprunge"
:lang-uri-separator "?"
:lang-overrides ((emacs-lisp-mode . "clojure"))
:success-lambda webpaste--providers-success-returned-string)

("dpaste.com"
:uri "http://dpaste.com/api/v2/"
:post-data (("title" . "")
Expand Down

0 comments on commit 5c742bf

Please sign in to comment.