diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /dev-ruby/actionpack | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'dev-ruby/actionpack')
-rw-r--r-- | dev-ruby/actionpack/Manifest | 12 | ||||
-rw-r--r-- | dev-ruby/actionpack/actionpack-5.2.4.5.ebuild | 67 | ||||
-rw-r--r-- | dev-ruby/actionpack/actionpack-5.2.6.ebuild | 2 | ||||
-rw-r--r-- | dev-ruby/actionpack/actionpack-6.0.3.5.ebuild | 59 | ||||
-rw-r--r-- | dev-ruby/actionpack/actionpack-6.1.2.1.ebuild | 62 | ||||
-rw-r--r-- | dev-ruby/actionpack/actionpack-6.1.3.1.ebuild | 62 | ||||
-rw-r--r-- | dev-ruby/actionpack/actionpack-6.1.3.ebuild | 62 |
7 files changed, 2 insertions, 324 deletions
diff --git a/dev-ruby/actionpack/Manifest b/dev-ruby/actionpack/Manifest index ee765bde3e6d..30396af0ab6a 100644 --- a/dev-ruby/actionpack/Manifest +++ b/dev-ruby/actionpack/Manifest @@ -1,17 +1,7 @@ -DIST rails-5.2.4.5.tgz 8826076 BLAKE2B 41a13708f72f0c281af7b6c97828d873b9431913315e155bec2f798b83a9fd214a0176a93ba74d96b48718dc900b6737a62f5d6593ef7f5bb0b8430c96e5e234 SHA512 452e0649638daf57e8f7c6131bb048c0d960e875fbc3596678404965fd1438a5151858b22c2441a927509337b6a256671b53c24ee35ff477e18153af358b08af DIST rails-5.2.6.tgz 8841270 BLAKE2B 8e813f376446ef249aa3b48934d3cb5ae125c09c54353cc93557c3bee4f23e47ae7ceffab75d5cbfb691daed85149d9054337b468a0010bc5c7ebb879502396b SHA512 465e017591a9962a2e0dec2eac9669d5f507d0904e9eec50fbc8848d804ba5f1eb3220fd5acc949845f048f59cfc5e43f099707650edf301d6595e70e33888c7 -DIST rails-6.0.3.5.tgz 18566999 BLAKE2B b07d1d6c1e2ebaaf3c337350bb08fe339e324818543dcd7163fe3c7ff56f50c5556f369badeb4fd48afa6d95449e18e57fa1b05db6ce544d38ee2f58bd3aa513 SHA512 c9d6bf689aeb40fb728fb681b65c48ebd51de893060ddac37a1fdefbb0d420cee3a456f148d96d577c651c9d7b994efdb3319fa865cb012af8712052a20a0bf3 DIST rails-6.0.3.7.tgz 18570545 BLAKE2B 6433705f18075e286d14d25dd87def61a3ac9c7a8fc5160f37b9a6f6ab0d7f36a7235602713888df45e55cf4afb56f922c476989304397d422016dc34f147353 SHA512 91612223c9461731741c056a700879ce274a177737fd19ed6341ce07acfa4e4862728ef12bfa1a70cdb3e5c8492ad0da6aae2e7d0ed5ad32d680d8bd8c3ab102 -DIST rails-6.1.2.1.tgz 10990239 BLAKE2B ff1c9781eab32fda320cb2b9efc92e52ed155b659a43385781bfa422d03653879367bedc7ef4e3accb0a51b7962054eecd5202fd1e1a49ff7946c2f9388a69df SHA512 61e8bf0568c0b06a2c8f6c5e4ae6becc521646a5cdd3d6832c3b52998326a4bd437ad2bd284c010d445a3dc54bf519f7fbd2e9d4368c91b7d2a9abe46e3a276d -DIST rails-6.1.3.1.tgz 10991507 BLAKE2B 6798364c4d8c6339269950b5b583cbaa4c6d86b7880e7fa181bb6e52bb0d18b051eec233b2819af1668dcee8c4f40765fa9c46c6bb36329d0eda19f559a7472b SHA512 8c40d739b8300eec5d054bb0481133995875fa0bf854c1f5febceba7c0d156c9f249952687f0132bbc36ac59606013625b395faa301173ecdd247b4de0bc168b DIST rails-6.1.3.2.tgz 10992572 BLAKE2B ec4b7c33180ecc6b9dc9bd0270c9c03e48a774a7c0fc1d79638bd6b52a4c9831f59c5d8714e24c9611ac9e8ad03dddc664c2969da8be568eade76464c04d5697 SHA512 3b30facfe0555c3161b5fc50efb7dc1f3df0eeadbfa19f16df3ebdb4877d6fb9a978ae7a6713a502d79e6d8f1be20157bd5ef64919fdd558cad89492cc2d9672 -DIST rails-6.1.3.tgz 10991190 BLAKE2B d7a01ad39d4caaee1eaeed9909255fe16c3bd224c61408aca8e319e21ea36566a5be4bbaff37d4d19ee88ec2914e08f85e4e71c970ba39ade8b86f8ba4603b25 SHA512 ec6e871e3226c3efa5dc7f59cbd1819b45ab0d1a21b39b8c2d76022fff761fb268f79c7b560b987af245d9e305ecc4517379de3769d468b5a548005f8533044a -EBUILD actionpack-5.2.4.5.ebuild 2217 BLAKE2B a6c65fb3bceb9176abbab2950749f5172f0a90e7d4cc002f8685519f56b69a0f3f949052aa515eeea6cef63c4f532ef7bf68a48b23f38451ba30566a09601185 SHA512 363e0a19a734ad23c9d7a500a42072a6073046dd8deaa7fed4db20a4476f76ca4cf1714c97836001445795e4ee2f28a73f52b48fae1384b8b6b77db7f81e3b3e -EBUILD actionpack-5.2.6.ebuild 2211 BLAKE2B eed159c18478215d8d5fa710d8656a2039ffda06ddb9edb215c67faa2cb614c9be58e781bd90b497949035a42601523d6becb590ff064c476982e84ffae128cd SHA512 0ef781335fb7da727df8da4432097829b3b1e49643f6b22ae660e20fa2ac191455833caeea85e944097a61d54e60a76b2d8badd0dfba3f2c05cf06f6908e012c -EBUILD actionpack-6.0.3.5.ebuild 1816 BLAKE2B b902dac6018601ef750da4e242fd2ac8860bc160ecb85d4f9446942f15339afa2f2a087b5168d7f92c9bf4583b58eb601be1e36c07af3cb7f3cdd728d3820666 SHA512 bb99bc2c41925cadaaba9b979077823d1375dde7af3f869dfdd7566d90b51d66ea16dbe7d8409f93102bf90a5d3f6243fbcd68a341b1e6ac8e481061272982d4 +EBUILD actionpack-5.2.6.ebuild 2210 BLAKE2B b2a432e92d419452ead9e92b3e78d83ee82d2d8a21f8f7c1bef69820f0bbf657aaa634fa18e00cf73edab6332b85906336a7f3a3a7d15dad469a4f2f32cfacfc SHA512 cd4e8d49cd04507d1ab995181df66d6793c422efed150887fbdab3dc7abc328ad76a958b149b4f202dc111635141fe49188470b5233b36b73721935cbe5be3f5 EBUILD actionpack-6.0.3.7.ebuild 1920 BLAKE2B 7556855bb223a6b73fa72c7b3f8c30e0fe65abaebd00422018304e7fcd201ce5260be87f0472b3db97b78fc052375c958bd0500b5963425f4f3c55a3cea4f743 SHA512 877d56f35377cbaf77c8f32db3d3bdbb70b037275920b9cefcafb9e907e9a610632a66c72fb12b2319dc97b5b1e4d329ae9fd76cc99692d0d442176674dc0ade -EBUILD actionpack-6.1.2.1.ebuild 1997 BLAKE2B 0c4c7223136d8ad54a947da1eb191eba6ef7b85493cb6ab02b2c2fe956821c8e498dc61bcaa86d33a1fbd8e679b00b5166f3d6f1d553ce89afe87d4bb59499ff SHA512 b3815fbf26534cab8988ae02e5e3b87cdb19cccd0ad5c7c4a93167eb55b41feb374b91a1ca64b89930b389648d0c24812eb7bdd1cc1f470079193dd3c1374128 -EBUILD actionpack-6.1.3.1.ebuild 1997 BLAKE2B 0c4c7223136d8ad54a947da1eb191eba6ef7b85493cb6ab02b2c2fe956821c8e498dc61bcaa86d33a1fbd8e679b00b5166f3d6f1d553ce89afe87d4bb59499ff SHA512 b3815fbf26534cab8988ae02e5e3b87cdb19cccd0ad5c7c4a93167eb55b41feb374b91a1ca64b89930b389648d0c24812eb7bdd1cc1f470079193dd3c1374128 EBUILD actionpack-6.1.3.2.ebuild 1997 BLAKE2B 0c4c7223136d8ad54a947da1eb191eba6ef7b85493cb6ab02b2c2fe956821c8e498dc61bcaa86d33a1fbd8e679b00b5166f3d6f1d553ce89afe87d4bb59499ff SHA512 b3815fbf26534cab8988ae02e5e3b87cdb19cccd0ad5c7c4a93167eb55b41feb374b91a1ca64b89930b389648d0c24812eb7bdd1cc1f470079193dd3c1374128 -EBUILD actionpack-6.1.3.ebuild 1997 BLAKE2B 0c4c7223136d8ad54a947da1eb191eba6ef7b85493cb6ab02b2c2fe956821c8e498dc61bcaa86d33a1fbd8e679b00b5166f3d6f1d553ce89afe87d4bb59499ff SHA512 b3815fbf26534cab8988ae02e5e3b87cdb19cccd0ad5c7c4a93167eb55b41feb374b91a1ca64b89930b389648d0c24812eb7bdd1cc1f470079193dd3c1374128 MISC metadata.xml 337 BLAKE2B f2b57aeb9ea63b3cba576df9bed58bc86577ddfb1707d3a183a8536c71c797aca25ca61b22eb50ea54368fac052518f889db0503b816767e05978c803e204351 SHA512 ad52f0a3bf101472aa80ce4b516349ac090620aba4afecde872585bf1ff11f55cffaf762df123910a16d70aaf67ef59dcbdec728816f611a2d5bde90d2b6d09f diff --git a/dev-ruby/actionpack/actionpack-5.2.4.5.ebuild b/dev-ruby/actionpack/actionpack-5.2.4.5.ebuild deleted file mode 100644 index 7d43f2a0a814..000000000000 --- a/dev-ruby/actionpack/actionpack-5.2.4.5.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby24 ruby25 ruby26" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" - -RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem eapi7-ver - -DESCRIPTION="Eases web-request routing, handling, and response" -HOMEPAGE="https://github.com/rails/rails" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" -IUSE="" - -RUBY_S="rails-${PV}/${PN}" - -ruby_add_rdepend " - ~dev-ruby/activesupport-${PV} - ~dev-ruby/actionview-${PV} - dev-ruby/rack:2.2 - >=dev-ruby/rack-test-0.6.3:* - >=dev-ruby/rails-html-sanitizer-1.0.2:1 - dev-ruby/rails-dom-testing:2 -" - -ruby_add_bdepend " - test? ( - dev-ruby/mocha:0.14 - dev-ruby/bundler - >=dev-ruby/capybara-2.15 - ~dev-ruby/activemodel-${PV} - >=dev-ruby/rack-cache-1.2:1.2 - www-servers/puma - )" - -all_ruby_prepare() { - # Remove items from the common Gemfile that we don't need for this - # test run. This also requires handling some gemspecs. - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\)/ s:^:#:" \ - -e '/:job/,/end/ s:^:#:' \ - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die - rm ../Gemfile.lock || die - - sed -e '1i gem "activemodel", "~> 5.2.0"' \ - -e '1i gem "actionview", "~> 5.2.0"' \ - -e '1i gem "railties", "~> 5.2.0"' \ - -i test/abstract_unit.rb || die - - # Use different timezone notation, this changed at some point due to an external dependency changing. - sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die - - # Avoid broken tests already fixed upstream - sed -i -e '/cookie syntax resilience/askip "broken test"' test/dispatch/request_test.rb || die - sed -i -e '/test_keeps_original_headers_behavior/askip "broken test"' test/dispatch/ssl_test.rb || die -} diff --git a/dev-ruby/actionpack/actionpack-5.2.6.ebuild b/dev-ruby/actionpack/actionpack-5.2.6.ebuild index 7f958d467850..ed0dd38eada0 100644 --- a/dev-ruby/actionpack/actionpack-5.2.6.ebuild +++ b/dev-ruby/actionpack/actionpack-5.2.6.ebuild @@ -21,7 +21,7 @@ SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz LICENSE="MIT" SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" IUSE="" RUBY_S="rails-${PV}/${PN}" diff --git a/dev-ruby/actionpack/actionpack-6.0.3.5.ebuild b/dev-ruby/actionpack/actionpack-6.0.3.5.ebuild deleted file mode 100644 index e35e318f6c89..000000000000 --- a/dev-ruby/actionpack/actionpack-6.0.3.5.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" - -RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="Eases web-request routing, handling, and response" -HOMEPAGE="https://github.com/rails/rails" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -IUSE="" - -RUBY_S="rails-${PV}/${PN}" - -ruby_add_rdepend " - ~dev-ruby/activesupport-${PV} - ~dev-ruby/actionview-${PV} - dev-ruby/rack:2.2 - >=dev-ruby/rack-test-0.6.3:* - >=dev-ruby/rails-html-sanitizer-1.2.0:1 - dev-ruby/rails-dom-testing:2 -" - -ruby_add_bdepend " - test? ( - dev-ruby/mocha:0.14 - dev-ruby/bundler - >=dev-ruby/capybara-2.15 - ~dev-ruby/activemodel-${PV} - ~dev-ruby/railties-${PV} - >=dev-ruby/rack-cache-1.2:1.2 - www-servers/puma - )" - -all_ruby_prepare() { - # Remove items from the common Gemfile that we don't need for this - # test run. This also requires handling some gemspecs. - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\)/ s:^:#:" \ - -e '/:job/,/end/ s:^:#:' \ - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die - rm ../Gemfile.lock || die - - # Use different timezone notation, this changed at some point due to an external dependency changing. - sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die -} diff --git a/dev-ruby/actionpack/actionpack-6.1.2.1.ebuild b/dev-ruby/actionpack/actionpack-6.1.2.1.ebuild deleted file mode 100644 index 74a56ac801f5..000000000000 --- a/dev-ruby/actionpack/actionpack-6.1.2.1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" - -RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="Eases web-request routing, handling, and response" -HOMEPAGE="https://github.com/rails/rails" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -IUSE="" - -RUBY_S="rails-${PV}/${PN}" - -ruby_add_rdepend " - ~dev-ruby/activesupport-${PV} - ~dev-ruby/actionview-${PV} - dev-ruby/rack:2.2 - >=dev-ruby/rack-test-0.6.3:* - >=dev-ruby/rails-html-sanitizer-1.2.0:1 - dev-ruby/rails-dom-testing:2 -" - -ruby_add_bdepend " - test? ( - dev-ruby/mocha:0.14 - dev-ruby/bundler - >=dev-ruby/capybara-2.15 - ~dev-ruby/activemodel-${PV} - ~dev-ruby/railties-${PV} - >=dev-ruby/rack-cache-1.2:1.2 - www-servers/puma - )" - -all_ruby_prepare() { - # Remove items from the common Gemfile that we don't need for this - # test run. This also requires handling some gemspecs. - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\)/ s:^:#:" \ - -e '/:job/,/end/ s:^:#:' \ - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die - rm ../Gemfile.lock || die - - # Use different timezone notation, this changed at some point due to an external dependency changing. - sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die - - # Avoid tests depending on an unreleased version of selenium-webdriver - sed -i -e '/define extra capabilities/,/^ end/ s:^:#:' test/dispatch/system_testing/driver_test.rb || die -} diff --git a/dev-ruby/actionpack/actionpack-6.1.3.1.ebuild b/dev-ruby/actionpack/actionpack-6.1.3.1.ebuild deleted file mode 100644 index 74a56ac801f5..000000000000 --- a/dev-ruby/actionpack/actionpack-6.1.3.1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" - -RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="Eases web-request routing, handling, and response" -HOMEPAGE="https://github.com/rails/rails" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -IUSE="" - -RUBY_S="rails-${PV}/${PN}" - -ruby_add_rdepend " - ~dev-ruby/activesupport-${PV} - ~dev-ruby/actionview-${PV} - dev-ruby/rack:2.2 - >=dev-ruby/rack-test-0.6.3:* - >=dev-ruby/rails-html-sanitizer-1.2.0:1 - dev-ruby/rails-dom-testing:2 -" - -ruby_add_bdepend " - test? ( - dev-ruby/mocha:0.14 - dev-ruby/bundler - >=dev-ruby/capybara-2.15 - ~dev-ruby/activemodel-${PV} - ~dev-ruby/railties-${PV} - >=dev-ruby/rack-cache-1.2:1.2 - www-servers/puma - )" - -all_ruby_prepare() { - # Remove items from the common Gemfile that we don't need for this - # test run. This also requires handling some gemspecs. - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\)/ s:^:#:" \ - -e '/:job/,/end/ s:^:#:' \ - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die - rm ../Gemfile.lock || die - - # Use different timezone notation, this changed at some point due to an external dependency changing. - sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die - - # Avoid tests depending on an unreleased version of selenium-webdriver - sed -i -e '/define extra capabilities/,/^ end/ s:^:#:' test/dispatch/system_testing/driver_test.rb || die -} diff --git a/dev-ruby/actionpack/actionpack-6.1.3.ebuild b/dev-ruby/actionpack/actionpack-6.1.3.ebuild deleted file mode 100644 index 74a56ac801f5..000000000000 --- a/dev-ruby/actionpack/actionpack-6.1.3.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" - -RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="Eases web-request routing, handling, and response" -HOMEPAGE="https://github.com/rails/rails" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -IUSE="" - -RUBY_S="rails-${PV}/${PN}" - -ruby_add_rdepend " - ~dev-ruby/activesupport-${PV} - ~dev-ruby/actionview-${PV} - dev-ruby/rack:2.2 - >=dev-ruby/rack-test-0.6.3:* - >=dev-ruby/rails-html-sanitizer-1.2.0:1 - dev-ruby/rails-dom-testing:2 -" - -ruby_add_bdepend " - test? ( - dev-ruby/mocha:0.14 - dev-ruby/bundler - >=dev-ruby/capybara-2.15 - ~dev-ruby/activemodel-${PV} - ~dev-ruby/railties-${PV} - >=dev-ruby/rack-cache-1.2:1.2 - www-servers/puma - )" - -all_ruby_prepare() { - # Remove items from the common Gemfile that we don't need for this - # test run. This also requires handling some gemspecs. - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\)/ s:^:#:" \ - -e '/:job/,/end/ s:^:#:' \ - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die - rm ../Gemfile.lock || die - - # Use different timezone notation, this changed at some point due to an external dependency changing. - sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die - - # Avoid tests depending on an unreleased version of selenium-webdriver - sed -i -e '/define extra capabilities/,/^ end/ s:^:#:' test/dispatch/system_testing/driver_test.rb || die -} |