summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-09-13 07:05:39 +0200
committerHans de Graaff <graaff@gentoo.org>2020-09-14 08:09:23 +0200
commit1376aad4aa71569685bcd896da43247f18d33d44 (patch)
tree406dc1bfe630854dbe53d53875b8351570ed8478 /dev-ruby/jbuilder
parentsys-kernel/git-sources: Automated version bump to 5.9_rc5. (diff)
downloadgentoo-1376aad4aa71569685bcd896da43247f18d33d44.tar.gz
gentoo-1376aad4aa71569685bcd896da43247f18d33d44.tar.bz2
gentoo-1376aad4aa71569685bcd896da43247f18d33d44.zip
dev-ruby/jbuilder: add 2.10.1
Package-Manager: Portage-3.0.4, Repoman-3.0.1 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.10.1.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/jbuilder/Manifest b/dev-ruby/jbuilder/Manifest
index 0761dbe6063d..a13e3009ad6a 100644
--- a/dev-ruby/jbuilder/Manifest
+++ b/dev-ruby/jbuilder/Manifest
@@ -1 +1,2 @@
DIST jbuilder-2.10.0.gem 28160 BLAKE2B c277a59d53f30132ebe88d6afda5c221d74a399b01cedf6a4863f29e94d329137669942957a21ae9c5c192177dc9e78b6d66d9b5a29c7d4667a0432556c6b28c SHA512 a429422d65ed3eec55f46597f73a97b267fe7d6c7554ec6a6d60e1e1c0a9306b81f7283524602a30af11a141f7cd466a0f7b0a804172bd4008787462f0fa4ffc
+DIST jbuilder-2.10.1.gem 28160 BLAKE2B 07bde14ee6a75b5e1cec8ee1fead688c613e76713d32d419433b0f7163a9622bcc48e4b36333eb06960a9a566784d7f31843d71259226539fe569cd178315d55 SHA512 340e9d9cff969294e22a3eea57001e69402cd47b791660a1468702e046edfe4a3cc4f8fe18b87ba63e13352d020cd8fd78fcc070a287bb8da108c531f4dc22a5
diff --git a/dev-ruby/jbuilder/jbuilder-2.10.1.ebuild b/dev-ruby/jbuilder/jbuilder-2.10.1.ebuild
new file mode 100644
index 000000000000..6198e4aa3ee4
--- /dev/null
+++ b/dev-ruby/jbuilder/jbuilder-2.10.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_TEST="TRAVIS=true test"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md 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=""
+
+ruby_add_rdepend ">=dev-ruby/activesupport-5.0.0:*"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/railties-5.0.0
+)"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' Rakefile test/test_helper.rb || die
+}