From patchwork Thu Feb 28 17:44:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 1255 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 AF9B616CC9; Thu, 28 Feb 2019 17:45:10 +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,URIBL_BLOCKED autolearn=ham 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 3B79816CC9 for ; Thu, 28 Feb 2019 17:45:09 +0000 (GMT) Received: from localhost ([127.0.0.1]:43825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPk3-0003hA-U7 for patchwork@mira.cbaines.net; Thu, 28 Feb 2019 12:45:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPk0-0003gx-J9 for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzPjz-0000py-Rt for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41927) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzPjy-0000p6-0L for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gzPjx-0001lt-Rt for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 1/7] gnu: ruby-rack-protection: Update to 2.0.5. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Feb 2019 17:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15513758816730 (code B ref 34650); Thu, 28 Feb 2019 17:45:01 +0000 Received: (at 34650) by debbugs.gnu.org; 28 Feb 2019 17:44:41 +0000 Received: from localhost ([127.0.0.1]:55459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPjc-0001kL-Oe for submit@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:41 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:60245) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPja-0001jl-Lr for 34650@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:39 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 59FE2100008 for <34650@debbugs.gnu.org>; Thu, 28 Feb 2019 17:44:36 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:29 +0100 Message-Id: <20190228174435.14499-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <87ftsa24ts.fsf@ambrevar.xyz> References: <87ftsa24ts.fsf@ambrevar.xyz> 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-rack-protection): Update to 2.0.5. --- gnu/packages/ruby.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 6da7109d1..63cfa8cf4 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2017 Clément Lassieur ;;; Copyright © 2018 Vasile Dumitrascu ;;; Copyright © 2018 Alex Vong +;;; Copyright © 2019 Pierre Neidhardt ;;; ;;; This file is part of GNU Guix. ;;; @@ -4453,14 +4454,14 @@ testing libraries to build on.") (define-public ruby-rack-protection (package (name "ruby-rack-protection") - (version "2.0.3") + (version "2.0.5") (source (origin (method url-fetch) (uri (rubygems-uri "rack-protection" version)) (sha256 (base32 - "1z5598qipilmnf45428jnxi63ykrgvnyywa5ckpr52zv2vpd8jdp")))) + "15167q25rmxipqwi6hjqj3i1byi9iwl3xq9b7mdar7qiz39pmjsk")))) (build-system ruby-build-system) (arguments '(;; Tests missing from the gem. From patchwork Thu Feb 28 17:44:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 1258 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 4C21F16CCC; Thu, 28 Feb 2019 17:45:17 +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,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 E9B8516CCB for ; Thu, 28 Feb 2019 17:45:16 +0000 (GMT) Received: from localhost ([127.0.0.1]:43832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPkC-0003jz-FJ for patchwork@mira.cbaines.net; Thu, 28 Feb 2019 12:45:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPk3-0003h7-7N for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzPjz-0000q6-SY for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41929) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzPjz-0000pX-17 for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gzPjy-0001mE-Sq for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 2/7] gnu: Add ruby-tilt. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Feb 2019 17:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15513758816745 (code B ref 34650); Thu, 28 Feb 2019 17:45:02 +0000 Received: (at 34650) by debbugs.gnu.org; 28 Feb 2019 17:44:41 +0000 Received: from localhost ([127.0.0.1]:55463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPjd-0001kd-HQ for submit@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:41 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:41259) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPja-0001ji-Lf for 34650@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:40 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 84106100007 for <34650@debbugs.gnu.org>; Thu, 28 Feb 2019 17:44:36 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:30 +0100 Message-Id: <20190228174435.14499-2-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190228174435.14499-1-mail@ambrevar.xyz> References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> 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 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 63cfa8cf4..f6b6a19d5 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7684,3 +7684,27 @@ uniquely identify it.") serves JavaScript, CoffeeScript, CSS, LESS, Sass, and SCSS.") (home-page "https://github.com/rails/sprockets") (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 + ;; TODO: Fix tests. + `(#:tests? #f)) + (synopsis "Generic interface to multiple Ruby template engines") + (description "Tilt is a thin interface over a bunch of different Ruby +template engines in an attempt to make their usage as generic as +possible. This is useful for web frameworks, static site generators, and other +systems that support multiple template engines but don't want to code for each +of them individually.") + (home-page "https://github.com/rtomayko/tilt/") + (license license:expat))) From patchwork Thu Feb 28 17:44:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 1259 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 5D53116CCC; Thu, 28 Feb 2019 17:45:22 +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,URIBL_BLOCKED autolearn=ham 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 F0BB816CCB for ; Thu, 28 Feb 2019 17:45:21 +0000 (GMT) Received: from localhost ([127.0.0.1]:43849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPkH-0003xn-JE for patchwork@mira.cbaines.net; Thu, 28 Feb 2019 12:45:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPk3-0003h9-Bd for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzPk0-0000qh-EN for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41931) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzPk0-0000qR-AN for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gzPk0-0001mT-2C for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 3/7] gnu: Add ruby-mustermann. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Feb 2019 17:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15513758826759 (code B ref 34650); Thu, 28 Feb 2019 17:45:04 +0000 Received: (at 34650) by debbugs.gnu.org; 28 Feb 2019 17:44:42 +0000 Received: from localhost ([127.0.0.1]:55467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPje-0001kr-36 for submit@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:42 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:44187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPja-0001jh-OW for 34650@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:40 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id B17CB10000C for <34650@debbugs.gnu.org>; Thu, 28 Feb 2019 17:44:36 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:31 +0100 Message-Id: <20190228174435.14499-3-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190228174435.14499-1-mail@ambrevar.xyz> References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> 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-mustermann): 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 f6b6a19d5..1c10a16c2 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7708,3 +7708,25 @@ systems that support multiple template engines but don't want to code for each of them individually.") (home-page "https://github.com/rtomayko/tilt/") (license license:expat))) + +(define-public ruby-mustermann + (package + (name "ruby-mustermann") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "mustermann" version)) + (sha256 + (base32 + "0lycgkmnyy0bf29nnd2zql5a6pcf8sp69g9v4xw0gcfcxgpwp7i1")))) + (build-system ruby-build-system) + (arguments + ;; TODO: Fix tests. + `(#:tests? #f)) + (synopsis "Library implementing patterns that behave like regular expressions") + (description "Given a string pattern, Mustermann will turn it into an +object that behaves like a regular expression and has comparable performance +characteristics.") + (home-page "https://github.com/sinatra/mustermann") + (license license:expat))) From patchwork Thu Feb 28 17:44:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 1260 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 023F116CCC; Thu, 28 Feb 2019 17:45:22 +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,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 AB33116CC9 for ; Thu, 28 Feb 2019 17:45:22 +0000 (GMT) Received: from localhost ([127.0.0.1]:43847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPkI-0003ta-8q for patchwork@mira.cbaines.net; Thu, 28 Feb 2019 12:45:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPk3-0003h6-7L for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzPk0-0000qL-1j for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41930) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzPjz-0000pk-K3 for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gzPjz-0001mL-GE for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 4/7] gnu: Add ruby-sinatra. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Feb 2019 17:45:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15513758826752 (code B ref 34650); Thu, 28 Feb 2019 17:45:03 +0000 Received: (at 34650) by debbugs.gnu.org; 28 Feb 2019 17:44:42 +0000 Received: from localhost ([127.0.0.1]:55465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPjd-0001kk-RP for submit@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:42 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:32825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPja-0001jk-OS for 34650@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:40 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id DE62D10000D for <34650@debbugs.gnu.org>; Thu, 28 Feb 2019 17:44:36 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:32 +0100 Message-Id: <20190228174435.14499-4-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190228174435.14499-1-mail@ambrevar.xyz> References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> 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-sinatra): 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 1c10a16c2..78d113af7 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7730,3 +7730,27 @@ object that behaves like a regular expression and has comparable performance characteristics.") (home-page "https://github.com/sinatra/mustermann") (license license:expat))) + +(define-public ruby-sinatra + (package + (name "ruby-sinatra") + (version "2.0.5") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "sinatra" version)) + (sha256 + (base32 + "1gasgn5f15myv08k10i16p326pchxjsy37pgqfw0xm66kcc5d7ry")))) + (build-system ruby-build-system) + (propagated-inputs + `(("ruby-mustermann" ,ruby-mustermann) + ("ruby-rack" ,ruby-rack) + ("ruby-rack-protection" ,ruby-rack-protection) + ("ruby-tilt" ,ruby-tilt))) + (synopsis "DSL for quick web applications creation in Ruby") + (description + "Sinatra is a DSL for quickly creating web applications in Ruby with +minimal effort.") + (home-page "http://sinatrarb.com/") + (license license:expat))) From patchwork Thu Feb 28 17:44:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 1261 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 E565D16CCC; Thu, 28 Feb 2019 17:45: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,URIBL_BLOCKED autolearn=ham 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 978ED16CC9 for ; Thu, 28 Feb 2019 17:45:28 +0000 (GMT) Received: from localhost ([127.0.0.1]:43859 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPkO-000427-4p for patchwork@mira.cbaines.net; Thu, 28 Feb 2019 12:45:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPk8-0003pj-2F for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzPk3-0000sP-7y for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzPk0-0000r0-N6 for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gzPk0-0001ma-KI for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 5/7] gnu: Add ruby-thin. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Feb 2019 17:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15513758826766 (code B ref 34650); Thu, 28 Feb 2019 17:45:04 +0000 Received: (at 34650) by debbugs.gnu.org; 28 Feb 2019 17:44:42 +0000 Received: from localhost ([127.0.0.1]:55469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPje-0001ky-Cy for submit@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:42 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:51403) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPja-0001jm-Pd for 34650@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:40 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 189C110000E for <34650@debbugs.gnu.org>; Thu, 28 Feb 2019 17:44:36 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:33 +0100 Message-Id: <20190228174435.14499-5-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190228174435.14499-1-mail@ambrevar.xyz> References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> 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-thin): New variable. --- gnu/packages/ruby.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 78d113af7..9d3c4b246 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7754,3 +7754,32 @@ characteristics.") minimal effort.") (home-page "http://sinatrarb.com/") (license license:expat))) + +(define-public ruby-thin + (package + (name "ruby-thin") + (version "1.7.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "thin" version)) + (sha256 + (base32 + "0nagbf9pwy1vg09k6j4xqhbjjzrg5dwzvkn4ffvlj76fsn6vv61f")))) + (build-system ruby-build-system) + (arguments + ;; TODO: Fix tests. + `(#:tests? #f)) + (propagated-inputs + `(("ruby-daemons" ,ruby-daemons) + ("ruby-eventmachine" ,ruby-eventmachine) + ("ruby-rack" ,ruby-rack))) + (synopsis "Thin and fast web server for Ruby") + (description "Thin is a Ruby web server that glues together 3 Ruby libraries: +@itemize +@item the Mongrel parser, +@item Event Machine, a network I/O library with high scalability, performance and stability +@item Rack, a minimal interface between webservers and Ruby frameworks +@end itemize\n") + (home-page "http://code.macournoyer.com/thin/") + (license license:ruby))) From patchwork Thu Feb 28 17:44:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 1257 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 6F2F216CCC; Thu, 28 Feb 2019 17:45:12 +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,URIBL_BLOCKED autolearn=ham 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 D270E16CC9 for ; Thu, 28 Feb 2019 17:45:11 +0000 (GMT) Received: from localhost ([127.0.0.1]:43842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPk7-0003lX-Ad for patchwork@mira.cbaines.net; Thu, 28 Feb 2019 12:45:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPk4-0003hu-Db for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzPk3-0000sg-CX for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41933) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzPk1-0000rJ-6q for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gzPk1-0001mi-3Y for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 6/7] gnu: Add ruby-skinny. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Feb 2019 17:45:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15513758936783 (code B ref 34650); Thu, 28 Feb 2019 17:45:05 +0000 Received: (at 34650) by debbugs.gnu.org; 28 Feb 2019 17:44:53 +0000 Received: from localhost ([127.0.0.1]:55471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPjo-0001lL-Mm for submit@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:53 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:57235) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPja-0001jj-RA for 34650@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:41 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 4373910000B for <34650@debbugs.gnu.org>; Thu, 28 Feb 2019 17:44:37 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:34 +0100 Message-Id: <20190228174435.14499-6-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190228174435.14499-1-mail@ambrevar.xyz> References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> 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-skinny): New variable. --- gnu/packages/ruby.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 9d3c4b246..8cb170e17 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7783,3 +7783,34 @@ minimal effort.") @end itemize\n") (home-page "http://code.macournoyer.com/thin/") (license license:ruby))) + +(define-public ruby-skinny + (package + (name "ruby-skinny") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "skinny" version)) + (sha256 + (base32 + "1y3yvx88ylgz4d2s1wskjk5rkmrcr15q3ibzp1q88qwzr5y493a9")))) + (build-system ruby-build-system) + (arguments + ;; TODO: Grab from GitHub to get tests? + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'build 'patch-gemspec + (lambda _ + (substitute* ".gemspec" + ((".freeze, \\[\\\"~> 1.0.0\"") + ", [\">= 1.0.0\"") + ((".freeze, \\[\\\"< 1.7\", ") ", ["))))))) + (propagated-inputs + `(("ruby-eventmachine" ,ruby-eventmachine) + ("ruby-thin" ,ruby-thin))) + (synopsis "Simple, upgradable WebSockets for Ruby Thin") + (description "Simple, upgradable WebSockets for Ruby Thin.") + (home-page "https://github.com/sj26/skinny") + (license license:expat))) From patchwork Thu Feb 28 17:44:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 1256 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 65E2A16CCC; Thu, 28 Feb 2019 17:45:11 +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,NORMAL_HTTP_TO_IP, URIBL_BLOCKED,WEIRD_PORT autolearn=ham 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 C4BCA16CC9 for ; Thu, 28 Feb 2019 17:45:10 +0000 (GMT) Received: from localhost ([127.0.0.1]:43834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPk6-0003kF-At for patchwork@mira.cbaines.net; Thu, 28 Feb 2019 12:45:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPk3-0003h8-9Y for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzPjz-0000qB-SZ for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41928) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzPjy-0000pK-FG for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gzPjy-0001m6-BV for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 7/7] gnu: Add mailcatcher. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Feb 2019 17:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15513758816738 (code B ref 34650); Thu, 28 Feb 2019 17:45:02 +0000 Received: (at 34650) by debbugs.gnu.org; 28 Feb 2019 17:44:41 +0000 Received: from localhost ([127.0.0.1]:55461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPjd-0001kR-5Y for submit@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:41 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:48251) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPja-0001jn-Lf for 34650@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:39 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 717B5100010 for <34650@debbugs.gnu.org>; Thu, 28 Feb 2019 17:44:37 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:35 +0100 Message-Id: <20190228174435.14499-7-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190228174435.14499-1-mail@ambrevar.xyz> References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> 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 (mailcatcher): New variable. --- gnu/packages/ruby.scm | 49 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 8cb170e17..854b4669b 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7814,3 +7814,52 @@ minimal effort.") (description "Simple, upgradable WebSockets for Ruby Thin.") (home-page "https://github.com/sj26/skinny") (license license:expat))) + +(define-public mailcatcher + (package + (name "mailcatcher") + (version "0.6.5") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "mailcatcher" version)) + (sha256 + (base32 + "0h6gk8n18i5f651f244al1hscjzl27fpma4vqw0qhszqqpd5p3bx")))) + (build-system ruby-build-system) + (arguments + ;; TODO: Grab from GitHub to get tests? + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'build 'patch-gemspec + (lambda _ + (substitute* ".gemspec" + ((".freeze, \\[\\\"= 1.0.9.1") ", [\">= 1.0.9.1") + ((".freeze, \\[\\\"~> 1.5") ", [\">= 1.5") + ((".freeze, \\[\\\"~> 1.5.0") ", [\">= 1.5.0") + ((".freeze, \\[\\\"~> 1.2") ", [\">= 1.2") + ))) + (add-before 'build 'loosen-dependency-contraint + (lambda _ + (substitute* "lib/mail_catcher.rb" + (("\"eventmachine\", \"1.0.9.1\"") "\"eventmachine\", \">= 1.0.9.1\"") + (("\"rack\", \"~> 1.5\"") "\"rack\", \">= 1.5\"") + (("\"thin\", \"~> 1.5.0\"") "\"thin\", \">= 1.5.0\"") + (("\"sinatra\", \"~> 1.2\"") "\"sinatra\", \">= 1.2\""))))))) + (inputs + `(("ruby-eventmachine" ,ruby-eventmachine) + ("ruby-mail" ,ruby-mail) + ("ruby-rack" ,ruby-rack) + ("ruby-sinatra" ,ruby-sinatra) + ("ruby-skinny" ,ruby-skinny) + ("ruby-sqlite3" ,ruby-sqlite3) + ("ruby-thin" ,ruby-thin))) + (synopsis "Run an SMTP server which catches any message sent to it to display in a browser") + (description + "MailCatcher runs a super simple SMTP server which catches any message +sent to it to display in a web interface. Run mailcatcher, set your favourite +app to deliver to smtp://127.0.0.1:1025 instead of your default SMTP server, +then check out http://127.0.0.1:1080 to see the mail.") + (home-page "https://mailcatcher.me") + (license license:expat)))