diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-11-22 07:05:37 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-11-22 07:05:37 +0100 |
commit | 0e452004f87a9b47dd02fa88c6fa5056377763f6 (patch) | |
tree | 56c408bea1ff2edf4b183b727ce6d6172e952af8 /dev-ruby | |
parent | dev-python/oslo-utils: 3.28.1 bup (diff) | |
download | gentoo-0e452004f87a9b47dd02fa88c6fa5056377763f6.tar.gz gentoo-0e452004f87a9b47dd02fa88c6fa5056377763f6.tar.bz2 gentoo-0e452004f87a9b47dd02fa88c6fa5056377763f6.zip |
dev-ruby/rspec-rails: add 3.7.2
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rspec-rails/Manifest | 15 | ||||
-rw-r--r-- | dev-ruby/rspec-rails/rspec-rails-3.7.2.ebuild | 54 |
2 files changed, 62 insertions, 7 deletions
diff --git a/dev-ruby/rspec-rails/Manifest b/dev-ruby/rspec-rails/Manifest index a3f6a41afcd3..bc12fe79cc78 100644 --- a/dev-ruby/rspec-rails/Manifest +++ b/dev-ruby/rspec-rails/Manifest @@ -1,7 +1,8 @@ -DIST rspec-rails-2.14.2.tar.gz 75049 SHA256 c5ec91e3c360033a7ef640d0a08b4f9167032b5d6d5cdee020f4df949f916a24 SHA512 2dcc568c578f3201dbdc6a757c84d0e689c3f221fe7cbd57849524680e40150c972436a2c6fcc1220e99c9d2e6c97c62bb6d4c5c59e9d6890a67caceb94ed5cd WHIRLPOOL d721b1dbec6cf4d35560868981087f5f7950353bb281d277fd17d012d71302986c5645b3d0c28bf61d270a2b90596d324ad072184eb195b642718f33f83ede4e -DIST rspec-rails-2.99.0.tar.gz 78448 SHA256 81ff54e638432c2b734ebefd5398f646960bcc72b92e381393d2420fc9525882 SHA512 0453450cf5a5435dc4f870ae7a37a299c6b17a4df04de730c14ca3d070808c9a9a70a6f485a1d0c6f4f8ddf3def6e4710ae5842e9e8f0b59c10b2177299670f4 WHIRLPOOL 0a5774bab31786cca0a3146641306cce38d2a809bc94a9728cc2c479be761b66246cb54bdf9185c478519434d95f7808f9d8f7f9ddecac1ffc01251cf9dcd5a6 -DIST rspec-rails-3.3.3.tar.gz 102963 SHA256 b0edc645a25c929deb39a7334894922cdf67cf7cb895bb728751d0d3a459fac9 SHA512 72c8a027d3ac7c8487c4dec23c91c7014456e6d8ed10f80f72e71c90e7bde0a3c005dd6b57985b1f3e32b32cb6d4610f651f8aa4b81156536a667a266e816603 WHIRLPOOL 78b00968fe75cd632b94bd4b2f244dc6ac50e708b9023baf882bba6ef76b827b681f55dd88be0220988c49d308b9bde4e3344456980db0d9a5654e39f65edd93 -DIST rspec-rails-3.5.2.tar.gz 123642 SHA256 14acd233d4b8341231e04abc72c3f16a364fe3bf57efe59a9f40ca49a08535b0 SHA512 4f7f03c740d7215591f9ac4fc9fb77f8d747b6446a831580518db2974b07806eab8ed29ade78afbdd981236f3c64b0d933f04be7cccf72c5e57fb85795dc7df4 WHIRLPOOL 88135186904d1b52e91a6967fd272faca4920d2af2c293955cdf76d6b0ef27127369fe189729447757f5ab0dabc5fd285c73816fae5ff4f5503db9b0e4513167 -DIST rspec-rails-3.6.0.tar.gz 127171 SHA256 3c47e0c209584d2001fa6035af7ca75aea5c6d16343a71adf4a821690246a696 SHA512 f093c96d2d0c5b75ca055bfd1e7dfb990a66288a84293c6b3bd4622dfad52716b4b60553eb83878fb566c2e4d8b25b91da2071727ef54e6dd8aa11babeb80f81 WHIRLPOOL 4fd84be57be22090ae41a3e5c19d068ba1cbbf627b66ec97cd3774921dd3c4ff550337abd6955a9183841bd9b55270dfef4c928909288cd3c4aa72650fce7992 -DIST rspec-rails-3.6.1.tar.gz 127123 SHA256 e31f7710bd797038f2ce8f7eb8af55f1381548b40464761d30cb3795e85c10c6 SHA512 4d83f04ab640fdee6da5d6eab2c2a3bf8e04ad2f55e1a31f1dffc3a85ea3e731f1a0ffa586825e12972120568226d52fd6c26ce261412ad69dcc73ed879e763f WHIRLPOOL bde3bd6d781130f8b8a64ff40e93e7528599fea0f8461542af34f6390ccdfa60ce7325675e60bedb1a695c450c71143b3dec9a1034b2d1992f39a1546267ee98 -DIST rspec-rails-3.7.1.tar.gz 128940 SHA256 1e8316160ec4bad0bd2321282d8f5089c179d6a3ca2f0bc4adf2c2a0b7b13371 SHA512 080d26297d722baf796463ecbb1aec29c925eddcb1e09a82479090d5b1d64c0320b0f370e4c0063ae0bddc3f7bc377d8cc5764b0464a8bc65300ec7ed78202d6 WHIRLPOOL a3a3ecef86e7a559eb207ba0b3274677ba1bd30c10265a96930c16d685f4bdc295d77c486d59f23f267e57fddb8d98dc92466ee360e9783b3b7247b0b95ba65e +DIST rspec-rails-2.14.2.tar.gz 75049 BLAKE2B 6b3fb32b85b050bcaf7f83cf489ba551bf0b718b0d6a14cd1ad352c6d8ba3633a82c75d8316d2e76e351e3f222b7b61bc37f03d3f385173fd608b354458a2fef SHA512 2dcc568c578f3201dbdc6a757c84d0e689c3f221fe7cbd57849524680e40150c972436a2c6fcc1220e99c9d2e6c97c62bb6d4c5c59e9d6890a67caceb94ed5cd +DIST rspec-rails-2.99.0.tar.gz 78448 BLAKE2B 242df5d1540de8516bec8f6fbf1c2072278489add524b526f6f125e55401c7fa6c80d8a6ef11faa7d908765b25c43ca826c8cc1aa71ed2599706ba8793105f6e SHA512 0453450cf5a5435dc4f870ae7a37a299c6b17a4df04de730c14ca3d070808c9a9a70a6f485a1d0c6f4f8ddf3def6e4710ae5842e9e8f0b59c10b2177299670f4 +DIST rspec-rails-3.3.3.tar.gz 102963 BLAKE2B 658ebdc9d6868bdd99f4179e0663c12286cf90b2521ff2dae3f8ae6bbe8984b11d447e9efee1d5f450fd58fb9a87375084018ecdce8b0567d0da678f43ec11b0 SHA512 72c8a027d3ac7c8487c4dec23c91c7014456e6d8ed10f80f72e71c90e7bde0a3c005dd6b57985b1f3e32b32cb6d4610f651f8aa4b81156536a667a266e816603 +DIST rspec-rails-3.5.2.tar.gz 123642 BLAKE2B 7580846be34bfdf542f2c15f83e4dcdea98929b5d2feb04c645b905497522f5ee050ada800ceab975204c9671e8833b9c3fb978e4b55d6cc75b2291a96a1fd60 SHA512 4f7f03c740d7215591f9ac4fc9fb77f8d747b6446a831580518db2974b07806eab8ed29ade78afbdd981236f3c64b0d933f04be7cccf72c5e57fb85795dc7df4 +DIST rspec-rails-3.6.0.tar.gz 127171 BLAKE2B 05a9e486840f724b15bf61bb72b870a27fca47ce28d242b9613e15f006293865d8c25e964896195b5fadbf7b73267ea7d1c6e6e3d17fb7016928b951dc28ae40 SHA512 f093c96d2d0c5b75ca055bfd1e7dfb990a66288a84293c6b3bd4622dfad52716b4b60553eb83878fb566c2e4d8b25b91da2071727ef54e6dd8aa11babeb80f81 +DIST rspec-rails-3.6.1.tar.gz 127123 BLAKE2B 9dd03d8483c1ef94ca7c7e561ca2a6aad82fb8400cfd5a48f40e3feff7597aaaf2a877d72d356ffca2455e6f3069a2d60c23ebf2ff3bdb8e95d954ff88832a3d SHA512 4d83f04ab640fdee6da5d6eab2c2a3bf8e04ad2f55e1a31f1dffc3a85ea3e731f1a0ffa586825e12972120568226d52fd6c26ce261412ad69dcc73ed879e763f +DIST rspec-rails-3.7.1.tar.gz 128940 BLAKE2B 8a5f707ca83970cd6c97f80c945b7f297fc86ba4ccbf2390d00ec0f8f0a5bc11d7eee822bae333d33d3f6acc2de7dc23f100eb59015861cc7265b2426a054676 SHA512 080d26297d722baf796463ecbb1aec29c925eddcb1e09a82479090d5b1d64c0320b0f370e4c0063ae0bddc3f7bc377d8cc5764b0464a8bc65300ec7ed78202d6 +DIST rspec-rails-3.7.2.tar.gz 129851 BLAKE2B b37619b4a953fa44ef402a0dea1531837932dc7bc147c08b29bf85dcad61c7ca72b30f28edc391ae05d5040dcc902d6571342bb51559de84ed0c93244deffbec SHA512 a1dbbde3539b09c33d85c9307126df09c508fcf39abc25a6438fb0582ec19049ee1888d7d17d256d33bba08c29792a0ec30dabc37d870a369580a58cb7ef03df diff --git a/dev-ruby/rspec-rails/rspec-rails-3.7.2.ebuild b/dev-ruby/rspec-rails/rspec-rails-3.7.2.ebuild new file mode 100644 index 000000000000..3ed686593009 --- /dev/null +++ b/dev-ruby/rspec-rails/rspec-rails-3.7.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +inherit ruby-fakegem versionator + +DESCRIPTION="RSpec's official Ruby on Rails plugin" +HOMEPAGE="http://rspec.info/" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +SUBVERSION="$(get_version_component_range 1-2)" + +ruby_add_rdepend ">=dev-ruby/activesupport-3.0:* + >=dev-ruby/actionpack-3.0:* + >=dev-ruby/railties-3.0:* + =dev-ruby/rspec-${SUBVERSION}*" + +# 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.2 + ~dev-ruby/rspec-rails-${PV} +)" + +all_ruby_prepare() { + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + rm -f .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 + + # Avoid loading rspec/rails explicitly since ammeter/init will also + # do this and loading it twice causes an error + sed -i -e '/rspec\/rails/ s:^:#:' spec/spec_helper.rb || die +} |