diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /dev-ruby/timecop | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-ruby/timecop')
-rw-r--r-- | dev-ruby/timecop/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/timecop/timecop-0.9.1.ebuild | 2 | ||||
-rw-r--r-- | dev-ruby/timecop/timecop-0.9.2.ebuild | 39 |
3 files changed, 43 insertions, 2 deletions
diff --git a/dev-ruby/timecop/Manifest b/dev-ruby/timecop/Manifest index 5766f01cf5e9..bb5b1fa41a71 100644 --- a/dev-ruby/timecop/Manifest +++ b/dev-ruby/timecop/Manifest @@ -1,3 +1,5 @@ DIST timecop-0.9.1.gem 16896 BLAKE2B f4dd9293743f0be4dc5616aae077965a32e348faa7019867d694689b0376c6be06817870842bdcbf5f398ec4814ae1e4f6546c75c95639bbd2cb8021a1dee3f7 SHA512 2c8429ad4d9c706865810caa80dfb12c16acaaa97ea289fc300e172a359817fea7d31789f4bea75cfae8ce1f84e7d8effd32b39a0482f3d68fb4e225b487e13e -EBUILD timecop-0.9.1.ebuild 987 BLAKE2B 1ca3c6aae362cf818d7a28ab74650d0e224e9fa10c205abf3c643071699fdb3d955bccf3e76b6ad8943b5e953d768febc0bdd6b9dd506f14bb84e5498e0bd9cb SHA512 45c9de9cb0542bd552de17aae43af0a5dc04f1e4eea1b0a195778760547f4e3e40f5b47380286311dc96f4ce48c94de78c23942610c7a4a741c6995b8cb14958 +DIST timecop-0.9.2.gem 17408 BLAKE2B defe09d5ed0a8eae143b17249502ccd2d2c022147f2e579ced45c3497424d66a420b30c11a1e00e321b5f2772c8bc5cd157a5875f8b66e5d102ac84423975dcf SHA512 d54b87c0a9a711e8c287ebd55083a6f87e31d587fbeebbc892a3e76c7d57fe0926e411dfedd0b5edcd357d995b4a6e7b57eef778a8e380a6675497988f97b29d +EBUILD timecop-0.9.1.ebuild 986 BLAKE2B 05100c23b2e4f0de3621cb2f9ed85fd2b67713fd99e38aefe0336d6044155f59cecd32cfb6b3522f32ed2b24b947fe8b069e37ca6e59911fc238cd94835ab767 SHA512 fc76b8ec285ff8f6631a6b925efb1072df8337402b7f704d50c5fb2fb509afe90dcda5651d1fb50ee0d254c4dbe10897746bc9ec85751244bbdacb61927a5328 +EBUILD timecop-0.9.2.ebuild 987 BLAKE2B c508847e01b835fe7f711eda2c6af446f58b8c991dbeb5fe7cfc4bc386ca8a813feaf269eb02d2191da128e6f122b8f5192390c18655355b29a11b86ba109fdd SHA512 e6ec5e5b3ec4ffb378ce2aed83af45d0dec315ec201a6bb13f555360f05b600c029242aa9e3aac3a273b4fa3b5c22092630c1c75b4a24e51220db1398b1aa0a3 MISC metadata.xml 343 BLAKE2B 98bc9d7ecd9ac2badbcf92ce7b89b2b4e3798fc284b7dda56b582a0d18f2dfd4dee8b371bbd74e404985e6d370737e5ed746543393408ec60157b8d0b95a7b86 SHA512 1f1d30e9ec8a13854596017fc22a430ad0b34a8d8477804d28906eaa94c294f5cb7e845adff2aa89835681afab48f77b601b5cbff780d00bf0d58959b2ed4fac diff --git a/dev-ruby/timecop/timecop-0.9.1.ebuild b/dev-ruby/timecop/timecop-0.9.1.ebuild index 19d7745b7f4e..074dbca94f15 100644 --- a/dev-ruby/timecop/timecop-0.9.1.ebuild +++ b/dev-ruby/timecop/timecop-0.9.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/travisjeffery/timecop" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 sparc x86" IUSE="" # Missing testdep activesupport diff --git a/dev-ruby/timecop/timecop-0.9.2.ebuild b/dev-ruby/timecop/timecop-0.9.2.ebuild new file mode 100644 index 000000000000..8e2c51757153 --- /dev/null +++ b/dev-ruby/timecop/timecop-0.9.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +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 ~ppc ~ppc64 ~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:^:#:' 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 +} |