summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-05-28 06:45:30 +0200
committerHans de Graaff <graaff@gentoo.org>2024-05-28 06:54:10 +0200
commit78e0ec6d388be67c97293ba1ad82d7b141f58688 (patch)
treea899e9b5ecc50890e8ee1169c9125f77ee2ddb29 /dev-ruby
parentdev-ruby/sinatra: stabilize 3.2.0 for amd64 (diff)
downloadgentoo-78e0ec6d388be67c97293ba1ad82d7b141f58688.tar.gz
gentoo-78e0ec6d388be67c97293ba1ad82d7b141f58688.tar.bz2
gentoo-78e0ec6d388be67c97293ba1ad82d7b141f58688.zip
dev-ruby/shoulda-matchers: add 6.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/shoulda-matchers/Manifest1
-rw-r--r--dev-ruby/shoulda-matchers/shoulda-matchers-6.2.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/shoulda-matchers/Manifest b/dev-ruby/shoulda-matchers/Manifest
index 951ec2dd21fe..5fab9290b643 100644
--- a/dev-ruby/shoulda-matchers/Manifest
+++ b/dev-ruby/shoulda-matchers/Manifest
@@ -3,3 +3,4 @@ DIST shoulda-matchers-4.5.1.tar.gz 243634 BLAKE2B 32d846d0dc3c8725a9bd0d60e858eb
DIST shoulda-matchers-5.3.0.tar.gz 244767 BLAKE2B 4a1a006702bb352acb338c71e0c3152bfce288c51d676c194ce3135d41057d119c02053c26e5e9079dee49514f3396f6f0155fd310063713a975d747221d8e34 SHA512 5794f1eafdb852732e35433b7ba06975a65ec25363b8c7dedf154644fbf65ecb8b929da538f1a49ad4e767b286f7e8910cd06fa6f41f5ccc6f0e8a62f498c56e
DIST shoulda-matchers-6.0.0.tar.gz 256754 BLAKE2B cf231b2f331d3b2f89a4db5e3146241c1274191b2a175bb98643b6bff2732ed0373214a9bcfca8201b3374038a385ea39725528af9479d9a0e5d3feb27cec07e SHA512 c3136f5b214416f5c8a47ddfeb7467255cdacd474480294ff0a19f6eded35f4db9431560fb6716a1a1dc23605f8ec4ede398682964b11a8c5181fab2665799c0
DIST shoulda-matchers-6.1.0.tar.gz 259348 BLAKE2B 50319c30eebea9c86642cc9942e0e8c4a21bf5359fab48fd88ec03c9df535f5bf6b65a44cfc2ab0a7bf79e3f99788ce19a76f043c8a9a8514b8f27f406d05db0 SHA512 c990f3fbbb0b505583e3a2bf0c0e09ee38fa914617e3a1952e638964df94e5ec452d6610a1437ecfae931f313dbb8df629bf516ed8bfa90d67e9fcbc6cfd0d0b
+DIST shoulda-matchers-6.2.0.tar.gz 264725 BLAKE2B 9b739fbcf93f5e254a1f7ba62bcc11ad5e06110d4aa25e88823c2d65c0fe59af28dcffcb9e576b65d93738250fcd1851341d3e64145f1720a5dfe398befa4a63 SHA512 a0fdfde18a0c5ab2b8f7276ddc714646aff3c0ee69a8b1ff33a6a1d64af2c21c51e40b9a11c77bd1b4f9fca66f3a818aac3c036795da0f271eaea14c26fd3331
diff --git a/dev-ruby/shoulda-matchers/shoulda-matchers-6.2.0.ebuild b/dev-ruby/shoulda-matchers/shoulda-matchers-6.2.0.ebuild
new file mode 100644
index 000000000000..2e226c418752
--- /dev/null
+++ b/dev-ruby/shoulda-matchers/shoulda-matchers-6.2.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRAINSTALL="CHANGELOG.md README.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Making tests easy on the fingers and eyes"
+HOMEPAGE="https://github.com/thoughtbot/shoulda-matchers"
+SRC_URI="https://github.com/thoughtbot/shoulda-matchers/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+# Fedora manage to run the tests, but it's still pretty tricky.
+# https://src.fedoraproject.org/rpms/rubygem-shoulda-matchers/blob/rawhide/f/rubygem-shoulda-matchers.spec
+RESTRICT="test"
+
+ruby_add_rdepend ">=dev-ruby/activesupport-5.2.0:*"
+
+all_ruby_prepare() {
+ sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die
+
+ #rm Gemfile.lock || die
+
+ # Avoid Appraisal and Bundler.
+ #sed -i "/current_bundle/ s/^/#/" \
+ # spec/acceptance_spec_helper.rb \
+ # spec/support/unit/load_environment.rb || die
+ #sed -i "/CurrentBundle/ s/^/#/" \
+ # spec/acceptance_spec_helper.rb \
+ # spec/support/unit/load_environment.rb || die
+
+ # Avoid git and sprockets dependencies.
+ #sed -i '/def rails_new_command/,/^ end$/ {
+ # /rails new/ s/"$/ --skip-git --skip-asset-pipeline&/
+ #}' spec/support/unit/rails_application.rb || die
+ #sed -i '/def rails_new_command/,/^ end$/ {
+ # /rails new/ s/"$/ --skip-git --skip-asset-pipeline&/
+ #}' spec/support/acceptance/helpers/step_helpers.rb || die
+}