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: Wed, 13 Jul 2022 07:09:38 +0000 (UTC)	[thread overview]
Message-ID: <1657696174.0583389884c3c94c0108664fd46e8813ee3f684d.graaff@gentoo> (raw)

commit:     0583389884c3c94c0108664fd46e8813ee3f684d
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 13 07:08:51 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 07:09:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05833898

dev-ruby/activerecord: add 5.2.8.1

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

 dev-ruby/activerecord/Manifest                    |  1 +
 dev-ruby/activerecord/activerecord-5.2.8.1.ebuild | 96 +++++++++++++++++++++++
 2 files changed, 97 insertions(+)

diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest
index fc66f1549b33..429aee5da292 100644
--- a/dev-ruby/activerecord/Manifest
+++ b/dev-ruby/activerecord/Manifest
@@ -1,3 +1,4 @@
+DIST rails-5.2.8.1.tgz 8848345 BLAKE2B 6786359e6c519e98079dc6f87a1ad23a69e7b65d2e688e9f09bd446012a18e76173d2997c125dd0260ece78114be9462d8c3dfb3464c6428734377f793828a9f SHA512 05e3bd1fb50c87ba31d47d99748b2edafa2e58dbf4e0c4ee991b7c65e68abbbc794d8f385836fa1fddcd277f78edeb1f9c2d675c1c53403c1f230593a8bd2c71
 DIST rails-5.2.8.tgz 8847449 BLAKE2B 11937ee2aeea39cade43829a01430315a997fef070fc73a1e63baaff8b3631f82561c7acdd44cf1981501424be68d814001dd26cbf7678ca987a8311d109d367 SHA512 98e1b36bdd4235e983d0805b6ff9779e3793d1bed486dc6de854215c4294334d5036157a527c1222cc2be4c107754553dadf2bf86e65ce6561dd8152c47ef84a
 DIST rails-6.0.5.1.tgz 18607954 BLAKE2B 74f75399a287f1eae199a5764c952b75dd95a02c88899ade69d60acae00a7588b2f3a8ab3b9d2c9224d62f87305c596e16b196a5c32b19731d4415f17a29d38e SHA512 a65c3fab39eadba75e0107486c82a4da212e612ddb2350f77bb00ad887e0b52980edba08d42c02801c4e4fd71d750de3dbd78c820ef050016867737dccc06b36
 DIST rails-6.0.5.tgz 18572922 BLAKE2B cc7f3669f5d501031ea5bfcef24db89040dc447923abe255b4ae504c07c648414a19a5d2c7ecb513cb96cf601440caeb2462c37fdae61770cef60ce5708abcb4 SHA512 5f262f65de2e3057b92fdb95bef28ea8c4c44e5ca27f4065bb4946a760b3f97fde10f9a303ccf1fdbf833f1e26db5cde722183f41672614203c4b08aef6780ed

diff --git a/dev-ruby/activerecord/activerecord-5.2.8.1.ebuild b/dev-ruby/activerecord/activerecord-5.2.8.1.ebuild
new file mode 100644
index 000000000000..27f599a2b7e0
--- /dev/null
+++ b/dev-ruby/activerecord/activerecord-5.2.8.1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+# this is not null so that the dependencies will actually be filled
+RUBY_FAKEGEM_TASK_TEST="test"
+
+RUBY_FAKEGEM_TASK_DOC=""
+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 ~x86 ~amd64-linux"
+IUSE="mysql postgres sqlite"
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "~dev-ruby/activesupport-${PV}
+	~dev-ruby/activemodel-${PV}
+	dev-ruby/arel:9.0
+	sqlite? ( >=dev-ruby/sqlite3-1.3.6 )
+	mysql? ( dev-ruby/mysql2:0.5 )
+	postgres? ( >=dev-ruby/pg-0.18.0:* )"
+
+ruby_add_bdepend "
+	test? (
+		dev-ruby/bundler
+		~dev-ruby/actionpack-${PV}
+		~dev-ruby/actionmailer-${PV}
+		>=dev-ruby/sqlite3-1.3.6
+		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
+
+	# Add back json in the Gemfile because we dropped some dependencies
+	# earlier that implicitly required it.
+	sed -i -e '$agem "json"' \
+		../Gemfile || die
+
+	sed -e '3i gem "activesupport", "~> 5.2.0"' \
+		-e '3i gem "activerecord", "~> 5.2.0"' \
+		-e '3i gem "activemodel", "~> 5.2.0"' \
+		-e '3i gem "psych", "~> 3.0"' \
+		-i test/cases/helper.rb || die
+
+	# Avoid test depending on mysql adapter which we don't support for
+	# this Rails version to simplify our dependencies.
+	rm test/cases/connection_specification/resolver_test.rb || die
+
+	# Avoid single test using mysql dependencies.
+	rm test/cases/invalid_connection_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 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 failures due to sqlite explain changes
+	rm -f test/cases/adapters/sqlite3/explain_test.rb || die
+
+	# Avoid test failing for new security feature where database table is missing in tests
+	rm -f test/cases/store_test.rb || die
+}
+
+each_ruby_test() {
+	if use sqlite; then
+		MT_NO_PLUGINS=true ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
+	fi
+}


             reply	other threads:[~2022-07-13  7:09 UTC|newest]

Thread overview: 244+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-13  7:09 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  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:19 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=1657696174.0583389884c3c94c0108664fd46e8813ee3f684d.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