summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/roadie-rails/Manifest1
-rw-r--r--dev-ruby/roadie-rails/roadie-rails-1.2.1.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/roadie-rails/Manifest b/dev-ruby/roadie-rails/Manifest
index f376365e147..5be712bf6f6 100644
--- a/dev-ruby/roadie-rails/Manifest
+++ b/dev-ruby/roadie-rails/Manifest
@@ -1 +1,2 @@
DIST roadie-rails-1.1.1.tar.gz 48436 SHA256 3d005164235c9a38d38ab441afa645ab69b74bbb1428143bedda5d24e200117b SHA512 66f0da2a57a26342bc061cdbbedebf70a63f20cc4a5fa1ed8bedd6f9359d6e0690db3692bcd7b562976d75b4ffbec368fab5cbd09101cc833cd83d98859038c0 WHIRLPOOL 06333746c172e9723961ea067e1ecf370226a4276ab273f403edd2dc042aea7a2cf30d678c4610cfa6c5f7732bac6627f1e81fc0f463ef973ab2db1dd35710b3
+DIST roadie-rails-1.2.1.tar.gz 42998 SHA256 25a3696df5e2b3c549bf29968de2288ff49edc0f25d9133b206aa4315b5c684c SHA512 9c51f03aadd8a1fb3b07b1d8fb5f069b3a5d84e9bbf0b04cb21ca28e5f43e4943ce941ad55045ccf46f077f3dfd179a742ef73d84132a3aafb20f4c9be4e6f4a WHIRLPOOL 96876dd45d15ed2f396488bda2e52d7d7503f01d880803c56e2e665bed4017a280034e2dad13cfb4c8ddc4c117057228e8db868190a60f13a120309760ecbed5
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 00000000000..ba967382ddd
--- /dev/null
+++ b/dev-ruby/roadie-rails/roadie-rails-1.2.1.ebuild
@@ -0,0 +1,41 @@
+# 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_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
+}