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/ammeter/
Date: Sun, 25 Feb 2024 10:24:10 +0000 (UTC)	[thread overview]
Message-ID: <1708856643.3250c8064bf0b4de53d198d7d423ef63ffdea599.graaff@gentoo> (raw)

commit:     3250c8064bf0b4de53d198d7d423ef63ffdea599
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 25 10:23:46 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 10:24:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3250c806

dev-ruby/ammeter: add 1.1.7

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/ammeter/Manifest             |  1 +
 dev-ruby/ammeter/ammeter-1.1.7.ebuild | 59 +++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-ruby/ammeter/Manifest b/dev-ruby/ammeter/Manifest
index 1456435eaa55..4f905182b99b 100644
--- a/dev-ruby/ammeter/Manifest
+++ b/dev-ruby/ammeter/Manifest
@@ -1,2 +1,3 @@
 DIST ammeter-1.1.5.gem 19968 BLAKE2B e4a7af65c8ee798b24f0c8a312315461779f5e1c31d97da1663d73b1a9cc65b99ed9f693259eed01a4152ab220d34ddb91ee4632657035fc1768897fae60d60e SHA512 35758fccaa51c9873747f24710168bdc0a0b25bd825d15e434cd17341d07f73a5078293d5045dcf88061765e92fe08f9b2470b4f206d859e82ec7befe64c1d93
 DIST ammeter-1.1.6.gem 19968 BLAKE2B 875da6f9be200b6df789f75b98224e30d0223a501fb54b94b9ef1c32a2c3c78cfe54c77e926ba0d17bc64faa42a357861818448889c6c25c698101deba05460d SHA512 13883aae0258c0354d5fec17f86d4851251e2a8138830113c94c20162294852c892f580e14df6407c88b6c64dbe87f241e392a1849d126d12d556462edcda147
+DIST ammeter-1.1.7.gem 19968 BLAKE2B ac503575d9c309c20f5b9ecbc31510862223199ba0f21801be3efef24d759f42c722581b1a518bc4225fdd0d7df3110f43bff79497b224ab8bc3fc4b6d57503e SHA512 7009f8c449180680327d09d84ad4eccf0f2adbf4a0ede0cc55d412396943af874254eb7ead92c8d818f4a8247f9d43d371f54de4001b9ae5e6ad6e6a66100673

diff --git a/dev-ruby/ammeter/ammeter-1.1.7.ebuild b/dev-ruby/ammeter/ammeter-1.1.7.ebuild
new file mode 100644
index 000000000000..f424cc1bac89
--- /dev/null
+++ b/dev-ruby/ammeter/ammeter-1.1.7.ebuild
@@ -0,0 +1,59 @@
+# 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_DOC=""
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Write specs for your Rails 3+ generators"
+HOMEPAGE="https://github.com/alexrothenberg/ammeter"
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_rdepend "
+	>=dev-ruby/activesupport-3.0:*
+	>=dev-ruby/railties-3.0:*
+	>=dev-ruby/rspec-rails-2.2:*
+"
+
+ruby_add_bdepend "
+	test? (
+		>=dev-ruby/rails-4.0
+		>=dev-ruby/uglifier-1.3
+		>=dev-ruby/rake-0.10
+		>=dev-ruby/jquery-rails-3.0
+		dev-util/cucumber
+		dev-util/aruba
+		dev-ruby/sqlite3
+		dev-ruby/bundler
+	)"
+
+all_ruby_prepare() {
+	# fix the gemspec; we remove the version dependencies from there, as
+	# it requires _older_ versions of its dependencies.. it doesn't
+	# really seem to be the case though. Also remove the references to
+	# git ls-files to avoid calling it.
+	sed -i \
+		-e '/git ls-files/d' \
+		-e '/\(cucumber\|aruba\)/s:,.*$::' \
+		${RUBY_FAKEGEM_GEMSPEC} || die
+
+	# haml-rails is not packaged, coffee-rails and sass-rails are no longer maintained
+	sed -i -e '/\(coffee\|haml\|sass\)-rails/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} Gemfile || die
+	rm -f spec/ammeter/rspec/generator/matchers/have_correct_syntax_spec.rb || die
+}
+
+each_ruby_test() {
+	RSPEC_VERSION=">=4" ${RUBY} -S bundle exec ${RUBY} -S rspec-3 spec || die
+}


             reply	other threads:[~2024-02-25 10:24 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-25 10:24 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-16  9:00 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ammeter/ Hans de Graaff
2025-08-09  7:56 Hans de Graaff
2025-08-09  7:56 Hans de Graaff
2024-10-06  7:40 Hans de Graaff
2024-06-21 11:21 Hans de Graaff
2023-12-17  9:36 Hans de Graaff
2023-08-31  5:13 Hans de Graaff
2023-07-12 18:53 Hans de Graaff
2023-04-08  7:04 Hans de Graaff
2023-04-07 18:11 Sam James
2022-05-15  7:50 Hans de Graaff
2021-07-07  6:53 Hans de Graaff
2021-07-06  7:49 Hans de Graaff
2021-02-25  5:28 Hans de Graaff
2019-05-06 17:58 Hans de Graaff
2018-08-05  7:05 Hans de Graaff
2018-01-25  6:34 Hans de Graaff
2017-12-09  7:55 Hans de Graaff
2017-04-17  9:26 Hans de Graaff
2016-12-25 23:21 Manuel Rüger
2016-09-24  7:11 Hans de Graaff
2016-07-03  5:49 Hans de Graaff
2016-03-17  0:21 Manuel Rüger
2016-03-17  0:21 Manuel Rüger
2015-10-09  6:08 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=1708856643.3250c8064bf0b4de53d198d7d423ef63ffdea599.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