Skip to content

Commit

Permalink
dev-ruby/bogus: initial import, dependency for dev-ruby/virtus
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
graaff committed Apr 18, 2017
1 parent 2bb4496 commit 3201266
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ruby/bogus/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST bogus-0.1.6.gem 56320 SHA256 a1aa6b5219a9ea010f8945874d8b09f58a4908676ffd4785c85475bec47817d8 SHA512 c65a8b8c6f19c6ef07c4330035e05abc47a63176ec1899e0d9cf611d5a195e0e2fe53b25110e0d2fe5e61c3d3325b79b71c7b42870cb4bfedb25d459f6f90e25 WHIRLPOOL 5dfdf5e79a5b9eea9b9f5e6c2cc4fb62f78f791ff3b3f8358b4df38b07326cc627a5934ee5026177fcbd615d5d4c8340735957e844fe7cf69b7290a897dc19b8
31 changes: 31 additions & 0 deletions dev-ruby/bogus/bogus-0.1.6.ebuild
Original file line number Diff line number Diff line change
@@ -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"

RUBY_FAKEGEM_RECIPE_TEST="rspec3"

RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.md"

inherit ruby-fakegem

DESCRIPTION="Decreases the need for integration tests by 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
}
11 changes: 11 additions & 0 deletions dev-ruby/bogus/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Gentoo Ruby Project</name>
</maintainer>
<upstream>
<remote-id type="github">psyho/bogus</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 3201266

Please sign in to comment.