summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-12-06 08:32:28 +0100
committerHans de Graaff <graaff@gentoo.org>2024-12-06 08:32:28 +0100
commitf3e1cc2464d6dbd2964658d88605802e93830d9f (patch)
tree6b0c1b4dc36874864bec483eb50579791e517c41 /dev-ruby
parentdev-ruby/useragent: add 0.16.11 (diff)
downloadgentoo-f3e1cc2464d6dbd2964658d88605802e93830d9f.tar.gz
gentoo-f3e1cc2464d6dbd2964658d88605802e93830d9f.tar.bz2
gentoo-f3e1cc2464d6dbd2964658d88605802e93830d9f.zip
dev-ruby/http-cookie: add 1.0.8
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/http-cookie/Manifest1
-rw-r--r--dev-ruby/http-cookie/http-cookie-1.0.8.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/http-cookie/Manifest b/dev-ruby/http-cookie/Manifest
index 55ee187e045e..55fe74178b48 100644
--- a/dev-ruby/http-cookie/Manifest
+++ b/dev-ruby/http-cookie/Manifest
@@ -1,3 +1,4 @@
DIST http-cookie-1.0.5.gem 39424 BLAKE2B 569a0d18c962be378f3974b400ddf2289c72490b2b93619fcd83ed6c00bbf5def76239c52163dc6231060792abf3a19988285a6cd28f158ff7339252da912e61 SHA512 d530d64b5c2fc3757a6de03384fe768317e24a523d4a4215f5bcc6b5bca9e7b94eeaad1e52fbb67548396b7b2ca7c9d8b68ea7b99109e24770fcf34c950469ef
DIST http-cookie-1.0.6.gem 40448 BLAKE2B 428cd8aef9d08ff86486c1dab10f75e2cf0aa614eda598a95e35598f945a41cc35cf7a871b4b6b56f01435790c7995d1cb83c2fff46463282d66f0e1cd8a0883 SHA512 088949816b70c3eea5464b492cb067d1d1cea8608ba8ad791876b5a33cc57c95b036420e3e9872a40e35c84168a37ab6b4615a049ea98b04588000cdf594bc5f
DIST http-cookie-1.0.7.gem 40448 BLAKE2B 36ce6daabaa5e2385fbe5f3db4b18cef8c304ac23f2200978d56ef726c6ed2f5bab09bd779c885bd23207130101b0143833696753e00c71f3504c2696fe15d17 SHA512 ed83e492d60f5af50d184e590ae3bb85be1cc34019619ac8053e0a8249deea239c66076b70b48b2db4066f18fcc478fee5bca118e7ee697b8bbb5f5985da7124
+DIST http-cookie-1.0.8.gem 40960 BLAKE2B f00aaefa3df170cd66bc8106211c0e20150f08984cd3890dfdd539b6dd706f67a727033ab177d0fc32d545c02064e7b43305809d8fa1507309550639df21985e SHA512 2331da73f2c077e9582d609a08a60a247c0b44b8e4a7be820ac3ed630a05779b985a19de3ed94a5a4753f401be0392d364313498b03475c442ed4859d2a142cd
diff --git a/dev-ruby/http-cookie/http-cookie-1.0.8.ebuild b/dev-ruby/http-cookie/http-cookie-1.0.8.ebuild
new file mode 100644
index 000000000000..047a9505786e
--- /dev/null
+++ b/dev-ruby/http-cookie/http-cookie-1.0.8.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A ruby library to handle HTTP cookies"
+HOMEPAGE="https://github.com/sparklemotion/http-cookie"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+# See https://github.com/sparklemotion/http-cookie/issues/16 for dropping domain_name
+ruby_add_rdepend ">=dev-ruby/domain_name-0.5:0"
+
+all_ruby_prepare() {
+ sed -i -e "/simplecov/d" -e "/bundler/d" Rakefile || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib test/test_http_cookie.rb || die
+ ${RUBY} -Ilib test/test_http_cookie_jar.rb || die
+}