summaryrefslogtreecommitdiff
path: root/dev-ruby/rack-cache
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-10-01 20:54:53 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-10-01 20:54:53 +0100
commit391b5b359a346aff490103da7dddc85047f83830 (patch)
tree29eea460a0bd7e1ff21d43b9d6df9af4d8a175e1 /dev-ruby/rack-cache
parentc719fdcee603a5a706a45d10cb598762d56a727d (diff)
gentoo resync : 01.10.2021
Diffstat (limited to 'dev-ruby/rack-cache')
-rw-r--r--dev-ruby/rack-cache/Manifest4
-rw-r--r--dev-ruby/rack-cache/rack-cache-1.12.1.ebuild2
-rw-r--r--dev-ruby/rack-cache/rack-cache-1.13.0.ebuild46
3 files changed, 50 insertions, 2 deletions
diff --git a/dev-ruby/rack-cache/Manifest b/dev-ruby/rack-cache/Manifest
index 35ceeeec2201..059bea88bcb2 100644
--- a/dev-ruby/rack-cache/Manifest
+++ b/dev-ruby/rack-cache/Manifest
@@ -1,5 +1,7 @@
DIST rack-cache-1.12.0.tar.gz 262794 BLAKE2B 63668875cbfba5a6012f43fcfb504e99e357301b8c4b26bfd007b6d22fd9cd3d2f40b096505f9b9523c49ca2a7c980fa15c95187284a339604ca8acadfad374b SHA512 67101c2fec86db94d177c4cc476a17e5bda51d222ac8530fe6cdef8fb196b3b7ffe301003abbc14430c4f4068da0627ffcdd498fd79faebd190571bfbaec3ab5
DIST rack-cache-1.12.1.tar.gz 262878 BLAKE2B c287c547496f0c4659f16cf45aa4c562cfccc5d6ba9e71a10a6507346797bba7d9d1e287ef1fe3d8c6bb6e8ef148d6c24d90e92db1ae53ea2f7d1ee91e3fd148 SHA512 f850facb28f302db819b6d67fd86e0dd18ae8f5d132044582bbcd6792b287c7d4a29219a47e708b5047fb373b5857632597d9743b4ba530b1258d29924ca4cf9
+DIST rack-cache-1.13.0.tar.gz 262945 BLAKE2B ea0dafe105c8c1e10815c39b928c5a86bf77a0cf3a31f085169028cb633dddd3db761138fb85b7f5da6c3374e749e898d97622994ad3a7b4972befbd46d31e3b SHA512 049302994663703ea593e01194e1c5c3b95afc889e628906e65302dd1fe64fc280bac9d26855db2fc7af1e287201a47c7f6a52329a3151b3efc775c0585d837c
EBUILD rack-cache-1.12.0.ebuild 1323 BLAKE2B ff939775fc834b00f29263e132517aed7ed4b3c4d057998a7c0d88fdb8fa86f51dfd805bc37a98f6e0e0cb31337324ef3f23a7a4e9254c29980a4c033ff8ba7a SHA512 ea49ce160cdf8da409fa5b53a2b03b4cdebfdec6ef204d025aeed7d4860259267d00c9e289c6876975d8f8bd63cfe6ee95b5377d06058ce9ec7b6b3c5f90d0a8
-EBUILD rack-cache-1.12.1.ebuild 1317 BLAKE2B 3aaa88226504143c303a92a63efc07f079da07cb2056523992d2b02b72376a5f7f9f82c590bd4445a3a7c467e83f17594ba5a12d24847ea495b201499ab1269d SHA512 c1c5aa66726190f34d1515328ed39034aaadb8ff497bb9063d25a8f1521ff200229ab5bb558683291f6819be06beb5127c2ff66d23b63252b6a49e3559cd6886
+EBUILD rack-cache-1.12.1.ebuild 1316 BLAKE2B f41ba982000f52d9527da06c78df720c64c941b4bbb47c41cb849707d230fe13ab8c7545e7578287699ae8bc9e0368ac48245017f4c1ec13ea467905666cd768 SHA512 e55cbd7b1e8c4159dfd84635f55677cf4fb9105f98589423f68b9aa274ed9083de472c88dd8e86dd7ea780b261f4f2727f989f677c5ee1700e77fb253fe2bd7d
+EBUILD rack-cache-1.13.0.ebuild 1280 BLAKE2B e9a566e140caf36c2f0d65ed974b66a03f2d1b0533aa0f657b6b50d6ddcbb6798d0092f9f64e6988e097dd10afcda501c86f26f266949eaf2a7a453ddc641b85 SHA512 62ccf8dd71ec0a89b8160360f344527f9111446463a3ebf6f7d341901cfc7eca2bff9b7765c83c11b789ad3f6257b9f7f10f2c951ea5f2ef931bc1344307ffa5
MISC metadata.xml 336 BLAKE2B 8ec6bc6a5c4e0f07711f202690dba8fc84111f8173f5593a1e02ebd33e410e9e6381a6887e8cfb678953a3e7f24696228766693544460e87411504de9ed601d9 SHA512 48d46de12b863bd4a04d9f7fe0eed9801d6722e14b3f63073cc154133f7ec108a5643de5a3351c1074e530a1716140859c50cf631a1a6f8f2b57a17802943ea1
diff --git a/dev-ruby/rack-cache/rack-cache-1.12.1.ebuild b/dev-ruby/rack-cache/rack-cache-1.12.1.ebuild
index 096eef9e410a..bed74014d5d1 100644
--- a/dev-ruby/rack-cache/rack-cache-1.12.1.ebuild
+++ b/dev-ruby/rack-cache/rack-cache-1.12.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="https://github.com/rtomayko/rack-cache/archive/v${PV}.tar.gz -> ${P}.ta
LICENSE="MIT"
SLOT="1.2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
ruby_add_rdepend "dev-ruby/rack:*"
diff --git a/dev-ruby/rack-cache/rack-cache-1.13.0.ebuild b/dev-ruby/rack-cache/rack-cache-1.13.0.ebuild
new file mode 100644
index 000000000000..d55a9fd4627a
--- /dev/null
+++ b/dev-ruby/rack-cache/rack-cache-1.13.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+# no documentation is generable, it needs hanna, which is broken
+RUBY_FAKEGEM_RECIPE_DOC="none"
+
+RUBY_FAKEGEM_TASK_TEST="none"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*"
+
+RUBY_FAKEGEM_GEMSPEC="rack-cache.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Enable HTTP caching for Rack-based applications that produce freshness info"
+HOMEPAGE="https://github.com/rtomayko/rack-cache"
+SRC_URI="https://github.com/rtomayko/rack-cache/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="1.2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/rack:*"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/maxitest-3.4.0
+ >=dev-ruby/minitest-5.7.0:5
+ >=dev-ruby/mocha-0.13.0 )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' \
+ test/test_helper.rb || die
+}
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die
+ sed -i -e '/bundler/ s:^:#:' test/test_helper.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -I.:lib:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
+}