dev-ruby/file-tail: add 1.3.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2024-09-14 07:46:29 +02:00
parent 3dda085353
commit 7ddb8567cf
2 changed files with 36 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST file-tail-1.2.0.gem 19968 BLAKE2B 8a9ef8b73d2e7c8c21ec04e817991ebe40ba62800e565b607dbae9732b0192074cff4b3fc9dc7a495be9a2315eab63b48126e524091d72b37f7e8261cb1333f1 SHA512 ac20e5e855144f7462ef0471be08ab56e521a7b22117f1653e06624e1d81ac11d047a21a6979476bc8547dd88d90f25e51052950148acbe3ea64bdd3c35e1da3
DIST file-tail-1.3.0.gem 20992 BLAKE2B ecb15f77cabebc9f048888eba2ae2b1b49e66cbbb6143c84a8f98e98f5f6f9480da0b1652b24adfcc826c318d84238e980b3309a0ab1782d6065cb0242726ac5 SHA512 225f73895d76f4c7db37dc891603cf9c7cd6a188c30cd6a19c758cb470ff89d3beb0887cd7bc052c846236b56384a928277c53dfe9e9adef60d35f4fe2f0d0f5

View File

@@ -0,0 +1,35 @@
# 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_RECIPE_TEST="none"
RUBY_FAKEGEM_DOC_SOURCES="lib README.md"
RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
inherit ruby-fakegem
DESCRIPTION="A small ruby library that allows it to 'tail' files in Ruby"
HOMEPAGE="https://flori.github.io/file-tail/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
ruby_add_rdepend "=dev-ruby/tins-1*"
ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )"
all_ruby_prepare() {
sed -i -e '/test_tail_change2/aomit "has race condition"' tests/file_tail_test.rb || die
}
each_ruby_test() {
ruby-ng_testrb-2 -Ilib tests/*_test.rb
}