summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/letter_opener/letter_opener-1.4.1.ebuild')
-rw-r--r--dev-ruby/letter_opener/letter_opener-1.4.1.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/letter_opener/letter_opener-1.4.1.ebuild b/dev-ruby/letter_opener/letter_opener-1.4.1.ebuild
new file mode 100644
index 000000000000..bb9b7e6597b6
--- /dev/null
+++ b/dev-ruby/letter_opener/letter_opener-1.4.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Preview mail in the browser instead of sending"
+HOMEPAGE="https://github.com/ryanb/letter_opener"
+SRC_URI="https://github.com/ryanb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/mail:2.6 )"
+ruby_add_rdepend "dev-ruby/launchy"
+
+all_ruby_prepare() {
+ sed -i -e "/[Bb]undler/d" Rakefile spec/spec_helper.rb || die
+ sed -i -e '4irequire "letter_opener"' spec/spec_helper.rb || die
+}