From patchwork Sun Jan 27 17:08: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: 851 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 8FF4D16AB7; Sun, 27 Jan 2019 17:09:38 +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=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 27C1116AB5 for ; Sun, 27 Jan 2019 17:09:38 +0000 (GMT) Received: from localhost ([127.0.0.1]:48245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnw9-0005Kj-OH for patchwork@mira.cbaines.net; Sun, 27 Jan 2019 12:09:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnve-0004xj-AJ for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnvd-0006QL-7f for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48533) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnvd-0006Q6-3y for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnvc-0001ms-Tw for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34222] [PATCH 01/15] gnu: ruby-rspec-its: Enable tests. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jan 2019 17:09:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34222@debbugs.gnu.org Received: via spool by 34222-submit@debbugs.gnu.org id=B34222.15486089116724 (code B ref 34222); Sun, 27 Jan 2019 17:09:04 +0000 Received: (at 34222) by debbugs.gnu.org; 27 Jan 2019 17:08:31 +0000 Received: from localhost ([127.0.0.1]:47792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnv4-0001kH-K3 for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:30 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57978 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnuv-0001hy-Tj for 34222@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:23 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 0B18C16AB5 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:21 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 9fe8bf35 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:20 +0000 (UTC) From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:06 +0000 Message-Id: <20190127170820.28937-1-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <87y376ghl0.fsf@cbaines.net> References: <87y376ghl0.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 Enable the tests, and also tweak the synopsis and description to hopefully be more descriptive. * gnu/packages/ruby.scm (ruby-rspec-its)[source]: Change to GitHub, and add patch. [arguments]: Enabled tests, set the #:test-target to "spec", and add the phases to tweak the Gemfile and rspec-its.gemspec. [native-inputs]: Add bundler, ruby-cucumber and ruby-aruba. [synopsis,description]: Make more explicit and descriptive. --- gnu/packages/ruby.scm | 49 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 42 insertions(+), 7 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 59895240f8..b0cf9feb02 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -392,20 +392,55 @@ outcomes of a code example.") (version "1.2.0") (source (origin - (method url-fetch) - (uri (rubygems-uri "rspec-its" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/rspec/rspec-its.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1pwphny5jawcm1hda3vs9pjv1cybaxy17dc1s75qd7drrvx697p3")))) + "190rz7v4q4wk80fzhr5hknvxx4vb2pywmqr8wc41w2blj9ylzi0f")) + (patches + (list + (origin (method url-fetch) + (uri (string-append + "https://github.com/rspec/rspec-its/commit/" + "bfaab439c7c879f5ef25552f41827891f6308373.patch")) + (file-name "ruby-rspec-its-fix-specs-for-ruby-2.4.patch") + (sha256 + (base32 + "0lnik0kvrpgkakvdb2fmzg22pdlraf6kiidr9sv6rnfyviiqwxgh"))))))) (build-system ruby-build-system) (arguments - `(#:tests? #f)) ; needs cucumber. + `(#:test-target "spec" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'dont-install-gems-from-gemfile + (lambda _ + (substitute* "Gemfile" + (("rspec rspec-core rspec-expectations rspec-mocks rspec-support") + "")) + #t)) + (add-before 'build 'remove-unnecessary-dependency-versions-from-gemfile + (lambda _ + (substitute* "rspec-its.gemspec" + (("rake.*") "rake'\n") + (("cucumber.*") "cucumber'\n") + (("bundler.*") "bundler'\n") + (("aruba.*") "aruba'\n")) + #t))))) (propagated-inputs `(("ruby-rspec-core" ,ruby-rspec-core) ("ruby-rspec-expectations" ,ruby-rspec-expectations))) - (synopsis "RSpec extension gem for attribute matching") - (description "@code{rspec-its} is an RSpec extension gem for attribute -matching.") + (native-inputs + `(("bundler" ,bundler) + ("ruby-cucumber" ,ruby-cucumber) + ("ruby-aruba" ,ruby-aruba))) + (synopsis "RSpec extension that provides the @code{its} method") + (description + "RSpec::Its provides the its method as a short-hand to specify the expected +value of an attribute. For example, one can use @code{its(:size)\\{should +eq(1)\\}}.") (home-page "https://github.com/rspec/rspec-its") (license license:expat))) From patchwork Sun Jan 27 17:08: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: 847 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 2B87316AB7; Sun, 27 Jan 2019 17:09: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 E064216AB5 for ; Sun, 27 Jan 2019 17:09:23 +0000 (GMT) Received: from localhost ([127.0.0.1]:48233 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvv-00059J-DN for patchwork@mira.cbaines.net; Sun, 27 Jan 2019 12:09:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvb-0004wC-F8 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnva-0006NR-L3 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48528) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnva-0006NI-Hl for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnva-0001mH-By for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34222] [PATCH 02/15] gnu: Add ruby-powerpack. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jan 2019 17:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34222@debbugs.gnu.org Received: via spool by 34222-submit@debbugs.gnu.org id=B34222.15486089076685 (code B ref 34222); Sun, 27 Jan 2019 17:09:02 +0000 Received: (at 34222) by debbugs.gnu.org; 27 Jan 2019 17:08:27 +0000 Received: from localhost ([127.0.0.1]:47782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnv0-0001jE-B4 for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:27 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57976 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnuv-0001hx-VY for 34222@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:22 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 1A5EE16AB6 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:21 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id d821a9a6 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:20 +0000 (UTC) From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:07 +0000 Message-Id: <20190127170820.28937-2-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127170820.28937-1-mail@cbaines.net> References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-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 Required for ruby-rubocop. * gnu/packages/ruby.scm (ruby-powerpack): 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 b0cf9feb02..223ff30ba8 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1510,6 +1510,30 @@ assertion messages for tests.") (home-page "https://github.com/k-tsj/power_assert") (license (list license:bsd-2 license:ruby)))) +(define-public ruby-powerpack + (package + (name "ruby-powerpack") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "powerpack" version)) + (sha256 + (base32 + "1r51d67wd467rpdfl6x43y84vwm8f5ql9l9m85ak1s2sp3nc5hyv")))) + (build-system ruby-build-system) + (arguments + '(#:test-target "spec")) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec) + ("ruby-yard" ,ruby-yard))) + (synopsis "Useful extensions to core Ruby classes") + (description + "This package provides a few useful extensions to core Ruby classes.") + (home-page "https://github.com/bbatsov/powerpack") + (license license:expat))) + (define-public ruby-locale (package (name "ruby-locale") From patchwork Sun Jan 27 17:08: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: 845 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 5F80B16AB7; Sun, 27 Jan 2019 17:09: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=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 01F4316AB5 for ; Sun, 27 Jan 2019 17:09:09 +0000 (GMT) Received: from localhost ([127.0.0.1]:48229 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvg-00050a-BU for patchwork@mira.cbaines.net; Sun, 27 Jan 2019 12:09:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvc-0004wN-K3 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnvb-0006OK-N3 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48530) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnvb-0006O9-JW for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnvb-0001mW-Dc for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34222] [PATCH 03/15] gnu: Add ruby-rainbow. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jan 2019 17:09:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34222@debbugs.gnu.org Received: via spool by 34222-submit@debbugs.gnu.org id=B34222.15486089106702 (code B ref 34222); Sun, 27 Jan 2019 17:09:03 +0000 Received: (at 34222) by debbugs.gnu.org; 27 Jan 2019 17:08:30 +0000 Received: from localhost ([127.0.0.1]:47786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnv3-0001k1-Ml for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:29 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57980 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnuw-0001hz-1N for 34222@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:23 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 299BA16AB7 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:21 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 58fdaea3 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:20 +0000 (UTC) From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:08 +0000 Message-Id: <20190127170820.28937-3-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127170820.28937-1-mail@cbaines.net> References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-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 Required for ruby-rubocop. * gnu/packages/ruby.scm (ruby-rainbow): New variable. --- gnu/packages/ruby.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 223ff30ba8..cd756a8b9a 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3771,6 +3771,38 @@ clickjacking, directory traversal, session hijacking and IP spoofing.") (home-page "https://github.com/sinatra/sinatra/tree/master/rack-protection") (license license:expat))) +(define-public ruby-rainbow + (package + (name "ruby-rainbow") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "rainbow" version)) + (sha256 + (base32 + "0bb2fpjspydr6x0s8pn1pqkzmxszvkfapv0p4627mywl7ky4zkhk")))) + (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; Run rspec directly, to avoid requiring Rubocop which is used from + ;; the Rakefile. + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rspec")) + #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec))) + (synopsis "Colorize printed text on ANSI terminals") + (description + "@code{rainbow} provides a string presenter object to colorize strings by +wrapping them in ANSI escape codes.") + (home-page "https://github.com/sickill/rainbow") + (license license:expat))) + (define-public ruby-contest (package (name "ruby-contest") From patchwork Sun Jan 27 17:08: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: 846 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 7FE1E16AB7; Sun, 27 Jan 2019 17:09:14 +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 2B64616AB5 for ; Sun, 27 Jan 2019 17:09:14 +0000 (GMT) Received: from localhost ([127.0.0.1]:48225 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvl-0004we-Jl for patchwork@mira.cbaines.net; Sun, 27 Jan 2019 12:09:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvb-0004wB-Ak for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnva-0006My-B0 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48527) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnva-0006Mm-7N for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnvZ-0001m9-Qy for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34222] [PATCH 04/15] gnu: Add ruby-racc. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jan 2019 17:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34222@debbugs.gnu.org Received: via spool by 34222-submit@debbugs.gnu.org id=B34222.15486089066658 (code B ref 34222); Sun, 27 Jan 2019 17:09:01 +0000 Received: (at 34222) by debbugs.gnu.org; 27 Jan 2019 17:08:26 +0000 Received: from localhost ([127.0.0.1]:47776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnux-0001ij-RG for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:26 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57984 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnuv-0001i1-Tr for 34222@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:22 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 3881A16AB8 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:21 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 9709e631 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:20 +0000 (UTC) From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:09 +0000 Message-Id: <20190127170820.28937-4-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127170820.28937-1-mail@cbaines.net> References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-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 Required for ruby-ast and ruby-parser. * gnu/packages/ruby.scm (ruby-racc): 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 cd756a8b9a..7c2b9d9762 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3655,6 +3655,28 @@ differences (added or removed nodes) between two XML/HTML documents.") (home-page "https://github.com/postmodern/nokogiri-diff") (license license:expat)))) +(define-public ruby-racc + (package + (name "ruby-racc") + (version "1.4.14") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "racc" version)) + (sha256 + (base32 + "00yhs2ag7yy5v83mqvkbnhk9bvsh6mx3808k53n61ddzx446v1zl")))) + (build-system ruby-build-system) + (native-inputs + `(("ruby-hoe" ,ruby-hoe) + ("ruby-rake-compiler" ,ruby-rake-compiler))) + (synopsis "LALR(1) parser generator for Ruby") + (description + "Racc is a LALR(1) parser generator. It is written in Ruby itself, and +generates Ruby program.") + (home-page "http://i.loveruby.net/en/projects/racc/") + (license license:expat))) + (define-public ruby-rack (package (name "ruby-rack") From patchwork Sun Jan 27 17:08: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: 844 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 55C0E16AB7; Sun, 27 Jan 2019 17:09: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=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 58A2116AB5 for ; Sun, 27 Jan 2019 17:09:07 +0000 (GMT) Received: from localhost ([127.0.0.1]:48227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnve-0004xT-QO for patchwork@mira.cbaines.net; Sun, 27 Jan 2019 12:09:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvc-0004wD-1m for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnvb-0006Ni-5l for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48529) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnvb-0006Nb-2L for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnva-0001mO-TQ for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34222] [PATCH 05/15] gnu: Add ruby-hashdiff. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jan 2019 17:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34222@debbugs.gnu.org Received: via spool by 34222-submit@debbugs.gnu.org id=B34222.15486089076692 (code B ref 34222); Sun, 27 Jan 2019 17:09:02 +0000 Received: (at 34222) by debbugs.gnu.org; 27 Jan 2019 17:08:27 +0000 Received: from localhost ([127.0.0.1]:47784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnv1-0001jm-CA for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:27 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57982 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnuv-0001i0-VK for 34222@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:22 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 4798816AB9 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:21 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 7cf9a819 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:20 +0000 (UTC) From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:10 +0000 Message-Id: <20190127170820.28937-5-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127170820.28937-1-mail@cbaines.net> References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-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 Required for ruby-webmock. * gnu/packages/ruby.scm (ruby-hashdiff): New variable. --- gnu/packages/ruby.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 7c2b9d9762..3d1dfee47f 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1231,6 +1231,38 @@ failure.") (home-page "https://github.com/thekompanee/fuubar") (license license:expat))) +(define-public ruby-hashdiff + (package + (name "ruby-hashdiff") + (version "0.3.8") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "hashdiff" version)) + (sha256 + (base32 + "19ykg5pax8798nh1yv71adkx0zzs7gn2rxjj86v7nsw0jba5lask")))) + (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; Run tests directly via rspec to avoid Rake issue: + ;; NoMethodError: undefined method `last_comment' + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rspec")) + #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec-2))) + (synopsis "HashDiff computes the smallest difference between two hashes") + (description + "HashDiff is a Ruby library to compute the smallest difference between +two hashes.") + (home-page "https://github.com/liufengyun/hashdiff") + (license license:expat))) + (define-public ruby-shindo (package (name "ruby-shindo") From patchwork Sun Jan 27 17:08: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: 850 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 0689916AB7; Sun, 27 Jan 2019 17:09:37 +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 B154F16AB5 for ; Sun, 27 Jan 2019 17:09:36 +0000 (GMT) Received: from localhost ([127.0.0.1]:48243 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnw8-0005H1-9m for patchwork@mira.cbaines.net; Sun, 27 Jan 2019 12:09:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnve-0004z6-P3 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnvd-0006Qv-Ox for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48534) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnvd-0006Qf-LH for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnvd-0001n0-F5 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34222] [PATCH 06/15] gnu: Add ruby-crack. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jan 2019 17:09:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34222@debbugs.gnu.org Received: via spool by 34222-submit@debbugs.gnu.org id=B34222.15486089116731 (code B ref 34222); Sun, 27 Jan 2019 17:09:05 +0000 Received: (at 34222) by debbugs.gnu.org; 27 Jan 2019 17:08:31 +0000 Received: from localhost ([127.0.0.1]:47794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnv4-0001kQ-V9 for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:31 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57986 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnuw-0001iF-U6 for 34222@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:24 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 5689916ABA for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:21 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id a4ced70b for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:20 +0000 (UTC) From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:11 +0000 Message-Id: <20190127170820.28937-6-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127170820.28937-1-mail@cbaines.net> References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-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 Required for ruby-webmock. * gnu/packages/ruby.scm (ruby-crack): 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 3d1dfee47f..e11900b835 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -791,6 +791,37 @@ value is found.") (home-page "https://github.com/egonSchiele/contracts.ruby") (license license:bsd-2))) +(define-public ruby-crack + (package + (name "ruby-crack") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "crack" version)) + (sha256 + (base32 + "0abb0fvgw00akyik1zxnq7yv391va148151qxdghnzngv66bl62k")))) + (build-system ruby-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (for-each (lambda (file) + (display file)(display "\n") + (invoke "ruby" file)) + (find-files "spec" ".*rb$")) + #t))))) + (propagated-inputs + `(("ruby-safe-yaml" ,ruby-safe-yaml))) + (synopsis "Simple JSON and XML parsing for Ruby") + (description + "@code{crack} provides really simple JSON and XML parsing, extracted from +code in Merb and Rails.") + (home-page "https://github.com/jnunemaker/crack") + (license license:expat))) + (define-public ruby-czmq-ffi-gen (package (name "ruby-czmq-ffi-gen") From patchwork Sun Jan 27 17:08: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: 849 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 B230A16AB7; Sun, 27 Jan 2019 17:09:34 +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 67FDE16AB5 for ; Sun, 27 Jan 2019 17:09:34 +0000 (GMT) Received: from localhost ([127.0.0.1]:48241 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnw6-0005FJ-0F for patchwork@mira.cbaines.net; Sun, 27 Jan 2019 12:09:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvd-0004wd-5B for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnvc-0006P5-7s for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48531) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnvc-0006Om-3s for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnvb-0001md-V2 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34222] [PATCH 07/15] gnu: Add ruby-webmock. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jan 2019 17:09:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34222@debbugs.gnu.org Received: via spool by 34222-submit@debbugs.gnu.org id=B34222.15486089106709 (code B ref 34222); Sun, 27 Jan 2019 17:09:03 +0000 Received: (at 34222) by debbugs.gnu.org; 27 Jan 2019 17:08:30 +0000 Received: from localhost ([127.0.0.1]:47788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnv4-0001k4-2Y for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:30 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57988 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnuw-0001iG-U7 for 34222@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:23 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 65CFB16ABB for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:21 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id a57fc081 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:20 +0000 (UTC) From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:12 +0000 Message-Id: <20190127170820.28937-7-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127170820.28937-1-mail@cbaines.net> References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-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 Required by ruby-rest-client. Also at version ~> 2, so don't package 3 just yet. * gnu/packages/ruby.scm (ruby-webmock): New variable. --- gnu/packages/ruby.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index e11900b835..5eb08d9929 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -4781,6 +4781,32 @@ support to both Ruby and JRuby. It uses @code{unf_ext} on CRuby and (home-page "https://github.com/knu/ruby-unf") (license license:bsd-2))) +(define-public ruby-webmock + (package + (name "ruby-webmock") + (version "2.3.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "webmock" version)) + (sha256 + (base32 + "04hkcqsmbfnp8g237pisnc834vpgildklicbjbyikqg0bg1rwcy5")))) + (build-system ruby-build-system) + (propagated-inputs + `(("bundler" ,bundler) + ("ruby-addressable" ,ruby-addressable) + ("ruby-crack" ,ruby-crack) + ("ruby-public-suffic" ,ruby-public-suffix) + ("ruby-rspec" ,ruby-rspec) + ("ruby-hashdiff" ,ruby-hashdiff))) + (synopsis "Allows stubbing and setting expectations on HTTP requests") + (description + "WebMock allows stubbing HTTP requests and setting expectations on HTTP +requests. This is useful when testing software.") + (home-page "https://github.com/bblimke/webmock") + (license license:expat))) + (define-public ruby-domain-name (package (name "ruby-domain-name") From patchwork Sun Jan 27 17:08: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: 848 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 C6BB916AB7; Sun, 27 Jan 2019 17:09: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 83C5416AB5 for ; Sun, 27 Jan 2019 17:09:27 +0000 (GMT) Received: from localhost ([127.0.0.1]:48239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvz-0005BX-3G for patchwork@mira.cbaines.net; Sun, 27 Jan 2019 12:09:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvd-0004ws-Ln for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnvc-0006Pi-N1 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48532) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnvc-0006PT-JZ for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnvc-0001ml-Do for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34222] [PATCH 08/15] gnu: Add ruby-rest-client. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jan 2019 17:09:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34222@debbugs.gnu.org Received: via spool by 34222-submit@debbugs.gnu.org id=B34222.15486089106716 (code B ref 34222); Sun, 27 Jan 2019 17:09:04 +0000 Received: (at 34222) by debbugs.gnu.org; 27 Jan 2019 17:08:30 +0000 Received: from localhost ([127.0.0.1]:47790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnv4-0001kA-Al for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:30 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57990 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnuw-0001iK-Vf for 34222@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:23 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 755EF16ABC for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:21 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 419554b3 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:20 +0000 (UTC) From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:13 +0000 Message-Id: <20190127170820.28937-8-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127170820.28937-1-mail@cbaines.net> References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-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 Required for ruby-ast. * gnu/packages/ruby.scm (ruby-rest-client): 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 5eb08d9929..f013d84299 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3888,6 +3888,48 @@ wrapping them in ANSI escape codes.") (home-page "https://github.com/sickill/rainbow") (license license:expat))) +(define-public ruby-rest-client + (package + (name "ruby-rest-client") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "rest-client" version)) + (sha256 + (base32 + "1hzcs2r7b5bjkf2x2z3n8z6082maz0j8vqjiciwgg3hzb63f958j")))) + (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'check 'fix-dependencies + (lambda _ + (substitute* "rest-client.gemspec" + ((".*rubocop.*") "\n") + ((".*pry.*") "\n")) + #t)) + (add-before 'check 'delete-network-tests + (lambda _ + (delete-file "spec/integration/request_spec.rb") + (delete-file "spec/integration/httpbin_spec.rb") + #t))))) + (propagated-inputs + `(("ruby-http-cookie" ,ruby-http-cookie) + ("ruby-mime-types" ,ruby-mime-types) + ("ruby-netrc" ,ruby-netrc))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-webmock", ruby-webmock) + ("ruby-rspec", ruby-rspec))) + (synopsis "Simple HTTP and REST client for Ruby") + (description + "@code{rest-client} provides a simple HTTP and REST client for Ruby, +inspired by the Sinatra microframework style of specifying actions: get, put, +post, delete.") + (home-page "https://github.com/rest-client/rest-client") + (license license:expat))) + (define-public ruby-contest (package (name "ruby-contest") From patchwork Sun Jan 27 17:08: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: 852 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 5D73916AB7; Sun, 27 Jan 2019 17:09: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 1CAC316AB5 for ; Sun, 27 Jan 2019 17:09:44 +0000 (GMT) Received: from localhost ([127.0.0.1]:48247 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnwF-0005MM-Kv for patchwork@mira.cbaines.net; Sun, 27 Jan 2019 12:09:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvf-00050O-57 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnve-0006RK-A8 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48535) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnve-0006R7-6t for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnvd-0001n9-W5 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34222] [PATCH 09/15] gnu: Add ruby-bacon-colored-output. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jan 2019 17:09:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34222@debbugs.gnu.org Received: via spool by 34222-submit@debbugs.gnu.org id=B34222.15486089146742 (code B ref 34222); Sun, 27 Jan 2019 17:09:05 +0000 Received: (at 34222) by debbugs.gnu.org; 27 Jan 2019 17:08:34 +0000 Received: from localhost ([127.0.0.1]:47796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnv5-0001kX-8T for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:31 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57992 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnuw-0001iL-Vp for 34222@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:24 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 8626916ABD for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:21 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 4a34a0a5 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:20 +0000 (UTC) From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:14 +0000 Message-Id: <20190127170820.28937-9-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127170820.28937-1-mail@cbaines.net> References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-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 is a requirement of ruby-ast. * gnu/packages/ruby.scm (ruby-bacon-colored-output): 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 f013d84299..e0c09f59ab 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1515,6 +1515,30 @@ disable tests, have before and after blocks that run once and more.") (home-page "https://github.com/cldwalker/bacon-bits") (license license:expat))) +(define-public ruby-bacon-colored-output + (package + (name "ruby-bacon-colored-output") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "bacon-colored_output" version)) + (sha256 + (base32 + "1znyh3vkfdlmf19p3k4zip88ibym41dn5g4p4n5hmks2iznb7qpx")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (propagated-inputs + `(("ruby-bacon" ,ruby-bacon))) + (synopsis "Colored output for Bacon test framework") + (description + "This package adds color through ANSI escape codes to Bacon test +output.") + (home-page "https://github.com/whitequark/bacon-colored_output") + (license license:expat))) + (define-public ruby-connection-pool (package (name "ruby-connection-pool") From patchwork Sun Jan 27 17:08:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 855 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 B9EF516AB7; Sun, 27 Jan 2019 17:09:57 +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=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 5F51816AB5 for ; Sun, 27 Jan 2019 17:09:57 +0000 (GMT) Received: from localhost ([127.0.0.1]:48253 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnwS-0005Y1-Si for patchwork@mira.cbaines.net; Sun, 27 Jan 2019 12:09:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvg-00052g-Sm for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnvf-0006UY-Sa for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48538) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnvf-0006UP-O2 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnvf-0001nV-IC for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34222] [PATCH 10/15] gnu: Add ruby-ast. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jan 2019 17:09:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34222@debbugs.gnu.org Received: via spool by 34222-submit@debbugs.gnu.org id=B34222.15486089156766 (code B ref 34222); Sun, 27 Jan 2019 17:09:07 +0000 Received: (at 34222) by debbugs.gnu.org; 27 Jan 2019 17:08:35 +0000 Received: from localhost ([127.0.0.1]:47802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnv9-0001kx-2t for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:35 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57994 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnux-0001iT-DZ for 34222@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:26 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 95C9216ABE for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:21 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 1ccbe9ce for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:20 +0000 (UTC) From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:15 +0000 Message-Id: <20190127170820.28937-10-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127170820.28937-1-mail@cbaines.net> References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-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 Required for ruby-parser. * gnu/packages/ruby.scm (ruby-ast): New variable. --- gnu/packages/ruby.scm | 47 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index e0c09f59ab..2bb9ea1cff 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -699,6 +699,53 @@ AsciiDoc content to HTML5, DocBook 5 (or 4.5), PDF, and other formats.") (home-page "https://asciidoctor.org") (license license:expat))) +(define-public ruby-ast + (package + (name "ruby-ast") + (version "2.4.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "ast" version)) + (sha256 + (base32 + "184ssy3w93nkajlz2c70ifm79jp3j737294kbc5fjw69v1w0n9x7")))) + (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-coveralls-requirement + (lambda _ + (substitute* "test/helper.rb" + (("require 'coveralls'") "") + (("Coveralls::SimpleCov::Formatter") "")) + #t)) + (add-after 'extract-gemspec 'remove-unnecessary-requirements + (lambda _ + (substitute* "ast.gemspec" + ((".*coveralls.*") "\n") + (("%q.*") "%q.freeze, [\">= 0\"])\n") + (("%q.*") "%q.freeze, [\">= 0\"])\n") + (("%q.*") "%q.freeze, [\">= 0\"])\n")) + #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-simplecov" ,ruby-simplecov) + ("ruby-json-pure" ,ruby-json-pure) + ("ruby-mime-times" ,ruby-mime-types) + ("ruby-yard" ,ruby-yard) + ("ruby-kramdown" ,ruby-kramdown) + ("ruby-rest-client" ,ruby-rest-client) + ("ruby-bacon" ,ruby-bacon) + ("ruby-bacon-colored-output" ,ruby-bacon-colored-output) + ("ruby-racc" ,ruby-racc))) + (synopsis "Library for working with Abstract Syntax Trees") + (description + "@code{ast} is a Ruby library for working with Abstract Syntax Trees. +It does this through immutable data structures.") + (home-page "https://whitequark.github.io/ast/") + (license license:expat))) + (define-public ruby-sporkmonger-rack-mount ;; Testing the addressable gem requires a newer commit than that released, so ;; use an up to date version. From patchwork Sun Jan 27 17:08:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 854 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 89CAA16AB7; Sun, 27 Jan 2019 17:09:53 +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 4447816AB5 for ; Sun, 27 Jan 2019 17:09:53 +0000 (GMT) Received: from localhost ([127.0.0.1]:48249 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnwO-0005Qq-Qw for patchwork@mira.cbaines.net; Sun, 27 Jan 2019 12:09:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvf-000512-Rn for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnve-0006Sm-Ro for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48536) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnve-0006SK-N6 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnve-0001nH-IA for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34222] [PATCH 11/15] gnu: Add ruby-cliver. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jan 2019 17:09:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34222@debbugs.gnu.org Received: via spool by 34222-submit@debbugs.gnu.org id=B34222.15486089146749 (code B ref 34222); Sun, 27 Jan 2019 17:09:06 +0000 Received: (at 34222) by debbugs.gnu.org; 27 Jan 2019 17:08:34 +0000 Received: from localhost ([127.0.0.1]:47798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnv8-0001kh-Ce for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:34 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57996 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnux-0001iU-Dr for 34222@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:24 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id A2AD716AC0 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:21 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 6d08e801 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:20 +0000 (UTC) From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:16 +0000 Message-Id: <20190127170820.28937-11-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127170820.28937-1-mail@cbaines.net> References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-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 Requirement of ruby-parser. * gnu/packages/ruby.scm (ruby-cliver): New variable. --- gnu/packages/ruby.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 2bb9ea1cff..061659e59f 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -869,6 +869,38 @@ code in Merb and Rails.") (home-page "https://github.com/jnunemaker/crack") (license license:expat))) +(define-public ruby-cliver + (package + (name "ruby-cliver") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "cliver" version)) + (sha256 + (base32 + "096f4rj7virwvqxhkavy0v55rax10r4jqf8cymbvn4n631948xc7")))) + (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; Avoid this issue with rspec@2 + ;; NoMethodError: undefined method `last_comment' + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rspec")) + #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec-2))) + (synopsis "Assertions for command-line dependencies in Ruby") + (description + "@code{cliver} provides a way to detect missing command-line +dependencies, including versions.") + (home-page "https://github.com/yaauie/cliver") + (license license:expat))) + (define-public ruby-czmq-ffi-gen (package (name "ruby-czmq-ffi-gen") From patchwork Sun Jan 27 17:08:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 857 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 D201916AB8; Sun, 27 Jan 2019 17:10: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=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 6A0C816AB6 for ; Sun, 27 Jan 2019 17:10:07 +0000 (GMT) Received: from localhost ([127.0.0.1]:48271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnwd-0005eI-0l for patchwork@mira.cbaines.net; Sun, 27 Jan 2019 12:10:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvi-00053n-7h for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnvh-0006Wa-AP for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48541) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnvh-0006WP-6P for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnvh-0001ns-13 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34222] [PATCH 12/15] gnu: Add ruby-parser. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jan 2019 17:09:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34222@debbugs.gnu.org Received: via spool by 34222-submit@debbugs.gnu.org id=B34222.15486089166787 (code B ref 34222); Sun, 27 Jan 2019 17:09:08 +0000 Received: (at 34222) by debbugs.gnu.org; 27 Jan 2019 17:08:36 +0000 Received: from localhost ([127.0.0.1]:47808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnvA-0001lK-Ff for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:36 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57998 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnux-0001ia-Ut for 34222@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:27 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id B205A16AC1 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:21 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id b9ab09e8 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:20 +0000 (UTC) From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:17 +0000 Message-Id: <20190127170820.28937-12-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127170820.28937-1-mail@cbaines.net> References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-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 Required for ruby-rubocop. * gnu/packages/ruby.scm (ruby-parser): New variable. --- gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 061659e59f..ccc58effa0 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -2818,6 +2818,33 @@ for select languages.") (home-page "http://coderay.rubychan.de") (license license:expat))) +(define-public ruby-parser + (package + (name "ruby-parser") + (version "2.6.0.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "parser" version)) + (sha256 + (base32 + "1hhz2k5417vr2k1llwqgjdnmyrhlpqicy0y2arr6r1gp04fg9wlm")))) + (build-system ruby-build-system) + (native-inputs + `(("bundler" ,bundler) + ("ruby-cliver" ,ruby-cliver) + ("ruby-simplecov" ,ruby-simplecov) + ("ruby-racc" ,ruby-racc))) + (inputs + `(("ragel" ,ragel))) + (propagated-inputs + `(("ruby-ast" ,ruby-ast))) + (synopsis "Ruby parser written in pure Ruby") + (description + "This package provides a Ruby parser written in pure Ruby.") + (home-page "https://github.com/whitequark/parser") + (license license:expat))) + (define-public ruby-progress_bar (package (name "ruby-progress_bar") From patchwork Sun Jan 27 17:08:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 858 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 D430E16AB8; Sun, 27 Jan 2019 17:10:15 +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 7296A16AB6 for ; Sun, 27 Jan 2019 17:10:15 +0000 (GMT) Received: from localhost ([127.0.0.1]:48289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnwl-0005kC-1b for patchwork@mira.cbaines.net; Sun, 27 Jan 2019 12:10:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvh-00053S-Ct for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnvg-0006VB-CJ for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48539) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnvg-0006V4-8O for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnvg-0001nd-3F for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34222] [PATCH 13/15] gnu: Add ruby-unicode-display-width. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jan 2019 17:09:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34222@debbugs.gnu.org Received: via spool by 34222-submit@debbugs.gnu.org id=B34222.15486089166773 (code B ref 34222); Sun, 27 Jan 2019 17:09:08 +0000 Received: (at 34222) by debbugs.gnu.org; 27 Jan 2019 17:08:36 +0000 Received: from localhost ([127.0.0.1]:47804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnv9-0001l5-MY for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:36 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:58000 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnux-0001ic-V9 for 34222@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:26 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id C133616AC2 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:21 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id ed74e74f for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:20 +0000 (UTC) From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:18 +0000 Message-Id: <20190127170820.28937-13-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127170820.28937-1-mail@cbaines.net> References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-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 Required for ruby-rubocop. * gnu/packages/ruby.scm (ruby-unicode-display-width): 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 ccc58effa0..c455bd5f7b 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -4979,6 +4979,28 @@ requests. This is useful when testing software.") (home-page "https://github.com/bblimke/webmock") (license license:expat))) +(define-public ruby-unicode-display-width + (package + (name "ruby-unicode-display-width") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "unicode-display_width" version)) + (sha256 + (base32 + "0bq528fibi8s0jmxz0xzlgzggdq0x4fx46wfqz49478pv8gb2diq")))) + (build-system ruby-build-system) + (arguments + '(;; Test data not included. + #:tests? #f)) + (synopsis "Determine the monospace display width of Ruby strings") + (description + "@code{Unicode::DisplayWidth} is a Ruby library which can determine the +display width of strings in Ruby.") + (home-page "https://github.com/janlelis/unicode-display_width") + (license license:expat))) + (define-public ruby-domain-name (package (name "ruby-domain-name") From patchwork Sun Jan 27 17:08:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 856 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 D8ED816AB8; Sun, 27 Jan 2019 17:10: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 7DD9716AB6 for ; Sun, 27 Jan 2019 17:10:04 +0000 (GMT) Received: from localhost ([127.0.0.1]:48255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnwa-0005Ym-2b for patchwork@mira.cbaines.net; Sun, 27 Jan 2019 12:10:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvh-00053k-Qu for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnvg-0006Vv-SO for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48540) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnvg-0006Vh-OH for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnvg-0001nk-Ix for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34222] [PATCH 14/15] gnu: Add ruby-jaro-winkler. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jan 2019 17:09:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34222@debbugs.gnu.org Received: via spool by 34222-submit@debbugs.gnu.org id=B34222.15486089166781 (code B ref 34222); Sun, 27 Jan 2019 17:09:08 +0000 Received: (at 34222) by debbugs.gnu.org; 27 Jan 2019 17:08:36 +0000 Received: from localhost ([127.0.0.1]:47806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnvA-0001lC-2Z for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:36 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:58002 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnuy-0001in-2I for 34222@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:27 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id CFD6E16AC3 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:21 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 14010946 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:20 +0000 (UTC) From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:19 +0000 Message-Id: <20190127170820.28937-14-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127170820.28937-1-mail@cbaines.net> References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-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 Required for ruby-rubocop. * gnu/packages/ruby.scm (ruby-jaro-winkler): 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 c455bd5f7b..9026251626 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3327,6 +3327,29 @@ when working with Ruby code.") ;; There is no mention of the "or later" clause. (license license:gpl2))) +(define-public ruby-jaro-winkler + (package + (name "ruby-jaro-winkler") + (version "1.5.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "jaro_winkler" version)) + (sha256 + (base32 + "1zz27z88qznix4r65gd9h56gl177snlfpgv10b0s69vi8qpl909l")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (synopsis "Ruby implementation of Jaro-Winkler distance algorithm") + (description + "@code{jaro_winkler} is an implementation of Jaro-Winkler distance +algorithm. It is written in C extension and will fallback to a pure Ruby +implementation on platforms where this is unsupported.") + (home-page "https://github.com/tonytonyjan/jaro_winkler") + (license license:expat))) + (define-public ruby-json (package (name "ruby-json") From patchwork Sun Jan 27 17:08:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 853 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 9FC8716AB7; Sun, 27 Jan 2019 17:09: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=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 472B716AB5 for ; Sun, 27 Jan 2019 17:09:47 +0000 (GMT) Received: from localhost ([127.0.0.1]:48251 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnwI-0005Ry-Rm for patchwork@mira.cbaines.net; Sun, 27 Jan 2019 12:09:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvg-000523-BB for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnvf-0006Tq-CP for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48537) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnvf-0006TE-7c for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnvf-0001nO-2T for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34222] [PATCH 15/15] gnu: Add ruby-rubocop. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jan 2019 17:09:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34222@debbugs.gnu.org Received: via spool by 34222-submit@debbugs.gnu.org id=B34222.15486089156758 (code B ref 34222); Sun, 27 Jan 2019 17:09:07 +0000 Received: (at 34222) by debbugs.gnu.org; 27 Jan 2019 17:08:35 +0000 Received: from localhost ([127.0.0.1]:47800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnv8-0001ko-Ml for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:34 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57988 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnux-0001iG-Qj for 34222@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:26 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id E191116AC4 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:21 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 669947b6 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:20 +0000 (UTC) From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:20 +0000 Message-Id: <20190127170820.28937-15-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127170820.28937-1-mail@cbaines.net> References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-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-rubocop): New variable. --- gnu/packages/ruby.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 9026251626..6f9ad43c53 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -4083,6 +4083,36 @@ post, delete.") (home-page "https://github.com/rest-client/rest-client") (license license:expat))) +(define-public ruby-rubocop + (package + (name "ruby-rubocop") + (version "0.63.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "rubocop" version)) + (sha256 + (base32 + "1pq00qwlmcv52dbhgbk534ggwn1ny9k3sq3vfb1zk3r4psnqz2jy")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (propagated-inputs + `(("ruby-parser" ,ruby-parser) + ("ruby-powerpack" ,ruby-powerpack) + ("ruby-rainbow" ,ruby-rainbow) + ("ruby-ruby-progressbar" ,ruby-ruby-progressbar) + ("ruby-parallel" ,ruby-parallel) + ("ruby-jaro-winkler" ,ruby-jaro-winkler) + ("ruby-unicode-display-width" ,ruby-unicode-display-width))) + (synopsis "Ruby code style checking tool") + (description + "@code{rubocop} is a Ruby code style checking tool. It aims to enforce +the community-driven Ruby Style Guide.") + (home-page "https://github.com/rubocop-hq/rubocop") + (license license:expat))) + (define-public ruby-contest (package (name "ruby-contest")