From patchwork Sun Feb 17 19:22:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1113 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D95D816C4B; Sun, 17 Feb 2019 19:24:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7675116C4A for ; Sun, 17 Feb 2019 19:24:24 +0000 (GMT) Received: from localhost ([127.0.0.1]:45566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS35-0001Cy-VL for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:24:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS2r-00017c-5h for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2p-0007YU-1h for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52366) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2k-0007V9-3n for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2j-00075O-PD for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 01/34] gnu: Add ruby-hamster. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043139926864 (code B ref 34514); Sun, 17 Feb 2019 19:24:01 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:19 +0000 Received: from localhost ([127.0.0.1]:51561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS21-0006yG-3d for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:19 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47198 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS1z-0006xL-4E for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:15 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 6586C16BFF for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id fc0c838b for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:41 +0000 Message-Id: <20190217192314.5666-1-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <87sgwm44a9.fsf@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-hamster): New variable. --- gnu/packages/ruby.scm | 46 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index a34fb84ae7..a0b7ea86ad 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1484,6 +1484,52 @@ failure.") (home-page "https://github.com/thekompanee/fuubar") (license license:expat))) +(define-public ruby-hamster + (package + (name "ruby-hamster") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "hamster" version)) + (sha256 + (base32 + "1n1lsh96vnyc1pnzyd30f9prcsclmvmkdb3nm5aahnyizyiy6lar")))) + (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-unnecessary-dependencies + (lambda _ + ;; pry is a debugging tool, and is unnecessary when running the + ;; tests + (substitute* "spec/lib/hamster/vector/insert_spec.rb" + (("require 'pry'") "")) + (substitute* "spec/spec_helper.rb" + (("require \"pry\"") "") + ;; CodeClimate is an online service, and is unnecessary for + ;; running the tests + (("require \"codeclimate-test-reporter\"") "") + (("CodeClimate.*\n") "")) + #t)) + ;; No Rakefile is included, so run rspec directly. + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rspec")) + #t))))) + (propagated-inputs + `(("ruby-concurrent" ,ruby-concurrent))) + (native-inputs + `(("ruby-rspec" ,ruby-rspec))) + (synopsis "Efficient, immutable, thread-safe collection classes for Ruby") + (description + "Hamster provides 6 persistent data structures: @code{Hash}, @code{Vector}, +@code{Set}, @code{SortedSet}, @code{List}, and @code{Deque} (which works as an +immutable queue or stack).") + (home-page "https://github.com/hamstergem/hamster") + (license license:expat))) + (define-public ruby-hashdiff (package (name "ruby-hashdiff") From patchwork Sun Feb 17 19:22:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1111 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3E7AB16C4B; Sun, 17 Feb 2019 19:24:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id E921C16BFF for ; Sun, 17 Feb 2019 19:24:22 +0000 (GMT) Received: from localhost ([127.0.0.1]:45564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS34-0001Bu-Dy for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:24:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS2r-00017b-5Z for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2p-0007Ye-37 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52367) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2k-0007VV-BF for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2k-00075V-6j for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 02/34] gnu: Add ruby-lino. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043140326960 (code B ref 34514); Sun, 17 Feb 2019 19:24:02 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:23 +0000 Received: from localhost ([127.0.0.1]:51583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS23-0006zA-6Z for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:22 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47202 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS1z-0006xN-5n for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:15 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 78EED16C4A for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 5691b19f for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:42 +0000 Message-Id: <20190217192314.5666-2-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-lino): 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 a0b7ea86ad..e554808318 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1248,6 +1248,32 @@ the GNOME Libxml2 XML toolkit.") (home-page "https://xml4r.github.com/libxml-ruby") (license license:expat))) +(define-public ruby-lino + (package + (name "ruby-lino") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "lino" version)) + (sha256 + (base32 + "11d29g0fk372b9fcpyr0k6hxm2b4j4igpysmi542hgbbgqgp9cd3")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (propagated-inputs + `(("ruby-hamster" ,ruby-hamster) + ("ruby-open4" ,ruby-open4))) + (synopsis "Build and execute commands in Ruby") + (description + "@code{Lino} provides an interface to run external commands. It provides +a interface to add options as well as managing the standard input, output and +error streams.") + (home-page "https://github.com/tobyclemson/lino") + (license license:expat))) + (define-public ruby-xml-simple (package (name "ruby-xml-simple") From patchwork Sun Feb 17 19:22:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1120 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A41C116C4A; Sun, 17 Feb 2019 19:24:55 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 4946D16C4B for ; Sun, 17 Feb 2019 19:24:55 +0000 (GMT) Received: from localhost ([127.0.0.1]:45588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3a-0001lr-Q3 for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:24:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS2t-00018N-6Q for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2r-0007eN-4L for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52372) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2m-0007WX-Ld for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2m-000766-Gj for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 03/34] gnu: Add ruby-terraform. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043140627003 (code B ref 34514); Sun, 17 Feb 2019 19:24:04 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:26 +0000 Received: from localhost ([127.0.0.1]:51593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2A-00071N-3k for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:26 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47206 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS1z-0006xQ-QD for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:16 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 8989416C4B for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id ea320ee2 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:43 +0000 Message-Id: <20190217192314.5666-3-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-terraform): New variable. --- gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index e554808318..b307bc2257 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3735,6 +3735,30 @@ of terminal output.") ;; There is no mention of the "or later" clause. (license license:gpl2))) +(define-public ruby-terraform + (package + (name "ruby-terraform") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "ruby-terraform" version)) + (sha256 + (base32 + "1czpak24v570ysnk8waj1sblfm1vqh1sdwh934x4ai90ribhlbzf")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (propagated-inputs + `(("ruby-lino" ,ruby-lino))) + (synopsis "Ruby wrapper around the Terraform command line interface") + (description + "This package provides a Ruby wrapper around the the Terraform command line +interface so that Terraform can be more easily invoked from Ruby code.") + (home-page "https://github.com/infrablocks/ruby_terraform") + (license license:expat))) + (define-public ruby-pstree (package (name "ruby-pstree") From patchwork Sun Feb 17 19:22:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1114 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E921116C4B; Sun, 17 Feb 2019 19:24:27 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 9C58716BFF for ; Sun, 17 Feb 2019 19:24:27 +0000 (GMT) Received: from localhost ([127.0.0.1]:45570 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS39-0001Fz-4U for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:24:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS2t-00018J-5Q for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2r-0007di-2N for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52369) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2l-0007Vx-7m for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2l-00075k-3R for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 04/34] gnu: Add ruby-que. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043140526981 (code B ref 34514); Sun, 17 Feb 2019 19:24:03 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:25 +0000 Received: from localhost ([127.0.0.1]:51587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS28-000715-PO for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:25 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47200 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS1z-0006xM-5y for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:16 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 9B1C116C4E for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id ca1862df for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:44 +0000 Message-Id: <20190217192314.5666-4-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-que): New variable. --- gnu/packages/ruby.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index b307bc2257..9bcdbec4fd 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -6038,6 +6038,28 @@ requirement specifications systems like Cucumber.") (home-page "https://rubyworks.github.io/qed") (license license:bsd-2))) +(define-public ruby-que + (package + (name "ruby-que") + (version "1.0.0.beta3") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "que" version)) + (sha256 + (base32 + "0gr9pb814d4qj3ds98g6cjrdk7wv0yg8aqbm7c1lmgl87jkg8q04")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (synopsis "Job queue using PostgreSQL written in Ruby") + (description + "This package provides a job queue that uses PostgreSQL for storing jobs +and locking between worker processes.") + (home-page "https://github.com/chanks/que") + (license license:expat))) + (define-public ruby-ae (package (name "ruby-ae") From patchwork Sun Feb 17 19:22:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1115 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8345416C4B; Sun, 17 Feb 2019 19:24:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 23D4616BFF for ; Sun, 17 Feb 2019 19:24:36 +0000 (GMT) Received: from localhost ([127.0.0.1]:45572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3H-0001Ul-Ik for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:24:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS2r-00017a-4O for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2p-0007Yh-3N for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2k-0007Vf-QG for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2k-00075c-Lh for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 05/34] gnu: Add ruby-rbnacl. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043140326972 (code B ref 34514); Sun, 17 Feb 2019 19:24:02 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:23 +0000 Received: from localhost ([127.0.0.1]:51585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS26-000702-M4 for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:23 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47204 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS1z-0006xO-5W for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:15 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id AB38D16C50 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 803819a8 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:45 +0000 Message-Id: <20190217192314.5666-5-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-rbnacl): New variable. --- gnu/packages/ruby.scm | 56 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 9bcdbec4fd..b17a03e7cc 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -35,6 +35,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages crypto) #:use-module (gnu packages databases) #:use-module (gnu packages dbm) #:use-module (gnu packages rails) @@ -1336,6 +1337,61 @@ same log file.") (home-page "https://github.com/bdurand/lumberjack") (license license:expat))) +(define-public ruby-rbnacl + (package + (name "ruby-rbnacl") + (version "6.0.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "rbnacl" version)) + (sha256 + (base32 + "0ajxy5kj2jw09wdsla3jmha8w07vj5l14288xr9djpl327g3lzhn")))) + (build-system ruby-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-unnecessary-dependencies + (lambda _ + ;; Coveralls relates to a network service, and Rubocop to code + ;; linting and both are unnecessary to run the tests + (substitute* "Gemfile" + ((".*rubocop.*") "\n") + ((".*guard-rspec.*") "\n") + ((".*coveralls.*") "\n")) + (substitute* "spec/spec_helper.rb" + (("require \"coveralls\"") "") + (("Coveralls.wear!") "")))) + (add-after 'unpack 'use-libsodium-from-store + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("lib/rbnacl/init.rb" + "lib/rbnacl/sodium.rb") + (("\"sodium\", \"libsodium\\.so\\.18\", \"libsodium\\.so\\.23\"") + (string-append "\"" + (assoc-ref inputs "libsodium") "/lib/libsodium.so" + "\""))))) + ;; Run Rspec directly to avoid the Rubocop dependency in the Rakefile + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rspec")) + #t))))) + (propagated-inputs + `(("ruby-ffi" ,ruby-ffi))) + (inputs + `(("libsodium" ,libsodium))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec))) + (synopsis "Ruby FFI binding to libsodium") + (description + "This package provides Ruby FFI bindings to the Networking and +Cryptography (NaCl) library, also known as libsodium. This provides a +high-level toolkit for building cryptographic systems and protocols.") + (home-page "https://github.com/crypto-rb/rbnacl") + (license license:expat))) + (define-public ruby-nenv (package (name "ruby-nenv") From patchwork Sun Feb 17 19:22:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1119 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8FA9B16C4E; Sun, 17 Feb 2019 19:24:55 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 3D09116C4A for ; Sun, 17 Feb 2019 19:24:55 +0000 (GMT) Received: from localhost ([127.0.0.1]:45586 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3a-0001lq-OM for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:24:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS2t-00018F-4e for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2r-0007e3-4P for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52370) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2l-0007W6-Mf for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2l-00075r-I3 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 06/34] gnu: Add ruby-jwt. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043140526988 (code B ref 34514); Sun, 17 Feb 2019 19:24:03 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:25 +0000 Received: from localhost ([127.0.0.1]:51589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS29-000718-5L for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:25 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47208 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS1z-0006xW-TX for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:16 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id C8F6216C51 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 9d364767 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:46 +0000 Message-Id: <20190217192314.5666-6-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-jwt): New variable. --- gnu/packages/ruby.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index b17a03e7cc..5b4d52ac4a 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3952,6 +3952,43 @@ a native C extension.") (home-page "https://flori.github.com/json") (license license:ruby))) +(define-public ruby-jwt + (package + (name "ruby-jwt") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "jwt" version)) + (sha256 + (base32 + "1w0kaqrbl71cq9sbnixc20x5lqah3hs2i93xmhlfdg2y3by7yzky")))) + (build-system ruby-build-system) + (arguments + '(#:test-target "test" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-unnecessary-dependencies + (lambda _ + (substitute* "spec/spec_helper.rb" + (("require 'simplecov.*") "\n") + ;; Use [].each to disable running the SimpleCov configuration + ;; block + (("SimpleCov\\.configure") "[].each") + (("require 'codeclimate-test-reporter'") "") + (("require 'codacy-coverage'") "") + (("Codacy::Reporter\\.start") ""))))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec) + ("ruby-rbnacl" ,ruby-rbnacl))) + (synopsis "Ruby implementation of the JSON Web Token standard") + (description + "This package provides a pure Ruby implementation of the RFC 7519 OAuth +@acronym{JWT, JSON Web Token} standard.") + (home-page "https://github.com/jwt/ruby-jwt") + (license license:expat))) + ;; Even though this package only provides bindings for a Mac OSX API it is ;; required by "ruby-listen" at runtime. (define-public ruby-rb-fsevent From patchwork Sun Feb 17 19:22:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1124 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CED1416C4E; Sun, 17 Feb 2019 19:25:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 6AA0616C4A for ; Sun, 17 Feb 2019 19:25:09 +0000 (GMT) Received: from localhost ([127.0.0.1]:45602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3o-0001wd-Vv for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS2t-00018K-6A for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2r-0007eH-3a for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52371) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2m-0007WI-5O for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2l-00075z-WA for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 07/34] gnu: Add ruby-multi-xml. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043140626996 (code B ref 34514); Sun, 17 Feb 2019 19:24:03 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:26 +0000 Received: from localhost ([127.0.0.1]:51591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS29-00071F-HA for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:25 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47210 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS1z-0006xX-TY for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:16 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id DD0C816C52 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 39dba845 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:47 +0000 Message-Id: <20190217192314.5666-7-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-multi-xml): New variable. --- gnu/packages/ruby.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 5b4d52ac4a..1a981a5bb3 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3019,6 +3019,28 @@ options and parsing command line flags.") (base32 "00w8g3j7k7kl8ri2cf1m58ckxk8rn350gp4chfscmgv6pq1spk3n")))))) +(define-public ruby-multi-xml + (package + (name "ruby-multi-xml") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "multi_xml" version)) + (sha256 + (base32 + "0lmd4f401mvravi1i1yq7b2qjjli0yq7dfc4p1nj5nwajp7r6hyj")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (synopsis "Provides swappable XML backends for Ruby") + (description + "Provides swappable XML backends utilizing LibXML, Nokogiri, Ox, or +REXML.") + (home-page "https://github.com/sferik/multi_xml") + (license license:expat))) + (define-public ruby-multipart-post (package (name "ruby-multipart-post") From patchwork Sun Feb 17 19:22:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1117 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4642816C4B; Sun, 17 Feb 2019 19:24:40 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id DFBCF16BFF for ; Sun, 17 Feb 2019 19:24:39 +0000 (GMT) Received: from localhost ([127.0.0.1]:45574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3L-0001Wk-Cs for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:24:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS2t-00018G-59 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2r-0007dn-4M for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52376) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2o-0007Xc-FQ for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2o-00076c-Aj for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 08/34] gnu: Add ruby-oauth2. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043140827032 (code B ref 34514); Sun, 17 Feb 2019 19:24:06 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:28 +0000 Received: from localhost ([127.0.0.1]:51601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2B-00071q-Kr for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:27 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47212 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS20-0006xk-9V for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:17 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id EE5E616C53 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 92fd96ff for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:48 +0000 Message-Id: <20190217192314.5666-8-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-oauth2): New variable. --- gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 1a981a5bb3..0063a1f7c5 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1097,6 +1097,34 @@ complexity.") (home-page "https://github.com/ThoughtWorksStudios/saikuro_treemap") (license license:expat))) +(define-public ruby-oauth2 + (package + (name "ruby-oauth2") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "oauth2" version)) + (sha256 + (base32 + "0av6nlb5y2sm6m8fx669ywrqa9858yqaqfqzny75nqp3anag89qh")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (propagated-inputs + `(("ruby-faraday" ,ruby-faraday) + ("ruby-jwt" ,ruby-jwt) + ("ruby-multi-json" ,ruby-multi-json) + ("ruby-multi-xml" ,ruby-multi-xml) + ("ruby-rack" ,ruby-rack))) + (synopsis "Ruby wrapper for the OAuth 2.0") + (description + "This package provides a Ruby wrapper for the OAuth 2.0 protocol built +with a similar style to the original OAuth spec.") + (home-page "https://github.com/oauth-xx/oauth2") + (license license:expat))) + (define-public ruby-open4 (package (name "ruby-open4") From patchwork Sun Feb 17 19:22:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1126 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C610116C4B; Sun, 17 Feb 2019 19:25:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 754BA16BFF for ; Sun, 17 Feb 2019 19:25:16 +0000 (GMT) Received: from localhost ([127.0.0.1]:45623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3w-00022z-11 for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS30-0001Fv-CD for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2r-0007eE-3x for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52374) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2n-0007Wv-JC for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2n-00076L-Eb for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 09/34] gnu: Add ruby-omniauth. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043140727018 (code B ref 34514); Sun, 17 Feb 2019 19:24:05 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:27 +0000 Received: from localhost ([127.0.0.1]:51597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2A-00071c-RY for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:27 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47214 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS20-0006xl-9m for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:17 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 0EC7A16C54 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:15 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 4af92d1d for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:49 +0000 Message-Id: <20190217192314.5666-9-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packags/ruby.scm (ruby-omniauth): New variable. --- gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 0063a1f7c5..78415ecc9e 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1125,6 +1125,31 @@ with a similar style to the original OAuth spec.") (home-page "https://github.com/oauth-xx/oauth2") (license license:expat))) +(define-public ruby-omniauth + (package + (name "ruby-omniauth") + (version "1.9.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "omniauth" version)) + (sha256 + (base32 + "1p16h1rp8by05k8gfw17xjhgwp60dk8qmj1xalv1n23kmxfsxb1x")))) + (build-system ruby-build-system) + (arguments + '(;; No incldued tests + #:tests? #f)) + (propagated-inputs + `(("ruby-hashie" ,ruby-hashie) + ("ruby-rack" ,ruby-rack))) + (synopsis "Generalized Rack framework for multiple-provider authentication") + (description + "This package provides a generalized Rack framework for multiple-provider +authentication.") + (home-page "https://github.com/omniauth/omniauth") + (license license:expat))) + (define-public ruby-open4 (package (name "ruby-open4") From patchwork Sun Feb 17 19:22:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1116 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 393FD16C4E; Sun, 17 Feb 2019 19:24:40 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id DFC5E16C4A for ; Sun, 17 Feb 2019 19:24:39 +0000 (GMT) Received: from localhost ([127.0.0.1]:45576 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3L-0001X3-Bp for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:24:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS2t-00018O-64 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2r-0007dr-2S for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52373) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2n-0007Wf-6B for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2m-00076E-VX for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 10/34] gnu: Add ruby-warden. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043140627010 (code B ref 34514); Sun, 17 Feb 2019 19:24:04 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:26 +0000 Received: from localhost ([127.0.0.1]:51595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2A-00071U-GF for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:26 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47218 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS20-0006xn-CK for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:17 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 21ED516C55 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:15 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 83c98048 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:50 +0000 Message-Id: <20190217192314.5666-10-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-warden): New variable. --- gnu/packages/ruby.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 78415ecc9e..a67da64ce5 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5739,6 +5739,29 @@ 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-warden + (package + (name "ruby-warden") + (version "1.2.8") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "warden" version)) + (sha256 + (base32 + "1fr9n9i9r82xb6i61fdw4xgc7zjv7fsdrr4k0njchy87iw9fl454")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (propagated-inputs + `(("ruby-rack" ,ruby-rack))) + (synopsis "Rack middleware providing authentication") + (description + "Rack middleware that provides authentication for rack applications.") + (home-page "https://github.com/wardencommunity/warden") + (license license:expat))) + (define-public ruby-webmock-2 (package (name "ruby-webmock") From patchwork Sun Feb 17 19:22:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1123 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8EDCE16C50; Sun, 17 Feb 2019 19:25:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 316EC16BFF for ; Sun, 17 Feb 2019 19:25:09 +0000 (GMT) Received: from localhost ([127.0.0.1]:45600 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3o-0001wV-Kn for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS2t-00018M-66 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2r-0007dw-3W for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52375) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2o-0007XY-14 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2n-00076U-Sh for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 11/34] gnu: Add ruby-warden-oauth2. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043140727025 (code B ref 34514); Sun, 17 Feb 2019 19:24:05 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:27 +0000 Received: from localhost ([127.0.0.1]:51599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2B-00071j-8P for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:27 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47216 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS20-0006xm-Bh for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:17 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 33E1116C56 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:15 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id f1565533 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:51 +0000 Message-Id: <20190217192314.5666-11-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-warden-oauth2): New variable. --- gnu/packages/ruby.scm | 48 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index a67da64ce5..7a883c2366 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5762,6 +5762,54 @@ support to both Ruby and JRuby. It uses @code{unf_ext} on CRuby and (home-page "https://github.com/wardencommunity/warden") (license license:expat))) +(define-public ruby-warden-oauth2 + (package + (name "ruby-warden-oauth2") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "warden-oauth2" version)) + (sha256 + (base32 + "1z9154lvzrnnfjbjkmirh4n811nygp6pm2fa6ikr7y1ysa4zv3cz")))) + (build-system ruby-build-system) + (arguments + '(#:test-target "spec" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-unnecessary-dependencies + (lambda _ + (substitute* "Gemfile" + ;; All of these gems relate to development, and are unnecessary + ;; when running the tests + (("gem 'guard-bundler'") "") + (("gem 'guard'") "") + (("gem 'guard-rspec'") "") + (("gem 'rb-fsevent'") "") + (("gem 'pry'") "") + (("gem 'growl'") "")) + #t)) + ;; The test suite doesn't work with rspec@2, and this is incompatible + ;; with the current version of Rake, so invoke Rspec directly + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "bundle" "exec" "rspec")) + #t))))) + (propagated-inputs + `(("ruby-warden" ,ruby-warden))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec-2) + ("ruby-rack-test" ,ruby-rack-test))) + (synopsis "OAuth 2.0 strategies for Warden") + (description + "This library extends Warden to support OAuth 2.0 authorized API +requests.") + (home-page "https://github.com/opperator/warden-oauth2") + (license license:expat))) + (define-public ruby-webmock-2 (package (name "ruby-webmock") From patchwork Sun Feb 17 19:22:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1122 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E7FD916C4B; Sun, 17 Feb 2019 19:25:04 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7E5BD16BFF for ; Sun, 17 Feb 2019 19:25:04 +0000 (GMT) Received: from localhost ([127.0.0.1]:45598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3k-0001rr-3f for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS30-0001Fp-B5 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2r-0007fA-9b for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52379) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2p-0007bM-T4 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2p-00076y-P1 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 12/34] gnu: Add ruby-with-advisory-lock. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043140927055 (code B ref 34514); Sun, 17 Feb 2019 19:24:07 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:29 +0000 Received: from localhost ([127.0.0.1]:51607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2C-00072C-TX for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:29 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47220 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS20-0006xz-Sj for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:18 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 5128716C59 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:15 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 529b0302 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:52 +0000 Message-Id: <20190217192314.5666-12-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/rails.scm (ruby-with-advisory-lock): New variable. --- gnu/packages/rails.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 2d7ccceff7..739f97090d 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -413,6 +413,34 @@ application bootup, plugins, generators, and Rake tasks.") "https://github.com/rails/sprockets-rails") (license license:expat))) +(define-public ruby-with-advisory-lock + (package + (name "ruby-with-advisory-lock") + (version "4.0.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "with_advisory_lock" version)) + (sha256 + (base32 + "1k37hxgmaqgsd54gplm5xim9nw3ghvqsbzaw7q4q64ha1nbd9a41")))) + (build-system ruby-build-system) + (arguments + '(;; TODO Tests require a running MySQL service + #:tests? #f)) + (propagated-inputs + `(("ruby-activerecord" ,ruby-activerecord))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-yard" ,ruby-yard) + ("ruby-mysql2" ,ruby-mysql2))) + (synopsis "Advisory locking for ActiveRecord") + (description + "Adds advisory locking to ActiveRecord for PostgreSQL and MySQL. SQLite +is also supported, but this uses the filesystem for locks.") + (home-page "http://closuretree.github.io/with_advisory_lock/") + (license license:expat))) + (define-public ruby-rails (package (name "ruby-rails") From patchwork Sun Feb 17 19:22:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1133 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 95F3E16C4E; Sun, 17 Feb 2019 19:25:46 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 3DACE16C4B for ; Sun, 17 Feb 2019 19:25:46 +0000 (GMT) Received: from localhost ([127.0.0.1]:45662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS4P-0002V3-OJ for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS30-0001Fy-CJ for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2r-0007fF-8H for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52378) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2p-0007Zx-EN for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2p-00076r-A1 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 13/34] gnu: Add ruby-omniauth-oauth2. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043140927047 (code B ref 34514); Sun, 17 Feb 2019 19:24:07 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:29 +0000 Received: from localhost ([127.0.0.1]:51605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2C-000725-GM for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:28 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47222 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS20-0006y0-Sy for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:18 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 6247E16C5B for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:15 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id dde35e4c for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:53 +0000 Message-Id: <20190217192314.5666-13-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-omniauth-oauth2): New variable. --- gnu/packages/ruby.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 7a883c2366..f203b1f4f2 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1150,6 +1150,48 @@ authentication.") (home-page "https://github.com/omniauth/omniauth") (license license:expat))) +(define-public ruby-omniauth-oauth2 + (package + (name "ruby-omniauth-oauth2") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "omniauth-oauth2" version)) + (sha256 + (base32 + "11mi36l9d97r77q99jnafdc1yaa0a9wahhpp7dj7ank8q52g7g79")))) + (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-unnecessary-dependencies + (lambda _ + ;; The coveralls gem submits coverage information to an online + ;; service, and is unnecessary when running the tests + (substitute* "Gemfile" + ((".*coveralls\"") "")) + (substitute* "spec/helper.rb" + (("require \"coveralls\"") "") + (("Coveralls::SimpleCov::Formatter") "")) + #t))))) + (propagated-inputs + `(("ruby-oauth2" ,ruby-oauth2) + ("ruby-omniauth" ,ruby-omniauth))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec) + ("ruby-simplecov" ,ruby-simplecov) + ("ruby-rack-test" ,ruby-rack-test) + ("ruby-webmock" ,ruby-webmock-2))) + (synopsis "Abstract OAuth2 strategy for OmniAuth") + (description + "This library provides a generic OAuth2 strategy for OmniAuth. It +doesn't provide a way to gather user information, so should be used as a +building block for authentication strategies.") + (home-page "https://github.com/omniauth/omniauth-oauth2") + (license license:expat))) + (define-public ruby-open4 (package (name "ruby-open4") From patchwork Sun Feb 17 19:22:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1112 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D017D16C4E; Sun, 17 Feb 2019 19:24:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7344016BFF for ; Sun, 17 Feb 2019 19:24:24 +0000 (GMT) Received: from localhost ([127.0.0.1]:45568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS35-0001Cz-Sj for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:24:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS2t-00018H-5w for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2r-0007e8-50 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52377) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2o-0007Xu-Vy for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2o-00076j-Pz for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 14/34] gnu: Add ruby-test-construct. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043140827040 (code B ref 34514); Sun, 17 Feb 2019 19:24:06 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:28 +0000 Received: from localhost ([127.0.0.1]:51603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2B-00071x-Ud for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:28 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47208 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS20-0006xW-M2 for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:17 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 74EFF16C5F for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:15 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id f1470909 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:54 +0000 Message-Id: <20190217192314.5666-14-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-test-construct): New variable. --- gnu/packages/ruby.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index f203b1f4f2..31a3e9a4a6 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -2165,6 +2165,29 @@ use GNU gettext tools for maintenance.") (home-page "http://ranguba.org/packnga/") (license license:lgpl2.0+))) +(define-public ruby-test-construct + (package + (name "ruby-test-construct") + (version "2.0.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "test_construct" version)) + (sha256 + (base32 + "1a2ym3l068d0pxzzr95kvqx87zpdsarxslz9ygd4qfm9frrz0kgj")))) + (build-system ruby-build-system) + (native-inputs + `(("bundler" ,bundler) + ("ruby-mocha" ,ruby-mocha) + ("ruby-rspec" ,ruby-rspec))) + (synopsis "Creates temporary files and directories for testing") + (description + "TestConstruct is a @acronym{DSL, Domain Specific Language} for creating +temporary files and directories during tests.") + (home-page "https://github.com/bhb/test_construct") + (license license:expat))) + (define-public ruby-test-unit (package (name "ruby-test-unit") From patchwork Sun Feb 17 19:22:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1118 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 47DEF16C4B; Sun, 17 Feb 2019 19:24:44 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 00BFA16BFF for ; Sun, 17 Feb 2019 19:24:44 +0000 (GMT) Received: from localhost ([127.0.0.1]:45580 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3P-0001b2-GQ for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:24:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS30-0001Ft-BJ for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2r-0007f1-7i for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52380) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2q-0007d8-Bi for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2q-000775-6z for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 15/34] gnu: Add ruby-minitest-around. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043140927062 (code B ref 34514); Sun, 17 Feb 2019 19:24:08 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:29 +0000 Received: from localhost ([127.0.0.1]:51609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2D-00072K-D8 for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:29 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47224 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS20-0006y6-UO for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:18 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 87DE816BFF for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:15 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 63c8dcd6 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:55 +0000 Message-Id: <20190217192314.5666-15-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-minitest-around): New variable. --- gnu/packages/ruby.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 31a3e9a4a6..dbfd601d31 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -2765,6 +2765,40 @@ facilities supporting TDD, BDD, mocking, and benchmarking.") (delete-file "test/minitest/test_minitest_spec.rb") #t))))))) +(define-public ruby-minitest-around + (package + (name "ruby-minitest-around") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "minitest-around" version)) + (sha256 + (base32 + "15ywnqx0719jl9c25yqfshmwcir57i5f4hr1ra9v9vay9ylcwndr")))) + (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'extract-gemspec 'remove-unnecessary-dependency-versions + (lambda _ + (substitute* "minitest-around.gemspec" + (("%q.*") "%q, [\">= 0\"])\n")) + #t))))) + (propagated-inputs + `(("ruby-minitest" ,ruby-minitest))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-cucumber" ,ruby-cucumber) + ("ruby-bump" ,ruby-bump) + ("ruby-test-construct" ,ruby-test-construct))) + (synopsis "Run code around tests in Minitest") + (description + "This library provides a way to run code around tests in Minitest, +written using either the unit test or spec style.") + (home-page "https://github.com/splattael/minitest-around") + (license license:expat))) + (define-public ruby-minitest-sprint (package (name "ruby-minitest-sprint") From patchwork Sun Feb 17 19:22:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1134 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 47AE816C4B; Sun, 17 Feb 2019 19:25:47 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 42B6A16BFF for ; Sun, 17 Feb 2019 19:25:43 +0000 (GMT) Received: from localhost ([127.0.0.1]:45660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS4M-0002SE-LX for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3D-0001b4-I9 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS39-00082I-RR for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:31 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52399) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2z-0007oW-An for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:18 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2z-00079M-6N for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:17 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 16/34] gnu: Add libsass. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:17 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043142127201 (code B ref 34514); Sun, 17 Feb 2019 19:24:17 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:41 +0000 Received: from localhost ([127.0.0.1]:51645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2L-00074U-55 for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:41 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47210 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS20-0006xX-Me for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:21 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 97C9B16C60 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:15 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 704d31c6 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:56 +0000 Message-Id: <20190217192314.5666-16-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/web.scm (libsass): New variable. --- gnu/packages/web.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index d8bab34e51..ed2a7df2e1 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2017 Petter ;;; Copyright © 2017 Pierre Langlois ;;; Copyright © 2017 Rutger Helling +;;; Copyright © 2017, 2019 Christopher Baines ;;; Copyright © 2018 Julien Lepiller ;;; Copyright © 2018 Pierre-Antoine Rouby ;;; Copyright © 2018 Gábor Boskovits @@ -1248,6 +1249,40 @@ minimum to provide high performance operation.") ;; bundled CuTest framework uses a different non-copyleft license. (license (list l:asl2.0 (l:non-copyleft "file://test/CuTest-README.txt"))))) +(define-public libsass + (package + (name "libsass") + (version "3.5.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sass/libsass.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0830pjcvhzxh6yixj82x5k5r1xnadjqzi16kp53213icbly0r9ma")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'bootstrap 'set-LIBSASS_VERSION + (lambda _ + (setenv "LIBSASS_VERSION" ,version) + #t))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) + (home-page "https://sass-lang.com/libsass") + (synopsis "SASS Compiler, implemented as a C/C++ library") + (description + "LibSass is a @acronym{SASS,Syntactically awesome style sheets} compiler +library designed for portability and efficiency. To actually compile SASS +stylesheets, you'll need to use another program that uses this library, +@var{sassc} for example.") + (license l:expat))) + (define-public sassc ;; libsass must be statically linked and it isn't included in the sassc ;; release tarballs, hence this odd package recipe. From patchwork Sun Feb 17 19:22:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1130 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 52A5116C4B; Sun, 17 Feb 2019 19:25:32 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id D03D516C4A for ; Sun, 17 Feb 2019 19:25:31 +0000 (GMT) Received: from localhost ([127.0.0.1]:45648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS4B-0002KD-8A for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS30-0001Fw-Bl for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2r-0007fK-8f for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52381) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2q-0007dJ-SS for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2q-00077D-Nc for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 17/34] gnu: sassc: Update and improve the package. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141027070 (code B ref 34514); Sun, 17 Feb 2019 19:24:08 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:30 +0000 Received: from localhost ([127.0.0.1]:51611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2D-00072S-OF for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:30 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47226 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS20-0006y7-Ui for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:19 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id A749B16C61 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:15 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id acb3501a for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:57 +0000 Message-Id: <20190217192314.5666-17-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Now that libsass is packaged, change the sassc package to build a dynamically linked binary. Also update the version, and change the source to the Git repository, rather than the archives from GitHub. * gnu/packages/web.scm (sassc): Update to 3.5.0. [source]: Change to the Git repository. [arguments]: Tweak to link against libsass. --- gnu/packages/web.scm | 95 +++++++++++++++++++++----------------------- 1 file changed, 46 insertions(+), 49 deletions(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index ed2a7df2e1..49fbfd1f8d 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -1284,56 +1284,53 @@ stylesheets, you'll need to use another program that uses this library, (license l:expat))) (define-public sassc - ;; libsass must be statically linked and it isn't included in the sassc - ;; release tarballs, hence this odd package recipe. - (let* ((version "3.4.5") - (libsass - (origin - (method url-fetch) - (uri (string-append - "https://github.com/sass/libsass/archive/" - version ".tar.gz")) - (file-name (string-append "libsass-" version ".tar.gz")) - (sha256 - (base32 - "1j22138l5ymqjfj5zan9d2hipa3ahjmifgpjahqy1smlg5sb837x"))))) - (package - (name "sassc") - (version version) - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/sass/sassc/archive/" - version ".tar.gz")) - (file-name (string-append "sassc-" version ".tar.gz")) - (sha256 - (base32 - "1xk4kmmvziz9sal3swpqa10q0s289xjpcz8aggmly8mvxvmngsi9")))) - (build-system gnu-build-system) - (arguments - `(#:make-flags - (list "CC=gcc" - (string-append "PREFIX=" (assoc-ref %outputs "out"))) - #:test-target "test" - ;; FIXME: "make test" rebuilds the application and gets lost in a - ;; non-existing directory. - #:tests? #f - #:phases - (modify-phases %standard-phases - (delete 'bootstrap) - (delete 'configure) - (add-after 'unpack 'unpack-libsass-and-set-path - (lambda* (#:key inputs #:allow-other-keys) - (invoke "tar" "xvf" (assoc-ref inputs "libsass")) - (setenv "SASS_LIBSASS_PATH" - (string-append (getcwd) "/libsass-" ,version)) - #t))))) - (inputs - `(("libsass" ,libsass))) - (synopsis "CSS pre-processor") - (description "SassC is a compiler written in C for the CSS pre-processor + (package + (name "sassc") + (version "3.5.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sass/sassc.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0jsfz1zg4gwk0dq8i92ll12axs3s70wsdsmdyi71zx8zmvib5nl6")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags + (list "CC=gcc" + (string-append "PREFIX=" (assoc-ref %outputs "out"))) + ;; I don't believe sassc contains any tests + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-Makefile + (lambda _ + (substitute* "Makefile" + (("build-shared: \\$\\(RESOURCES\\) \\$\\(OBJECTS\\) \\$\\(LIB_SHARED\\)") + "build-shared: $(RESOURCES) $(OBJECTS)") + (("\\$\\(SASSC_EXE\\): libsass build") + "$(SASSC_EXE): build") + (("install: libsass-install-\\$\\(BUILD\\) \\\\") + "install: \\")) + #t)) + ;; This phase fails for some reason + (delete 'bootstrap) + ;; There is no configure script + (delete 'configure) + (add-before 'build 'setup-environment + (lambda _ + (setenv "BUILD" "shared") + (setenv "SASSC_VERSION" ,version) + #t))))) + (inputs + `(("libsass" ,libsass))) + (synopsis "CSS pre-processor") + (description "SassC is a compiler written in C for the CSS pre-processor language known as SASS.") - (home-page "http://sass-lang.com/libsass") - (license l:expat)))) + (home-page "http://sass-lang.com/libsass") + (license l:expat))) (define-public perl-apache-logformat-compiler From patchwork Sun Feb 17 19:22:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1132 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3A5F616C4B; Sun, 17 Feb 2019 19:25:41 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id BF69916BFF for ; Sun, 17 Feb 2019 19:25:40 +0000 (GMT) Received: from localhost ([127.0.0.1]:45658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS4K-0002Qf-9E for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS30-0001G7-HW for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2t-0007j4-Bs for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:15 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52383) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2r-0007gA-RW for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2r-00077U-MI for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 18/34] gnu: Add ruby-sassc. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141127084 (code B ref 34514); Sun, 17 Feb 2019 19:24:09 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:31 +0000 Received: from localhost ([127.0.0.1]:51615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2E-00072g-P5 for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:31 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47228 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS21-0006yE-96 for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:19 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id C1DA916C62 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:15 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id e75803d5 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:58 +0000 Message-Id: <20190217192314.5666-18-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-sassc): New variable. --- gnu/packages/ruby.scm | 74 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index dbfd601d31..ab17c20d62 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7340,6 +7340,80 @@ the @file{spec} directory.") features that don't exist yet like variables, nesting, mixins and inheritance.") (license license:expat))) +(define-public ruby-sassc + (package + (name "ruby-sassc") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "sassc" version)) + (sha256 + (base32 + "0xw8wyr27108x4gbidvb71ngxvn00h6c11xsrxby4c6h92zs06dn")))) + (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; TODO: This would be better as a snippet, but the ruby-build-system + ;; doesn't seem to support that + (add-after 'unpack 'remove-libsass + (lambda _ + (delete-file-recursively "ext") + #t)) + (add-after 'unpack 'dont-check-the-libsass-version + (lambda _ + (substitute* "test/native_test.rb" + (("assert_equal.*Native\\.version") "")) + #t)) + (add-after 'unpack 'remove-git-from-gemspec + (lambda _ + (substitute* "sassc.gemspec" + (("`git ls-files -z`") "`find . -type f -print0 |sort -z`") + (("`git submodule --quiet foreach pwd`") "''")) + #t)) + (add-after 'unpack 'remove-extensions-from-gemspec + (lambda _ + (substitute* "sassc.gemspec" + (("\\[\"ext/Rakefile\"\\]") "[]")) + #t)) + (add-after 'unpack 'fix-Rakefile + (lambda _ + (substitute* "Rakefile" + (("test: 'libsass:compile'") ":test")) + #t)) + (add-after 'unpack 'remove-unnecessary-dependencies + (lambda _ + (substitute* "test/test_helper.rb" + (("require \"pry\"") "")) + #t)) + (add-before 'build 'patch-native.rb + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "lib/sassc/native.rb" + ((".*gem_root = spec.gem_dir") "") + (("ffi_lib .*\n") + (string-append + "ffi_lib '" (assoc-ref inputs "libsass") "/lib/libsass.so'"))))) + ;; The gemspec still references the libsass files, so just keep the + ;; one in the gem. + (delete 'extract-gemspec)))) + (propagated-inputs + `(("ruby-ffi" ,ruby-ffi) + ("ruby-rake" ,ruby-rake))) + (inputs + `(("libsass" ,libsass))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-minitest-around" ,ruby-minitest-around) + ("ruby-test-construct" ,ruby-test-construct))) + (synopsis "Use libsss from Ruby") + (description + "This library provides Ruby q@acronym{FFI, Foreign Function Interface} +bindings to the libsass library. This enables rendering +@acronym{SASS,Syntactically awesome style sheets} from Ruby code.") + (home-page "https://github.com/sass/sassc-ruby") + (license license:expat))) + (define-public ruby-jekyll-sass-converter (package (name "ruby-jekyll-sass-converter") From patchwork Sun Feb 17 19:22:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1127 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8F7F216C50; Sun, 17 Feb 2019 19:25:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 42F5016C4A for ; Sun, 17 Feb 2019 19:25:24 +0000 (GMT) Received: from localhost ([127.0.0.1]:45642 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS43-0002DU-OI for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS30-0001Fq-By for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2t-0007i1-6G for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52382) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2r-0007fP-Dy for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2r-00077M-76 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 19/34] gnu: Add ruby-markaby. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141027077 (code B ref 34514); Sun, 17 Feb 2019 19:24:09 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:30 +0000 Received: from localhost ([127.0.0.1]:51613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2E-00072Z-Df for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:30 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47230 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS21-0006yF-9V for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:19 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id DB84E16C63 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:15 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 54be16f3 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:22:59 +0000 Message-Id: <20190217192314.5666-19-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-markaby): New variable. --- gnu/packages/ruby.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index ab17c20d62..8fe0e9b60f 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -2213,6 +2213,43 @@ It allows writing tests, checking results and automated testing in Ruby.") (home-page "https://test-unit.github.io/") (license (list license:psfl license:ruby)))) +(define-public ruby-markaby + (package + (name "ruby-markaby") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "markaby" version)) + (sha256 + (base32 + "1j4jc31ycydbkh5h3q6zwidzpavg3g5mbb5lqyaczd3jrq78rd7i")))) + (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; Run rspec manually without using the Rakefile, as the versions of + ;; Rake and RSpec 2 are incompatible: + ;; + ;; NoMethodError: undefined method `last_comment' + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rspec")) + #t))))) + (propagated-inputs + `(("ruby-builder" ,ruby-builder))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec-2))) + (synopsis "Write HTML pages in pure Ruby") + (description + "Markaby allows writing HTML packages in pure Ruby. This is similar to +the functionality provided by @acronym{ERB, Embeded Ruby}, but without the +mixture of HTML and additional ERB syntax.") + (home-page "http://markaby.github.io/") + (license license:expat))) + (define-public ruby-maruku (package (name "ruby-maruku") From patchwork Sun Feb 17 19:23:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1128 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9FD7B16C4E; Sun, 17 Feb 2019 19:25:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 2767716BFF for ; Sun, 17 Feb 2019 19:25:24 +0000 (GMT) Received: from localhost ([127.0.0.1]:45638 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS43-0002DB-M6 for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS30-0001G0-CU for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2t-0007iI-6m for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52384) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2s-0007h9-A7 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2s-00077b-4B for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 20/34] gnu: Add ruby-temple. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141127092 (code B ref 34514); Sun, 17 Feb 2019 19:24:10 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:31 +0000 Received: from localhost ([127.0.0.1]:51617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2F-00072o-50 for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:31 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47218 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS21-0006xn-CK for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:19 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id EAFE116C50 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:15 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 15558e9e for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:23:00 +0000 Message-Id: <20190217192314.5666-20-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-temple): New variable. --- gnu/packages/ruby.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 8fe0e9b60f..f47802a389 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -2093,6 +2093,28 @@ localization.") (home-page "https://github.com/ruby-gettext/locale") (license (list license:lgpl3+ license:ruby)))) +(define-public ruby-temple + (package + (name "ruby-temple") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "temple" version)) + (sha256 + (base32 + "00nxf610nzi4n1i2lkby43nrnarvl89fcl6lg19406msr0k3ycmq")))) + (build-system ruby-build-system) + (native-inputs + `(("ruby-tilt" ,ruby-tilt) + ("ruby-bacon" ,ruby-bacon) + ("ruby-erubis" ,ruby-erubis))) + (synopsis "Template compilation framework in Ruby") + (description + "Abstraction and a framework for compiling templates to pure Ruby.") + (home-page "https://github.com/judofyr/temple") + (license license:expat))) + (define-public ruby-text (package (name "ruby-text") From patchwork Sun Feb 17 19:23:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1131 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9406016C4B; Sun, 17 Feb 2019 19:25:39 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 4301416BFF for ; Sun, 17 Feb 2019 19:25:39 +0000 (GMT) Received: from localhost ([127.0.0.1]:45656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS4I-0002Oy-Mp for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3D-0001aa-5Z for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS30-0007q0-Dk for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:21 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52387) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2t-0007k9-PA for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:13 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2t-00077x-Hj for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 21/34] gnu: Add ruby-haml. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141227114 (code B ref 34514); Sun, 17 Feb 2019 19:24:11 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:32 +0000 Received: from localhost ([127.0.0.1]:51623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2G-000739-CZ for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:32 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47232 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS21-0006yT-KR for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:20 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 0682016C4A for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:16 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id f391fc36 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:23:01 +0000 Message-Id: <20190217192314.5666-21-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-haml): New variable. --- gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index f47802a389..6548ef095e 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1661,6 +1661,34 @@ failure.") (home-page "https://github.com/thekompanee/fuubar") (license license:expat))) +(define-public ruby-haml + (package + (name "ruby-haml") + (version "5.0.4") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "haml" version)) + (sha256 + (base32 + "1q0a9fvqh8kn6wm97fcks6qzbjd400bv8bx748w8v87m7p4klhac")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (propagated-inputs + `(("ruby-tilt" ,ruby-tilt) + ("ruby-temple" ,ruby-temple))) + (synopsis "Haml is a Ruby library to generate HTML documents") + (description + "@acronym{Haml, HTML Abstraction Markup Language} is a layer on top of +HTML or XML that is designed to express the structure of documents using +indentation rather than closing tags. It was originally envisioned as a +plugin for Ruby on Rails, but it can function as a stand-alone templating +engine.") + (home-page "http://haml.info/") + (license license:expat))) + (define-public ruby-hamster (package (name "ruby-hamster") From patchwork Sun Feb 17 19:23:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1137 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9F84C16C4B; Sun, 17 Feb 2019 19:26:00 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 3119316C4A for ; Sun, 17 Feb 2019 19:26:00 +0000 (GMT) Received: from localhost ([127.0.0.1]:45668 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS4d-0002eu-MZ for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS39-0001WJ-Pw for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2y-0007oB-QV for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:18 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52386) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2t-0007iZ-Ay for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:13 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2t-00077q-34 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 22/34] gnu: Add ruby-tilt. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141227106 (code B ref 34514); Sun, 17 Feb 2019 19:24:11 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:32 +0000 Received: from localhost ([127.0.0.1]:51621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2F-000732-QR for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:32 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47214 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS21-0006xl-DW for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:20 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 1595816C64 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:16 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 392be8ff for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:23:02 +0000 Message-Id: <20190217192314.5666-22-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-tilt): New variable. --- gnu/packages/ruby.scm | 46 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 6548ef095e..1fed53f392 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3744,6 +3744,52 @@ file or directories are modified.") (home-page "http://guardgem.org/") (license license:expat))) +(define-public ruby-tilt + (package + (name "ruby-tilt") + (version "2.0.9") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "tilt" version)) + (sha256 + (base32 + "0ca4k0clwf0rkvy7726x4nxpjxkpv67w043i39saxgldxd97zmwz")))) + (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-some-dependencies + (lambda _ + (substitute* "Gemfile" + ;; TODO ronn is used for generating the manual + (("gem 'ronn'.*") "\n") + ;; ruby-haml has a runtime dependency on ruby-tilt, so don't + ;; pass it in as a native-input + (("gem 'haml'.*") "\n") + ;; TODO Not all of these gems are packaged for Guix yet: + ;; less, coffee-script, livescript, babel-transpiler, + ;; typescript-node + (("if can_execjs") "if false") + ;; Disable the secondary group to reduce the number of + ;; dependencies. None of the normal approaches work, so patch + ;; the Gemfile instead. + (("group :secondary") "[].each")) + #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-yard" ,ruby-yard) + ("ruby-builder" ,ruby-builder) + ("ruby-erubis" ,ruby-erubis) + ("ruby-markaby" ,ruby-markaby) + ("ruby-sassc" ,ruby-sassc))) + (synopsis "Generic interface to multiple Ruby template engines") + (description + "Tilt is a thin interface over a number of different Ruby template +engines in an attempt to make their usage as generic as possible.") + (home-page "https://github.com/rtomayko/tilt/") + (license license:expat))) + (define-public ruby-thread-safe (package (name "ruby-thread-safe") From patchwork Sun Feb 17 19:23:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1142 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D63FE16C4B; Sun, 17 Feb 2019 19:26:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7A31F16BFF for ; Sun, 17 Feb 2019 19:26:23 +0000 (GMT) Received: from localhost ([127.0.0.1]:45685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS51-0002wd-2a for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:26:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3D-0001ap-Cw for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS39-00082A-SW for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:31 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52396) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2x-0007nW-SD for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:18 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2x-000790-No for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:15 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 23/34] gnu: Add ruby-sass-rails. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141627174 (code B ref 34514); Sun, 17 Feb 2019 19:24:15 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:36 +0000 Received: from localhost ([127.0.0.1]:51639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2K-000748-62 for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:36 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47234 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS21-0006yW-LS for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:20 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 25D6E16C65 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:16 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 2b5e9b98 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:23:03 +0000 Message-Id: <20190217192314.5666-23-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/rails.scm (ruby-sass-rails): New variable. --- gnu/packages/rails.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 739f97090d..cdce500e2b 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -65,6 +65,34 @@ migration.") (home-page "https://github.com/rails/spring") (license license:expat))) +(define-public ruby-sass-rails + (package + (name "ruby-sass-rails") + (version "5.0.7") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "sass-rails" version)) + (sha256 + (base32 + "1wa63sbsimrsf7nfm8h0m1wbsllkfxvd7naph5d1j6pbc555ma7s")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (propagated-inputs + `(("ruby-railties" ,ruby-railties) + ("ruby-sass" ,ruby-sass) + ("ruby-sprockets" ,ruby-sprockets) + ("ruby-sprockets-rails" ,ruby-sprockets-rails) + ("ruby-tilt" ,ruby-tilt))) + (synopsis "Sass adapter for the Rails asset pipeline") + (description + "This library integrates the SASS stylesheet language in to Ruby on +Rails.") + (home-page "https://github.com/rails/sass-rails") + (license license:expat))) + (define-public ruby-debug-inspector (package (name "ruby-debug-inspector") From patchwork Sun Feb 17 19:23:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1136 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3940116C4B; Sun, 17 Feb 2019 19:25:52 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id EB1F616BFF for ; Sun, 17 Feb 2019 19:25:51 +0000 (GMT) Received: from localhost ([127.0.0.1]:45666 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS4V-0002b0-G3 for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS30-0001Fx-Ck for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS2t-0007j3-Bo for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52385) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2s-0007hN-R3 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2s-00077j-Kp for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 24/34] gnu: Add ruby-dep. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141127099 (code B ref 34514); Sun, 17 Feb 2019 19:24:10 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:31 +0000 Received: from localhost ([127.0.0.1]:51619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2F-00072v-He for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:31 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47216 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS21-0006xm-Gc for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:19 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 35DAB16C66 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:16 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 6a68b1f9 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:23:04 +0000 Message-Id: <20190217192314.5666-24-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-dep): New variable. --- gnu/packages/ruby.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 1fed53f392..e4d75e4a76 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3650,6 +3650,28 @@ rate.") (home-page "https://github.com/paul/progress_bar") (license license:wtfpl2))) +(define-public ruby-dep + (package + (name "ruby-dep") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "ruby_dep" version)) + (sha256 + (base32 + "1c1bkl97i9mkcvkn1jks346ksnvnnp84cs22gwl0vd7radybrgy5")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (synopsis "Creates a version constraint of supported Rubies") + (description + "Creates a version constraint of supported Rubies, suitable for a gemspec +file.") + (home-page "https://github.com/e2/ruby_dep") + (license license:expat))) + (define-public ruby-progressbar (package (name "ruby-progressbar") From patchwork Sun Feb 17 19:23:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1121 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D834A16C4B; Sun, 17 Feb 2019 19:25:01 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 6B34316BFF for ; Sun, 17 Feb 2019 19:25:01 +0000 (GMT) Received: from localhost ([127.0.0.1]:45596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3g-0001pT-Uc for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3D-0001ab-6Y for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS30-0007qS-Jx for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:21 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52391) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2v-0007mO-K3 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:15 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2v-00078Q-DI for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:13 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 25/34] gnu: ruby-jekyll-watch: Update to 2.1.2. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:13 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141427136 (code B ref 34514); Sun, 17 Feb 2019 19:24:13 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:34 +0000 Received: from localhost ([127.0.0.1]:51629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2H-00073W-Mf for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:33 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47236 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS21-0006ya-Or for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:20 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 4796F16C67 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:16 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 603f65db for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:23:05 +0000 Message-Id: <20190217192314.5666-25-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-jekyll-watch): Update to 2.1.2. [propagated-inputs]: Change to use ruby-listen, rather than ruby-listen-3.0. --- gnu/packages/ruby.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index e4d75e4a76..69f3933f31 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7594,16 +7594,16 @@ in Jekyll.") (define-public ruby-jekyll-watch (package (name "ruby-jekyll-watch") - (version "2.0.0") + (version "2.1.2") (source (origin (method url-fetch) (uri (rubygems-uri "jekyll-watch" version)) (sha256 (base32 - "0m7scvj3ki8bmyx5v8pzibpg6my10nycnc28lip98dskf8iakprp")))) + "1s9ly83sp8albvgdff12xy2h4xd8lm6z2fah4lzmk2yvp85jzdzv")))) (build-system ruby-build-system) (propagated-inputs - `(("ruby-listen-3.0" ,ruby-listen-3.0))) + `(("ruby-listen" ,ruby-listen))) (arguments ;; No rakefile `(#:tests? #f)) From patchwork Sun Feb 17 19:23:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1144 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3D4E516C4B; Sun, 17 Feb 2019 19:26:31 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id DBCA116BFF for ; Sun, 17 Feb 2019 19:26:30 +0000 (GMT) Received: from localhost ([127.0.0.1]:45689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS58-00032F-GS for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:26:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3D-0001b5-Hl for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS39-00082N-Ro for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:31 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52400) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2z-0007oj-P8 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:18 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2z-00079T-KO for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:17 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 26/34] gnu: Remove ruby-listen-3.0. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:17 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043142127208 (code B ref 34514); Sun, 17 Feb 2019 19:24:17 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:41 +0000 Received: from localhost ([127.0.0.1]:51647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2P-00074g-B5 for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:41 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47212 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS21-0006xk-ND for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:23 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 569FD16C69 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:16 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id a8d71ed4 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:23:06 +0000 Message-Id: <20190217192314.5666-26-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches This was used by ruby-jekyll-watch, but that's now been upgraded and now uses the ruby-listen package. * gnu/packages/ruby.scm (ruby-listen-3.0): Remove this variable. --- gnu/packages/ruby.scm | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 69f3933f31..0323f89a1c 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -4362,17 +4362,6 @@ you about the changes.") (home-page "https://github.com/guard/listen") (license license:expat))) -(define-public ruby-listen-3.0 - (package - (inherit ruby-listen) - (version "3.0.8") - (source (origin - (method url-fetch) - (uri (rubygems-uri "listen" version)) - (sha256 - (base32 - "1l0y7hbyfiwpvk172r28hsdqsifq1ls39hsfmzi1vy4ll0smd14i")))))) - (define-public ruby-loofah (package (name "ruby-loofah") From patchwork Sun Feb 17 19:23:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1143 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id ECA5416C4B; Sun, 17 Feb 2019 19:26:27 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 9FAA016BFF for ; Sun, 17 Feb 2019 19:26:27 +0000 (GMT) Received: from localhost ([127.0.0.1]:45687 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS55-0002zi-8F for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:26:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3D-0001ak-Ad for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS34-0007u4-Sh for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:27 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52394) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2w-0007n4-VK for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:15 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2w-00078l-QX for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:14 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 27/34] gnu: ruby-listen: Enable running the tests. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141527159 (code B ref 34514); Sun, 17 Feb 2019 19:24:14 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:35 +0000 Received: from localhost ([127.0.0.1]:51635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2I-00073r-Ou for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:35 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47238 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS21-0006yg-VV for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:20 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 65E8716C6B for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:16 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id c0b7175a for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:23:07 +0000 Message-Id: <20190217192314.5666-27-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-listen)[source]: Switch to the Git repository, as this includes the tests. [arguments]: Set #:test-target and tweak the Rakefile to avoid requiring Rubocop unnecessarily. [native-inputs]: Add bundler and ruby-rspec for running the test suite. [inputs]: Add ruby-thor, as this is used for bin/listen. [propagated-inputs]: Add ruby-dep, as this is listed as a runtime dependency in the gemspec. --- gnu/packages/ruby.scm | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 0323f89a1c..0c5fe2896b 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -4346,16 +4346,39 @@ a native C extension.") (version "3.1.5") (source (origin - (method url-fetch) - (uri (rubygems-uri "listen" version)) + ;; The gem does not include a Rakefile, so fetch from the Git + ;; repository. + (method git-fetch) + (uri (git-reference + (url "https://github.com/guard/listen.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "01v5mrnfqm6sgm8xn2v5swxsn1wlmq7rzh2i48d4jzjsc7qvb6mx")))) + "1hqmkfa9f2xb5jlvqbafdxjd5ax75jm8gqj5nh3k22xq0kacsvgg")))) (build-system ruby-build-system) - (arguments '(#:tests? #f)) ; no tests + (arguments + `(#:test-target "spec" + #:phases + (modify-phases %standard-phases + (add-before 'check 'remove-unnecessary-dependencies' + (lambda _ + (substitute* "Rakefile" + ;; Rubocop is for code linting, and is unnecessary for running + ;; the tests. + ((".*rubocop.*") "")) + #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec))) + (inputs + `(;; ruby-thor is used for the command line interface, and is referenced + ;; in the wrapper, and therefore just needs to be an input. + ("ruby-thor" ,ruby-thor))) (propagated-inputs - `(("ruby-rb-inotify" ,ruby-rb-inotify) - ("ruby-rb-fsevent" ,ruby-rb-fsevent))) + `(("ruby-rb-fsevent" ,ruby-rb-fsevent) + ("ruby-rb-inotify" ,ruby-rb-inotify) + ("ruby-dep" ,ruby-dep))) (synopsis "Listen to file modifications") (description "The Listen gem listens to file modifications and notifies you about the changes.") From patchwork Sun Feb 17 19:23:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1138 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8089516C4E; Sun, 17 Feb 2019 19:26:07 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 28F1D16C4A for ; Sun, 17 Feb 2019 19:26:07 +0000 (GMT) Received: from localhost ([127.0.0.1]:45670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS4k-0002iF-Lu for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:26:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3D-0001ax-Ed for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS39-000824-RZ for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:31 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52397) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2y-0007np-CE for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:18 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2y-000797-78 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:16 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 28/34] gnu: Add ruby-bindex. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:16 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141627181 (code B ref 34514); Sun, 17 Feb 2019 19:24:16 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:36 +0000 Received: from localhost ([127.0.0.1]:51641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2K-00074F-GR for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:36 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47208 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS22-0006xW-2t for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:20 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 7647716C6C for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:16 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id d298a26c for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:23:08 +0000 Message-Id: <20190217192314.5666-28-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-bindex): New variable. --- gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 0c5fe2896b..60b5e4b0e7 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5446,6 +5446,31 @@ boolean expression used by Cucumber.") (home-page "https://github.com/cucumber/tag-expressions-ruby") (license license:expat))) +(define-public ruby-bindex + (package + (name "ruby-bindex") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "bindex" version)) + (sha256 + (base32 + "1wvhf4v8sk5x8li03pcc0v0wglmyv7ikvvg05bnms83dfy7s4k8i")))) + (build-system ruby-build-system) + (arguments + '(#:test-target "default")) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rake-compiler" ,ruby-rake-compiler))) + (synopsis "Provides access for bindings relating to Ruby exceptions") + (description + "@code{bindex} provides a way to access the bindings that relate to +exceptions in Ruby, providing more information about the context in which the +exception occurred.") + (home-page "https://github.com/gsamokovarov/bindex") + (license license:expat))) + (define-public ruby-bio-logger (package (name "ruby-bio-logger") From patchwork Sun Feb 17 19:23:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1139 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F00D416C4B; Sun, 17 Feb 2019 19:26:08 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 967AE16BFF for ; Sun, 17 Feb 2019 19:26:08 +0000 (GMT) Received: from localhost ([127.0.0.1]:45674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS4m-0002je-4M for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:26:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3D-0001aV-3c for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS30-0007qX-Iz for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:21 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52390) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2v-0007lt-4Q for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:15 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2u-00078J-V8 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 29/34] gnu: Add ruby-web-console. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141327129 (code B ref 34514); Sun, 17 Feb 2019 19:24:12 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:33 +0000 Received: from localhost ([127.0.0.1]:51627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2H-00073P-79 for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:33 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47240 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS22-0006yo-BD for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:21 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 8797A16C4E for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:16 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 8b88ed4f for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:23:09 +0000 Message-Id: <20190217192314.5666-29-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/rails.scm (ruby-web-console): New variable. --- gnu/packages/rails.scm | 56 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index cdce500e2b..8823791405 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -441,6 +441,62 @@ application bootup, plugins, generators, and Rake tasks.") "https://github.com/rails/sprockets-rails") (license license:expat))) +(define-public ruby-web-console + (package + (name "ruby-web-console") + (version "3.7.0") + (source + (origin + ;; Download from GitHub as test files are not provided in the gem. + (method git-fetch) + (uri (git-reference + (url "https://github.com/rails/web-console.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ir999p8cnm3l3zwbgpwxxcq1vwkj8d0d3r24362cyaf4v1rglq2")))) + (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-Gemfile + (lambda _ + (substitute* "Gemfile" + ;; Remove the github bit from the Gemfile, so that the Guix + ;; packages are used. + ((", github: .*") "\n") + ;; The usual methods of not loading this group don't work, so + ;; patch the Gemfile. + (("group :development") "[].each") + ;; tzinfo-data is propagated by ruby-activesupport, but it + ;; needs to be in the Gemfile to become available. + (("group :test do") "group :test do\n gem 'tzinfo-data'")) + #t)) + (add-after 'unpack 'fix-mocha-minitest-require + (lambda _ + (substitute* "test/test_helper.rb" + ;; This chanegd in recent versions of Mocha + (("mocha/minitest") "mocha/mini_test")) + #t))))) + (propagated-inputs + `(("ruby-actionview" ,ruby-actionview) + ("ruby-activemodel" ,ruby-activemodel) + ("ruby-bindex" ,ruby-bindex) + ("ruby-railties" ,ruby-railties))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rails" ,ruby-rails) + ("ruby-mocha" ,ruby-mocha) + ("ruby-simplecov" ,ruby-simplecov))) + (synopsis "Debugging tool for your Ruby on Rails applications") + (description + "This package allows you to create an interactive Ruby session in your +browser. Those sessions are launched automatically in case of an error and +can also be launched manually in any page.") + (home-page "https://github.com/rails/web-console") + (license license:expat))) + (define-public ruby-with-advisory-lock (package (name "ruby-with-advisory-lock") From patchwork Sun Feb 17 19:23:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1140 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3E3D016C4B; Sun, 17 Feb 2019 19:26:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id D474616BFF for ; Sun, 17 Feb 2019 19:26:12 +0000 (GMT) Received: from localhost ([127.0.0.1]:45676 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS4q-0002n9-Aw for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:26:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3D-0001aZ-5L for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS30-0007pj-DM for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:21 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52389) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2u-0007lb-KM for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:13 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2u-00078A-DP for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 30/34] gnu: Add ruby-execjs. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141327121 (code B ref 34514); Sun, 17 Feb 2019 19:24:12 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:33 +0000 Received: from localhost ([127.0.0.1]:51625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2G-00073H-Pf for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:33 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47220 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS22-0006xz-Eg for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:21 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id A0F8C16C51 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:16 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id ca9427c0 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:23:10 +0000 Message-Id: <20190217192314.5666-30-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-execjs): New variable. --- gnu/packages/ruby.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 60b5e4b0e7..2c49b1587c 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -49,6 +49,7 @@ #:use-module (gnu packages maths) #:use-module (gnu packages ncurses) #:use-module (gnu packages networking) + #:use-module (gnu packages node) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) #:use-module (gnu packages ragel) @@ -1296,6 +1297,39 @@ support.") (home-page "http://www.kuwata-lab.com/erubis/") (license license:expat))) +(define-public ruby-execjs + (package + (name "ruby-execjs") + (version "2.7.0") + (source + (origin + ;; fetch from github as the gem does not contain testing code + (method git-fetch) + (uri (git-reference + (url "https://github.com/rails/execjs.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0c0vd2mmqq3ar4plbwi2wsbr31vn4h45i19r5km66skydnnbp1y6")))) + (build-system ruby-build-system) + (native-inputs + `(("bundler" ,bundler) + ;; The test suite tests all the available backends. Currenly, this just + ;; means the node backend. + ;; + ;; PASSED: test:node + ;; SKIPPED: test:duktape, ;; test:javascriptcore, test:jscript, + ;; test:miniracer, test:rubyracer, ;; test:rubyrhino, test:v8 + ("node" ,node))) + (synopsis "ExecJS lets you run JavaScript code from Ruby") + (description + "ExecJS lets you run JavaScript code from Ruby. It automatically picks a +runtime to evaluate your JavaScript program, then returns the result to you as +a Ruby object.") + (home-page "https://github.com/rails/execjs") + (license license:expat))) + (define-public ruby-orderedhash (package (name "ruby-orderedhash") From patchwork Sun Feb 17 19:23:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1141 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 40BCB16C4B; Sun, 17 Feb 2019 19:26:20 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id D2A4B16BFF for ; Sun, 17 Feb 2019 19:26:19 +0000 (GMT) Received: from localhost ([127.0.0.1]:45680 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS4x-0002rX-Es for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:26:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3D-0001ag-8Z for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS34-0007tw-Sb for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:27 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52395) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2x-0007nJ-Dm for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:16 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2x-00078s-8u for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:15 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 31/34] gnu: ruby: Update some RSpec packages. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141627167 (code B ref 34514); Sun, 17 Feb 2019 19:24:15 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:36 +0000 Received: from localhost ([127.0.0.1]:51637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2J-000740-36 for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:35 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47242 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS22-0006yz-Mc for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:21 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id B171B16C52 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:16 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id b0612132 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:23:11 +0000 Message-Id: <20190217192314.5666-31-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-rspec-support): Update to 3.8.0. (ruby-rspec-core): Update to 3.8.0. (ruby-rspec-expectations): Update to 3.8.2. (ruby-rspec-mocks): Update to 3.8.0. (ruby-rspec): Update to 3.8.0. --- gnu/packages/ruby.scm | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 2c49b1587c..385a1338e9 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -311,13 +311,13 @@ notebook).") (define ruby-rspec-support (package (name "ruby-rspec-support") - (version "3.5.0") + (version "3.8.0") (source (origin (method url-fetch) (uri (rubygems-uri "rspec-support" version)) (sha256 (base32 - "10vf3k3d472y573mag2kzfsfrf6rv355s13kadnpryk8d36yq5r0")))) + "0p3m7drixrlhvj2zpc38b11x145bvm311x6f33jjcxmvcm0wq609")))) (build-system ruby-build-system) (arguments '(#:tests? #f)) ; avoid dependency cycles @@ -329,13 +329,13 @@ notebook).") (define-public ruby-rspec-core (package (name "ruby-rspec-core") - (version "3.5.4") + (version "3.8.0") (source (origin (method url-fetch) (uri (rubygems-uri "rspec-core" version)) (sha256 (base32 - "1nacs062qbr98fx6czf1vwppn1js956nv2c8vfwj6i65axdfs46i")))) + "1p1s5bnbqp3sxk67y0fh0x884jjym527r0vgmhbm81w7aq6b7l4p")))) (build-system ruby-build-system) (arguments '(#:tests? #f)) ; avoid dependency cycles @@ -382,13 +382,13 @@ standard diff-like tool.") (define-public ruby-rspec-expectations (package (name "ruby-rspec-expectations") - (version "3.5.0") + (version "3.8.2") (source (origin (method url-fetch) (uri (rubygems-uri "rspec-expectations" version)) (sha256 (base32 - "0bbqfrb1x8gmwf8x2xhhwvvlhwbbafq4isbvlibxi6jk602f09gs")))) + "18l21hy1zdc2pgc2yb17k3n2al1khpfr0z6pijlm852iz6vj0dkm")))) (build-system ruby-build-system) (arguments '(#:tests? #f)) ; avoid dependency cycles @@ -474,13 +474,13 @@ eq(1)\\}}.") (define-public ruby-rspec-mocks (package (name "ruby-rspec-mocks") - (version "3.5.0") + (version "3.8.0") (source (origin (method url-fetch) (uri (rubygems-uri "rspec-mocks" version)) (sha256 (base32 - "0nl3ksivh9wwrjjd47z5dggrwx40v6gpb3a0gzbp1gs06a5dmk24")))) + "06y508cjqycb4yfhxmb3nxn0v9xqf17qbd46l1dh4xhncinr4fyp")))) (build-system ruby-build-system) (arguments '(#:tests? #f)) ; avoid dependency cycles @@ -531,13 +531,13 @@ RSpec tests.") (define-public ruby-rspec (package (name "ruby-rspec") - (version "3.5.0") + (version "3.8.0") (source (origin (method url-fetch) (uri (rubygems-uri "rspec" version)) (sha256 (base32 - "16g3mmih999f0b6vcz2c3qsc7ks5zy4lj1rzjh8hf6wk531nvc6s")))) + "15ppasvb9qrscwlyjz67ppw1lnxiqnkzx5vkx1bd8x5n3dhikxc3")))) (build-system ruby-build-system) (arguments '(#:tests? #f)) ; avoid dependency cycles From patchwork Sun Feb 17 19:23:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1125 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6DE9816C4B; Sun, 17 Feb 2019 19:25:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 032B316BFF for ; Sun, 17 Feb 2019 19:25:13 +0000 (GMT) Received: from localhost ([127.0.0.1]:45613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3s-0001zz-Fq for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3D-0001al-Ar for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS37-0007xB-JU for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:29 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52392) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2w-0007me-38 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:15 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2v-00078X-UH for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:13 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 32/34] gnu: Add ruby-rspec-rails. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:13 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141427143 (code B ref 34514); Sun, 17 Feb 2019 19:24:13 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:34 +0000 Received: from localhost ([127.0.0.1]:51631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2H-00073d-Vr for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:34 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47222 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS22-0006y0-F8 for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:21 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id CB69B16C6D for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:16 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 67397ec9 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:23:12 +0000 Message-Id: <20190217192314.5666-32-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-rspec-support): Export this variable, so that it's accessible from the (gnu packages rails) module. * gnu/packages/rails.scm (ruby-rspec-rails): New variable. --- gnu/packages/rails.scm | 30 ++++++++++++++++++++++++++++++ gnu/packages/ruby.scm | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 8823791405..339b68d580 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -174,6 +174,36 @@ an almost zero-configuration persistence layer for applications.") (home-page "https://rubyonrails.org") (license license:expat))) +(define-public ruby-rspec-rails + (package + (name "ruby-rspec-rails") + (version "3.8.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "rspec-rails" version)) + (sha256 + (base32 + "1pf6n9l4sw1arlax1bdbm1znsvl8cgna2n6k6yk1bi8vz2n73ls1")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (propagated-inputs + `(("ruby-actionpack" ,ruby-actionpack) + ("ruby-activesupport" ,ruby-activesupport) + ("ruby-railties" ,ruby-railties) + ("ruby-rspec-core" ,ruby-rspec-core) + ("ruby-rspec-expectations" ,ruby-rspec-expectations) + ("ruby-rspec-mocks" ,ruby-rspec-mocks) + ("ruby-rspec-support" ,ruby-rspec-support))) + (synopsis "Use RSpec to test Ruby on Rails applications") + (description + "This package provides support for using RSpec to test Ruby on Rails +applications, in pace of the default Minitest testing library.") + (home-page "https://github.com/rspec/rspec-rails") + (license license:expat))) + (define-public ruby-rails-html-sanitizer (package (name "ruby-rails-html-sanitizer") diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 385a1338e9..921c5dc8d4 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -308,7 +308,7 @@ notebook).") ;; RSpec is the dominant testing library for Ruby projects. Even RSpec's ;; dependencies use RSpec for their test suites! To avoid these circular ;; dependencies, we disable tests for all of the RSpec-related packages. -(define ruby-rspec-support +(define-public ruby-rspec-support (package (name "ruby-rspec-support") (version "3.8.0") From patchwork Sun Feb 17 19:23:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1135 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E1A6716C4B; Sun, 17 Feb 2019 19:25:50 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 8DB2F16C4A for ; Sun, 17 Feb 2019 19:25:50 +0000 (GMT) Received: from localhost ([127.0.0.1]:45664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS4U-0002ZS-4k for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3D-0001b3-I9 for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS39-00081w-Qt for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:31 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52398) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2y-0007oG-Sy for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:18 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2y-00079F-OY for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:16 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 33/34] gnu: Add ruby-autoprefixer-rails. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:16 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141727189 (code B ref 34514); Sun, 17 Feb 2019 19:24:16 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:37 +0000 Received: from localhost ([127.0.0.1]:51643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2K-00074M-Qq for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:37 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47244 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS22-0006z0-NJ for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:21 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id DC46B16C6E for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:16 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 6ee548f0 for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:23:13 +0000 Message-Id: <20190217192314.5666-33-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/rails.scm (ruby-autoprefixer-rails): New variable. --- gnu/packages/rails.scm | 53 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 339b68d580..2c2954e9cb 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -22,6 +22,7 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix packages) + #:use-module (gnu packages node) #:use-module (gnu packages ruby) #:use-module (guix build-system ruby)) @@ -123,6 +124,58 @@ API.") "https://github.com/banister/debug_inspector") (license license:expat))) +(define-public ruby-autoprefixer-rails + (package + (name "ruby-autoprefixer-rails") + (version "9.4.7") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "autoprefixer-rails" version)) + (sha256 + (base32 + "0fxbfl3xrrjj84n98x24yzxbz4nvm6c492dxj41kkrl9z97ga13i")))) + (build-system ruby-build-system) + (arguments + '(#:test-target "spec" + #:phases + (modify-phases %standard-phases + (add-after 'extract-gemspec 'remove-unnecessary-dependencies + (lambda _ + ;; Remove the testing of compass, as it's use is deprecated, and + ;; it's unpackaged for Guix + (substitute* "autoprefixer-rails.gemspec" + ((".*%q.*") "\n") + (("\"spec/compass_spec\\.rb\"\\.freeze, ") "")) + (delete-file "spec/compass_spec.rb") + + (substitute* "Gemfile" + ;; Remove overly strict requirement on sprockets + ((", '>= 4\\.0\\.0\\.beta1'") "") + ;; The mini_racer gem isn't packaged yet, and it's not directly + ;; required, as other backends for ruby-execjs can be used. + (("gem 'mini_racer'") "") + ;; For some reason, this is required for the gems to be picked + ;; up + (("gemspec") "gemspec\ngem 'tzinfo-data'\ngem 'sass'")) + #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rails" ,ruby-rails) + ("ruby-rspec-rails" ,ruby-rspec-rails) + ;; This is needed for a test, but I'm unsure why + ("ruby-sass" ,ruby-sass) + ;; This is used as the ruby-execjs runtime + ("node" ,node))) + (propagated-inputs + `(("ruby-execjs" ,ruby-execjs))) + (synopsis "Parse CSS and add vendor prefixes to CSS rules") + (description + "Parse CSS and add vendor prefixes to CSS rules using values from the Can +I Use website.") + (home-page "https://github.com/ai/autoprefixer-rails") + (license license:expat))) + (define-public ruby-activemodel (package (name "ruby-activemodel") From patchwork Sun Feb 17 19:23:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 1129 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B471416C4B; Sun, 17 Feb 2019 19:25:28 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 6C09B16BFF for ; Sun, 17 Feb 2019 19:25:28 +0000 (GMT) Received: from localhost ([127.0.0.1]:45646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS48-0002H6-0Y for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 14:25:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvS3D-0001b0-HH for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvS37-0007xD-JJ for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:29 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52393) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvS2w-0007mo-Gk for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:15 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvS2w-00078e-CY for guix-patches@gnu.org; Sun, 17 Feb 2019 14:24:14 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34514] [PATCH 34/34] gnu: Add ruby-rerun. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 19:24:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34514@debbugs.gnu.org Received: via spool by 34514-submit@debbugs.gnu.org id=B34514.155043141427150 (code B ref 34514); Sun, 17 Feb 2019 19:24:14 +0000 Received: (at 34514) by debbugs.gnu.org; 17 Feb 2019 19:23:34 +0000 Received: from localhost ([127.0.0.1]:51633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS2I-00073k-Cf for submit@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:34 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:47224 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvS22-0006y6-L4 for 34514@debbugs.gnu.org; Sun, 17 Feb 2019 14:23:21 -0500 Received: from localhost (130.85.159.143.dyn.plus.net [143.159.85.130]) by mira.cbaines.net (Postfix) with ESMTPSA id 0199D16C4B for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:16 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 9149eb3e for <34514@debbugs.gnu.org>; Sun, 17 Feb 2019 19:23:14 +0000 (UTC) From: Christopher Baines Date: Sun, 17 Feb 2019 19:23:14 +0000 Message-Id: <20190217192314.5666-34-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190217192314.5666-1-mail@cbaines.net> References: <87sgwm44a9.fsf@cbaines.net> <20190217192314.5666-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-rerun): New variable. --- gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 921c5dc8d4..d045e412b0 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -2713,6 +2713,31 @@ conversion to (X)HTML.") (home-page "https://github.com/vmg/redcarpet") (license license:expat))) +(define-public ruby-rerun + (package + (name "ruby-rerun") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "rerun" version)) + (sha256 + (base32 + "1cskvxk8z8vmfail8na7hj91hs0qnvds9nydj04zi3dbddgnbmvz")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (propagated-inputs + `(("ruby-listen" ,ruby-listen))) + (synopsis "Run a process, and restart when some monitored files change") + (description + "Rerun is a tool to launch programs, then monitor the filesystem, and +restart the program when any of the monitored files change. It's written in +Ruby, but can be used for all programs.") + (home-page "https://github.com/alexch/rerun/") + (license license:expat))) + (define-public ruby-mocha (package (name "ruby-mocha")