From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fty8F-0004wm-DQ for guix-patches@gnu.org; Sun, 26 Aug 2018 12:43:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fty8A-0002z5-Rf for guix-patches@gnu.org; Sun, 26 Aug 2018 12:43:15 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56585) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fty87-0002ub-Hp for guix-patches@gnu.org; Sun, 26 Aug 2018 12:43:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fty87-0003v1-G1 for guix-patches@gnu.org; Sun, 26 Aug 2018 12:43:11 -0400 Subject: [bug#32535] [PATCH 20/41] gnu: Add ruby-cane. Resent-Message-ID: From: Julien Lepiller Date: Sun, 26 Aug 2018 18:41:42 +0200 Message-Id: <20180826164203.27318-20-julien@lepiller.eu> In-Reply-To: <20180826164203.27318-1-julien@lepiller.eu> References: <20180826183301.2d915be5@lepiller.eu> <20180826164203.27318-1-julien@lepiller.eu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32535@debbugs.gnu.org * gnu/packages/ruby.scm (ruby-cane): New variable. --- gnu/packages/ruby.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index e84418cff..d508faddb 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5435,3 +5435,22 @@ interface. It allows Jekyll to rebuild your site when a file changes.") (to use all CPUs) or Threads(to speedup blocking operations). It is best suited for map-reduce or e.g. parallel downloads/uploads.") (license license:expat))) + +(define-public ruby-cane + (package + (name "ruby-cane") + (version "3.0.0") + (source (origin + (method url-fetch) + (uri (rubygems-uri "cane" version)) + (sha256 + (base32 + "0yf5za3l7lhrqa3g56sah73wh33lbxy5y3cb7ij0a2bp1b4kwhih")))) + (build-system ruby-build-system) + (arguments `(#:tests? #f)); No rakefile + (home-page "http://github.com/square/cane") + (propagated-inputs + `(("ruby-parallel" ,ruby-parallel))) + (synopsis "Code quality threshold checking") + (description "Cane fails your build if code quality thresholds are not met.") + (license license:asl2.0))) -- 2.18.0