summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/letter_opener')
-rw-r--r--dev-ruby/letter_opener/ChangeLog9
-rw-r--r--dev-ruby/letter_opener/letter_opener-1.4.0.ebuild31
2 files changed, 38 insertions, 2 deletions
diff --git a/dev-ruby/letter_opener/ChangeLog b/dev-ruby/letter_opener/ChangeLog
index 8900cce03074..311968cb772a 100644
--- a/dev-ruby/letter_opener/ChangeLog
+++ b/dev-ruby/letter_opener/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/letter_opener
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/letter_opener/ChangeLog,v 1.4 2014/12/13 07:36:44 graaff Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/letter_opener/ChangeLog,v 1.5 2015/05/23 21:23:40 mrueg Exp $
+
+*letter_opener-1.4.0 (23 May 2015)
+
+ 23 May 2015; Manuel Rüger <mrueg@gentoo.org> +letter_opener-1.4.0.ebuild:
+ Version bump.
*letter_opener-1.3.0 (13 Dec 2014)
diff --git a/dev-ruby/letter_opener/letter_opener-1.4.0.ebuild b/dev-ruby/letter_opener/letter_opener-1.4.0.ebuild
new file mode 100644
index 000000000000..e0d6a4fe66c1
--- /dev/null
+++ b/dev-ruby/letter_opener/letter_opener-1.4.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/letter_opener/letter_opener-1.4.0.ebuild,v 1.1 2015/05/23 21:23:40 mrueg Exp $
+
+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
+}