summaryrefslogtreecommitdiff
path: root/dev-ruby/timecop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-22 09:45:59 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-22 09:45:59 +0100
commit994ddedfa7bbe42aa3de4aa9ae3e58960bbdd94e (patch)
tree81561a97855bcb9d79784fb246dbdc9249d38274 /dev-ruby/timecop
parent102518876412b49c154cd247f5891927304dd8cc (diff)
gentoo auto-resync : 22:08:2023 - 09:45:59
Diffstat (limited to 'dev-ruby/timecop')
-rw-r--r--dev-ruby/timecop/Manifest2
-rw-r--r--dev-ruby/timecop/timecop-0.9.8.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/timecop/Manifest b/dev-ruby/timecop/Manifest
index 6793d915a889..fe49906f2c3e 100644
--- a/dev-ruby/timecop/Manifest
+++ b/dev-ruby/timecop/Manifest
@@ -1,5 +1,7 @@
DIST timecop-0.9.6.gem 17408 BLAKE2B 53afa8313be94fb8774812b014f11d9a134b51b7dafcc0fd8d91d10756e042bfd6d56b10f8072c1d606519e532beb2e02032bd4e3f6d45b4cf41dd968ba86224 SHA512 a5cbdf38caa5bccb9887a6abb5d99bdd1470c9ff8d52d19f0c46f116dc73b62512f76021adc1ec98ca4abe85ca61a4ab1e821d80980fa7ab3c821abd13b9695a
DIST timecop-0.9.7.tar.gz 17818 BLAKE2B c978a3765864963b4dbbb8a9cf2172208fa7b66afd68417a057bba44b6d35141bab5182bef3404d6233f394e9d874026886dc85b2e400908bdbf2f3af273b6bf SHA512 4db43b655225b8017769497b5ffc88d7b6d728677439ade09d8e0b8e8ef01c0307e49575ed9e1d2ac379cd222a5a0d34feae018d15ee34b70934e93a019a76e6
+DIST timecop-0.9.8.tar.gz 17936 BLAKE2B bb66dac74df498b6a5c284805c2c8a486523d43c2923c2e11f65d24bc2e9ad59c3bdd356bf3e93946859ed9e95ac9924e48747afb17ec81a5378e0370d7dff20 SHA512 cbf74e8d4e459f17cb841fee14353feccfa26e401d999521abb5653639a3d6b8e0dbd73d4317cb18b185d33d23e20e7603992cd6e2752ac74cbf0c0c927263b3
EBUILD timecop-0.9.6.ebuild 1025 BLAKE2B c1a0ba1550ac783fc0701f1fd1f15a524c4bbc3f460d2e5a4f901a5a549a8cd30ddbbb7bb6706461592afb569cf2c399843e9a5e3e0ffe0e98a30d42359e85cb SHA512 41552d7765f8cc6b53e23f7ecaf3569caa5c85b913ae7593d910d836f8285d91249359a1f1785fc271ac61c2397ddc8946675144a6067ff70e94cafffdba1478
EBUILD timecop-0.9.7.ebuild 1131 BLAKE2B 55f4682d36adf884c2866a77afde4722ce6d36acfc874ea73a38a5439409730aba60ff797ba6c4c6c3b63a9b3d626565e86a1a54c29d1df82dcd8175b60e8940 SHA512 ae2190d9f47fa67900f43c63804237dffd0372de70d5efd3448a89f2f00d9b728982f8c3d06bf48a5efc77218a915f9b5afa08d6c9f12a1996c604dc8f40ebd4
+EBUILD timecop-0.9.8.ebuild 1124 BLAKE2B 1f80efa6c570691b545c85c1daca53e0b392031ba9a7464c4d8b1dfcaa54a228b0efc4a78498ad393761bfcb57c7fbec49b23725720a1a5ecc115ee66d7fe365 SHA512 a906dd531ef2f770dd2bae6ed2d0838beb67cf9ba5db096c2f8679d42fde8d7dc437ec4a0d748c1a0c4a0a6794ad38ce3bc23ef9cdb6419d92d969f6d0330e77
MISC metadata.xml 348 BLAKE2B bba76a39d1feb832ddef50069d8a62e8449ecb1db1aecf3388e281d908447f0d61cb8dbe0a41b08ee68e11293778cd3a9b150cd5da705e2f56f1559a5147e7d3 SHA512 86bd1dc85754e017925b4a527b459260d8cda42ceee3dedef549d415bdc5326705e9eda325af5761876297d0beb6210633ce1445cd2745565ee720852d86d13f
diff --git a/dev-ruby/timecop/timecop-0.9.8.ebuild b/dev-ruby/timecop/timecop-0.9.8.ebuild
new file mode 100644
index 000000000000..2f2dec1093c5
--- /dev/null
+++ b/dev-ruby/timecop/timecop-0.9.8.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_TASK_TEST="test"
+
+RUBY_FAKEGEM_TASK_DOC="rdoc"
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.markdown"
+RUBY_FAKEGEM_GEMSPEC="timecop.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A gem providing 'time travel' and 'time freezing' capabilities"
+HOMEPAGE="https://github.com/travisjeffery/timecop"
+SRC_URI="https://github.com/travisjeffery/timecop/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/activesupport dev-ruby/mocha )"
+
+all_ruby_prepare() {
+ sed -e '/bundler/ s:^:#:' -e '/History.rdoc/d' \
+ -i Rakefile test/test_helper.rb test/timecop_with_active_support_test.rb || die
+ sed -i -e '/rubygems/ a\gem "test-unit"' \
+ -e '/minitest\/rg/ s:^:#:' -e '/pry/ s:^:#:' test/test_helper.rb || die
+}
+
+each_ruby_test() {
+ for f in test/*_test.rb ; do
+ ${RUBY} -Ilib $f || die
+ done
+}