unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 34222@debbugs.gnu.org
Subject: [bug#34222] [PATCH 07/15] gnu: Add ruby-webmock.
Date: Sun, 27 Jan 2019 17:08:12 +0000	[thread overview]
Message-ID: <20190127170820.28937-7-mail@cbaines.net> (raw)
In-Reply-To: <20190127170820.28937-1-mail@cbaines.net>

Required by ruby-rest-client. Also at version ~> 2, so don't package 3 just
yet.

* gnu/packages/ruby.scm (ruby-webmock): New variable.
---
 gnu/packages/ruby.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e11900b835..5eb08d9929 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4781,6 +4781,32 @@ support to both Ruby and JRuby.  It uses @code{unf_ext} on CRuby and
     (home-page "https://github.com/knu/ruby-unf")
     (license license:bsd-2)))
 
+(define-public ruby-webmock
+  (package
+    (name "ruby-webmock")
+    (version "2.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "webmock" version))
+       (sha256
+        (base32
+         "04hkcqsmbfnp8g237pisnc834vpgildklicbjbyikqg0bg1rwcy5"))))
+    (build-system ruby-build-system)
+    (propagated-inputs
+     `(("bundler" ,bundler)
+       ("ruby-addressable" ,ruby-addressable)
+       ("ruby-crack" ,ruby-crack)
+       ("ruby-public-suffic" ,ruby-public-suffix)
+       ("ruby-rspec" ,ruby-rspec)
+       ("ruby-hashdiff" ,ruby-hashdiff)))
+    (synopsis "Allows stubbing and setting expectations on HTTP requests")
+    (description
+     "WebMock allows stubbing HTTP requests and setting expectations on HTTP
+requests.  This is useful when testing software.")
+    (home-page "https://github.com/bblimke/webmock")
+    (license license:expat)))
+
 (define-public ruby-domain-name
   (package
     (name "ruby-domain-name")
-- 
2.20.1

  parent reply	other threads:[~2019-01-27 17:09 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-27 17:01 [bug#34222] [PATCH 00/15] Add ruby-rubocop and dependencies Christopher Baines
2019-01-27 17:08 ` [bug#34222] [PATCH 01/15] gnu: ruby-rspec-its: Enable tests Christopher Baines
2019-01-27 17:08   ` [bug#34222] [PATCH 02/15] gnu: Add ruby-powerpack Christopher Baines
2019-01-27 17:44     ` Ricardo Wurmus
2019-01-27 18:44       ` Christopher Baines
2019-01-27 17:08   ` [bug#34222] [PATCH 03/15] gnu: Add ruby-rainbow Christopher Baines
2019-01-27 17:25     ` Ricardo Wurmus
2019-01-27 17:08   ` [bug#34222] [PATCH 04/15] gnu: Add ruby-racc Christopher Baines
2019-01-27 17:27     ` Ricardo Wurmus
2019-01-27 18:57       ` Christopher Baines
2019-01-27 19:06         ` Christopher Baines
2019-01-27 19:26           ` Ricardo Wurmus
2019-01-27 17:08   ` [bug#34222] [PATCH 05/15] gnu: Add ruby-hashdiff Christopher Baines
2019-01-27 17:45     ` Ricardo Wurmus
2019-01-27 17:08   ` [bug#34222] [PATCH 06/15] gnu: Add ruby-crack Christopher Baines
2019-01-27 17:29     ` Ricardo Wurmus
2019-01-27 18:55       ` Christopher Baines
2019-01-27 17:08   ` Christopher Baines [this message]
2019-01-27 17:32     ` [bug#34222] [PATCH 07/15] gnu: Add ruby-webmock Ricardo Wurmus
2019-01-27 18:53       ` Christopher Baines
2019-01-27 17:08   ` [bug#34222] [PATCH 08/15] gnu: Add ruby-rest-client Christopher Baines
2019-01-27 17:34     ` Ricardo Wurmus
2019-01-27 18:51       ` Christopher Baines
2019-01-27 17:08   ` [bug#34222] [PATCH 09/15] gnu: Add ruby-bacon-colored-output Christopher Baines
2019-01-27 17:34     ` Ricardo Wurmus
2019-01-27 17:08   ` [bug#34222] [PATCH 10/15] gnu: Add ruby-ast Christopher Baines
2019-01-27 17:36     ` Ricardo Wurmus
2019-01-27 18:50       ` Christopher Baines
2019-01-27 17:08   ` [bug#34222] [PATCH 11/15] gnu: Add ruby-cliver Christopher Baines
2019-01-27 17:38     ` Ricardo Wurmus
2019-01-27 18:48       ` Christopher Baines
2019-01-27 17:08   ` [bug#34222] [PATCH 12/15] gnu: Add ruby-parser Christopher Baines
2019-01-27 17:39     ` Ricardo Wurmus
2019-01-27 17:08   ` [bug#34222] [PATCH 13/15] gnu: Add ruby-unicode-display-width Christopher Baines
2019-01-27 17:39     ` Ricardo Wurmus
2019-01-27 17:08   ` [bug#34222] [PATCH 14/15] gnu: Add ruby-jaro-winkler Christopher Baines
2019-01-27 17:40     ` Ricardo Wurmus
2019-01-27 18:45       ` Christopher Baines
2019-01-27 17:08   ` [bug#34222] [PATCH 15/15] gnu: Add ruby-rubocop Christopher Baines
2019-01-27 17:41     ` Ricardo Wurmus
2019-01-27 17:20   ` [bug#34222] [PATCH 01/15] gnu: ruby-rspec-its: Enable tests Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190127170820.28937-7-mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=34222@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).