From 491d0101c89d81dec507f28215b3cb094800d600 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 22 Jun 2024 00:11:38 +0100 Subject: gentoo auto-resync : 22:06:2024 - 00:11:37 --- dev-ruby/rspec-rails/Manifest | 2 + dev-ruby/rspec-rails/rspec-rails-6.1.3.ebuild | 60 +++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 dev-ruby/rspec-rails/rspec-rails-6.1.3.ebuild (limited to 'dev-ruby/rspec-rails') diff --git a/dev-ruby/rspec-rails/Manifest b/dev-ruby/rspec-rails/Manifest index dcb907aef58b..4da47f2beda4 100644 --- a/dev-ruby/rspec-rails/Manifest +++ b/dev-ruby/rspec-rails/Manifest @@ -3,9 +3,11 @@ DIST rspec-rails-6.0.3.tar.gz 161663 BLAKE2B 02fdd54524e469387264013e5da90350145 DIST rspec-rails-6.0.4.tar.gz 163654 BLAKE2B d8680bc410a63b746d568b3a71a1eb4cdac4b620740fe87e898187855e2340fb0fc0dd9e12d02ae738e2c4f68e085e75b58640c77dca0221901104ad8a6de40d SHA512 1090a76fcad4deeb2a9b8a4895dbe3a884887768f607e26e1b8903a2968c187dcf3361492cfa19a2638b1516948a94e5b0a6688a02041d94357ebe0f724f7039 DIST rspec-rails-6.1.1.tar.gz 165310 BLAKE2B a8c40c203a756a23344c480afd59a9fbd626a6ba4de3716510797269d51d2060d3a719182a174d6225ceb18581f74cde2ad3cc5b71553e71634dbb0894500c55 SHA512 063de268b98aede351437829ecf27151b6015943bc27aa32b01968713a365f75036f357b0516c33a452c2ba5f35c7629de602774054e455eb642a7c67bd57441 DIST rspec-rails-6.1.2.tar.gz 165532 BLAKE2B ade1da3b3fa080d05b664aff2806e5f95ce873ca777676d4e4d761b541a5ab40308f2c0a12d1d29961e39029fb7918227fafc3d3a0f7d3d7438755462f2d623d SHA512 a25424fa2443c49ebec238d30a059a2ce3cc051a391179abd77aacd96ee532963f0804cf75c27fa233b97638d6a2022ebf678b2dc44451ce3a0b54425bf25d2d +DIST rspec-rails-6.1.3.tar.gz 167344 BLAKE2B 08f2b4c7127bf39d589c68ec0e8e75ffd98a2567b171a0b9cc84a092264d8c1e6f6579623e14a8211f21bd3eb7bd20c1182078308fd8bf2eca07a2b06d77f1f9 SHA512 dd2e5abc67970e27788a2a24cf24c78e59ffe0a4ff64e044055c329f340bfd8eac691782d2b8f642690df4a2ebaac2b33965ac7da3221ea4a833ae05697f983e EBUILD rspec-rails-5.1.2.ebuild 1546 BLAKE2B bbb4289c5382ae628c0bd64998d79a51dd1974ef2be52d671270f1fc1060760f3daded54cb46f452cc2f0f656411f0d54207a59ae438b33b9314421786880e19 SHA512 38352010d95b419a8d652c186938fb798b75991cf4235aa8bb6ebf40fb8a55ecaa03ae9816a91cb5f5ab35cbd0222ac3eb3b0237f9ccc3c997c53080db862f0e EBUILD rspec-rails-6.0.3.ebuild 1634 BLAKE2B 232908e599fea9dac78ac5362b6bba78002106b6d4562f306d5bc58962f5c50d0102ab5d54e37f197dee367fdcd82c099240f02e8d9eeee2665a7fe30e5ccf0f SHA512 3181a8ba73480c252d7bbb90ad824d020cda89e008242aeb1cf8269b2451b0eaf438e12a394673cdd8d06de30f7f0f07149766d9dccaa9301683db5b3698409a EBUILD rspec-rails-6.0.4.ebuild 1627 BLAKE2B ae86ad3bc767b9ef4ea16e97eee5c7716983b6412ddde6c77ed0cc3ef404e4c2071a63e9581a3d98d026f46b3eb9bb42b61e14fe084d39779f59166112970ec3 SHA512 cc2b474439c430f1acf4f97f2c4b4b10955402da4959f668c639f703ff5206e8b9101d3190808ede6cd03f3bac1fd87f09db602b71f7314d7218dcdb34e1172f EBUILD rspec-rails-6.1.1.ebuild 1738 BLAKE2B 9483a6b1154a2e4cac9817bc97d439fe8475805cfd837a996f4d34e67d42461d7052499ab399850f0dc3de7679201f2db031c2ba277355d365ab41745c19c300 SHA512 b0a10b04b302d4285ef7d1ae2e45f6ca96c1429526d750e27ecb53d89a04894024d15caa0d5a526a391e5308f5b3f6d8cc2af7073cc313956c0e33aba7e2d244 EBUILD rspec-rails-6.1.2-r1.ebuild 1824 BLAKE2B 34f9b8db0bda57531b238f0de5a2ea106d4f71b177c70b5b3763de99575ce4082d339a50f07a0741d496c52aca3ed361275fe32526e2534b87db8e02dd257da2 SHA512 5b901d38d7755b23058b69dfaf5b5a3b797bd830c9a92bfddc1e3676c47a5acaeecfeb772022134e714e796211bad34cbb858fbdec767ea88490179549e0318a +EBUILD rspec-rails-6.1.3.ebuild 1831 BLAKE2B b92bba8b288f99acdb73a43f9672a3e561c1d309ae13ef6a6befbb96bc0a7569683d9a64f1cbec54dd6cc298d95316052e9a75264e01f2cc29944fa2a950d368 SHA512 4eb09b1e308ecc8f628fa8f8a839065146d8d70e05e333b0b8f25fcf1cc5ada9d15c90dc196833e4996b9d069879b010e6af90944e4cb3abf14f0ccae54fcca5 MISC metadata.xml 344 BLAKE2B 22dcdd62747138dcdc6e21c019acb6aee50548e35a9189b0b597e603869519d1ca6ac5e6eb32cb6eafb2b313adb1b74f16d7d282d4d19bf9f7bd4913788a3137 SHA512 e6782747b02a80fe50926710100a46ec28d6f55419f2fbb0bff4ebdf1db7d4f43fda195f21570fb5e149990026dd69e3c234baac337e5a6c5fa0c8f28bd62247 diff --git a/dev-ruby/rspec-rails/rspec-rails-6.1.3.ebuild b/dev-ruby/rspec-rails/rspec-rails-6.1.3.ebuild new file mode 100644 index 000000000000..c4d4fc38dd9f --- /dev/null +++ b/dev-ruby/rspec-rails/rspec-rails-6.1.3.ebuild @@ -0,0 +1,60 @@ +# 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_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="test" + +ruby_add_rdepend " + || ( dev-ruby/activesupport:7.1 dev-ruby/activesupport:7.0 dev-ruby/activesupport:6.1 ) + || ( dev-ruby/actionpack:7.1 dev-ruby/actionpack:7.0 dev-ruby/actionpack:6.1 ) + || ( dev-ruby/railties:7.1 dev-ruby/railties:7.0 dev-ruby/railties:6.1 ) + >=dev-ruby/rspec-3.13: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/activerecord:7.1[sqlite] dev-ruby/activerecord:7.0[sqlite] dev-ruby/activerecord:6.1[sqlite] ) + || ( dev-ruby/actionmailer:7.1 dev-ruby/actionmailer:7.0 dev-ruby/actionmailer:6.1 ) + >=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 +} -- cgit v1.2.3