summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-07-23 07:25:03 +0200
committerHans de Graaff <graaff@gentoo.org>2024-07-23 07:29:02 +0200
commitb3aa07e1c993ae363e07370fd81e0cd1761c85dc (patch)
tree05f691d8a69eb10df8eb865601049f4b1f07980c /dev-ruby/faker
parentdev-ruby/mocha: add 2.4.3 (diff)
downloadgentoo-b3aa07e1c993ae363e07370fd81e0cd1761c85dc.tar.gz
gentoo-b3aa07e1c993ae363e07370fd81e0cd1761c85dc.tar.bz2
gentoo-b3aa07e1c993ae363e07370fd81e0cd1761c85dc.zip
dev-ruby/faker: add 3.4.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/faker')
-rw-r--r--dev-ruby/faker/Manifest1
-rw-r--r--dev-ruby/faker/faker-3.4.2.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/faker/Manifest b/dev-ruby/faker/Manifest
index fae9b9b76fca..0045d722d60e 100644
--- a/dev-ruby/faker/Manifest
+++ b/dev-ruby/faker/Manifest
@@ -3,3 +3,4 @@ DIST faker-3.2.0.tar.gz 1741224 BLAKE2B 0ff591bda01c5009ef1303403fa954f00f4fb885
DIST faker-3.2.1.tar.gz 1790088 BLAKE2B 87131d359c40f4a517a0aa5dfde0aa5a8807a6cfd4af31c5fd61cefcc7a4311549b98fe132c846ead0c9d2b1afd7551d3cc32d285ecedf4ee3ec733ed1d886e3 SHA512 6ee9ffacf60bee367a3590195676cc80c79625d920c52bf9dff42957c2afdb099e1fc28c3fe3d981ee163bea3cb044153396c458b3bf859e2fe3f2b6f44aea85
DIST faker-3.2.2.tar.gz 1808552 BLAKE2B 148e821b254de61fc44ff0836e91bb66574bf913d5899410bf4e7939ccbed74a343dc6a1fa504f4cb618dcbdac949d591a36c54e02ac1ae1181cf35b3a309f97 SHA512 d13211874f74a380a21cc8940cd7e7382d404cf28b4b3e4becbf0d6b9c027ebb0e206c15febddecd4ad48bdcd59017c9e33399fa0467d0e205cad044078ba5a6
DIST faker-3.4.1.tar.gz 1852623 BLAKE2B f3473832cde76ac4775cc9ba8b666f9b92601d2a775c899ffda46bc3b0a7e02b71fce54aa1953c414cb56607705db885925de9e8ed337e5eda64db9e74f724e5 SHA512 28128cbc5e82226cba82d9c0f8c899a3b43d952de965449a357231f1d9e2925a7084053fd6dd653c1a218df99135a0d3b264d87431f042438454cea7acbcabe4
+DIST faker-3.4.2.tar.gz 1856673 BLAKE2B 944f5395200eba644af9c578ec0d70661ea1fce2abf692ecdd296a5340c3d4e505593c827a79bfe175d9a7e51404d7866bab45ee39c054f69e276c490b3eedbf SHA512 adf97178079af3ba8532af2a6cf7127d04a9d53d1dc66231928cdcb2ea4cdb7a892e626c200796f16e7f6c1aae8329d33d403bcf6ee1b7e2cba2464bbd9bc81b
diff --git a/dev-ruby/faker/faker-3.4.2.ebuild b/dev-ruby/faker/faker-3.4.2.ebuild
new file mode 100644
index 000000000000..3797e1f38683
--- /dev/null
+++ b/dev-ruby/faker/faker-3.4.2.ebuild
@@ -0,0 +1,33 @@
+# 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_RECIPE_DOC="none"
+
+RUBY_FAKEGEM_GEMSPEC="faker.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A library for generating fake data such as names, addresses, and phone numbers"
+HOMEPAGE="https://github.com/faker-ruby/faker"
+SRC_URI="https://github.com/faker-ruby/faker/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/i18n-1.8.11:1"
+
+ruby_add_bdepend "test? ( dev-ruby/timecop )"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/,/^end/ s:^:#:' test/test_helper.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test:. -e 'Dir["test/**/test*.rb"].each { require _1 }' || die
+}