public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/activerecord/
Date: Sat, 14 May 2022 06:19:17 +0000 (UTC)	[thread overview]
Message-ID: <1652509110.4e82776109c9502c205d6d1142f2aab9f3e8f547.graaff@gentoo> (raw)

commit:     4e82776109c9502c205d6d1142f2aab9f3e8f547
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 06:18:30 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat May 14 06:18:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e827761

dev-ruby/activerecord: add 6.1.6

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/activerecord/Manifest                  |  1 +
 dev-ruby/activerecord/activerecord-6.1.6.ebuild | 90 +++++++++++++++++++++++++
 2 files changed, 91 insertions(+)

diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest
index 23c68db7b6b0..27726400c822 100644
--- a/dev-ruby/activerecord/Manifest
+++ b/dev-ruby/activerecord/Manifest
@@ -8,6 +8,7 @@ DIST rails-6.0.4.8.tgz 18574385 BLAKE2B be6ea79fa452831e1c17ed550f875500c4b00ebf
 DIST rails-6.0.5.tgz 18572922 BLAKE2B cc7f3669f5d501031ea5bfcef24db89040dc447923abe255b4ae504c07c648414a19a5d2c7ecb513cb96cf601440caeb2462c37fdae61770cef60ce5708abcb4 SHA512 5f262f65de2e3057b92fdb95bef28ea8c4c44e5ca27f4065bb4946a760b3f97fde10f9a303ccf1fdbf833f1e26db5cde722183f41672614203c4b08aef6780ed
 DIST rails-6.1.5.1.tgz 10993257 BLAKE2B 90146d33fcad068a09bc61c09417514f2ccc18c51043c63672397eb6980a97c9c0c4e6b0679393c3d8ded690ab44ea53b7abd49817f46ca9f8ab3472dec2f3c3 SHA512 8061f2103ad9266f06f902cf7f05b3f94b05d9b454d314d7a7febea2e5e464c5f33d14f48a2a098e7e666a6dc8cd5c5dae4cf4fb669eca28303a4fb5e6832039
 DIST rails-6.1.5.tgz 11017020 BLAKE2B 5e1a167550998f8149ac770397f4e39a979f48365494f97d4b387559070e4e9264ddc93bf20e5c19537b4683a793a2c316bcb3f829cc05f0155b31a609da6756 SHA512 a90fe7781ddbb6a035ea7dcb950e2ab03a7297502891d4a88dfe7c3ef90b78d8009ea62a35272d3500e8819466042b883193ebb030683fc2cf7e5dc0e720edb1
+DIST rails-6.1.6.tgz 10993299 BLAKE2B 98a80cbefc1aafba68a22b60d3df6b81ab1e8247a75a07131aeed97ae621ea45b22918482537255547b68a5fc6b002f551b8b94492da3b1e6e24389a109e245c SHA512 04c578f6d8bdcd72691c8d4e51136424f2241a374cdfad1c3c2b436a4f5fde1955a600bcb98c6f416e22e1e561cd50f9ca5f5075deff94f258f8682dc9b00c1c
 DIST rails-7.0.2.2.tgz 11034626 BLAKE2B 388a27b5434f1ae062cb7c3a68881a885dd659dbd9e86c4d36e0cb29c493f127fb9cbdf0f9ce7dea5a715ddbcd7a3bff5e2de3adb2e278c8bf63c2473d1e4b6d SHA512 e7863f1e072d266b8df1abb8abf6b141bad74ef77fe5dbcd66e7603e2ebf386520e4fd8f337edb5f5a6bd5607fbaa146823cbe6980fd7864e3934a7c9d382e3d
 DIST rails-7.0.2.3.tgz 11037677 BLAKE2B b4d0ac3d2c56d262beca4f5ba1659a67526c01321dc00ef8392a11c6fbc7614e3c02cf02ffcbb5ed1911005c1be0c0741e225f45c5946fc9102629c5ba5d32ab SHA512 4dcbe65ce1bad803dd04be61918f1ca893529705a8336a0c09b0193eb453319fc42ed0e2dca6ff5cb56f0c2bc5ab03c9d9f479101904ad1a746980cd887798d4
 DIST rails-7.0.2.4.tgz 11014591 BLAKE2B 4a678dddca134769a40d73a6652a6aa273456288c19ddbe7611ae40a14860abf77226ab351ead92647fb471751521377c51cafae40383198ff3d3477bc257b55 SHA512 948cf58dd6ac517fb4b1e63c3a1dbfcf2405fd224ea150cb92f5805939d3a458ad26e139b1c6069cc587c01f15694be14e119ee56769a611e6b6eaa0eae5a68c

diff --git a/dev-ruby/activerecord/activerecord-6.1.6.ebuild b/dev-ruby/activerecord/activerecord-6.1.6.ebuild
new file mode 100644
index 000000000000..e6bb299bcd8d
--- /dev/null
+++ b/dev-ruby/activerecord/activerecord-6.1.6.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+# this is not null so that the dependencies will actually be filled
+RUBY_FAKEGEM_TASK_TEST="test"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
+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 ~riscv ~sparc ~x86"
+IUSE="mysql postgres sqlite"
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "~dev-ruby/activesupport-${PV}
+	~dev-ruby/activemodel-${PV}
+	sqlite? ( >=dev-ruby/sqlite3-1.4 )
+	mysql? ( dev-ruby/mysql2:0.5 )
+	postgres? ( >=dev-ruby/pg-1.1:1 )"
+
+ruby_add_bdepend "
+	test? (
+		dev-ruby/bundler
+		~dev-ruby/actionpack-${PV}
+		>=dev-ruby/sqlite3-1.4.0
+		dev-ruby/mocha
+		dev-ruby/minitest:5
+	)"
+
+DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
+
+all_ruby_prepare() {
+	# Remove items from the common Gemfile that we don't need for this
+	# test run. This also requires handling some gemspecs.
+	rm ../Gemfile.lock || die
+	sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|execjs\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|minitest\|sprockets\|stackprof\)/ s:^:#:" \
+		-e '/:job/,/end/ s:^:#:' \
+		-e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
+	sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
+	sed -e '/bcrypt/ s/3.0.0/3.0/' \
+		-i ../Gemfile || die
+	sed -i -e '/byebug/ s:^:#:' test/cases/base_prevent_writes_test.rb || die
+
+	# Add back json in the Gemfile because we dropped some dependencies
+	# earlier that implicitly required it.
+	sed -i -e '$agem "json"' ../Gemfile || die
+
+	# Load correct rails version
+	sed -i -e '2igem "activemodel", "~> 6.1.0"; gem "activejob", "~> 6.1.0"; gem "railties", "~> 6.1.0"' test/cases/helper.rb || die
+
+	# Avoid single tests using mysql or postgres dependencies.
+	rm test/cases/invalid_connection_test.rb || die
+	sed -e '/test_switching_connections_with_database_url/askip "postgres"' \
+		-i test/cases/connection_adapters/{,legacy_}connection_handlers_multi_db_test.rb || die
+
+	# Avoid failing test that makes bad assumptions on database state.
+	sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^  end/ s:^:#:' \
+		test/cases/associations/has_many_associations_test.rb
+
+	# Avoid tests that no longer work with newer sqlite versions
+	rm -f test/cases/adapters/sqlite3/explain_test.rb || die
+	sed -i -e '/test_references_stays_as_integer_column/askip "Fails on case difference"' test/cases/migration/compatibility_test.rb || die
+
+	# Avoid test failing to bind limit length in favor of security release
+	sed -i -e '/test_too_many_binds/askip "Fails on Gentoo"' test/cases/bind_parameter_test.rb || die
+
+	# Avoid test failing related to rubygems
+	sed -i -e '/test_generates_absolute_path_with_given_root/askip "rubygems actiovation monitor"' test/cases/tasks/sqlite_rake_test.rb || die
+}
+
+each_ruby_test() {
+	if use sqlite; then
+		${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
+	fi
+}


             reply	other threads:[~2022-05-14  6:19 UTC|newest]

Thread overview: 244+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-14  6:19 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-13  8:02 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/activerecord/ Hans de Graaff
2024-11-03  7:05 Hans de Graaff
2024-11-02 10:06 Hans de Graaff
2024-11-02  9:12 Hans de Graaff
2024-11-02  7:51 Hans de Graaff
2024-10-27  9:04 Hans de Graaff
2024-10-27  7:21 Hans de Graaff
2024-10-26  9:04 Hans de Graaff
2024-10-26  7:48 Hans de Graaff
2024-10-20  9:23 Hans de Graaff
2024-10-20  7:35 Hans de Graaff
2024-10-20  7:06 Hans de Graaff
2024-10-19  8:29 Hans de Graaff
2024-10-19  6:30 Hans de Graaff
2024-10-18  9:24 Hans de Graaff
2024-10-18  8:30 Hans de Graaff
2024-10-18  7:37 Hans de Graaff
2024-09-17 17:18 Arthur Zamarin
2024-08-25  7:34 Hans de Graaff
2024-08-24  7:07 Hans de Graaff
2024-08-23  8:51 Hans de Graaff
2024-08-10  8:50 Hans de Graaff
2024-08-09  9:55 Hans de Graaff
2024-06-08  7:29 Hans de Graaff
2024-05-18 11:12 Hans de Graaff
2024-05-18  9:22 Hans de Graaff
2024-05-18  7:12 Hans de Graaff
2024-03-17  9:51 Hans de Graaff
2024-02-25  8:49 Hans de Graaff
2024-02-25  8:32 Hans de Graaff
2024-02-25  8:15 Hans de Graaff
2024-02-25  6:56 Hans de Graaff
2024-02-25  6:51 Hans de Graaff
2024-01-21  8:19 Hans de Graaff
2023-12-11 13:21 Hans de Graaff
2023-12-10 13:31 Hans de Graaff
2023-12-10 10:23 Hans de Graaff
2023-10-14  6:05 Hans de Graaff
2023-09-10  6:48 Hans de Graaff
2023-08-23  5:11 Hans de Graaff
2023-08-23  5:07 Hans de Graaff
2023-08-23  4:45 Hans de Graaff
2023-08-19 13:48 Hans de Graaff
2023-08-11  8:28 Hans de Graaff
2023-07-16  5:30 Hans de Graaff
2023-07-01 10:20 Hans de Graaff
2023-06-30  9:19 Hans de Graaff
2023-06-30  8:53 Hans de Graaff
2023-06-27  5:24 Hans de Graaff
2023-06-18 12:06 Hans de Graaff
2023-04-30  9:15 Hans de Graaff
2023-04-11 17:52 Jakov Smolić
2023-04-10 12:45 Hans de Graaff
2023-04-10 12:18 Hans de Graaff
2023-04-10  8:18 Hans de Graaff
2023-04-10  7:52 Hans de Graaff
2023-04-09  2:34 Sam James
2023-04-07 11:25 Sam James
2023-04-07  2:48 Sam James
2023-03-28 20:16 Sam James
2023-03-15  7:33 Hans de Graaff
2023-03-15  7:13 Hans de Graaff
2023-03-12 16:15 Hans de Graaff
2023-01-28  8:19 Hans de Graaff
2023-01-27 11:39 Hans de Graaff
2023-01-27 11:17 Hans de Graaff
2023-01-27  9:46 Hans de Graaff
2023-01-19  7:29 Hans de Graaff
2023-01-18 16:07 Hans de Graaff
2023-01-18 10:45 Hans de Graaff
2023-01-13 13:08 Arthur Zamarin
2022-10-02 11:22 Hans de Graaff
2022-10-02  8:45 Hans de Graaff
2022-10-01  9:56 Hans de Graaff
2022-07-20  7:29 Hans de Graaff
2022-07-20  7:25 Hans de Graaff
2022-07-20  7:09 Hans de Graaff
2022-07-20  7:06 Hans de Graaff
2022-07-20  7:03 Hans de Graaff
2022-07-16  8:11 Hans de Graaff
2022-07-13  7:09 Hans de Graaff
2022-07-13  6:01 Hans de Graaff
2022-07-13  5:27 Hans de Graaff
2022-07-12 21:01 Hans de Graaff
2022-07-03  9:51 Hans de Graaff
2022-06-19  7:03 Hans de Graaff
2022-06-19  7:03 Hans de Graaff
2022-06-19  6:24 Hans de Graaff
2022-05-29  8:37 Hans de Graaff
2022-05-29  7:28 Hans de Graaff
2022-05-29  7:07 Hans de Graaff
2022-05-14  8:32 Hans de Graaff
2022-05-14  6:07 Hans de Graaff
2022-05-14  5:43 Hans de Graaff
2022-05-14  5:25 Hans de Graaff
2022-04-27 10:38 Hans de Graaff
2022-04-27  8:11 Hans de Graaff
2022-04-27  6:37 Hans de Graaff
2022-04-27  6:31 Hans de Graaff
2022-04-27  6:18 Hans de Graaff
2022-04-27  6:08 Hans de Graaff
2022-04-27  5:50 Hans de Graaff
2022-03-25 10:22 Hans de Graaff
2022-03-13  7:02 Hans de Graaff
2022-03-13  6:56 Hans de Graaff
2022-03-12  9:55 Hans de Graaff
2022-03-12  9:12 Hans de Graaff
2022-02-22  7:29 Hans de Graaff
2022-02-21  6:56 Hans de Graaff
2022-02-20 13:59 Hans de Graaff
2022-02-20  8:34 Hans de Graaff
2022-02-20  8:16 Hans de Graaff
2022-02-20  8:06 Hans de Graaff
2021-12-16  5:46 Hans de Graaff
2021-12-16  5:11 Hans de Graaff
2021-12-15  6:16 Hans de Graaff
2021-12-15  5:57 Hans de Graaff
2021-11-08  2:51 Yixun Lan
2021-09-18  7:59 Hans de Graaff
2021-08-29  6:41 Hans de Graaff
2021-08-29  6:27 Hans de Graaff
2021-08-20  6:02 Hans de Graaff
2021-08-20  5:49 Hans de Graaff
2021-06-26  6:10 Hans de Graaff
2021-06-16  5:09 Hans de Graaff
2021-06-06  7:45 Hans de Graaff
2021-05-07  5:27 Hans de Graaff
2021-05-06  5:51 Hans de Graaff
2021-05-06  4:12 Hans de Graaff
2021-04-12  3:54 Hans de Graaff
2021-03-27 10:42 Hans de Graaff
2021-02-21  8:12 Hans de Graaff
2021-02-20  8:16 Hans de Graaff
2021-02-13 17:31 Hans de Graaff
2021-02-13  9:51 Hans de Graaff
2021-02-13  7:55 Hans de Graaff
2020-12-20 19:14 Sam James
2020-12-20 19:03 Sam James
2020-12-12  8:38 Hans de Graaff
2020-10-08  5:17 Hans de Graaff
2020-09-20  6:39 Hans de Graaff
2020-09-17  5:29 Hans de Graaff
2020-09-10  5:31 Hans de Graaff
2020-09-10  5:31 Hans de Graaff
2020-07-05  5:17 Hans de Graaff
2020-07-04  8:24 Hans de Graaff
2020-06-18  4:52 Hans de Graaff
2020-05-18 18:45 Hans de Graaff
2020-05-18 18:15 Hans de Graaff
2020-05-11 18:20 Hans de Graaff
2020-05-11 17:01 Hans de Graaff
2020-05-05  8:06 Hans de Graaff
2020-04-27 17:08 Sergei Trofimovich
2020-04-19 13:05 Hans de Graaff
2020-04-19 12:18 Hans de Graaff
2020-03-22 10:01 Hans de Graaff
2020-03-22  6:31 Hans de Graaff
2020-03-12 13:47 Hans de Graaff
2020-01-05  9:30 Hans de Graaff
2019-12-20  9:41 Hans de Graaff
2019-12-19  7:21 Hans de Graaff
2019-12-14  7:39 Hans de Graaff
2019-12-02  8:28 Hans de Graaff
2019-11-30  7:53 Hans de Graaff
2019-11-10  7:02 Hans de Graaff
2019-09-13 17:36 Mikle Kolyada
2019-09-07 23:18 Thomas Deutschmann
2019-08-24  7:36 Hans de Graaff
2019-05-16 17:22 Hans de Graaff
2019-05-16 17:18 Hans de Graaff
2019-05-04 18:32 Hans de Graaff
2019-03-29  6:59 Hans de Graaff
2019-03-28 19:15 Hans de Graaff
2019-03-25 19:50 Hans de Graaff
2019-03-14  7:33 Hans de Graaff
2019-03-14  7:18 Hans de Graaff
2019-03-14  7:18 Hans de Graaff
2019-02-18 19:06 Hans de Graaff
2019-01-16 19:23 Hans de Graaff
2018-12-13  6:44 Hans de Graaff
2018-12-08  6:56 Hans de Graaff
2018-12-07  7:11 Hans de Graaff
2018-12-01  9:44 Hans de Graaff
2018-12-01  8:27 Hans de Graaff
2018-11-30  7:06 Hans de Graaff
2018-11-29  7:31 Hans de Graaff
2018-08-08  6:19 Hans de Graaff
2018-07-15 18:57 Hans de Graaff
2018-05-19  7:51 Hans de Graaff
2018-05-06 18:10 Hans de Graaff
2018-05-04  4:53 Hans de Graaff
2018-03-25 12:41 Sergei Trofimovich
2018-02-18  7:35 Hans de Graaff
2018-02-16  7:59 Hans de Graaff
2018-02-07  5:52 Thomas Deutschmann
2017-12-09  7:55 Hans de Graaff
2017-09-29 14:20 Hans de Graaff
2017-09-13 13:42 Fabian Groffen
2017-09-10  5:52 Hans de Graaff
2017-09-09  7:08 Hans de Graaff
2017-08-05  6:48 Hans de Graaff
2017-08-04 14:50 Hans de Graaff
2017-08-04  6:21 Hans de Graaff
2017-07-24 17:51 Markus Meier
2017-07-12 18:40 Alexis Ballier
2017-07-08  9:54 Hans de Graaff
2017-07-04  5:00 Hans de Graaff
2017-07-02  5:43 Hans de Graaff
2017-05-13  9:37 Hans de Graaff
2017-05-13  6:33 Hans de Graaff
2017-03-02  7:02 Hans de Graaff
2017-03-01  6:18 Hans de Graaff
2017-02-25  8:19 Hans de Graaff
2017-02-21 18:59 Hans de Graaff
2017-02-14  0:36 Michael Weber
2017-02-08  6:59 Hans de Graaff
2016-12-29 13:06 Hans de Graaff
2016-12-24  8:23 Hans de Graaff
2016-11-05  6:53 Hans de Graaff
2016-10-30 19:51 Hans de Graaff
2016-09-03  7:13 Hans de Graaff
2016-08-11 19:22 Hans de Graaff
2016-07-18  6:49 Hans de Graaff
2016-07-13  5:43 Hans de Graaff
2016-06-14  4:51 Hans de Graaff
2016-05-21  6:26 Hans de Graaff
2016-05-18  9:00 Fabian Groffen
2016-03-08  6:13 Hans de Graaff
2016-03-08  5:49 Hans de Graaff
2016-03-01  6:52 Hans de Graaff
2016-03-01  6:23 Hans de Graaff
2016-03-01  5:49 Hans de Graaff
2016-02-16 21:14 Hans de Graaff
2016-02-07 17:46 Hans de Graaff
2016-01-26  7:30 Hans de Graaff
2016-01-26  7:01 Hans de Graaff
2016-01-26  6:39 Hans de Graaff
2016-01-17  9:10 Hans de Graaff
2015-11-13  7:53 Hans de Graaff
2015-11-13  7:53 Hans de Graaff
2015-11-13  7:53 Hans de Graaff
2015-08-25  5:50 Hans de Graaff
2015-08-25  5:04 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1652509110.4e82776109c9502c205d6d1142f2aab9f3e8f547.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox