summaryrefslogtreecommitdiff
path: root/dev-ruby/roadie-rails
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/roadie-rails')
-rw-r--r--dev-ruby/roadie-rails/Manifest2
-rw-r--r--dev-ruby/roadie-rails/roadie-rails-2.1.1.ebuild44
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/roadie-rails/Manifest b/dev-ruby/roadie-rails/Manifest
index a5ff0ff358a4..50e438ba9718 100644
--- a/dev-ruby/roadie-rails/Manifest
+++ b/dev-ruby/roadie-rails/Manifest
@@ -1,3 +1,5 @@
DIST roadie-rails-1.3.0.tar.gz 56899 BLAKE2B d4d4f1d56c581b0af894959ee985f522b6470ff27bf22c4589032b0cf049337556377bf5decbd3ca1882762d80371df372bd7c7ad811fb087bd720f26eeeb6c7 SHA512 af08f0a877993d5b3f6d13e80a4aacd4d2d13f8940a554f2f91289e119d754015773a67ef14052717244374e3636069fa8b39078cac2145c86cb35ec54ad53fd
+DIST roadie-rails-2.1.1.tar.gz 56419 BLAKE2B 6a54797c77267a61ab63d72743fbd3f98d4137d917ddebf0335c30d03e5efb9e2907679237eea168384b54ea93bbe9be3aad4dcbf6364d411ebaa6e2ba7638fb SHA512 ceffe9746cded4f5dca83c614dc6ffb65203455775df9f56a402837018c0a322c7edad37ca05c72bc70fa8d19cfb4f9eba5b2fde1cbff7f8b28312e95140f353
EBUILD roadie-rails-1.3.0.ebuild 1102 BLAKE2B 0ca2e11901df251388ff9990d5c75581b0e0f51719c6417f2d1f1c44a75da17b477e323f5fb47f9bc13b5c9ba21eb4011df517a62fdf4c634202364c445fa886 SHA512 8d0c10f43763125fd47e43daf8e25c75e2f83f84ca3c9f9190175cf24b65d1ff4e9e374fbc2bce419f9cfa0ab8ea7b19fda09d04b0e290d6df2377978ecfc631
+EBUILD roadie-rails-2.1.1.ebuild 1105 BLAKE2B 2f3db4fc90878695d397b67f0837aa137d7a62fd39c2e3cce1ddc1aa2fb94ab1908c0ee78e77cfb0acaddffe99df5fea67ad9b593c213248c73195ced7758c6e SHA512 9807aeed4ca63f4d494539341d3839a9a1d767ae9569d05b7ce598bc4b51801ef856388798463a0c8e13d11cde94ecba0509e16bf553abf960df05d1f284391d
MISC metadata.xml 334 BLAKE2B a90c3828ffee06b0b840e728c96e4a554aaba24f0b292fb2cc835348900a852579eaf74da7b588f07d4ebb985a37a530ab94b6f78dceae2ceea7ea056a944506 SHA512 0ebe3d25378f2e38ecea332a47c249238a8884c69372579f2fbd4c2017e07932062832091271a473641675f0adbb71c6f9d4ff49694533f11b5d609264c360dd
diff --git a/dev-ruby/roadie-rails/roadie-rails-2.1.1.ebuild b/dev-ruby/roadie-rails/roadie-rails-2.1.1.ebuild
new file mode 100644
index 000000000000..7d87cf6e720e
--- /dev/null
+++ b/dev-ruby/roadie-rails/roadie-rails-2.1.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="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="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+#RESTRICT="test"
+
+ruby_add_rdepend ">=dev-ruby/roadie-3.1
+ || ( dev-ruby/railties:6.0 dev-ruby/railties:5.2 )"
+ruby_add_bdepend "
+ test? (
+ dev-ruby/bundler
+ dev-ruby/rspec-rails
+ dev-ruby/rspec-collection_matchers )"
+
+all_ruby_prepare() {
+ sed -i -e '/codecov/ s:^:#:' Gemfile || die
+ sed -i -e 's/git ls-files/find . -print/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Avoid already removed rails version
+ sed -i -e '/rails_51/ s:^:#:' spec/integration_spec.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S bundle exec rspec-3 spec || die
+}