From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Ruby 2.4.0 update Date: Sun, 25 Dec 2016 18:09:49 +0100 Message-ID: <878tr4ndeq.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLCJ3-0006Ai-6p for guix-devel@gnu.org; Sun, 25 Dec 2016 12:09:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cLCJ0-0002UO-2W for guix-devel@gnu.org; Sun, 25 Dec 2016 12:09:57 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:39500) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cLCIz-0002TG-S7 for guix-devel@gnu.org; Sun, 25 Dec 2016 12:09:54 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id C46BA2099E for ; Sun, 25 Dec 2016 12:09:51 -0500 (EST) Received: from localhost (128.92-221-147.customer.lyse.net [92.221.147.128]) by mail.messagingengine.com (Postfix) with ESMTPA id 270077E330 for ; Sun, 25 Dec 2016 12:09:51 -0500 (EST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain In good tradition, ruby made a new release today (25/12)[0]. I tried building some packages with the new version, but ruby-minitest complains that Rake 12 is too new (even with the latest minitest). There have been some core changes as well, with Fixnum and Bignum now merged into a single Integer class. I suggest that we keep ruby 2.3 as the main "ruby" variable until the ecosystem catches up. Users will still get the latest version when using `guix package` or `guix environment`. WDYT? Patch attached. Not sure about the commit message. 0: https://www.ruby-lang.org/en/news/2016/12/25/ruby-2-4-0-released/ --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlhf/V0ACgkQoqBt8qM6 VPrGiwgA0JS8a/Zr0BN5MaRLNUzDx7wwGd0XfNYSJUA5XIKovBrbx8ZoaGy5A5li LHrih4qK/OML++BcdsfnyKIVufA2WyBVFWtkOwTFX02hn/lgFlsLRyjy8CUwN7xg VbUn4qlhVnApwnJiuchMYMrqVk/pGqTwql3aWSYKNdD3O6r+Y4PMKPPdqFaIsPgW Sw94qyK1QuCuBnp23bRdkWussEtRHJeGs+OYjazLUZIL5bBiM32qjnS9v7k8M4IP BbuzZWd35iGnzYgE2YWvmWnbb+SY8MxvU4ub9/rqSlxPGN4bXscOaldcI8ZcVBJb Ao1DDfR+dVMCo1Sp5aq/MIkWoTzAHg== =cIJQ -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-ruby-Update-to-2.4.0.patch >From 6f029cbaedf273febef92e9c4197c55414b818d5 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 25 Dec 2016 18:07:47 +0100 Subject: [PATCH] gnu: ruby: Update to 2.4.0. * gnu/packages/ruby.scm (ruby-2.4): New variable. --- gnu/packages/ruby.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index c87f8b309..dee98c236 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -100,6 +100,20 @@ a focus on simplicity and productivity.") (home-page "https://ruby-lang.org") (license license:ruby))) +(define-public ruby-2.4 + (package (inherit ruby) + (replacement #f) + (version "2.4.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://cache.ruby-lang.org/pub/ruby/" + (version-major+minor version) + "/ruby-" version ".tar.xz")) + (sha256 + (base32 + "141nnsdk2q83c23p5kl404id8gy1ap261gin48rbjj5sbksgx1rs")))))) + (define-public ruby-2.2 (package (inherit ruby) (replacement #f) -- 2.11.0 --=-=-=--