summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-01-17 07:04:00 +0100
committerHans de Graaff <graaff@gentoo.org>2018-01-17 07:04:00 +0100
commit6c8484ee59015ed0034a8cfa990abfc8c4cb5b50 (patch)
tree4595f79987ad4d9a641b7ac505ea83db1044874e /dev-ruby/letter_opener
parentdev-ruby/gettext_i18n_rails: add ruby24 (diff)
downloadgentoo-6c8484ee59015ed0034a8cfa990abfc8c4cb5b50.tar.gz
gentoo-6c8484ee59015ed0034a8cfa990abfc8c4cb5b50.tar.bz2
gentoo-6c8484ee59015ed0034a8cfa990abfc8c4cb5b50.zip
dev-ruby/letter_opener: add 1.6.0
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ruby/letter_opener')
-rw-r--r--dev-ruby/letter_opener/Manifest1
-rw-r--r--dev-ruby/letter_opener/letter_opener-1.6.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/letter_opener/Manifest b/dev-ruby/letter_opener/Manifest
index e306c7e8d57..305069c3a1c 100644
--- a/dev-ruby/letter_opener/Manifest
+++ b/dev-ruby/letter_opener/Manifest
@@ -1 +1,2 @@
DIST letter_opener-1.4.1.tar.gz 9107 BLAKE2B 533ad597f1cb8c8a6b04f8095af4ee06c9c981491ffe4656a9417bd20655814b9a1e63bb8db408a580eef0cc428eedae7199673cf2b39559cbe2c45f3be9c025 SHA512 0ebccb1a83e2c6e90b59455502c5c2cb383b4b725c40fe49e3d23f43a0b7ba5fd21aa14b75cce0738ac88f701cac36edef845ab3066c098c06c42c24aafc44cc
+DIST letter_opener-1.6.0.tar.gz 10457 BLAKE2B 6fbaaf60a8dcb939ab182767b1e44fa7c314c4320bb6989c8900b8caf496a04d73795f228be07be6676817b9641265cbf744720b3ef3223ad2d1d309a70cb463 SHA512 28418719b22e0e8138084544283f4b54912f7c5acb76881aa3cf60d4a004d2ea807cf17e139a2d28fc925129d5dae86b063a0ce141d2dfba8e2afb6577d61922
diff --git a/dev-ruby/letter_opener/letter_opener-1.6.0.ebuild b/dev-ruby/letter_opener/letter_opener-1.6.0.ebuild
new file mode 100644
index 00000000000..2254f363346
--- /dev/null
+++ b/dev-ruby/letter_opener/letter_opener-1.6.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+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-2.2:0"
+
+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
+}