[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/17: gnu: Add ruby-http-cookie.
From: |
Ben Woodcroft |
Subject: |
17/17: gnu: Add ruby-http-cookie. |
Date: |
Wed, 27 Jan 2016 14:12:28 +0000 |
benwoodcroft pushed a commit to branch master
in repository guix.
commit d114ceebaca88edc9716e6de9949ce20c11a342f
Author: Ben Woodcroft <address@hidden>
Date: Thu Dec 31 09:27:51 2015 +1000
gnu: Add ruby-http-cookie.
* gnu/packages/ruby.scm (ruby-http-cookie): New variable.
---
gnu/packages/ruby.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ed1bc69..9707874 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3374,6 +3374,45 @@ Suffix List.")
(home-page "https://github.com/knu/ruby-domain_name")
(license license:bsd-2)))
+(define-public ruby-http-cookie
+ (package
+ (name "ruby-http-cookie")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "http-cookie" version))
+ (sha256
+ (base32
+ "0cz2fdkngs3jc5w32a6xcl511hy03a7zdiy988jk1sf3bf5v3hdw"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'add-dependency-to-bundler
+ (lambda _
+ ;; Fix NameError
+ (substitute* "Rakefile"
+ (("HTTP::Cookie::VERSION")
+ "Bundler::GemHelper.gemspec.version"))
+ #t)))))
+ (propagated-inputs
+ `(("ruby-domain-name" ,ruby-domain-name)))
+ (native-inputs
+ `(("rubysimplecov" ,ruby-simplecov)
+ ("bundler" ,bundler)
+ ("ruby-sqlite3" ,ruby-sqlite3)
+ ("ruby-test-unit" ,ruby-test-unit)))
+ (synopsis "Handle HTTP Cookies based on RFC 6265")
+ (description
+ "@code{HTTP::Cookie} is a Ruby library to handle HTTP Cookies based on
+RFC 6265. It has been designed with security, standards compliance and
+compatibility in mind, to behave just the same as today's major web browsers.
+It has built-in support for the legacy @code{cookies.txt} and
address@hidden formats of Mozilla Firefox.")
+ (home-page "https://github.com/sparklemotion/http-cookie")
+ (license license:expat)))
+
(define-public ruby-ansi
(package
(name "ruby-ansi")
- branch master updated (f66842d -> d114cee), Ben Woodcroft, 2016/01/27
- 02/17: gnu: Add ruby-minitest-focus., Ben Woodcroft, 2016/01/27
- 06/17: gnu: Add ruby-minitest-rg., Ben Woodcroft, 2016/01/27
- 04/17: gnu: Add ruby-minitest-moar., Ben Woodcroft, 2016/01/27
- 12/17: gnu: Add ruby-shoulda-matchers., Ben Woodcroft, 2016/01/27
- 05/17: gnu: Add ruby-minitest-bonus-assertions., Ben Woodcroft, 2016/01/27
- 14/17: gnu: Add ruby-shoulda., Ben Woodcroft, 2016/01/27
- 16/17: gnu: Add ruby-domain-name., Ben Woodcroft, 2016/01/27
- 17/17: gnu: Add ruby-http-cookie.,
Ben Woodcroft <=
- 13/17: gnu: Add ruby-shoulda-matchers-2., Ben Woodcroft, 2016/01/27
- 10/17: gnu: Add ruby-sqlite3., Ben Woodcroft, 2016/01/27
- 07/17: gnu: Add ruby-mime-types-data., Ben Woodcroft, 2016/01/27
- 08/17: gnu: Add ruby-fivemat., Ben Woodcroft, 2016/01/27
- 09/17: gnu: Add ruby-mime-types., Ben Woodcroft, 2016/01/27
- 15/17: gnu: Add ruby-unf., Ben Woodcroft, 2016/01/27
- 01/17: gnu: Add ruby-turn., Ben Woodcroft, 2016/01/27
- 11/17: gnu: Add ruby-shoulda-context., Ben Woodcroft, 2016/01/27
- 03/17: gnu: Add ruby-minitest-pretty-diff., Ben Woodcroft, 2016/01/27