summaryrefslogtreecommitdiff
path: root/dev-ruby/ruby_version
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/ruby_version')
-rw-r--r--dev-ruby/ruby_version/Manifest1
-rw-r--r--dev-ruby/ruby_version/metadata.xml10
-rw-r--r--dev-ruby/ruby_version/ruby_version-1.0.2.ebuild18
3 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/ruby_version/Manifest b/dev-ruby/ruby_version/Manifest
new file mode 100644
index 000000000000..b9e423b1d02c
--- /dev/null
+++ b/dev-ruby/ruby_version/Manifest
@@ -0,0 +1 @@
+DIST ruby_version-1.0.2.gem 24576 BLAKE2B 93283e11d49a4b981a64b7e61c68b93ab7abbc91c20de152e1936a1d57db54eec7e8d3aa756f96e52a531a3d72891724f53d3bc39f85e3be70d06d2958abef4d SHA512 638fa85d768a3975bd3eddbe71ef4c44a0cb4d135b44f746b1636cc02cdb4313331e41e35f7ed4f4a0132758d8264995ac8aa3e121abbeae5b95c62fe0d9132c
diff --git a/dev-ruby/ruby_version/metadata.xml b/dev-ruby/ruby_version/metadata.xml
new file mode 100644
index 000000000000..246d194b7ec0
--- /dev/null
+++ b/dev-ruby/ruby_version/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+
+ <origin>gentoo-staging</origin>
+</pkgmetadata> \ No newline at end of file
diff --git a/dev-ruby/ruby_version/ruby_version-1.0.2.ebuild b/dev-ruby/ruby_version/ruby_version-1.0.2.ebuild
new file mode 100644
index 000000000000..3cdc0b667262
--- /dev/null
+++ b/dev-ruby/ruby_version/ruby_version-1.0.2.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.rdoc"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Provides a RubyVersion class which offers a convenient DSL for checking for the right Ruby version"
+HOMEPAGE="https://github.com/janlelis/ruby_version"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""