summaryrefslogtreecommitdiff
path: root/dev-ruby
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/Manifest.gzbin110975 -> 110982 bytes
-rw-r--r--dev-ruby/ipaddr/Manifest2
-rw-r--r--dev-ruby/ipaddr/ipaddr-1.2.7.ebuild33
-rw-r--r--dev-ruby/sshkit/Manifest2
-rw-r--r--dev-ruby/sshkit/sshkit-1.23.2.ebuild46
5 files changed, 83 insertions, 0 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz
index 01bf9f8b650d..8acec8e8c450 100644
--- a/dev-ruby/Manifest.gz
+++ b/dev-ruby/Manifest.gz
Binary files differ
diff --git a/dev-ruby/ipaddr/Manifest b/dev-ruby/ipaddr/Manifest
index a5ff61cb0f15..ee78ff974394 100644
--- a/dev-ruby/ipaddr/Manifest
+++ b/dev-ruby/ipaddr/Manifest
@@ -1,5 +1,7 @@
DIST ipaddr-1.2.5.tar.gz 21795 BLAKE2B dfc4d50941dc9275ff45bcd35ac48ea678c6d6bd4e4227e5514ba7ba1ad2bde7e6692eb81dfc066332211fa20911c58573d9e6fd6842195cebea69f004cf4dd1 SHA512 d3741e6841ad78dba364227d7f0313843068c06dd13f2f459cc3c07e5f2a9ed7d9a9ebbeb2533235ba561a52966bbfc78375b8b0ab36a9275a49251658c6deab
DIST ipaddr-1.2.6.tar.gz 11817 BLAKE2B fb2fefef581e372ce8130b3fef9e634218b5bd66bb579dc9909f641fb4dc7bd5f7b5252168cb0f0758874737119a163766b7c027c261f0eb386478b489633b82 SHA512 9850d26a8804a51587b7070be8bb932c312cb4d3619204df73a7d55b3f177891d18e5daf05b17f4271df9f04296f97aff607bcbc189b5c7238fd80376a13e3e7
+DIST ipaddr-1.2.7.tar.gz 13050 BLAKE2B 90718d0a131297bee394715b62e70cd0592a7edf0be5a14bba9cbdf097e4115e1dd069d895fe22951ada77c1e7668b710f7944eed84ee6c5c58679384053c104 SHA512 3900331c7f7822e330e983b243da3f7ef5387af8467212770577a501a584ba834f03c112ec476bb274c80784f45928b9a12d7d5851608430283c4e12ed1e317a
EBUILD ipaddr-1.2.5.ebuild 953 BLAKE2B 21b13f0e478799b5e0499ee5f98089ab73d42d8871d963e7c1f4ef944f3aae23b461eb3e87ab0f9f4f07cc3784734e5f1d026b81a635da17c588a181acd3c4bd SHA512 9aea8bf0111b64a24c124333a61ddaac2e0dedeb8ad7a3b195fb35d5a53873f0c281def3c588e622e6f138785d92431eff6d6e3a7135b761ac4ff3ebea4060c9
EBUILD ipaddr-1.2.6.ebuild 953 BLAKE2B ef5e4807d936654070b047493dabfe3cd45a1bb18632cd7660a8765a63956a6c4c06c3f9c24fe0c5b01981853a768822ff66e484e57982ed96caf9800d2a2016 SHA512 05da7078942733717ac0f0929b52ce9aeee6c3b47ec4594437271f5410fe0e340d09d0ed8f75f0301eb260424a4aac0af8ffa9a4f2f4471f0d88855637a3159e
+EBUILD ipaddr-1.2.7.ebuild 1035 BLAKE2B 63bf9efa213224052e63ac8623c757817d1c8f6889dd7541af967f8672b266f85598772ca39199fc582a9b2c0dcbaec1cba2c6d47bc11eb2b3cef0ed543ca4ce SHA512 a6dc43cfd489ff4053e1f75212e477e932ce77dfa72522ec45073f87726b146b94b86eeefe396e52962aa7229d959c00feb32744de02ae3f7946b681fe7117c0
MISC metadata.xml 338 BLAKE2B cd42f6b9da9119c3e5c260ecd9aec64ad09dccc847e4720297bbd06a72a5bd9c17f83d99a4bd52ce7969bd5c9eb6cf3a54cf874a2f1c19c676730d87d39b8c7d SHA512 912bc07f88a2b215c2ada62db4c422e71b5a83450e36d88f76dc56ca5f9165401565e4fd1728c747b6be12e8b0e0eba003cd8b06687b2679206b22370a1149db
diff --git a/dev-ruby/ipaddr/ipaddr-1.2.7.ebuild b/dev-ruby/ipaddr/ipaddr-1.2.7.ebuild
new file mode 100644
index 000000000000..564e985c1651
--- /dev/null
+++ b/dev-ruby/ipaddr/ipaddr-1.2.7.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_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="ipaddr.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="IPAddr provides a set of methods to manipulate an IPv4 or IPv6 address"
+HOMEPAGE="https://github.com/ruby/ipaddr"
+SRC_URI="https://github.com/ruby/ipaddr/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
+
+all_ruby_prepare() {
+ sed -e 's/__dir__/"."/' \
+ -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
+ -e 's/git ls-files -z/find * -print0/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:.:test:test/lib -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die
+}
diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest
index 388bb7370903..211f5b50d11b 100644
--- a/dev-ruby/sshkit/Manifest
+++ b/dev-ruby/sshkit/Manifest
@@ -1,7 +1,9 @@
DIST sshkit-1.22.2.gem 146944 BLAKE2B 1059014a0537faa1ee0b19427b6654b8a8fa80a437c311f66d671dce029898f71e4f8aca7e68bb29144a3bd547ae747ab7862150ba53b9bdf29c273ee24ac79e SHA512 a01106d301e4bb8f372af4226d8b244a4da1aa1292c4f0eb0525543d49b05290af92efc3e0736b317b4f1a72d83802d7769a6322147128c03d7d8123cd25ff45
DIST sshkit-1.23.0.gem 146944 BLAKE2B a2015b0f2b5a5adc905bf89a0e1242abb2856646383a259ab85761014e5b908329f651f51a14bfa1c0356c8d861edf1239a0cf1e8fdb64819cd5a15f218552b0 SHA512 595900c195cfa247c89cbd0486c53aea3991db5ba7636cc778687ec31be58ee3120ef54b0682367625d3546199253a7d4ffca07bc7691f5dde3d4ae6a6e7f19c
DIST sshkit-1.23.1.gem 146944 BLAKE2B 497b73da2ec4007e7264336536f7bea62c8ddf7e64d9779f0d2aa6d0b5471cdb155a130665931a3004131a6127c022b88d08613a321aedde124e057b1bb59bc7 SHA512 fb3d6e1de1fa68865421f299d7184d05918ef6d5c183fe21102ca277ffb70b8ecbf383f9b4489a39697c9adc5998c0b4c05483d9b08774c4b4201bd505b1488d
+DIST sshkit-1.23.2.gem 146944 BLAKE2B cc8c1255cab98ee9552c3e3d3f3d0933f2f2f1afb289983cef147d6ec25a1a8b6bd4bfc19d64f7faa9880cce6c2a066a81a84d8670eaf7f6f47856c4a53c9eeb SHA512 6bb6acef181e460e392c25632bcc0f71fb3e12e3b582817293ad084162e8ea06c265498770ab33799061512799d31883ccda913b1b24427f2e4e758067ddc303
EBUILD sshkit-1.22.2.ebuild 1220 BLAKE2B f68c991e1360b4fa9e4588f7374c58a8510a4b63d8c89fa12d5b4c68922e027b868a6241faefdd616bb5002b428667c0d1f32d836c4839f3cc0876f90eb696d4 SHA512 4e84b72b5b231a930b9029aeddf0594f5ac3268c8584dc8422dad8ef48eaf63728e42afba9b7aa1d8801ecdb980d0e09ddcfd7405cf765398aa9142d76c9c36a
EBUILD sshkit-1.23.0.ebuild 1271 BLAKE2B b01d23b1b847cdcf6b7d638fc1054828bd6d2ae9e96ff40b20086dc2a9e1abcb0d7fe93b6d34a7c7ba696dca92194ae77bff730cc297a452396425c3de0950e8 SHA512 05d80ec44070dedbef1ce4b2214f18d6150708554d980d63fec4d4cb892922faa343d32b784517d72b271dea7471b6552a88d50edb44b1b9ef1ea0a4f6b90d65
EBUILD sshkit-1.23.1.ebuild 1290 BLAKE2B 21c331267600600a692daf0f7e60cfad68c8fc46db7987ba2820b985f010a0758b590bbfe45b38d04f9677d0daa18afb7a6f7748d483958b6b505378eaa53c77 SHA512 3d0f78ee57ddcf04909f45c29e4ab622523fc8d8e761df9ad5247b90b08d594b733495ab0646a743010bb7e281f00470b121135af903b2453b641acbda32c655
+EBUILD sshkit-1.23.2.ebuild 1290 BLAKE2B 21c331267600600a692daf0f7e60cfad68c8fc46db7987ba2820b985f010a0758b590bbfe45b38d04f9677d0daa18afb7a6f7748d483958b6b505378eaa53c77 SHA512 3d0f78ee57ddcf04909f45c29e4ab622523fc8d8e761df9ad5247b90b08d594b733495ab0646a743010bb7e281f00470b121135af903b2453b641acbda32c655
MISC metadata.xml 344 BLAKE2B 16679900db0e4f70c9afc7fee058f72fd4df86453f5870666a329d1af1380894b7e592b89e02a4b23a07307765778f302cbd3166e45da66bcabe66b97b450d08 SHA512 afe79f300e02bfbcff4e984092bde60d4a8c6c528a0fd2816456bb5bb12c03aff61512e94e4ecbd6e76a947c2e5e22a433bb32fd052e7e0ac6e78814803f20a1
diff --git a/dev-ruby/sshkit/sshkit-1.23.2.ebuild b/dev-ruby/sshkit/sshkit-1.23.2.ebuild
new file mode 100644
index 000000000000..635a0f488c4c
--- /dev/null
+++ b/dev-ruby/sshkit/sshkit-1.23.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+# There are functional tests that require docker containers to be set up.
+RUBY_FAKEGEM_TASK_TEST="test:units"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="SSHKit makes it easy to write structured, testable SSH commands in Ruby"
+HOMEPAGE="https://github.com/capistrano/sshkit"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+ruby_add_rdepend "
+ dev-ruby/base64
+ >=dev-ruby/net-ssh-2.8.0:*
+ >=dev-ruby/net-scp-1.1.2
+ >=dev-ruby/net-sftp-2.1.2
+ dev-ruby/ostruct
+"
+
+ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/mocha )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/I s:^:#:' Rakefile test/helper.rb || die
+ sed -e '/\(unindent\|reporters\)/I s:^:#:' \
+ -e '/docker/I s:^:#:' \
+ -e '1irequire "pathname"' \
+ -i test/helper.rb || die
+ rm -f test/support/docker_wrapper.rb || die
+
+ # Fix assumption about parent directory name
+ sed -i -e '/assert_match/ s/sshkit/sshkit.*/' test/unit/test_deprecation_logger.rb || die
+}
+
+each_ruby_test() {
+ # Run tests directly to avoid dependencies in the Rakefile
+ ${RUBY} -Ilib:test:. -e "Dir['test/unit/**/test*.rb'].each{|f| require f}" || die
+}