diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/roadie-rails/roadie-rails-1.2.1.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/roadie-rails/roadie-rails-1.2.1.ebuild')
-rw-r--r-- | dev-ruby/roadie-rails/roadie-rails-1.2.1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/roadie-rails/roadie-rails-1.2.1.ebuild b/dev-ruby/roadie-rails/roadie-rails-1.2.1.ebuild new file mode 100644 index 000000000000..5553775ef4bb --- /dev/null +++ b/dev-ruby/roadie-rails/roadie-rails-1.2.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Hooks Roadie into your Rails application to help with email generation" +HOMEPAGE="https://github.com/Mange/roadie-rails" +SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +#RESTRICT="test" + +ruby_add_rdepend ">=dev-ruby/roadie-3.1 + >=dev-ruby/railties-3.0:* <dev-ruby/railties-5.1:*" +ruby_add_bdepend " + test? ( + dev-ruby/bundler + dev-ruby/rspec-rails + dev-ruby/rspec-collection_matchers )" + +all_ruby_prepare() { + sed -i -e '/development/,$ d' Gemfile || die + sed -i -e 's/git ls-files/find . -print/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rspec-3 spec || die +} |