summaryrefslogtreecommitdiff
path: root/dev-ruby/activemodel-serializers-xml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-29 01:25:46 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-29 01:25:46 +0100
commit04ac238703da84168e02b06fb131d1d17d85be23 (patch)
treef32aa3a6b6a6c879a798006535ad544bf888df73 /dev-ruby/activemodel-serializers-xml
parent6405cba4bf18141460bc9fcb8f5580532d4b46f8 (diff)
gentoo auto-resync : 29:09:2024 - 01:25:46
Diffstat (limited to 'dev-ruby/activemodel-serializers-xml')
-rw-r--r--dev-ruby/activemodel-serializers-xml/Manifest2
-rw-r--r--dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.3.ebuild43
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/activemodel-serializers-xml/Manifest b/dev-ruby/activemodel-serializers-xml/Manifest
index 0a4689e383ff..d95d01185c00 100644
--- a/dev-ruby/activemodel-serializers-xml/Manifest
+++ b/dev-ruby/activemodel-serializers-xml/Manifest
@@ -1,3 +1,5 @@
DIST activemodel-serializers-xml-1.0.2.tgz 23321 BLAKE2B ad626402acbf3a10a9b14a19713b3855e7eab69cd02ceb63386cb11b147c4c9dbc68dd849b9421b518bc70be29009f54f5effbe734e9c8bb1c59a7d2c3286ac7 SHA512 888db4822f9ed4fd17ba93f2e03e4edc204bc14f62e3622949140a3497f56ad7cd7d49cd7f38fbf557098ceed9f2f1334093fd8493ccc82e56be15f6bf138af9
+DIST activemodel-serializers-xml-1.0.3.tgz 23542 BLAKE2B 3a62e18900528ec62f4276adc645bae9ce565cd3a7d949887b60f86a72ee8bd6e0d4ceb87988089ba5cc047dbb19eab6c3c5d3e6691c270e7f49fe5fc797434d SHA512 84a6c075f1507afb8aed6638ac08027535e95cce9e2ec56fa093282995a311eae0c6b70b935c571e95bfb3d98e31ad716cad97d2a715f4fdde232bf9218bc90d
EBUILD activemodel-serializers-xml-1.0.2-r2.ebuild 996 BLAKE2B 1e6387922c47c688ea85c268e0c2322ff3439fb2bdef6221f749765a85f1509964fbb72bba4fd83400384dd20dd2f19d85954af5d870c2376285f31b67beb2e2 SHA512 e6a1fbf6c140625cf1c710063f30b51983a42e45207dc9d6e3c2ef1afb56a3c1ac5062296c0d6727b42c398eacc3e60b5a0e315c928726463130c55b56eeb91a
+EBUILD activemodel-serializers-xml-1.0.3.ebuild 1074 BLAKE2B 2f82a2bfac421f632d1e59644991e70a4a8f3b55b0b9dc14963bc5382e5f4e1406eb14b75248cbec74b0fd0cea13d18a99fcfcfd6934273240cf77ca1abf496a SHA512 a9419120b4fbaa98f27eb04fe08d1c6b56a9ff6f849a6ba8986d58f4c2ba49d8809a72e1bf1e94c13a3e2430d8b586d61c9b085900261f9504ee4c75a727975c
MISC metadata.xml 360 BLAKE2B 297e031f595787aa3e1881463ba94dc84125679e31978b1efe65326496d054a90e57690cd31a6eb8c3ee802181b7513313efa16761eb2d231c9f7fe32ad13f5b SHA512 4476505bb1cbf900b4d3cfcac3413adfdba24bf4fd6e2b41962dc8fa53a514f96bf3f45ea67b235ece30c5501301fbd178b12354ce44c22efa5dd11072698a7f
diff --git a/dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.3.ebuild b/dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.3.ebuild
new file mode 100644
index 000000000000..94eddb728770
--- /dev/null
+++ b/dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="XML serialization for your Active Model objects and Active Record models"
+HOMEPAGE="https://github.com/rails/activemodel-serializers-xml"
+SRC_URI="https://github.com/rails/${PN}/archive/v${PV}.tar.gz -> ${P}.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_rdepend "
+ >=dev-ruby/activesupport-5:*
+ >=dev-ruby/activemodel-5:*
+ =dev-ruby/builder-3*:* >=dev-ruby/builder-3.1:*
+"
+
+ruby_add_bdepend "test? (
+ || ( dev-ruby/activerecord:7.0 dev-ruby/activerecord:6.1 )
+ dev-ruby/sqlite3
+ dev-ruby/rexml
+)"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ sed -i -e '/datetime.*created_at/ s:^:#:' -e '2igem "activerecord", "<7.1"' test/helper.rb || die
+
+ sed -i -e '/bundler/ s:^:#:' Rakefile || die
+}