summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-06-23 04:55:16 +0200
committerHans de Graaff <graaff@gentoo.org>2017-06-23 04:55:16 +0200
commit2bba10bb5ba609391c3238e99e5e126e2d04753e (patch)
treeb90d14bd3a9b6622d82e49c4c812fec76bd94935 /dev-ruby
parentdev-python/pip: don't use epatch (diff)
downloadgentoo-2bba10bb5ba609391c3238e99e5e126e2d04753e.tar.gz
gentoo-2bba10bb5ba609391c3238e99e5e126e2d04753e.tar.bz2
gentoo-2bba10bb5ba609391c3238e99e5e126e2d04753e.zip
dev-ruby/timecop: add 0.9.0
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/timecop/Manifest1
-rw-r--r--dev-ruby/timecop/timecop-0.9.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/timecop/Manifest b/dev-ruby/timecop/Manifest
index 78359c5dbc9e..b20b49825920 100644
--- a/dev-ruby/timecop/Manifest
+++ b/dev-ruby/timecop/Manifest
@@ -1,3 +1,4 @@
DIST timecop-0.7.1.gem 15360 SHA256 22e529f06739b1361b4e3b40adc667dfa8f50e66b13b778448cf51fb62bc8f2a SHA512 cbc1e1d6575473ed4200e71a8bbc91f4dd78a0e612e08ca236f485a92e71f02621bd199dc32a983dd7eea9a143b8fbf4b833f73016b5a7ea6a7459730efc1d83 WHIRLPOOL f54018f65fdd55c8d7399083a7c9d1f6f1405a6cea5941b8e20ef143d3c4a57350cc2714a2626f918ff753a11dafb506539d41ef4c43464258a2832590215a2a
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
diff --git a/dev-ruby/timecop/timecop-0.9.0.ebuild b/dev-ruby/timecop/timecop-0.9.0.ebuild
new file mode 100644
index 000000000000..b7796fa34318
--- /dev/null
+++ b/dev-ruby/timecop/timecop-0.9.0.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 ~hppa ~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
+}