From: Brian Leung <bkleung89@gmail.com>
To: 37017@debbugs.gnu.org
Subject: [bug#37017] [PATCH] Add and update Ruby packages.
Date: Tue, 13 Aug 2019 08:39:01 +0200 [thread overview]
Message-ID: <CAAc=MEwYC0gf+=2t86XRtLJx-p8+g0MAj8sSSqO-QpfzBvaD5g@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 14 bytes --]
See attached.
[-- Attachment #1.2: Type: text/html, Size: 39 bytes --]
[-- Attachment #2: 0001-gnu-Add-ruby-htmlentities.patch --]
[-- Type: text/x-patch, Size: 1615 bytes --]
From 4f3cea946612ce06abe6daaefa0fa950762bbcac Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Tue, 13 Aug 2019 06:44:20 +0200
Subject: [PATCH 1/3] gnu: Add ruby-htmlentities.
* gnu/packages/ruby.scm (ruby-htmlentities): New variable.
---
gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 1b70f842ae..8044c62b69 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8570,6 +8570,34 @@ characteristics.")
(home-page "https://github.com/sinatra/mustermann")
(license license:expat)))
+(define-public ruby-htmlentities
+ (package
+ (name "ruby-htmlentities")
+ (version "4.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "htmlentities" version))
+ (sha256
+ (base32
+ "1nkklqsn8ir8wizzlakncfv42i32wc0w9hxp00hvdlgjr7376nhj"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (map (lambda (file)
+ (invoke "ruby" "-Itest" file))
+ (find-files "./test" ".*_test\\.rb")))))))
+ (synopsis
+ "A module for encoding and decoding (X)HTML entities.")
+ (description
+ "This package provides a module for encoding and decoding (X)HTML entities.")
+ (home-page
+ "https://github.com/threedaymonk/htmlentities")
+ (license license:expat)))
+
(define-public ruby-sinatra
(package
(name "ruby-sinatra")
--
2.22.0
[-- Attachment #3: 0002-gnu-ruby-simplecov-Update-to-0.17.0.patch --]
[-- Type: text/x-patch, Size: 1201 bytes --]
From 17a376a8a2365f7ca44358138dae036a49af7d05 Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Tue, 13 Aug 2019 08:04:19 +0200
Subject: [PATCH 2/3] gnu: ruby-simplecov: Update to 0.17.0.
* gnu/packages/ruby.scm (ruby-simplecov): Update to 0.17.0.
---
gnu/packages/ruby.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 8044c62b69..41bbc7d1bc 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2034,13 +2034,13 @@ the SimpleCov code coverage tool for Ruby version 1.9 and above.")
(define-public ruby-simplecov
(package
(name "ruby-simplecov")
- (version "0.12.0")
+ (version "0.17.0")
(source (origin
(method url-fetch)
(uri (rubygems-uri "simplecov" version))
(sha256
(base32
- "0ffhyrfnq2zm2mc1742a4hqy475g3qa1zf6yfldwg1ldh5sn3qbx"))))
+ "0dq0nkaxvbsnl70hkimy35g4yjfs3blx4s7nbpzbvgqx72hxgv5v"))))
(build-system ruby-build-system)
;; Simplecov depends on rubocop for code style checking at build time.
;; Rubocop needs simplecov at build time.
--
2.22.0
[-- Attachment #4: 0003-gnu-ruby-nokogiri-Update-to-1.10.4.patch --]
[-- Type: text/x-patch, Size: 1135 bytes --]
From 2b9b07c1f551b8d2e116da37e90febe6fe04c91e Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Tue, 13 Aug 2019 08:14:16 +0200
Subject: [PATCH 3/3] gnu: ruby-nokogiri: Update to 1.10.4.
* gnu/packages/ruby.scm (ruby-nokogiri): Update to 1.10.4.
---
gnu/packages/ruby.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 41bbc7d1bc..b4f58c9110 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3648,13 +3648,13 @@ to reproduce user environments.")
(define-public ruby-nokogiri
(package
(name "ruby-nokogiri")
- (version "1.8.0")
+ (version "1.10.4")
(source (origin
(method url-fetch)
(uri (rubygems-uri "nokogiri" version))
(sha256
(base32
- "1nffsyx1xjg6v5n9rrbi8y1arrcx2i5f21cp6clgh9iwiqkr7rnn"))))
+ "0nmdrqqz1gs0fwkgzxjl4wr554gr8dc1fkrqjc2jpsvwgm41rygv"))))
(build-system ruby-build-system)
(arguments
;; Tests fail because Nokogiri can only test with an installed extension,
--
2.22.0
next reply other threads:[~2019-08-13 6:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-13 6:39 Brian Leung [this message]
2019-08-13 21:53 ` [bug#37017] [PATCH] Add and update Ruby packages Brian Leung
2019-08-23 21:33 ` bug#37017: " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAc=MEwYC0gf+=2t86XRtLJx-p8+g0MAj8sSSqO-QpfzBvaD5g@mail.gmail.com' \
--to=bkleung89@gmail.com \
--cc=37017@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.