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: Thu, 10 Sep 2020 05:31:02 +0000 (UTC)	[thread overview]
Message-ID: <1599715772.55be5bda98da3ed83aa50ef80dc28d21cd179216.graaff@gentoo> (raw)

commit:     55be5bda98da3ed83aa50ef80dc28d21cd179216
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 10 05:05:13 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Sep 10 05:29:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55be5bda

dev-ruby/activerecord: add 5.2.4.4

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

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

diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest
index 1bbbb8882da..4e5ccfc519b 100644
--- a/dev-ruby/activerecord/Manifest
+++ b/dev-ruby/activerecord/Manifest
@@ -1,2 +1,3 @@
 DIST rails-5.2.4.3.tgz 8824955 BLAKE2B 7db1bdda581e345713b796152c68e13911076c0af752aa91016a559fb380ee33b5f1822576120940995968efa6351165af0e21f97ff2e201bc8250f7e3178089 SHA512 b01b454f38593b50788cecef4f2b25938b0e176d24476bf0a8145b581c7327e0d8572a62fab4256372b51d75a9463431bbd98470a31298a6ff4d5f81f7ff92ce
+DIST rails-5.2.4.4.tgz 8825200 BLAKE2B e56f828f46ef72a2ec59006f37410aa53ca33730452d74d8deefc3975a24940500a48864c18523fad1141e025192b8bfc0c050abc04a01a88333fc825640d4b9 SHA512 6ea50009f769e2e2e6df6cd31fb10e8a770c61f28496432cb7a30265f9064fa8e61c8a0c2569fa056baf31d273ab25cc8c9bd02523214a35e3bbd94e4db293e5
 DIST rails-6.0.3.2.tgz 18568792 BLAKE2B 574d4b7da1bf0ff308ca1a64369c16e29396c8faddf741bc0f2b7d0c0761e440d64dade6ef67ba4923045c7eab1cd0689d45b6b26f3e3077020157a2b29fb17f SHA512 ea019bef7facc1b8b0d2f181da45d70456a895f2d57eb2410e4a06ba7bea0165dacc0f15fe5080150e4b4ef3c81dacee70b200468232da857fdf60def85b5aec

diff --git a/dev-ruby/activerecord/activerecord-5.2.4.4.ebuild b/dev-ruby/activerecord/activerecord-5.2.4.4.ebuild
new file mode 100644
index 00000000000..ade4146d39d
--- /dev/null
+++ b/dev-ruby/activerecord/activerecord-5.2.4.4.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby24 ruby25 ruby26"
+
+# 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 eapi7-ver
+
+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 dev-ruby/mysql2:0.4 ) )
+	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"' \
+		-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
+}
+
+each_ruby_test() {
+	if use sqlite; then
+		MT_NO_PLUGINS=true ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
+	fi
+}


             reply	other threads:[~2020-09-10  5:31 UTC|newest]

Thread overview: 244+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-10  5:31 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: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-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=1599715772.55be5bda98da3ed83aa50ef80dc28d21cd179216.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