public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/roadie-rails/
Date: Tue, 12 Apr 2022 17:21:07 +0000 (UTC)	[thread overview]
Message-ID: <1649784050.9032a4cb4638946c93bb73d15ddbc1dc0d6a25ad.graaff@gentoo> (raw)

commit:     9032a4cb4638946c93bb73d15ddbc1dc0d6a25ad
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 12 17:09:52 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Apr 12 17:20:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9032a4cb

dev-ruby/roadie-rails: add 2.3.0

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/roadie-rails/Manifest                  |  1 +
 dev-ruby/roadie-rails/roadie-rails-2.3.0.ebuild | 55 +++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-ruby/roadie-rails/Manifest b/dev-ruby/roadie-rails/Manifest
index 3aaa01f90ea7..80a209167d3a 100644
--- a/dev-ruby/roadie-rails/Manifest
+++ b/dev-ruby/roadie-rails/Manifest
@@ -1,2 +1,3 @@
 DIST roadie-rails-2.1.1.tar.gz 56419 BLAKE2B 6a54797c77267a61ab63d72743fbd3f98d4137d917ddebf0335c30d03e5efb9e2907679237eea168384b54ea93bbe9be3aad4dcbf6364d411ebaa6e2ba7638fb SHA512 ceffe9746cded4f5dca83c614dc6ffb65203455775df9f56a402837018c0a322c7edad37ca05c72bc70fa8d19cfb4f9eba5b2fde1cbff7f8b28312e95140f353
 DIST roadie-rails-2.2.0.tar.gz 56005 BLAKE2B b3251d095074dcbaf6879f8344a9f6d1426abd2824a667f8ddb1d6be186c1c89bc3425972abc62495038b263780339840b792a961809e80d181c043e8f558012 SHA512 4042d549f19adb48144306d7f646d7462b72c3775b41e6ad68ffc75aad8704c28f828bd2928fc9cb3a97d0a2ebee86446b17d2ba31d3b1b163e668cb4d85bb0f
+DIST roadie-rails-2.3.0.tar.gz 61709 BLAKE2B 7616f27199f3ad6733becc62e0cb4946ad2d01ff78ed5ecb79f49b2ab91ff29f173450c90364ab62af68b62a1e2e64060f32e41032f8d0b7596934be9f34733b SHA512 454d1eda70cf055c7343d5ba80124e9663084464cbbe0811f770bf6ae4a39c0ac40332983cd86b6b92e3bf50bf1da722f5ba5e631f69a355f5b5be73d9502458

diff --git a/dev-ruby/roadie-rails/roadie-rails-2.3.0.ebuild b/dev-ruby/roadie-rails/roadie-rails-2.3.0.ebuild
new file mode 100644
index 000000000000..91f4b1b6d504
--- /dev/null
+++ b/dev-ruby/roadie-rails/roadie-rails-2.3.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27"
+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"
+
+ruby_add_rdepend ">=dev-ruby/roadie-3.1:4
+	|| ( dev-ruby/railties:7.0 dev-ruby/railties:6.1 dev-ruby/railties:6.0 dev-ruby/railties:5.2 )"
+ruby_add_bdepend "
+	test? (
+		dev-ruby/bundler
+		|| ( dev-ruby/rails:7.0 dev-ruby/rails:6.1 dev-ruby/rails:6.0 dev-ruby/rails:5.2 )
+		dev-ruby/rspec-rails
+		dev-ruby/rspec-collection_matchers )"
+
+all_ruby_prepare() {
+	sed -i -e '/simplecov/ 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
+
+	# Avoid dependency on optional bootsnap
+	sed -i -e '/bootsnap/ s:^:#:' spec/railsapps/rails_70/Gemfile spec/railsapps/rails_70/config/boot.rb || die
+
+	# Revert https://github.com/Mange/roadie-rails/commit/03acd8fddf651d43919e92db35d541ec4281c5fc for now
+	# Fragile test which is affected by dependency versions (unclear which)
+	sed -e 's/cd95a25e70dfe61add5a96e11d3fee0f29e9ba2b05099723d57bba7dfa725c8a/322506f9917889126e81df2833a6eecdf2e394658d53dad347e9882dd4dbf28e/' \
+		-i spec/integration_spec.rb || die
+
+}
+
+each_ruby_prepare() {
+	sed -i -e '/run_in_app_context/ s:bin/rails:'${RUBY}' -S bin/rails:' spec/support/rails_app.rb || die
+}
+
+each_ruby_test() {
+	${RUBY} -S bundle exec rspec-3 spec || die
+}


             reply	other threads:[~2022-04-12 17:21 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-12 17:21 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-11  8:17 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/roadie-rails/ Hans de Graaff
2024-11-18  7:32 Hans de Graaff
2024-07-17  9:38 Hans de Graaff
2024-05-26  6:32 Hans de Graaff
2023-11-11  7:14 Hans de Graaff
     [not found] <1693458827.ecbd87f662c2ca86842ec2ed4bad19fa319630f3.graaff@gentoo>
2023-08-31  5:13 ` Hans de Graaff
2023-07-16  5:30 Hans de Graaff
2023-07-16  5:30 Hans de Graaff
2023-04-08 23:20 Sam James
2023-03-30  9:53 Hans de Graaff
2023-03-13  7:14 Hans de Graaff
2023-01-21  8:02 Hans de Graaff
2022-09-04 10:54 Hans de Graaff
2022-06-26  6:20 Hans de Graaff
2022-06-18  9:49 Hans de Graaff
2022-05-15  8:50 Hans de Graaff
2022-04-18 12:14 Hans de Graaff
2022-04-12 17:21 Hans de Graaff
2021-09-28 20:05 Sam James
2021-09-28  0:31 Sam James
2020-05-24  8:03 Hans de Graaff
2020-04-25 12:16 Hans de Graaff
2020-03-29  8:58 Hans de Graaff
2019-06-03  4:51 Hans de Graaff
2018-04-29  9:42 Hans de Graaff
2017-08-24  5:49 Hans de Graaff
2017-06-02  4:45 Hans de Graaff
2016-08-28 23:25 Manuel Rüger
2016-04-29 19:52 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1649784050.9032a4cb4638946c93bb73d15ddbc1dc0d6a25ad.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox