summaryrefslogtreecommitdiff
path: root/dev-ruby/timecop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-23 12:45:14 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-23 12:45:14 +0000
commitc8c3804588db08dae281504dd79ef71741cd8dc3 (patch)
treec0dc730627dd25f276c533a00e6b763b8eef1f56 /dev-ruby/timecop
parentdd5b71d2ad69f1887985ee1ca67b254e04157f73 (diff)
gentoo auto-resync : 23:03:2023 - 12:45:13
Diffstat (limited to 'dev-ruby/timecop')
-rw-r--r--dev-ruby/timecop/Manifest4
-rw-r--r--dev-ruby/timecop/metadata.xml2
-rw-r--r--dev-ruby/timecop/timecop-0.9.6.ebuild39
3 files changed, 43 insertions, 2 deletions
diff --git a/dev-ruby/timecop/Manifest b/dev-ruby/timecop/Manifest
index c41db7ac47d3..1a9c467b86d2 100644
--- a/dev-ruby/timecop/Manifest
+++ b/dev-ruby/timecop/Manifest
@@ -1,5 +1,7 @@
DIST timecop-0.9.4.gem 16896 BLAKE2B a8280726c8c46573eb0bc72af7b8c6f64ba4a3898a8089eb44c09bc4f53c2c6c51364784aa332c55a45d9c8f93ab9fd3b7691020f8a58f48056cf3673429abf7 SHA512 3d5f611d9a4ba9bc21f01c8096c97892cb05d6effb26f03703a0db842fe18f9614fca3cc836a1583dd5ebbd0d50d4115acf348b7b8b78d93010aaa48b168b9cf
DIST timecop-0.9.5.gem 17408 BLAKE2B e6234759af1b3bcdf8fa5403594498507a7ddb8f652e8698ab7ce0e4879fc99828953120ccb80c3cfd555b63bbb957b0fd2f25758c4add1803d288b1807360be SHA512 4b3aa4d2fe5b95b51119be61faf0c85539d56e1ad2b507a1df182f5d7882390b37bc8b9984ef54e1b0b42bfb0d205ff4f863d016e423d4499cf3b21f2eaed7ff
+DIST timecop-0.9.6.gem 17408 BLAKE2B 53afa8313be94fb8774812b014f11d9a134b51b7dafcc0fd8d91d10756e042bfd6d56b10f8072c1d606519e532beb2e02032bd4e3f6d45b4cf41dd968ba86224 SHA512 a5cbdf38caa5bccb9887a6abb5d99bdd1470c9ff8d52d19f0c46f116dc73b62512f76021adc1ec98ca4abe85ca61a4ab1e821d80980fa7ab3c821abd13b9695a
EBUILD timecop-0.9.4.ebuild 1012 BLAKE2B 9dbe7e7c08fb40e4c133d79467163013df4fd1e6682dd0b470277bac86e523d262c088915c06d4a966a60505c7a8aad75eccba3c89c304b5bc7d424246ed776c SHA512 a0800c4abfa60d330c1dce81e0a7aff43fd0c337ef2818390533166d1ed550bf22e156bc69e3b90cfd41aec4c2bca5662109876f310dc2f1aae09b22720b48aa
EBUILD timecop-0.9.5.ebuild 1032 BLAKE2B 962f59e879ec63ce6d146ca4d2c7c05993361a190d23528f06d9b6849f9d25282849f73e146690cc444a9061b4cdcdf70bdb019f0e118f772d675b89bee27b34 SHA512 bb060b39383f151ec9a2909a5e238b70ca509a891c965b87150e118c8ae4c81aca44a2171975faeec6d352f7a61254cb2689cb7f02bfd031a42b6571d5c3d232
-MISC metadata.xml 344 BLAKE2B 1bb022e925d447ee062275a0738044ccc4205307d0fc53ae07e78b9ae07db190efb0661a8d0bf5ff4ef31d229781265a9d13a1c2a91829aa4b3885d0c9b4fd72 SHA512 3eee72420b16de1611cbfed39cf075fa026414bc2fd1fbcf5deff3aa34db2092701eb52a0f76964aae2825f74bdbe8398d755ffc6716298154e6cdf1a5f659fc
+EBUILD timecop-0.9.6.ebuild 1032 BLAKE2B 962f59e879ec63ce6d146ca4d2c7c05993361a190d23528f06d9b6849f9d25282849f73e146690cc444a9061b4cdcdf70bdb019f0e118f772d675b89bee27b34 SHA512 bb060b39383f151ec9a2909a5e238b70ca509a891c965b87150e118c8ae4c81aca44a2171975faeec6d352f7a61254cb2689cb7f02bfd031a42b6571d5c3d232
+MISC metadata.xml 348 BLAKE2B bba76a39d1feb832ddef50069d8a62e8449ecb1db1aecf3388e281d908447f0d61cb8dbe0a41b08ee68e11293778cd3a9b150cd5da705e2f56f1559a5147e7d3 SHA512 86bd1dc85754e017925b4a527b459260d8cda42ceee3dedef549d415bdc5326705e9eda325af5761876297d0beb6210633ce1445cd2745565ee720852d86d13f
diff --git a/dev-ruby/timecop/metadata.xml b/dev-ruby/timecop/metadata.xml
index 4ea1d61a18ff..5aac3be6af1a 100644
--- a/dev-ruby/timecop/metadata.xml
+++ b/dev-ruby/timecop/metadata.xml
@@ -6,6 +6,6 @@
<name>Gentoo Ruby Project</name>
</maintainer>
<upstream>
- <remote-id type="github">jtrupiano/timecop</remote-id>
+ <remote-id type="github">travisjeffery/timecop</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-ruby/timecop/timecop-0.9.6.ebuild b/dev-ruby/timecop/timecop-0.9.6.ebuild
new file mode 100644
index 000000000000..af40e7129a40
--- /dev/null
+++ b/dev-ruby/timecop/timecop-0.9.6.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_TASK_TEST="test"
+
+RUBY_FAKEGEM_TASK_DOC="rdoc"
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.markdown"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A gem providing 'time travel' and 'time freezing' capabilities"
+HOMEPAGE="https://github.com/travisjeffery/timecop"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE=""
+
+# Missing testdep activesupport
+ruby_add_bdepend "test? ( dev-ruby/mocha )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' -e '/History.rdoc/d' Rakefile test/test_helper.rb || die
+ sed -i -e '/rubygems/ a\gem "test-unit"' \
+ -e '/minitest\/rg/ s:^:#:' -e '/pry/ s:^:#:' test/test_helper.rb || die
+ # FIXME after activesupport gained ruby22 support
+ rm test/time_stack_item_test.rb || die
+}
+
+each_ruby_test() {
+ for f in test/*_test.rb ; do
+ ${RUBY} -Ilib $f || die
+ done
+}