diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-04-02 10:14:50 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-04-02 10:57:47 +0200 |
commit | 90dc33a9979e97adaea2338c0f06194baa3b0616 (patch) | |
tree | dcc23d6d1764546df704e4d376b3dde517f8ce79 /dev-ruby/letter_opener | |
parent | dev-ruby/letter_opener: drop 1.7.0, 1.7.0-r1 (diff) | |
download | gentoo-90dc33a9979e97adaea2338c0f06194baa3b0616.tar.gz gentoo-90dc33a9979e97adaea2338c0f06194baa3b0616.tar.bz2 gentoo-90dc33a9979e97adaea2338c0f06194baa3b0616.zip |
dev-ruby/letter_opener: add 1.8.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/letter_opener')
-rw-r--r-- | dev-ruby/letter_opener/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/letter_opener/letter_opener-1.8.1.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/letter_opener/Manifest b/dev-ruby/letter_opener/Manifest index 02fabff772bb..899245c2e193 100644 --- a/dev-ruby/letter_opener/Manifest +++ b/dev-ruby/letter_opener/Manifest @@ -1 +1,2 @@ DIST letter_opener-1.8.0.tar.gz 12661 BLAKE2B 49e2998b0d94fd89ddb72ad75e497bef9fe5ce5876897ce05925e6b3b37732c61350d2228f9c33e6fce555af301142dddb35f49f1f215b240aba3495713fc6f4 SHA512 d1985d5b67c581c976db3fb9199e5207d2a12609f49011d91a20fd71bd8b6f8e5b35b0cdbe7592ad7df8effa7de14f70d378e1f9323f5b6113b397c1992b75c5 +DIST letter_opener-1.8.1.tar.gz 12680 BLAKE2B 3204a5f6a33f722f255f126597655f6209d87764ff9b92ac770a35342906b9d192a62aade992709aaa55baa03046a342f48c4671d3a47a5fd5350bc2e7e7d0e1 SHA512 ce360bcb9f8c07e1319f74187ff85ef799d0a3387f0081ffe3cff2e8b52a9445c22b39fed4b729aee23fb67121c5e47b280ef502f95940aacbb6be31533185be diff --git a/dev-ruby/letter_opener/letter_opener-1.8.1.ebuild b/dev-ruby/letter_opener/letter_opener-1.8.1.ebuild new file mode 100644 index 000000000000..b5e49dfba9c7 --- /dev/null +++ b/dev-ruby/letter_opener/letter_opener-1.8.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +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 + + # Avoid tests that require some kind of browser + sed -i -e '/opens email/askip "requires installed browser"' spec/letter_opener/delivery_method_spec.rb || die +} |