From 8d604838b855e375b3ff4058bdcfc12a34cd6476 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 31 Mar 2024 14:13:50 +0100 Subject: gentoo auto-resync : 31:03:2024 - 14:13:50 --- dev-ruby/rspec-rails/Manifest | 2 +- dev-ruby/rspec-rails/rspec-rails-6.1.2-r1.ebuild | 60 ++++++++++++++++++++++++ dev-ruby/rspec-rails/rspec-rails-6.1.2.ebuild | 59 ----------------------- 3 files changed, 61 insertions(+), 60 deletions(-) create mode 100644 dev-ruby/rspec-rails/rspec-rails-6.1.2-r1.ebuild delete mode 100644 dev-ruby/rspec-rails/rspec-rails-6.1.2.ebuild (limited to 'dev-ruby/rspec-rails') diff --git a/dev-ruby/rspec-rails/Manifest b/dev-ruby/rspec-rails/Manifest index ab2e7f11c0b7..dcb907aef58b 100644 --- a/dev-ruby/rspec-rails/Manifest +++ b/dev-ruby/rspec-rails/Manifest @@ -7,5 +7,5 @@ EBUILD rspec-rails-5.1.2.ebuild 1546 BLAKE2B bbb4289c5382ae628c0bd64998d79a51dd1 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.ebuild 1738 BLAKE2B 9483a6b1154a2e4cac9817bc97d439fe8475805cfd837a996f4d34e67d42461d7052499ab399850f0dc3de7679201f2db031c2ba277355d365ab41745c19c300 SHA512 b0a10b04b302d4285ef7d1ae2e45f6ca96c1429526d750e27ecb53d89a04894024d15caa0d5a526a391e5308f5b3f6d8cc2af7073cc313956c0e33aba7e2d244 +EBUILD rspec-rails-6.1.2-r1.ebuild 1824 BLAKE2B 34f9b8db0bda57531b238f0de5a2ea106d4f71b177c70b5b3763de99575ce4082d339a50f07a0741d496c52aca3ed361275fe32526e2534b87db8e02dd257da2 SHA512 5b901d38d7755b23058b69dfaf5b5a3b797bd830c9a92bfddc1e3676c47a5acaeecfeb772022134e714e796211bad34cbb858fbdec767ea88490179549e0318a MISC metadata.xml 344 BLAKE2B 22dcdd62747138dcdc6e21c019acb6aee50548e35a9189b0b597e603869519d1ca6ac5e6eb32cb6eafb2b313adb1b74f16d7d282d4d19bf9f7bd4913788a3137 SHA512 e6782747b02a80fe50926710100a46ec28d6f55419f2fbb0bff4ebdf1db7d4f43fda195f21570fb5e149990026dd69e3c234baac337e5a6c5fa0c8f28bd62247 diff --git a/dev-ruby/rspec-rails/rspec-rails-6.1.2-r1.ebuild b/dev-ruby/rspec-rails/rspec-rails-6.1.2-r1.ebuild new file mode 100644 index 000000000000..36279a08e464 --- /dev/null +++ b/dev-ruby/rspec-rails/rspec-rails-6.1.2-r1.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" + +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 +} diff --git a/dev-ruby/rspec-rails/rspec-rails-6.1.2.ebuild b/dev-ruby/rspec-rails/rspec-rails-6.1.2.ebuild deleted file mode 100644 index 97a54c4cf41b..000000000000 --- a/dev-ruby/rspec-rails/rspec-rails-6.1.2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32" - -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.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/activerecord:7.1[sqlite] dev-ruby/activerecord:7.0[sqlite] dev-ruby/activerecord:6.1[sqlite] ) - >=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