From 1a0688cccbcda77a42fce55a1d8fd04f103a96f9 Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Tue, 13 Nov 2018 15:10:17 +0100 Subject: [PATCH] update ob-restclient. Signed-off-by: Andreas Gerler --- elpa/ob-restclient-20160323.2305/ob-restclient-pkg.el | 2 -- .../ob-restclient-autoloads.el | 11 ++++++++--- elpa/ob-restclient-20180904.709/ob-restclient-pkg.el | 2 ++ .../ob-restclient.el | 7 +++++-- 4 files changed, 15 insertions(+), 7 deletions(-) delete mode 100644 elpa/ob-restclient-20160323.2305/ob-restclient-pkg.el rename elpa/{ob-restclient-20160323.2305 => ob-restclient-20180904.709}/ob-restclient-autoloads.el (60%) create mode 100644 elpa/ob-restclient-20180904.709/ob-restclient-pkg.el rename elpa/{ob-restclient-20160323.2305 => ob-restclient-20180904.709}/ob-restclient.el (95%) diff --git a/elpa/ob-restclient-20160323.2305/ob-restclient-pkg.el b/elpa/ob-restclient-20160323.2305/ob-restclient-pkg.el deleted file mode 100644 index 4f732635..00000000 --- a/elpa/ob-restclient-20160323.2305/ob-restclient-pkg.el +++ /dev/null @@ -1,2 +0,0 @@ -;;; -*- no-byte-compile: t -*- -(define-package "ob-restclient" "20160323.2305" "org-babel functions for restclient-mode" '((restclient "0")) :commit "08b82b9ea668631968ae4fb531fd74494630f840" :url "http://orgmode.org" :keywords '("literate programming" "reproducible research")) diff --git a/elpa/ob-restclient-20160323.2305/ob-restclient-autoloads.el b/elpa/ob-restclient-20180904.709/ob-restclient-autoloads.el similarity index 60% rename from elpa/ob-restclient-20160323.2305/ob-restclient-autoloads.el rename to elpa/ob-restclient-20180904.709/ob-restclient-autoloads.el index 7d7fafe9..747e57d9 100644 --- a/elpa/ob-restclient-20160323.2305/ob-restclient-autoloads.el +++ b/elpa/ob-restclient-20180904.709/ob-restclient-autoloads.el @@ -1,10 +1,12 @@ ;;; ob-restclient-autoloads.el --- automatically extracted autoloads ;; ;;; Code: -(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path)))) + +(add-to-list 'load-path (directory-file-name + (or (file-name-directory #$) (car load-path)))) + -;;;### (autoloads nil "ob-restclient" "ob-restclient.el" (22903 17327 -;;;;;; 0 0)) +;;;### (autoloads nil "ob-restclient" "ob-restclient.el" (0 0 0 0)) ;;; Generated autoloads from ob-restclient.el (autoload 'org-babel-execute:restclient "ob-restclient" "\ @@ -13,11 +15,14 @@ This function is called by `org-babel-execute-src-block' \(fn BODY PARAMS)" nil nil) +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "ob-restclient" '("org-babel-"))) + ;;;*** ;; Local Variables: ;; version-control: never ;; no-byte-compile: t ;; no-update-autoloads: t +;; coding: utf-8 ;; End: ;;; ob-restclient-autoloads.el ends here diff --git a/elpa/ob-restclient-20180904.709/ob-restclient-pkg.el b/elpa/ob-restclient-20180904.709/ob-restclient-pkg.el new file mode 100644 index 00000000..f05a9437 --- /dev/null +++ b/elpa/ob-restclient-20180904.709/ob-restclient-pkg.el @@ -0,0 +1,2 @@ +;;; -*- no-byte-compile: t -*- +(define-package "ob-restclient" "20180904.709" "org-babel functions for restclient-mode" '((restclient "0")) :commit "00b2c5a6637ab6e504708612357ffb29b5416e4b" :keywords '("literate programming" "reproducible research") :authors '(("Alf Lervåg")) :maintainer '("Alf Lervåg") :url "http://orgmode.org") diff --git a/elpa/ob-restclient-20160323.2305/ob-restclient.el b/elpa/ob-restclient-20180904.709/ob-restclient.el similarity index 95% rename from elpa/ob-restclient-20160323.2305/ob-restclient.el rename to elpa/ob-restclient-20180904.709/ob-restclient.el index 0d5c58cf..7894cdef 100644 --- a/elpa/ob-restclient-20160323.2305/ob-restclient.el +++ b/elpa/ob-restclient-20180904.709/ob-restclient.el @@ -4,7 +4,7 @@ ;; Author: Alf Lervåg ;; Keywords: literate programming, reproducible research -;; Package-Version: 20160323.2305 +;; Package-Version: 20180904.709 ;; Homepage: http://orgmode.org ;; Version: 0.02 ;; Package-Requires: ((restclient "0")) @@ -66,10 +66,13 @@ This function is called by `org-babel-execute-src-block'" (when (eql key :var) (insert (format ":%s = %s\n" (car value) (cdr value)))))) (insert body) + (goto-char (point-min)) + (delete-trailing-whitespace) + (goto-char (point-min)) (restclient-http-parse-current-and-do 'restclient-http-do nil t)) (while restclient-within-call - (sit-for 0.05)) + (sleep-for 0.05)) (goto-char (point-min)) (when (search-forward (buffer-name) nil t) -- 2.47.3