[DRE-commits] [ruby-net-ssh-gateway] 04/05: Imported Upstream version 1.2.0
Jonas Genannt
jonas at brachium-system.net
Sun Dec 8 13:23:54 UTC 2013
This is an automated email from the git hooks/post-receive script.
hggh-guest pushed a commit to branch master
in repository ruby-net-ssh-gateway.
commit fe834a9388576b22577126209db3d3c4cd8cd045
Author: Jonas Genannt <jonas at brachium-system.net>
Date: Sun Dec 8 14:19:00 2013 +0100
Imported Upstream version 1.2.0
---
CHANGELOG.rdoc => CHANGES.txt | 5 ++
LICENSE.txt | 19 +++++
README.rdoc | 30 +++++++-
Rakefile | 66 ++++++++++++-----
data.tar.gz.sig | Bin 0 -> 256 bytes
gem-public_cert.pem | 20 ++++++
lib/net/ssh/gateway.rb | 10 +--
metadata.gz.sig | 2 +
metadata.yml | 162 ++++++++++++++++++++++++++++--------------
net-ssh-gateway.gemspec | 61 +++++++++++-----
test/gateway_test.rb | 1 +
11 files changed, 278 insertions(+), 98 deletions(-)
diff --git a/CHANGELOG.rdoc b/CHANGES.txt
similarity index 79%
rename from CHANGELOG.rdoc
rename to CHANGES.txt
index 415af58..fbbb402 100644
--- a/CHANGELOG.rdoc
+++ b/CHANGES.txt
@@ -1,3 +1,8 @@
+
+=== 1.2.0 / 06 Feb 2013
+
+* Added public cert. All gem releases are now signed. See INSTALL in readme.
+
=== 1.1.0 / 30 Apr 2011
* Fix for sporadicly stalled SSH connections in Ruby 1.9 [Mat Trudel]
diff --git a/LICENSE.txt b/LICENSE.txt
new file mode 100644
index 0000000..1ce3dc8
--- /dev/null
+++ b/LICENSE.txt
@@ -0,0 +1,19 @@
+Copyright © 2008 Jamis Buck
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the ‘Software’), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.rdoc b/README.rdoc
index ddedbf3..d65ee18 100644
--- a/README.rdoc
+++ b/README.rdoc
@@ -1,10 +1,16 @@
= Net::SSH::Gateway
-* http://net-ssh.rubyforge.org/gateway
+* Docs: http://net-ssh.github.com/net-ssh-gateway
+* Issues: https://github.com/net-ssh/net-ssh-gateway/issues
+* Codes: https://github.com/net-ssh/net-ssh-gateway
+* Email: net-ssh at solutious.com
+
+<em>As of v1.1.1, all gem releases are signed. See INSTALL.</em>
+
== DESCRIPTION:
-Net::SSH::Gateway is a library for programmatically tunneling connections to servers via a single "gateway" host. It is useful for establishing Net::SSH connections to servers behind firewalls, but can also be used to forward ports and establish connections of other types, like HTTP, to servers with restricted access.
+Net::SSH::Gateway is a library for programmatically tunnelling connections to servers via a single "gateway" host. It is useful for establishing Net::SSH connections to servers behind firewalls, but can also be used to forward ports and establish connections of other types, like HTTP, to servers with restricted access.
== FEATURES:
@@ -29,6 +35,10 @@ In a nutshell:
gateway.shutdown!
+ # As of 1.1.0, you can also specify the wait time for the
+ # gateway thread with the :loop_wait option.
+ gateway = Net::SSH::Gateway.new('host', 'user', :loop_wait => 0.001)
+
See Net::SSH::Gateway for more documentation.
== REQUIREMENTS:
@@ -42,7 +52,21 @@ If you want to run the tests or use any of the Rake tasks, you'll need:
== INSTALL:
-* gem install net-ssh-gateway (might need sudo privileges)
+* gem install net-ssh-gateway
+
+However, in order to be sure the code you're installing hasn't been tampered with, it's recommended that you verify the signiture[http://docs.rubygems.org/read/chapter/21]. To do this, you need to add my public key as a trusted certificate (you only need to do this once):
+
+ # Add the public key as a trusted certificate
+ # (You only need to do this once)
+ $ curl -O https://raw.github.com/net-ssh/net-ssh/master/gem-public_cert.pem
+ $ gem cert --add gem-public_cert.pem
+
+Then, when install the gem, do so with high security:
+
+ $ gem install net-ssh-gateway -P HighSecurity
+
+If you don't add the public key, you'll see an error like "Couldn't verify data signature". If you're still having trouble let me know and I'll give you a hand.
+
== LICENSE:
diff --git a/Rakefile b/Rakefile
index 9a6b76e..431b8d1 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,28 +1,58 @@
+require "rubygems"
+require "rake"
+require "rake/clean"
+require "rdoc/task"
+
+task :default => ["build"]
+CLEAN.include [ 'pkg', 'rdoc' ]
+name = "net-ssh-gateway"
+
+$:.unshift File.join(File.dirname(__FILE__), 'lib')
require './lib/net/ssh/gateway'
+version = Net::SSH::Gateway::Version::STRING.dup
begin
- require 'echoe'
-rescue LoadError
- abort "You'll need to have `echoe' installed to use Net::SSH::Gateway's Rakefile"
-end
+ require "jeweler"
+ Jeweler::Tasks.new do |s|
+ s.version = version
+ s.name = name
+ s.rubyforge_project = s.name
+ s.summary = "A simple library to assist in establishing tunneled Net::SSH connections"
+ s.description = s.summary
+ s.email = "net-ssh at solutious.com"
+ s.homepage = "https://github.com/net-ssh/net-scp"
+ s.authors = ["Jamis Buck", "Delano Mandelbaum"]
-version = Net::SSH::Gateway::Version::STRING.dup
-if ENV['SNAPSHOT'].to_i == 1
- version << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
-end
+ s.add_dependency 'net-ssh', ">=2.6.5"
-Echoe.new('net-ssh-gateway', version) do |p|
- p.changelog = "CHANGELOG.rdoc"
+ s.add_development_dependency 'test-unit'
+ s.add_development_dependency 'mocha'
- p.author = "Jamis Buck"
- p.email = "net-ssh-gateway at solutious.com"
- p.summary = "A simple library to assist in establishing tunneled Net::SSH connections"
- p.url = "http://net-ssh.rubyforge.org/gateway"
+ s.license = "MIT"
- p.dependencies = ["net-ssh >=1.99.1"]
+ s.signing_key = File.join('/mnt/gem/', 'gem-private_key.pem')
+ s.cert_chain = ['gem-public_cert.pem']
+ end
+ Jeweler::GemcutterTasks.new
+rescue LoadError
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
+end
- p.need_zip = true
- p.include_rakefile = true
+require 'rake/testtask'
+Rake::TestTask.new do |t|
+ t.libs = ["lib", "test"]
+end
- p.rdoc_pattern = /^(lib|README.rdoc|CHANGELOG.rdoc)/
+extra_files = %w[LICENSE.txt THANKS.txt CHANGES.txt ]
+RDoc::Task.new do |rdoc|
+ rdoc.rdoc_dir = "rdoc"
+ rdoc.title = "#{name} #{version}"
+ rdoc.generator = 'hanna' # gem install hanna-nouveau
+ rdoc.main = 'README.rdoc'
+ rdoc.rdoc_files.include("README*")
+ rdoc.rdoc_files.include("bin/*.rb")
+ rdoc.rdoc_files.include("lib/**/*.rb")
+ extra_files.each { |file|
+ rdoc.rdoc_files.include(file) if File.exists?(file)
+ }
end
diff --git a/data.tar.gz.sig b/data.tar.gz.sig
new file mode 100644
index 0000000..83de126
Binary files /dev/null and b/data.tar.gz.sig differ
diff --git a/gem-public_cert.pem b/gem-public_cert.pem
new file mode 100644
index 0000000..1bda370
--- /dev/null
+++ b/gem-public_cert.pem
@@ -0,0 +1,20 @@
+-----BEGIN CERTIFICATE-----
+MIIDNjCCAh6gAwIBAgIBADANBgkqhkiG9w0BAQUFADBBMQ8wDQYDVQQDDAZkZWxh
+bm8xGTAXBgoJkiaJk/IsZAEZFglzb2x1dGlvdXMxEzARBgoJkiaJk/IsZAEZFgNj
+b20wHhcNMTMwMjA2MTE1NzQ1WhcNMTQwMjA2MTE1NzQ1WjBBMQ8wDQYDVQQDDAZk
+ZWxhbm8xGTAXBgoJkiaJk/IsZAEZFglzb2x1dGlvdXMxEzARBgoJkiaJk/IsZAEZ
+FgNjb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDg1hMtl0XsMuUK
+AKTgYWv3gjj7vuEsE2EjT+vyBg8/LpqVVwZziiaebJT9IZiQ+sCFqbiakj0b53pI
+hg1yOaBEmH6/W0L7rwzqaRV9sW1eJs9JxFYQCnd67zUnzj8nnRlOjG+hhIG+Vsij
+npsGbt28pefuNZJjO5q2clAlfSniIIHfIsU7/StEYu6FUGOjnwryZ0r5yJlr9RrE
+Gs+q0DW8QnZ9UpAfuDFQZuIqeKQFFLE7nMmCGaA+0BN1nLl3fVHNbLHq7Avk8+Z+
+ZuuvkdscbHlO/l+3xCNQ5nUnHwq0ADAbMLOlmiYYzqXoWLjmeI6me/clktJCfN2R
+oZG3UQvvAgMBAAGjOTA3MAkGA1UdEwQCMAAwHQYDVR0OBBYEFMSJOEtHzE4l0azv
+M0JK0kKNToK1MAsGA1UdDwQEAwIEsDANBgkqhkiG9w0BAQUFAAOCAQEAtOdE73qx
+OH2ydi9oT2hS5f9G0y1Z70Tlwh+VGExyfxzVE9XwC+iPpJxNraiHYgF/9/oky7ZZ
+R9q0/tJneuhAenZdiQkX7oi4O3v9wRS6YHoWBxMPFKVRLNTzvVJsbmfpCAlp5/5g
+ps4wQFy5mibElGVlOobf/ghqZ25HS9J6kd0/C/ry0AUtTogsL7TxGwT4kbCx63ub
+3vywEEhsJUzfd97GCABmtQfRTldX/j7F1z/5wd8p+hfdox1iibds9ZtfaZA3KzKn
+kchWN9B6zg9r1XMQ8BM2Jz0XoPanPe354+lWwjpkRKbFow/ZbQHcCLCq24+N6b6g
+dgKfNDzwiDpqCA==
+-----END CERTIFICATE-----
diff --git a/lib/net/ssh/gateway.rb b/lib/net/ssh/gateway.rb
index 0757d18..a10e238 100644
--- a/lib/net/ssh/gateway.rb
+++ b/lib/net/ssh/gateway.rb
@@ -32,7 +32,7 @@ require 'net/ssh/version'
# Port numbers are allocated automatically, beginning at MAX_PORT and
# decrementing on each request for a new port until MIN_PORT is reached. If
# a port is already in use, this is detected and a different port will be
-# assigned.
+# assigned.
class Net::SSH::Gateway
# A trivial class for representing the version of this library.
class Version < Net::SSH::Version
@@ -40,7 +40,7 @@ class Net::SSH::Gateway
MAJOR = 1
# The minor component of the library's version
- MINOR = 1
+ MINOR = 2
# The tiny component of the library's version
TINY = 0
@@ -65,8 +65,8 @@ class Net::SSH::Gateway
# are passed as given to that method to start up the gateway connection.
#
# gateway = Net::SSH::Gateway.new('host', 'user', :password => "password")
- #
- # As of 1.1 there is an additional option to specify the wait time for
+ #
+ # As of 1.1 there is an additional option to specify the wait time for
# the gateway thread. The default is 0.001 seconds and can be changed
# with the :loop_wait option.
#
@@ -98,7 +98,7 @@ class Net::SSH::Gateway
end
@active = false
-
+
@thread.join
@session.close
end
diff --git a/metadata.gz.sig b/metadata.gz.sig
new file mode 100644
index 0000000..02b1d21
--- /dev/null
+++ b/metadata.gz.sig
@@ -0,0 +1,2 @@
+yx́>J�dZ�.�`���f�
'[iD�+S��t�ͥt�����l�6�C,�p$�
sFU~���z����Ja
�i�����9�<��=���
D
1ю��g!uNɸ���
�_��'�qY�5_i�P�����
�#ݜ����*9aD���w�l�K�=9�1���5�z�[7E"J�
�Z(�N�m/;�BCE��G���}���ڇ�++t�j
+b�P�jp$C"���ld�7�.�esf7�#ܥ֍L�
\ No newline at end of file
diff --git a/metadata.yml b/metadata.yml
index a5a3f49..80c6cca 100644
--- a/metadata.yml
+++ b/metadata.yml
@@ -1,80 +1,134 @@
---- !ruby/object:Gem::Specification
+--- !ruby/object:Gem::Specification
name: net-ssh-gateway
-version: !ruby/object:Gem::Version
+version: !ruby/object:Gem::Version
+ version: 1.2.0
prerelease:
- version: 1.1.0
platform: ruby
-authors:
+authors:
- Jamis Buck
+- Delano Mandelbaum
autorequire:
bindir: bin
-cert_chain: []
-
-date: 2011-04-30 00:00:00 -04:00
-default_executable:
-dependencies:
-- !ruby/object:Gem::Dependency
+cert_chain:
+- !binary |-
+ LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUROakNDQWg2Z0F3SUJB
+ Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREJCTVE4d0RRWURWUVFEREFaa1pX
+ eGgKYm04eEdUQVhCZ29Ka2lhSmsvSXNaQUVaRmdsemIyeDFkR2x2ZFhNeEV6
+ QVJCZ29Ka2lhSmsvSXNaQUVaRmdOagpiMjB3SGhjTk1UTXdNakEyTVRFMU56
+ UTFXaGNOTVRRd01qQTJNVEUxTnpRMVdqQkJNUTh3RFFZRFZRUUREQVprClpX
+ eGhibTh4R1RBWEJnb0praWFKay9Jc1pBRVpGZ2x6YjJ4MWRHbHZkWE14RXpB
+ UkJnb0praWFKay9Jc1pBRVoKRmdOamIyMHdnZ0VpTUEwR0NTcUdTSWIzRFFF
+ QkFRVUFBNElCRHdBd2dnRUtBb0lCQVFEZzFoTXRsMFhzTXVVSwpBS1RnWVd2
+ M2dqajd2dUVzRTJFalQrdnlCZzgvTHBxVlZ3WnppaWFlYkpUOUlaaVErc0NG
+ cWJpYWtqMGI1M3BJCmhnMXlPYUJFbUg2L1cwTDdyd3pxYVJWOXNXMWVKczlK
+ eEZZUUNuZDY3elVuemo4bm5SbE9qRytoaElHK1ZzaWoKbnBzR2J0MjhwZWZ1
+ TlpKak81cTJjbEFsZlNuaUlJSGZJc1U3L1N0RVl1NkZVR09qbndyeVowcjV5
+ SmxyOVJyRQpHcytxMERXOFFuWjlVcEFmdURGUVp1SXFlS1FGRkxFN25NbUNH
+ YUErMEJOMW5MbDNmVkhOYkxIcTdBdms4K1orClp1dXZrZHNjYkhsTy9sKzN4
+ Q05RNW5Vbkh3cTBBREFiTUxPbG1pWVl6cVhvV0xqbWVJNm1lL2Nsa3RKQ2ZO
+ MlIKb1pHM1VRdnZBZ01CQUFHak9UQTNNQWtHQTFVZEV3UUNNQUF3SFFZRFZS
+ ME9CQllFRk1TSk9FdEh6RTRsMGF6dgpNMEpLMGtLTlRvSzFNQXNHQTFVZER3
+ UUVBd0lFc0RBTkJna3Foa2lHOXcwQkFRVUZBQU9DQVFFQXRPZEU3M3F4Ck9I
+ MnlkaTlvVDJoUzVmOUcweTFaNzBUbHdoK1ZHRXh5Znh6VkU5WHdDK2lQcEp4
+ TnJhaUhZZ0YvOS9va3k3WloKUjlxMC90Sm5ldWhBZW5aZGlRa1g3b2k0TzN2
+ OXdSUzZZSG9XQnhNUEZLVlJMTlR6dlZKc2JtZnBDQWxwNS81ZwpwczR3UUZ5
+ NW1pYkVsR1ZsT29iZi9naHFaMjVIUzlKNmtkMC9DL3J5MEFVdFRvZ3NMN1R4
+ R3dUNGtiQ3g2M3ViCjN2eXdFRWhzSlV6ZmQ5N0dDQUJtdFFmUlRsZFgvajdG
+ MXovNXdkOHAraGZkb3gxaWliZHM5WnRmYVpBM0t6S24Ka2NoV045QjZ6Zzly
+ MVhNUThCTTJKejBYb1BhblBlMzU0K2xXd2pwa1JLYkZvdy9aYlFIY0NMQ3Ey
+ NCtONmI2ZwpkZ0tmTkR6d2lEcHFDQT09Ci0tLS0tRU5EIENFUlRJRklDQVRF
+ LS0tLS0K
+date: 2013-02-06 00:00:00.000000000 Z
+dependencies:
+- !ruby/object:Gem::Dependency
name: net-ssh
- prerelease: false
- requirement: &id001 !ruby/object:Gem::Requirement
+ requirement: !ruby/object:Gem::Requirement
none: false
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- version: 1.99.1
+ requirements:
+ - - ! '>='
+ - !ruby/object:Gem::Version
+ version: 2.6.5
type: :runtime
- version_requirements: *id001
+ prerelease: false
+ version_requirements: !ruby/object:Gem::Requirement
+ none: false
+ requirements:
+ - - ! '>='
+ - !ruby/object:Gem::Version
+ version: 2.6.5
+- !ruby/object:Gem::Dependency
+ name: test-unit
+ requirement: !ruby/object:Gem::Requirement
+ none: false
+ requirements:
+ - - ! '>='
+ - !ruby/object:Gem::Version
+ version: '0'
+ type: :development
+ prerelease: false
+ version_requirements: !ruby/object:Gem::Requirement
+ none: false
+ requirements:
+ - - ! '>='
+ - !ruby/object:Gem::Version
+ version: '0'
+- !ruby/object:Gem::Dependency
+ name: mocha
+ requirement: !ruby/object:Gem::Requirement
+ none: false
+ requirements:
+ - - ! '>='
+ - !ruby/object:Gem::Version
+ version: '0'
+ type: :development
+ prerelease: false
+ version_requirements: !ruby/object:Gem::Requirement
+ none: false
+ requirements:
+ - - ! '>='
+ - !ruby/object:Gem::Version
+ version: '0'
description: A simple library to assist in establishing tunneled Net::SSH connections
-email: net-ssh-gateway at solutious.com
+email: net-ssh at solutious.com
executables: []
-
extensions: []
-
-extra_rdoc_files:
-- CHANGELOG.rdoc
-- lib/net/ssh/gateway.rb
+extra_rdoc_files:
+- LICENSE.txt
- README.rdoc
-files:
-- CHANGELOG.rdoc
-- lib/net/ssh/gateway.rb
+files:
+- CHANGES.txt
+- LICENSE.txt
- Manifest
-- Rakefile
- README.rdoc
+- Rakefile
+- gem-public_cert.pem
+- lib/net/ssh/gateway.rb
+- net-ssh-gateway.gemspec
- setup.rb
- test/gateway_test.rb
-- net-ssh-gateway.gemspec
-has_rdoc: true
-homepage: http://net-ssh.rubyforge.org/gateway
-licenses: []
-
+homepage: https://github.com/net-ssh/net-scp
+licenses:
+- MIT
post_install_message:
-rdoc_options:
-- --line-numbers
-- --inline-source
-- --title
-- Net-ssh-gateway
-- --main
-- README.rdoc
-require_paths:
+rdoc_options: []
+require_paths:
- lib
-required_ruby_version: !ruby/object:Gem::Requirement
+required_ruby_version: !ruby/object:Gem::Requirement
none: false
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- version: "0"
-required_rubygems_version: !ruby/object:Gem::Requirement
+ requirements:
+ - - ! '>='
+ - !ruby/object:Gem::Version
+ version: '0'
+required_rubygems_version: !ruby/object:Gem::Requirement
none: false
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- version: "1.2"
+ requirements:
+ - - ! '>='
+ - !ruby/object:Gem::Version
+ version: '0'
requirements: []
-
rubyforge_project: net-ssh-gateway
-rubygems_version: 1.5.2
+rubygems_version: 1.8.25
signing_key:
specification_version: 3
summary: A simple library to assist in establishing tunneled Net::SSH connections
-test_files:
-- test/gateway_test.rb
+test_files: []
diff --git a/net-ssh-gateway.gemspec b/net-ssh-gateway.gemspec
index e861b49..85aeebe 100644
--- a/net-ssh-gateway.gemspec
+++ b/net-ssh-gateway.gemspec
@@ -1,33 +1,58 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
- s.name = %q{net-ssh-gateway}
- s.version = "1.1.0"
+ s.name = "net-ssh-gateway"
+ s.version = "1.2.0"
- s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
- s.authors = ["Jamis Buck"]
- s.date = %q{2011-04-30}
- s.description = %q{A simple library to assist in establishing tunneled Net::SSH connections}
- s.email = %q{net-ssh-gateway at solutious.com}
- s.extra_rdoc_files = ["CHANGELOG.rdoc", "lib/net/ssh/gateway.rb", "README.rdoc"]
- s.files = ["CHANGELOG.rdoc", "lib/net/ssh/gateway.rb", "Manifest", "Rakefile", "README.rdoc", "setup.rb", "test/gateway_test.rb", "net-ssh-gateway.gemspec"]
- s.homepage = %q{http://net-ssh.rubyforge.org/gateway}
- s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Net-ssh-gateway", "--main", "README.rdoc"]
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Jamis Buck", "Delano Mandelbaum"]
+ s.cert_chain = ["gem-public_cert.pem"]
+ s.date = "2013-02-06"
+ s.description = "A simple library to assist in establishing tunneled Net::SSH connections"
+ s.email = "net-ssh at solutious.com"
+ s.extra_rdoc_files = [
+ "LICENSE.txt",
+ "README.rdoc"
+ ]
+ s.files = [
+ "CHANGES.txt",
+ "LICENSE.txt",
+ "Manifest",
+ "README.rdoc",
+ "Rakefile",
+ "gem-public_cert.pem",
+ "lib/net/ssh/gateway.rb",
+ "net-ssh-gateway.gemspec",
+ "setup.rb",
+ "test/gateway_test.rb"
+ ]
+ s.homepage = "https://github.com/net-ssh/net-scp"
+ s.licenses = ["MIT"]
s.require_paths = ["lib"]
- s.rubyforge_project = %q{net-ssh-gateway}
- s.rubygems_version = %q{1.5.2}
- s.summary = %q{A simple library to assist in establishing tunneled Net::SSH connections}
- s.test_files = ["test/gateway_test.rb"]
+ s.rubyforge_project = "net-ssh-gateway"
+ s.rubygems_version = "1.8.25"
+ s.signing_key = "/mnt/gem/gem-private_key.pem"
+ s.summary = "A simple library to assist in establishing tunneled Net::SSH connections"
if s.respond_to? :specification_version then
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<net-ssh>, [">= 1.99.1"])
+ s.add_runtime_dependency(%q<net-ssh>, [">= 2.6.5"])
+ s.add_development_dependency(%q<test-unit>, [">= 0"])
+ s.add_development_dependency(%q<mocha>, [">= 0"])
else
- s.add_dependency(%q<net-ssh>, [">= 1.99.1"])
+ s.add_dependency(%q<net-ssh>, [">= 2.6.5"])
+ s.add_dependency(%q<test-unit>, [">= 0"])
+ s.add_dependency(%q<mocha>, [">= 0"])
end
else
- s.add_dependency(%q<net-ssh>, [">= 1.99.1"])
+ s.add_dependency(%q<net-ssh>, [">= 2.6.5"])
+ s.add_dependency(%q<test-unit>, [">= 0"])
+ s.add_dependency(%q<mocha>, [">= 0"])
end
end
+
diff --git a/test/gateway_test.rb b/test/gateway_test.rb
index 8d7fac7..f305f62 100644
--- a/test/gateway_test.rb
+++ b/test/gateway_test.rb
@@ -1,3 +1,4 @@
+# ruby -I../net-ssh/lib -Ilib -Itest -rrubygems test/gateway_test.rb
require 'test/unit'
require 'mocha'
require 'net/ssh/gateway'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-net-ssh-gateway.git
More information about the Pkg-ruby-extras-commits
mailing list