summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-06-03 06:49:22 +0200
committerHans de Graaff <graaff@gentoo.org>2019-06-03 06:49:22 +0200
commitefe5c4a1c771739d693cecbffcf97afd1406d142 (patch)
tree7254cce83e3c6657adb972b0fad35e733e93b059 /dev-ruby/roadie-rails
parentsys-fs/zfs-kmod: fail early on arm64 if CONFIG_PREEMPT set (diff)
downloadgentoo-efe5c4a1c771739d693cecbffcf97afd1406d142.tar.gz
gentoo-efe5c4a1c771739d693cecbffcf97afd1406d142.tar.bz2
gentoo-efe5c4a1c771739d693cecbffcf97afd1406d142.zip
dev-ruby/roadie-rails: add 1.3.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/roadie-rails')
-rw-r--r--dev-ruby/roadie-rails/Manifest1
-rw-r--r--dev-ruby/roadie-rails/roadie-rails-1.3.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/roadie-rails/Manifest b/dev-ruby/roadie-rails/Manifest
index 8c947c348d06..02a6fb9defae 100644
--- a/dev-ruby/roadie-rails/Manifest
+++ b/dev-ruby/roadie-rails/Manifest
@@ -1 +1,2 @@
DIST roadie-rails-1.2.1.tar.gz 42998 BLAKE2B 939eb1f448dcecdc80c15cd8072858bccfaeaf3f95549bd6568947612f70a9a12676526226d2800b88dc75fcd734d29b9ce6f755a7ad1be864a0866164423f6c SHA512 9c51f03aadd8a1fb3b07b1d8fb5f069b3a5d84e9bbf0b04cb21ca28e5f43e4943ce941ad55045ccf46f077f3dfd179a742ef73d84132a3aafb20f4c9be4e6f4a
+DIST roadie-rails-1.3.0.tar.gz 56899 BLAKE2B d4d4f1d56c581b0af894959ee985f522b6470ff27bf22c4589032b0cf049337556377bf5decbd3ca1882762d80371df372bd7c7ad811fb087bd720f26eeeb6c7 SHA512 af08f0a877993d5b3f6d13e80a4aacd4d2d13f8940a554f2f91289e119d754015773a67ef14052717244374e3636069fa8b39078cac2145c86cb35ec54ad53fd
diff --git a/dev-ruby/roadie-rails/roadie-rails-1.3.0.ebuild b/dev-ruby/roadie-rails/roadie-rails-1.3.0.ebuild
new file mode 100644
index 000000000000..90657c5ec6ac
--- /dev/null
+++ b/dev-ruby/roadie-rails/roadie-rails-1.3.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby24 ruby25 ruby26"
+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.3:*"
+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
+
+ # Avoid already removed rails version
+ sed -i -e '/rails_50/ s:^:#:' spec/integration_spec.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S bundle exec rspec-3 spec || die
+}