summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-07-03 07:28:20 +0200
committerHans de Graaff <graaff@gentoo.org>2017-07-03 07:28:20 +0200
commit31c09088cbd656504e7d6902dfae0b4592c589f4 (patch)
treebbe262fc339c5aeae48134d49df9750b9308aff1 /dev-ruby/sshkit
parentdev-ruby/mysql2: add 0.4.7 (diff)
downloadgentoo-31c09088cbd656504e7d6902dfae0b4592c589f4.tar.gz
gentoo-31c09088cbd656504e7d6902dfae0b4592c589f4.tar.bz2
gentoo-31c09088cbd656504e7d6902dfae0b4592c589f4.zip
dev-ruby/sshkit: add 1.14.0
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/sshkit')
-rw-r--r--dev-ruby/sshkit/Manifest1
-rw-r--r--dev-ruby/sshkit/sshkit-1.14.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest
index 75591c2e5a9c..ccef051a8740 100644
--- a/dev-ruby/sshkit/Manifest
+++ b/dev-ruby/sshkit/Manifest
@@ -2,3 +2,4 @@ DIST sshkit-1.11.4.gem 145408 SHA256 15fb0b96854d3c85b2a81fababfc369505519a144d5
DIST sshkit-1.11.5.gem 146432 SHA256 546948e1c33c1fb748455d25967d7dc06d592e59d3408ce04ebbe1950e5430b1 SHA512 a99f2be197038145079b6faeb5eb51f98cfebd43b07e47d6b3a771e4fd34f8f7fcbc0183e19b3ada55ecbd25a1498d63a6e7966c47c8af548a850cd3e9d70d9d WHIRLPOOL 9b91099a40f8c532a1ff1b39c151ef70184c4e2527c1b4fe454800b582ea5599fc2238d87962955b0058f2fd0144b26fb64caf4b84a4f52e6d98ebc1de45b70b
DIST sshkit-1.12.0.gem 146944 SHA256 93ae375f5c2e4d8914e6b3d773e19b82c63e5a5682358fb78231e1e3e0308b98 SHA512 62cacc33d80b3727a73cf0756e620dc85e3ec9829762f415089b17759220031be573d12c1fc55a6e585202526b2bdef5e10298d17f5e62f25ab0087697edbaa5 WHIRLPOOL cfb65bebc73bb75ad9b1df3955272640b5412c81dfa2c87a3e75f223c5e64b872cc4ffc5b273ff050024ccaa4ed4ebd5debe22fff2aa45b82f6033606a18b413
DIST sshkit-1.13.1.gem 147456 SHA256 6b573369dbca2a0e0591b95e12971fda71eecc0147ad9aa287074224c486e01b SHA512 da262cec2c32978a2f315d97ff174e47fbb131f26cbc06f894b3f3119797cd330c48aae1461176861c862b65504b9811fc492b2e162e9848fd09e62ef5ba8a5a WHIRLPOOL 8c058019c62ce9400dc2dae499655110c02dde8a494168b57cc38f14bac3a16f99c04e83813475d946cfc0688ff826c7f0c15b5479f12699281c88ddd90a002c
+DIST sshkit-1.14.0.gem 147456 SHA256 2554b6187b05d0f6c0ffaadd8108aa58ad2a8b800b104e0ca0c0b291dd97b240 SHA512 bb0934dc87e02813e24983aa21b9d508c612d3a84d9efdb342d4f73989e9ebf0177593b468391192223abb3930a1286040d996f4480385f129cf933feaa85d45 WHIRLPOOL 80ad03a110b74604af8ea869cf5495b7bb386443a8d84b2ecf57a8e98b8e116385b392a30d8143fbbafffcd52afb4442299cc5a615968b9ebd51585cdfda4f26
diff --git a/dev-ruby/sshkit/sshkit-1.14.0.ebuild b/dev-ruby/sshkit/sshkit-1.14.0.ebuild
new file mode 100644
index 000000000000..1fee1e1dcde7
--- /dev/null
+++ b/dev-ruby/sshkit/sshkit-1.14.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22 ruby23"
+
+# There are functional tests that require vagrant boxes to be set up.
+RUBY_FAKEGEM_TASK_TEST="test:units"
+
+RUBY_FAKEGEM_TASK_DOC=""
+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"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/net-ssh-2.8.0:*
+ >=dev-ruby/net-scp-1.1.2
+"
+
+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 -i -e '/\(turn\|unindent\|reporters\)/I s:^:#:' \
+ -e '1irequire "set"; require "pathname"' test/helper.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
+}