diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-17 11:36:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-17 11:36:49 +0100 |
commit | e2db47eaae00ec33f8971db44b68645c5d3b9590 (patch) | |
tree | 3ec0cf16ddb5854017e134fabebe14bf8cb94a34 /dev-ruby/rspec-rails | |
parent | 616579b5d773c50af31ee56f00105d96ce641ca2 (diff) |
gentoo resync : 17.08.2021
Diffstat (limited to 'dev-ruby/rspec-rails')
-rw-r--r-- | dev-ruby/rspec-rails/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/rspec-rails/rspec-rails-5.0.2.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-ruby/rspec-rails/Manifest b/dev-ruby/rspec-rails/Manifest index 66e5ce3f2cc1..cd4bc9cca448 100644 --- a/dev-ruby/rspec-rails/Manifest +++ b/dev-ruby/rspec-rails/Manifest @@ -2,8 +2,10 @@ DIST rspec-rails-3.9.1.tar.gz 143459 BLAKE2B 87a691df63a438b15b5726a802632c16373 DIST rspec-rails-4.0.2.tar.gz 153760 BLAKE2B ba609fe316a27c21f140df41b63916cb9a70e77302e3dbe1fa565024e85504e63d4f7bd575117f91f9762bdadf5b462acadefdde1d36a6a731227fa2e2cd5ed7 SHA512 4b4567ba896a80fd487ddcca466d23d6b9e634354f8b70d0146ddbf0c119628406ba8aad4e16bce577e63cc4d3d476c270c4c2f1ad1956bde7529f318b717cf9 DIST rspec-rails-4.1.2.tar.gz 156296 BLAKE2B ca454065c8fb318148e745162514b9f21aaf6050ae72981d12a23b838bc7d985350c8abd60a36c07cb5c8c8bd80dd7b97b0dcb9ab6f5fb30ec4a6d99aaf189d4 SHA512 c0555d3b0d1ea91c9460981216cb0e4d1999e712daf18e5270aa20daee9667e3e669c918204e863bea0b6a97a63a79cdb1cd261d396743fdfbcc41109211ce89 DIST rspec-rails-5.0.1.tar.gz 156435 BLAKE2B e32016bdaf50fc4dccb0700320738aa0ef59e5fb7a3e351f68a1b9ad6d86be07850aa473166b0aee037f9dd2f21935c41c4ec502849ac5eeaf08ec602093d81a SHA512 65b212870524397a922dd7fc6a796c50b56d454378785b1ff36eb9e0fa9e08291bff0360a7e56710322a7edb33b800e55b9f46bacb92b3a65f53489307c57149 +DIST rspec-rails-5.0.2.tar.gz 156991 BLAKE2B a1700fad43ed2eb441d95307fd14fe8c0f96c51edaaddaa13a94b6c740711ddb96c9c7058051c1160746111e52c56a5685808532795aa0e32cab2f91b287b6fc SHA512 c2154f0cac634ead0109daf0e91782e9c770783104d3b2a4b0e097d46f8a9ebb49fe993733a7a3f6c4e3d037d5ab25f424cf8e3386a161172fb8c68e731b076e EBUILD rspec-rails-3.9.1.ebuild 1511 BLAKE2B c7b77b6d1e9ec550b58e829db92d7746a45709c07a39c5af021188f0ac39ecfdcdd4425125f4f41b2da4d93622beaaaad2133e49a5457a4b46f9d287e4de4d97 SHA512 1a8f965898cf9a073b18d456834dd4c02bb25f68b53f7d818a354be2ae531b1b5d1f3c5cff1a044fa9b6953648d6907014f0ba5b2fcd81082c36a4dbe78d8421 EBUILD rspec-rails-4.0.2.ebuild 1368 BLAKE2B dc977da2d3b56afa37dd6f4d1385e1ccccb0612eab23376fcc87274601787d789cdef33fe5c10db6cc3a739a2784b093e219118b4228e9ab5b5f23ddb4c2b148 SHA512 6136754bd318992589ec3c988bddbaa767b9c0ea55df2ab133806d51091fbcae8530d00ba2ccb2cd6dc42ada46b0a8c8c1c4a05c99e3b5eb8a4e86295c6e3aef EBUILD rspec-rails-4.1.2.ebuild 1555 BLAKE2B d97b1683244bf2bf54c19148dd5aae18eb673a79f5b3e95d33adf0636758c92200a2034b6ff070785d129ff7b5537d190321308577713c0521d4475bbd95ba01 SHA512 d7e405df0f5949eecfbd5f3c67bc440b7cbe446c11ddc2db0b93d7c7c29d0e8baf49de69052c134e47bebc2b4affaf6a9c6a6c4668491397f9f1b4177810cd5d EBUILD rspec-rails-5.0.1.ebuild 1628 BLAKE2B 19a274bb361718dc4ae3bcb900a32ad9ff43bdac8756e2a9daacccd102e2d96ecbd0bb9550c561dd4255bc3027c23b04ac2f62d76cf52cfb2307ca80e1cf5d28 SHA512 dab4ea66388a1f7ff63f32f454c09a07191e5da24f73c43aebdfe4fd155ed85cc29d3689985013fb61fb6c6e776f36c494afdb44e4d93e7b9fa512ea0ec96af1 +EBUILD rspec-rails-5.0.2.ebuild 1621 BLAKE2B 2c7d1f0a2e14228a12ed7c5132e689b594e0cdc97094b6a121f98bedb7054ac24365984c2a42c1e51ba8f969b59b31be12033c77387f863d48835b21fc0667ac SHA512 81fc34d57b4ed68370485f96c4af0e0172231c489a755b3620b35810f123257ff7e40baf33093c28cf025dfec591641ebaf9963e390b84881397dd3b8def54f9 MISC metadata.xml 343 BLAKE2B 3c1684a27906b05d1f72b32ec225db0fcd6e051bf9d6a3b4f83e3cc1ff63201410594a6b2a2664ca008b7756b6e98cbbcc3981136075dcc41a622f3ad3566b36 SHA512 bc9d8d9978e4bd845b10fabf5256e53a1a0c3835305f7e72502d1074e2692fdeaca15b2ecade251be8dbbae544167072a920db14a964644b70782f37b9d91369 diff --git a/dev-ruby/rspec-rails/rspec-rails-5.0.2.ebuild b/dev-ruby/rspec-rails/rspec-rails-5.0.2.ebuild new file mode 100644 index 000000000000..4728ae27c258 --- /dev/null +++ b/dev-ruby/rspec-rails/rspec-rails-5.0.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27" + +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:6.1 dev-ruby/activesupport:6.0 dev-ruby/activesupport:5.2 ) + || ( dev-ruby/actionpack:6.1 dev-ruby/actionpack:6.0 dev-ruby/actionpack:5.2 ) + || ( dev-ruby/railties:6.1 dev-ruby/railties:6.0 dev-ruby/railties:5.2 ) + >=dev-ruby/rspec-3.10: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", "<6.1"' spec/spec_helper.rb || die + + # Fix gemspec. + sed -e 's/git ls-files --/find/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} |