summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-09-17 07:36:48 +0200
committerHans de Graaff <graaff@gentoo.org>2024-09-18 10:55:57 +0200
commit91695af5c6cfd8d8c9097a5c71f65cf050d88f25 (patch)
tree79d7d57ade284c3004a388a266c630f5b4010de3 /dev-ruby/jbuilder
parentdev-ruby/i18n: drop 1.13.0, 1.14.3, 1.14.4 (diff)
downloadgentoo-91695af5c6cfd8d8c9097a5c71f65cf050d88f25.tar.gz
gentoo-91695af5c6cfd8d8c9097a5c71f65cf050d88f25.tar.bz2
gentoo-91695af5c6cfd8d8c9097a5c71f65cf050d88f25.zip
dev-ruby/jbuilder: add 2.13.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/jbuilder')
-rw-r--r--dev-ruby/jbuilder/Manifest1
-rw-r--r--dev-ruby/jbuilder/jbuilder-2.13.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/jbuilder/Manifest b/dev-ruby/jbuilder/Manifest
index 76ea2b89c129..88bdebc38095 100644
--- a/dev-ruby/jbuilder/Manifest
+++ b/dev-ruby/jbuilder/Manifest
@@ -1 +1,2 @@
DIST jbuilder-2.12.0.gem 28160 BLAKE2B e4e32c7d6b71b0daecd0148d74179115b14bb8450c00315518fa31c30c1b510534329804f8050da07edb338d642df9067b28e6b14b7627231518732d7e1f2d3c SHA512 6c5a9bf4bc7c60c8c4f12d94265eee7e1888d5a4aa8653f294ef58aeb936c70e207d559d9b3dd5ce5eaea1847c73b1bf2e4e2d22de3d7a5e66dfb95fa60bc4a7
+DIST jbuilder-2.13.0.gem 28672 BLAKE2B 44f2c93524fc6263407d6851835dada03dca285fe7b71795b9fd0aaab27786044418e59102f0a046b0cf7dfcd6040128edebe1a53db16bdad67637e1f0aa24aa SHA512 0738879152e1b54df2ccb37f39ec8d9dc82eb5838c6af297ec15dbbb38a4781053f1022e864fbc080b4f1de7c9c356869c44f096e771175b887967e89258639a
diff --git a/dev-ruby/jbuilder/jbuilder-2.13.0.ebuild b/dev-ruby/jbuilder/jbuilder-2.13.0.ebuild
new file mode 100644
index 000000000000..51d8bdce0f79
--- /dev/null
+++ b/dev-ruby/jbuilder/jbuilder-2.13.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_TASK_TEST="CI=true test"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Create JSON structures via a Builder-style DSL"
+HOMEPAGE="https://github.com/rails/jbuilder"
+
+LICENSE="MIT"
+SLOT="2"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_rdepend "
+ || ( dev-ruby/activesupport:7.2 dev-ruby/activesupport:7.1 dev-ruby/activesupport:7.0 dev-ruby/activesupport:6.1 )
+ || ( dev-ruby/actionview:7.2 dev-ruby/actionview:7.1 dev-ruby/actionview:7.0 dev-ruby/actionview:6.1 )
+"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/activemodel-5.0.0
+ >=dev-ruby/railties-5.0.0
+ dev-ruby/mocha:2
+)"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' Rakefile test/test_helper.rb || die
+}