commit: 5148b587b4b435de1a32f5c602c7f26f77a023c8 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Thu Jul 6 04:37:20 2017 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Thu Jul 6 04:37:20 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5148b587
dev-ruby/timecop: add 0.9.1 Package-Manager: Portage-2.3.6, Repoman-2.3.1 dev-ruby/timecop/Manifest | 1 + dev-ruby/timecop/timecop-0.9.1.ebuild | 39 +++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-ruby/timecop/Manifest b/dev-ruby/timecop/Manifest index b20b4982592..177bb020a5b 100644 --- a/dev-ruby/timecop/Manifest +++ b/dev-ruby/timecop/Manifest @@ -2,3 +2,4 @@ DIST timecop-0.7.1.gem 15360 SHA256 22e529f06739b1361b4e3b40adc667dfa8f50e66b13b DIST timecop-0.8.0.gem 16384 SHA256 1ac7a7d13c700d21d13c533ccab3d004ecc2d8ddf339a93df7c29bd12634c47d SHA512 bd47dd44215be3a0ec9bc095094a258a29e79dcbe19d8afde015eef60ff0951888e81a6e0cbf9790789d4d0083265bf91088556d38db58461eb38edae9b15682 WHIRLPOOL ae0b5d7df5bf2cb9b5bd7695ec56b3373e5c3c0b692c86b1ef41affc4bc07441b76c43a977d2bd8f407d1ec0d379e89f96242609b7c53b12df2038bbbd2bd32d DIST timecop-0.8.1.gem 16384 SHA256 bdce943521113e0b9ed2a6136e1c7396fa413ec7100814f2fe5bc1ee319f8b6f SHA512 c4d281aa04fe94636dc23dc0fa6ea4a1dc27fc1debe550b06a208ceaab1d9d8b160f792bd5f14a7c004cecf489d4427df39873a68fe6ab27fe9c0e94770cc764 WHIRLPOOL 794420343bb9112f36d69b7aa161b865d1a79da3069200c2befbf693c4916f8a4021e9bbac28751beeefa8a77f21db82ff2caeddab39d5c310c8ce12147dafb1 DIST timecop-0.9.0.gem 16896 SHA256 adced6244cf4f853f8028b240be5f78f0c44be2021949c7c7db075a2963810ed SHA512 820a953ed70588bd377d1b15188937429f0b8d7902e3c6696cbd0c878dfbe95269985654adae6598482384ccbf79b4cd9edf025ec61baf0982eaf340ce19c314 WHIRLPOOL ca756a190d8489b33b5e60c02c68b8a9f330ab6765fb54e8a5bab14c38afac9bf61ceaf777d5cdcfba00512850ae8fd66a4bebeedccf8aaeb98d5c7a1c416403 +DIST timecop-0.9.1.gem 16896 SHA256 374b543f0961dbd487e96d09ac812d4fdfeb603ec705bbff241ba060d0a9f534 SHA512 2c8429ad4d9c706865810caa80dfb12c16acaaa97ea289fc300e172a359817fea7d31789f4bea75cfae8ce1f84e7d8effd32b39a0482f3d68fb4e225b487e13e WHIRLPOOL 895b9625601f1b4f0d76499d6cc313072abcd48f75ca9fa38109a4437238d7c5614161784d06ea748d99747b99981d89e00646e7719bab3584625c273df8a6f5 diff --git a/dev-ruby/timecop/timecop-0.9.1.ebuild b/dev-ruby/timecop/timecop-0.9.1.ebuild new file mode 100644 index 00000000000..bb415e704b5 --- /dev/null +++ b/dev-ruby/timecop/timecop-0.9.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +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/jtrupiano/timecop" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +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 +}