summaryrefslogtreecommitdiff
path: root/dev-ruby/rspec-rails
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/rspec-rails')
-rw-r--r--dev-ruby/rspec-rails/Manifest2
-rw-r--r--dev-ruby/rspec-rails/rspec-rails-6.0.3.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-ruby/rspec-rails/Manifest b/dev-ruby/rspec-rails/Manifest
index d57adc546d77..34bed0354363 100644
--- a/dev-ruby/rspec-rails/Manifest
+++ b/dev-ruby/rspec-rails/Manifest
@@ -2,8 +2,10 @@ DIST rspec-rails-5.1.2.tar.gz 157523 BLAKE2B b500aa53f8bd965f7b95e90403d46096073
DIST rspec-rails-6.0.0.tar.gz 161222 BLAKE2B feaff94148d8b33e17ae3de5b9636ba238381d46836bbeba8c6ddf03c1d7b84c0c9e78e13c6b5198342959433ca165c438007e45923a70cb23190d974b340506 SHA512 7b15a5f9313bb76e71a69f9158d64c662a4cef2f8aae7a20748281224a720d9f2555ec9eed3ebd3aa30ba21608d6492caf14fefdd14a84ea765a4e60439830f2
DIST rspec-rails-6.0.1.tar.gz 161289 BLAKE2B 80d91fe4c11848fa3625c1469dc14064dfdd93c54281c9dcaf71a845dc2b07ba8b290f045a59839d301278103d9e241c99781058886f1d792db3a7d8de80dd26 SHA512 a797dea121d902bb43add4d35e9a6d324cf52f28acea83ae4dd7a69e33e8fd531857f175a35869391c82900f55182ec4c2519667b04234fec54dc99b510a85e8
DIST rspec-rails-6.0.2.tar.gz 161156 BLAKE2B d76836190225337e619ff56679a1096eccdbb0490cc20954770fdeafa8ced0ed7dfe7e8e9cb7ae4915bda79ced6e3bfe3b4623b11b4d049e7a5011acec6e5510 SHA512 cc2aa476e0d14cdcb6de2e7a254a666161bc0a0b7bca54001329e09ed27c10b9ba12c30352ce37e73af3a32bcf7e17569699b35e90c7f753085c79c43f69d737
+DIST rspec-rails-6.0.3.tar.gz 161663 BLAKE2B 02fdd54524e469387264013e5da9035014533b01ba1164ffe8e3038679585af0943ad82c074f987230b98f837395e57817134466ad33e02c42650dd3ebafb707 SHA512 cf0e34fbc8f653713dd1ba184f01c9ad33ea8739b8c46d5e377387b7c6fc0ebc7999d1a7abbb0581735297ff8a3aa9c665d13616a1eefd6abd4a85cd657203d5
EBUILD rspec-rails-5.1.2.ebuild 1557 BLAKE2B 0b882114b8907acf8d17f0a6736dfe5ab2c0293419248e540c7a58c990eec21ecc51e796b4310709e226dc2beff076cf650a93de29df71661620b37eb00943ba SHA512 54c02d99cc9c148573d7f51f758f634a829a85e15d63affe29ebc1c4a5e00d7ec64b69f9acfaf48b799d7f3407a5551431fe3c4672f0f7f1930677cdffca809c
EBUILD rspec-rails-6.0.0.ebuild 1551 BLAKE2B 63b67ed2a3de16c932d5648d6f85299dca7f9a15a043867a5233fec999efefb06e2879e3e0dd40e00868ef9cb4afeefb60e72c7d2b15cbc4185f2038b670cb61 SHA512 a0f27fafecb2e63c103ca4e7416de6671c7f8fe4890289bb0140526cd55a71a6b952dca0324720e124c30ed7654db46dfa0b58b6a0526246f8958d9f6800a280
EBUILD rspec-rails-6.0.1.ebuild 1558 BLAKE2B 822b247d52dd701d426e9ca88757f9a7b991ee03ab8f566d76ee0cf6d17a0ffff03cc36ac9853dee58b24ea6264b4bdd87342740fff4f0dafa80af6b46727912 SHA512 f2efb45470f5a467188a0dd2d925f2458bff1ed43676b324da1ecbbe7435df9772dbde1d410def0ba58bfe501d9b2310558931104844a3e52393f12f1cce5a50
EBUILD rspec-rails-6.0.2.ebuild 1551 BLAKE2B dd49dd6d9a5bd862b013548288488f5101126e251b50df6f7914f4d156053712adf9ea89f29a6d184f8fc8d0d21ce03c4b06942c8c50d6ac812d9d1384d69ba4 SHA512 64fe3e7a7dd6829c52ec9720129736d71f270c6573d10f32c2d60bd83a66860d857552c78c68db1196f69b1f49f659a07ee18c5c9823d0c0a90673ed6617fa99
+EBUILD rspec-rails-6.0.3.ebuild 1551 BLAKE2B 00b8f9ac48dae4d60550e640a0e05d4f1c35b6203137454fb1e4fa5f26c4523218202be9470e77b6218e3627e1f1fad4ab80d5e95211d7d59827ced1bba7f747 SHA512 f13fff96777b9521c2c362b5d68841a305fa4cc63d63ad049ba0f042b2636f6511ab1a38d466876918f6f66428e93161b32a6104dd0f57f612447be8cf4abb35
MISC metadata.xml 344 BLAKE2B 22dcdd62747138dcdc6e21c019acb6aee50548e35a9189b0b597e603869519d1ca6ac5e6eb32cb6eafb2b313adb1b74f16d7d282d4d19bf9f7bd4913788a3137 SHA512 e6782747b02a80fe50926710100a46ec28d6f55419f2fbb0bff4ebdf1db7d4f43fda195f21570fb5e149990026dd69e3c234baac337e5a6c5fa0c8f28bd62247
diff --git a/dev-ruby/rspec-rails/rspec-rails-6.0.3.ebuild b/dev-ruby/rspec-rails/rspec-rails-6.0.3.ebuild
new file mode 100644
index 000000000000..6199f3194344
--- /dev/null
+++ b/dev-ruby/rspec-rails/rspec-rails-6.0.3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby30 ruby31"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+#RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="rspec-rails.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="RSpec's official Ruby on Rails plugin"
+HOMEPAGE="https://rspec.info/"
+SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ || ( dev-ruby/activesupport:7.0 dev-ruby/activesupport:6.1 )
+ || ( dev-ruby/actionpack:7.0 dev-ruby/actionpack:6.1 )
+ || ( dev-ruby/railties:7.0 dev-ruby/railties:6.1 )
+ >=dev-ruby/rspec-3.12:3"
+
+# Depend on the package being already installed for tests, because
+# requiring ammeter will load it, and we need a consistent set of rspec
+# and rspec-rails for that to work.
+ruby_add_bdepend "test? (
+ >=dev-ruby/capybara-2.2.0
+ >=dev-ruby/ammeter-1.1.5
+ ~dev-ruby/rspec-rails-${PV}
+)"
+
+all_ruby_prepare() {
+ # Remove .rspec options to avoid dependency on newer rspec when
+ # bootstrapping.
+ echo "--require spec_helper" > .rspec || die
+
+ # Avoid bundler-specific specs.
+ rm -f spec/sanity_check_spec.rb || die
+
+ # Avoid broken controller generator specs for now.
+ rm -fr spec/generators/rspec || die
+
+ # Test with a compatible rails version
+ #sed -i -e '1igem "rails", "<7.0"' spec/spec_helper.rb || die
+
+ # Fix gemspec.
+ sed -e 's/git ls-files --/find */' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}