Skip to content

Commit

Permalink
dev-ruby/pundit: Initial version
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.4, Repoman-2.3.2
  • Loading branch information
mrueg committed Mar 21, 2017
1 parent 2b224d4 commit 7d96699
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ruby/pundit/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST pundit-1.1.0.gem 22016 SHA256 bd38e2df0b17e5cef5759edad979aaa361a46c0bdfc83a700df7e3febe99a781 SHA512 ea7e8ef9e4b280f451810ba193dc5b27a75ecfb050eed674246034ebb687e8302aee8826c022090553b643b41c85adec4d3234f545ab2a59ececa461fe4e4b3a WHIRLPOOL c009f1b7b940f7edf912f5fa619837753a76e75211ad17cf07f764bc0c56ec23145e859ce3a01a5dc617f80a963830bba0fcdcc3753c6dab6c61e5eacef690b0
8 changes: 8 additions & 0 deletions dev-ruby/pundit/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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>
</pkgmetadata>
28 changes: 28 additions & 0 deletions dev-ruby/pundit/pundit-1.1.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

USE_RUBY="ruby21 ruby22 ruby23"

RUBY_FAKEGEM_RECIPE_TEST="rspec"
RUBY_FAKEGEM_RECIPE_DOC="doc"

inherit ruby-fakegem

DESCRIPTION="Object oriented authorization for Rails applications"
HOMEPAGE="https://github.com/elabs/pundit https://rubygems.org/gems/pundit"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

ruby_add_rdepend ">=dev-ruby/activesupport-3.0.0"

ruby_add_bdepend "test? ( >=dev-ruby/actionpack-3.0.0
>=dev-ruby/activemodel-3.0.0 )"

all_ruby_prepare() {
sed -i -e "/pry/d" spec/spec_helper.rb || die
}

0 comments on commit 7d96699

Please sign in to comment.