summaryrefslogtreecommitdiff
path: root/dev-ruby/bogus
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/bogus')
-rw-r--r--dev-ruby/bogus/Manifest3
-rw-r--r--dev-ruby/bogus/bogus-0.1.6.ebuild31
-rw-r--r--dev-ruby/bogus/metadata.xml11
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/bogus/Manifest b/dev-ruby/bogus/Manifest
new file mode 100644
index 000000000000..2650e7c8d83b
--- /dev/null
+++ b/dev-ruby/bogus/Manifest
@@ -0,0 +1,3 @@
+DIST bogus-0.1.6.gem 56320 BLAKE2B 1c314e3ca9aa270162e4deba87912901c3291f9765de2dfb8f50f43dde47bd8794ca64c2e1ea55a752afb3d1997161e08adee27638d952c035212e47896ab493 SHA512 c65a8b8c6f19c6ef07c4330035e05abc47a63176ec1899e0d9cf611d5a195e0e2fe53b25110e0d2fe5e61c3d3325b79b71c7b42870cb4bfedb25d459f6f90e25
+EBUILD bogus-0.1.6.ebuild 713 BLAKE2B d7f8eb5677160be614f3b5ba0acfe1a04c3533646936712b7780e6c4fa3fcb7feb4d6d5775c48261a8a110a219397cd98b1aa6871faaa40239f51907734ebc5c SHA512 a744ae99bbc8504cced6b1b4f192794076e439074da9df63c36bef3794533e0bf1efead1e8ad35f9a52b0596c20ffb818813fd23014452af5e550f04f160a0f8
+MISC metadata.xml 337 BLAKE2B 84f65af92e1578249c21b03d7babc2967a0c77921604f707f313c6462169d528659174bfefcef14339331aa0116c03b57bc677fde196d8a5a319c3b6c3772da1 SHA512 034772fe8e7d00b80053f22f5d5cccf85d5f4a100279a47d280bdef5af6558a1fb83aa7f5ee27b855a61e6dbfc7988ff3bb95cb4a17391f00f87a9cf6932b5dc
diff --git a/dev-ruby/bogus/bogus-0.1.6.ebuild b/dev-ruby/bogus/bogus-0.1.6.ebuild
new file mode 100644
index 000000000000..91b7a6b75e09
--- /dev/null
+++ b/dev-ruby/bogus/bogus-0.1.6.ebuild
@@ -0,0 +1,31 @@
+# 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_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ensuring that the things you stub or mock actually exist"
+HOMEPAGE="https://github.com/psyho/bogus"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/dependor-0.0.4"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/,/^end/ s:^:#:' \
+ -e '/SimpleCov/,/^end/ s:^:#:' spec/spec_helper.rb || die
+
+ # Avoid dependency on unpackaged nulldb
+ rm -f spec/bogus/fakes/fake_ar_attributes_spec.rb || die
+}
diff --git a/dev-ruby/bogus/metadata.xml b/dev-ruby/bogus/metadata.xml
new file mode 100644
index 000000000000..bff7165d5bb3
--- /dev/null
+++ b/dev-ruby/bogus/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">psyho/bogus</remote-id>
+ </upstream>
+</pkgmetadata>