summaryrefslogtreecommitdiff
path: root/dev-ruby/arel-helpers
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-28 09:49:11 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-03-28 09:49:11 +0100
commit115dcc7054f5934a2c8e26fd8a8eed5f3e29e9ce (patch)
treec31afe35699960753f76770d6b0b4ea48af9f686 /dev-ruby/arel-helpers
parente292b671b113c2cc012beddad93a3df4f9410698 (diff)
gentoo auto-resync : 28:03:2023 - 09:49:10
Diffstat (limited to 'dev-ruby/arel-helpers')
-rw-r--r--dev-ruby/arel-helpers/Manifest4
-rw-r--r--dev-ruby/arel-helpers/arel-helpers-2.13.0.ebuild8
-rw-r--r--dev-ruby/arel-helpers/arel-helpers-2.14.0.ebuild56
3 files changed, 65 insertions, 3 deletions
diff --git a/dev-ruby/arel-helpers/Manifest b/dev-ruby/arel-helpers/Manifest
index 4ebdf2f6983c..866585235640 100644
--- a/dev-ruby/arel-helpers/Manifest
+++ b/dev-ruby/arel-helpers/Manifest
@@ -1,3 +1,5 @@
DIST arel-helpers-2.13.0.gem 16896 BLAKE2B 3cdf4164b20dcc3511e058666486ea0d5a5eb50a7825d56338715f5bdba2dc5124ba030ea0e27480225be9d715a86016ff0eb85d0e60f07bdd5f3f214c3f5bcc SHA512 31e88e136a85f49e6b8b6d7c244bf98744cdf0546f0916ff1b403904330a1d2acc4a4d97ba5eb59190b9c0592176e4872d0463b4d4662b63a99f9d3bbcc29c15
-EBUILD arel-helpers-2.13.0.ebuild 783 BLAKE2B da9e369f538f99e6795d07b73e35b8f53013ace63532afa29e342abff30efeba1ba1372f092d41a32f235f6b785e10eb22254e91d48e87daa6a5b11c1116db5e SHA512 b62fa41c7fe86c6e9901c746d573d47e60b447ec4c681d8a4f954af7039b624357fb76a839cd13e526eb0552fd2ac24f66a5696940205617d5a0c95d4110f9d3
+DIST arel-helpers-2.14.0.tar.gz 11711 BLAKE2B 75182a17ae741b2fe62189bccf008ca9958a69d69b5c2aced227e1b77f7278565f2c6261f56e567e4534c1e0229ce00e630bb1dc77ce8e49d03267784f8f8dc2 SHA512 47edec1aaa5be14de4ee695b13096dcf3f0c30804b20dfdc84421e1a779d3faa6241c022003f4752da911d1ea71a49de6e1e3339e6a3e452ca7fa8116ff751ca
+EBUILD arel-helpers-2.13.0.ebuild 829 BLAKE2B 565674ce97769069ed5bbf92fb15d9fa3551f8ed659ad7d4975134c0e3d4d425bc0758e1dca3ba45eb780291e4e3527cff1673fa73cb015cfbe14368b733551f SHA512 1ae2c1be453eb0e2e7dbd909dd965a5bfc928a2cff6c959819595ca7ab61cd67f813689a259417a292df304428d8aad3c08c022e4cd56933c1b12412078fa3cf
+EBUILD arel-helpers-2.14.0.ebuild 1231 BLAKE2B 5b76f84262a07c504383ff3f32e6abcc56acc79513d327fec9976a2f9d77b2633c4d4706bd1d0e555b773ddae8706cadab10738896e69baa5b1380ba6cb9e5b1 SHA512 a998787a1bc090f7a7a8f2872ea6650b8f93f233931c816cf8f62859343e613ce9bb978a4996282d34171ed48d001735c99eb371f424e7cbef2893136e872a2c
MISC metadata.xml 345 BLAKE2B 4f44dad77778d15d8011c1372ed51e02c20313b118be5abf981c5f4727da135ac60218922c264b4a95ca7c8410893c8e105fbe39ca0c15951ec8f6063b1c577f SHA512 6d8f2dbb987e8a105515d4af49c2913aadfaef04c424ac2b4bc449ea3c7d37f283bd44f7d0225caba26774b9c71c8a73a1e38eeef6b82c1d849984d203c0f6b5
diff --git a/dev-ruby/arel-helpers/arel-helpers-2.13.0.ebuild b/dev-ruby/arel-helpers/arel-helpers-2.13.0.ebuild
index 2399df48709c..c48e1b7aebd4 100644
--- a/dev-ruby/arel-helpers/arel-helpers-2.13.0.ebuild
+++ b/dev-ruby/arel-helpers/arel-helpers-2.13.0.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby27"
+USE_RUBY="ruby27 ruby30"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
@@ -29,7 +29,11 @@ ruby_add_bdepend "test? (
all_ruby_prepare() {
sed -i -e '/pry-/ s:^:#:' spec/spec_helper.rb || die
- sed -e '/rake/ s/~>/>=/' -e '/appraisal/ s:^:#:' -e '/database_cleaner/ s/1.8/1.7/' -i arel-helpers.gemspec || die
+ sed -e '/rake/ s/~>/>=/' \
+ -e '/appraisal/ s:^:#:' \
+ -e '/database_cleaner/ s/1.8/2.0/' \
+ -e '/sqlite/ s/~>/>=/' \
+ -i arel-helpers.gemspec || die
}
each_ruby_test() {
diff --git a/dev-ruby/arel-helpers/arel-helpers-2.14.0.ebuild b/dev-ruby/arel-helpers/arel-helpers-2.14.0.ebuild
new file mode 100644
index 000000000000..42b6dcf3cc1f
--- /dev/null
+++ b/dev-ruby/arel-helpers/arel-helpers-2.14.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+RUBY_S=${PN}-*
+RUBY_FAKEGEM_VERSION="$(ver_cut 1-3)"
+inherit ruby-fakegem
+
+DESCRIPTION="Tools to help construct database queries"
+HOMEPAGE="https://github.com/camertron/arel-helpers"
+# No test data in gems
+SRC_URI="https://github.com/camertron/arel-helpers/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+ruby_add_rdepend "
+ || (
+ dev-ruby/activerecord:7.0
+ dev-ruby/activerecord:6.1
+ dev-ruby/activerecord:6.0
+ )
+"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/rr
+ dev-ruby/activerecord[sqlite]
+ dev-ruby/bundler
+ dev-ruby/combustion
+ >=dev-ruby/database_cleaner-1.8
+ =dev-ruby/sqlite3-1.4*
+ )
+"
+
+all_ruby_prepare() {
+ # pry is for debugging, not useful here
+ sed -i -e '/pry-/ s:^:#:' spec/spec_helper.rb || die
+
+ sed \
+ -e '/rake/ s/~>/>=/' \
+ -e '/appraisal/ s:^:#:' \
+ -e '/database_cleaner/ s/1.8/1.7/' \
+ -e '/database_cleaner/ s/~>/>=/' \
+ -e '/sqlite3/ s/~>/>=/' \
+ -i arel-helpers.gemspec || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S bundle exec rake spec || die
+}