summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-11-01 07:45:32 +0100
committerHans de Graaff <graaff@gentoo.org>2023-11-01 07:45:32 +0100
commit80cac95fc0259fe3ae4e74c80f933270e866d5d4 (patch)
tree37f86ede16760fa5e8141816ee1fd0fe5291c95f /dev-ruby/ddmetrics
parentwww-apps/gitea: drop old (diff)
downloadgentoo-80cac95fc0259fe3ae4e74c80f933270e866d5d4.tar.gz
gentoo-80cac95fc0259fe3ae4e74c80f933270e866d5d4.tar.bz2
gentoo-80cac95fc0259fe3ae4e74c80f933270e866d5d4.zip
dev-ruby/ddmetrics: add 1.1.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ddmetrics')
-rw-r--r--dev-ruby/ddmetrics/Manifest1
-rw-r--r--dev-ruby/ddmetrics/ddmetrics-1.1.0.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/ddmetrics/Manifest b/dev-ruby/ddmetrics/Manifest
index d092dc836cda..0f1219681a84 100644
--- a/dev-ruby/ddmetrics/Manifest
+++ b/dev-ruby/ddmetrics/Manifest
@@ -1 +1,2 @@
DIST ddmetrics-1.0.1.gem 15872 BLAKE2B de0fbb540c45b84c36c37b652f1a987c49d416e63aff644950091f4a84a76338590e1ce62e20df092488bd43af566dfcdb4a056d57ae306f7f3855bba43326f7 SHA512 d3b97bbcfe12a666c0bf28abc076510bb1ceb8e6f0ebda3ff40bba64da50bbb2995beb09da9b2c03b8e54271b143bc0703fb1d0b1db729d092281138ba717b3c
+DIST ddmetrics-1.1.0.gem 18432 BLAKE2B 8a9b6c0555731241f77057c502962e11a0eefb771b91f30f9df8fe4277c84d8b5c50569b8758134fe0f946e9ed3dec6ebb881edd4fedb8acba2741fa0695d042 SHA512 89bd29cf0f69ae7dba017765721d9b9662cb46d03d40a7c5524d72e5be3441a6372f61360bec8a2a36403db8ae2321dfbc23c05a515bcc79824e5b69d892f054
diff --git a/dev-ruby/ddmetrics/ddmetrics-1.1.0.ebuild b/dev-ruby/ddmetrics/ddmetrics-1.1.0.ebuild
new file mode 100644
index 000000000000..b95ed9cbb266
--- /dev/null
+++ b/dev-ruby/ddmetrics/ddmetrics-1.1.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Non-timeseries measurements for Ruby programs"
+HOMEPAGE="https://github.com/denisdefreyne/ddmetrics/"
+
+LICENSE="MIT"
+SLOT="1"
+KEYWORDS="~amd64 ~riscv"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/rspec-its dev-ruby/timecop )"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/I s:^:#:' \
+ -e '/fuubar/ s:^:#:' \
+ -e '/RSpec.configure/,/end/ s:^:#:' spec/spec_helper.rb || die
+}