summaryrefslogtreecommitdiff
path: root/dev-ruby/roadie-rails
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-04-16 13:07:24 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-04-16 13:07:24 +0100
commit0c100b7dd2b30e75b799d806df4ef899fd98e1ea (patch)
tree464c922e949c7e4d5d891fb2cdda5daee5612537 /dev-ruby/roadie-rails
parente68d405c5d712af4387159df07e226217bdda049 (diff)
gentoo resync : 16.04.2022
Diffstat (limited to 'dev-ruby/roadie-rails')
-rw-r--r--dev-ruby/roadie-rails/Manifest4
-rw-r--r--dev-ruby/roadie-rails/roadie-rails-2.3.0.ebuild55
-rw-r--r--dev-ruby/roadie-rails/roadie-rails-3.0.0.ebuild59
3 files changed, 118 insertions, 0 deletions
diff --git a/dev-ruby/roadie-rails/Manifest b/dev-ruby/roadie-rails/Manifest
index 8f636d2d71e8..7a5453e40dcd 100644
--- a/dev-ruby/roadie-rails/Manifest
+++ b/dev-ruby/roadie-rails/Manifest
@@ -1,5 +1,9 @@
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
+DIST roadie-rails-3.0.0.tar.gz 62724 BLAKE2B d9e960f97a491724b80d3064304e4875b1a12e7570e6c6ed8c373bf0dc73cf0828d1c5f3cb2ea57c485bbca832ce9cd9ba5c7ca798c4695a36b0c7925826eb91 SHA512 061635e9d5d6c4f752f8f105c0fef0b0ac9cd46cec7669b43295fecb80fd2232e211f033af9f9fe457a3c2c6ea04921ffcc9abe6f8b375f2df8b8bc8bfa64512
EBUILD roadie-rails-2.1.1.ebuild 1152 BLAKE2B 2f45b36d39da532391e21c071a8b163d34e5ef9b16f2a81a34bba365ce58e352ad29c07b25ea0defd2e7b1fa2a57e7d1d6496323aea58fa9fded841823d5b7fb SHA512 26bf371328d17e0966e57314a89662fb57783d5c8f42365a34adac82eea2db33faf1073a23095bfc50f8e107a592e2a86f94fa22ef08b1095d158c7d5b670077
EBUILD roadie-rails-2.2.0.ebuild 1521 BLAKE2B 9583e05c5ade8d94d1cb781f6ae739abad31c60f42f4208be7c495f9a5ad64e97088e90cf186c9a4757ed7fe6f4b041e6e5a2646d9bb0842fe447ea8c3c8740b SHA512 12224ac81e3ee15951139ab6c5bea4fc8894b25b92a0a16d28685bf7bad07af85b32e8d59079ef56f9c39826cd0dd379ba16bfc3ccbfa22a3a8c6b22552527d5
+EBUILD roadie-rails-2.3.0.ebuild 1852 BLAKE2B 56a283a43b360fd22637163e93104cd2c99850fa3ac5fe9e527388302bbdd1ef97e1ac00a01e0f1364b35a8399d07acc4f3eec7558fb12bd9f7b0f87b44b0263 SHA512 73bee5b74f594e6030ddfbbedea6f4a7f0fbc06c972592795c1d1622c6ee0ac77216188066c6ba74a1c5a8dab01a7e906add158bca85e31e7d881cb7b9ac65e2
+EBUILD roadie-rails-3.0.0.ebuild 1996 BLAKE2B 7a174a7633648a476c995a61774bd109404092bd5458dbde7782f95cbee541cb7363a24a19fffd7a108dc981db695e7d9ce9dcfbedc732696258d507fca9696e SHA512 69c8728da3ac852df38f66e2b12a1d5a3ffe211762c0a34294e8ddebd731cbe046507c6a61c8b679a0614257d1faa428f7595e53403114cb19af8429f74c76f4
MISC metadata.xml 335 BLAKE2B 6ca09a61dab3b094b39d25ed398ddf94202e32c9173a7df990d8929cad1d19f12619c72f2cb69a735b2428c16c3e27183d3cc0efd213e419f6c4474264eb8a11 SHA512 f2b96e715dd1be8143e1562aeaf866198c9756af2137708a20b602831184e32e57056f9f9cc0e26001f2831c2764ce34510145879451ada4f37735796593bf4b
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
+}
diff --git a/dev-ruby/roadie-rails/roadie-rails-3.0.0.ebuild b/dev-ruby/roadie-rails/roadie-rails-3.0.0.ebuild
new file mode 100644
index 000000000000..d9ea47486a58
--- /dev/null
+++ b/dev-ruby/roadie-rails/roadie-rails-3.0.0.ebuild
@@ -0,0 +1,59 @@
+# 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
+ dev-ruby/sass-rails )"
+
+all_ruby_prepare() {
+ sed -i -e '/\(simplecov\|standard\)/ 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_*/Gemfile spec/railsapps/rails_*/config/boot.rb || die
+
+ # Fix versioned sass-rails dependency
+ sed -i -e '/sass-rails/ s/>= 6/>=5/' spec/railsapps/*/Gemfile || 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
+}