diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-01-22 10:09:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-01-22 10:09:44 +0000 |
commit | 09351e78166b5e864197c4456ebae3f89dd0bed9 (patch) | |
tree | 41a96399f56ed3aa399006871bfce4430db84aa2 /dev-ruby/rspec-rails | |
parent | c8a77dfe4d3d307c1d5dd2650b7297447d8b609d (diff) |
gentoo resync : 22.01.2019
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-3.8.2.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-ruby/rspec-rails/Manifest b/dev-ruby/rspec-rails/Manifest index 7193feb8730b..730d83cc8b05 100644 --- a/dev-ruby/rspec-rails/Manifest +++ b/dev-ruby/rspec-rails/Manifest @@ -1,7 +1,9 @@ DIST rspec-rails-3.7.2.tar.gz 129851 BLAKE2B b37619b4a953fa44ef402a0dea1531837932dc7bc147c08b29bf85dcad61c7ca72b30f28edc391ae05d5040dcc902d6571342bb51559de84ed0c93244deffbec SHA512 a1dbbde3539b09c33d85c9307126df09c508fcf39abc25a6438fb0582ec19049ee1888d7d17d256d33bba08c29792a0ec30dabc37d870a369580a58cb7ef03df DIST rspec-rails-3.8.0.tar.gz 134290 BLAKE2B 2d148a62fb92bf73728da5a18d5d8263bbd38e2036d1c47a2bdc2823ff72cc2c4a1fafee1c66d89665b21ce9b9a907a9bdaf726cafa7345b84ab49d0d3053426 SHA512 810dd372d6889847fd5d47a29d359a72fcbc4fdca5d1b35bfbe75fefc293b208ff062d88e2159783eda152a5ab1657d3a55619a9a11dd8bde5993cd807ca37da DIST rspec-rails-3.8.1.tar.gz 134824 BLAKE2B 3531f4dcbe143df2b15b3ba6dda42f4b41236d184a9697fe604522cd01f3e2bb4d5ba9de94ddb4f9fc71cfdbe485f3bbf11478a5d635b69e94c10c855935faae SHA512 7628ed24e3ef7c34aa047100bd956dca9b1443219332d020af65ca7f3ccb5618ec2377535e981cef23b76ed279145e1bab39f17dfed9df8b66083e4fe3e35f37 +DIST rspec-rails-3.8.2.tar.gz 135513 BLAKE2B deae49ce0ce97c78fafe910cb73a196a404711adadb896a13bb40c82ecd6f2fd28129c0267057ce739d648ffe19bdf61799512bac97e9da3be03e0f8dd43d130 SHA512 02d60a0135b4f4b52e2721f9a79363310b60acb8252d4bb44220d37dd346605a6cd3db6525d2d8d77b9471dd91888c9a3dd02e541012f39d0d47c33f38c98bbe EBUILD rspec-rails-3.7.2.ebuild 1448 BLAKE2B edb9e628276bc97d90ee7f9272145da0f03fc50d3736362e45851b113dace36b93544fef8c8a4cefe68d93d265d2bd7bc4e4ab9c6f523147a19c265f20e60c40 SHA512 b8a8b28c585ea62e3d29c07b01e0758503647561b3f0b798354ff3097433890245baf3b4b83491620b1575d77f5941867adfc4c5bd27e0957cf224def09ab466 EBUILD rspec-rails-3.8.0.ebuild 1426 BLAKE2B 15d65f277c53fe44b4086cd3f193ef8051903ceba8794778fe6ed225023ec69ffb1ba983975cb504403827d5e3244400d634a336bdec210dbe94480da420cbd0 SHA512 47530a113d3250174a4a4741c951189d4051894e07cdcd856ac01a7a4104faf44f80a472ba502eea3003377b9a6d70cefef9cfcad99d2a59a1fe060759383933 EBUILD rspec-rails-3.8.1.ebuild 1424 BLAKE2B c46ad4c24da00b4bc03f1d751c21fb94e7d7c857b3068e33b87cb9ebd05b19fc3f93dd48db1365738ee7afed62aeaa1a411fb3a9320d5b859039b698906adfac SHA512 5db6b80e8c59bf607f877c894cb91ce0fd2459d6b35c7c67169cee5258bbefbcf94a39cbda6b0bbcb6b9f58850a2a1aa73c86be4413eec5454fdc4ad6ac587a9 +EBUILD rspec-rails-3.8.2.ebuild 1424 BLAKE2B 8a015c509bfb9cc1ac3e2fb95bb2576f0275714183668c3cc53fd027e8302abb1719e3afa3175647b448d75e0174cdeb5d4f73576e95b71e052176fab701dce4 SHA512 2732e4ffe8241ea6869222524c91852e4a402780dfec3ac7577a88c310d05092ab7c9847d9d485e173705b5064d7afa227a15991ce35454c9c3b6425d77d8263 MISC metadata.xml 343 BLAKE2B 3c1684a27906b05d1f72b32ec225db0fcd6e051bf9d6a3b4f83e3cc1ff63201410594a6b2a2664ca008b7756b6e98cbbcc3981136075dcc41a622f3ad3566b36 SHA512 bc9d8d9978e4bd845b10fabf5256e53a1a0c3835305f7e72502d1074e2692fdeaca15b2ecade251be8dbbae544167072a920db14a964644b70782f37b9d91369 diff --git a/dev-ruby/rspec-rails/rspec-rails-3.8.2.ebuild b/dev-ruby/rspec-rails/rspec-rails-3.8.2.ebuild new file mode 100644 index 000000000000..0a4a89cc99e7 --- /dev/null +++ b/dev-ruby/rspec-rails/rspec-rails-3.8.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +inherit ruby-fakegem eapi7-ver + +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="3" +KEYWORDS="~amd64" +IUSE="" + +SUBVERSION="$(ver_cut 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 +} |