emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/webpaste bbdc5e5 296/298: providers: Drop paste.pound-pyth


From: ELPA Syncer
Subject: [nongnu] elpa/webpaste bbdc5e5 296/298: providers: Drop paste.pound-python.org
Date: Thu, 9 Dec 2021 19:00:33 -0500 (EST)

branch: elpa/webpaste
commit bbdc5e5b689a787c6b4ae7690751fe9c10d6796e
Author: Elis Hirwing <elis@hirwing.se>
Commit: Elis Hirwing <elis@hirwing.se>

    providers: Drop paste.pound-python.org
    
    This fixes #53.
---
 README.org                                   | 3 +--
 tests/integration/test-webpaste-providers.el | 9 ---------
 webpaste.el                                  | 8 --------
 3 files changed, 1 insertion(+), 19 deletions(-)

diff --git a/README.org b/README.org
index d3171a2..fe16657 100644
--- a/README.org
+++ b/README.org
@@ -188,7 +188,7 @@ webpaste first and then just read the documentation by 
running this:
   (describe-function 'webpaste--provider)
 #+end_src
 
-* TODO Providers to implement [8/15]
+* TODO Providers to implement [7/14]
  - [ ] clbin.com
  - [ ] 0x0.st
  - [X] ix.io
@@ -196,7 +196,6 @@ webpaste first and then just read the documentation by 
running this:
  - [X] dpaste.com
  - [X] dpaste.org
  - [X] gist.github.com
- - [X] paste.pound-python.org
  - [X] paste.mozilla.org
  - [X] bpa.st
  - [ ] paste.debian.net
diff --git a/tests/integration/test-webpaste-providers.el 
b/tests/integration/test-webpaste-providers.el
index 4ee6814..371df44 100644
--- a/tests/integration/test-webpaste-providers.el
+++ b/tests/integration/test-webpaste-providers.el
@@ -74,15 +74,6 @@
   (expect (spy-calls-count 'webpaste--paste-text) :to-equal 0))
 
 
- (it
-  "can paste with paste.pound-python.org [ci]"
-
-  (funcall (webpaste--get-provider-by-name "paste.pound-python.org") 
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
    "can paste with bpa.st [ci]"
 
diff --git a/webpaste.el b/webpaste.el
index 06dd5bf..e6acd66 100644
--- a/webpaste.el
+++ b/webpaste.el
@@ -149,14 +149,6 @@ This uses `browse-url-generic' to open URLs."
                                                  (webpaste--return-url
                                                   (cdr (assoc 'html_url 
(json-read-from-string data)))))))))
 
-    ("paste.pound-python.org"
-     :uri "https://paste.pound-python.org/";
-     :post-data (("webpage" . ""))
-     :post-field "code"
-     :post-lang-field-name "language"
-     :lang-overrides ((emacs-lisp-mode . "clojure"))
-     :success-lambda webpaste--providers-success-response-url)
-
     ("bpa.st"
      :uri "https://bpa.st/api/v1/paste";
      :post-data (("expiry" . "1day"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]