net-ssh-telnet2 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/History.txt +4 -0
- data/lib/net/ssh/telnet.rb +9 -1
- data/lib/net/ssh/telnet/version.rb +7 -0
- data/net-ssh-telnet.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6713b93c5bf3dad082941fae72e786f2e296005
|
4
|
+
data.tar.gz: fbe3d18acc3db650a26b4b4e9287fd41b71ded15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ca115487b2a87f91011d2ae0cd7cc168f5aadab2bdaa4df59e5bc90d8c148ed82eeb788c7174887d608da6d0d5671d2b6aa254447a965acbf33dc82141f9cc2
|
7
|
+
data.tar.gz: 41e5c085c408257de7433aa0658436b4852b0633f9d70525d0d22c7241418c5c6451d19eeb39fa24e2125aae7d638766168ca71d07cda64579a41cb61e59d5b4
|
data/History.txt
CHANGED
data/lib/net/ssh/telnet.rb
CHANGED
@@ -14,7 +14,6 @@ module SSH
|
|
14
14
|
CR = "\015"
|
15
15
|
LF = "\012"
|
16
16
|
EOL = CR + LF
|
17
|
-
VERSION = '0.1.1'
|
18
17
|
|
19
18
|
# Wrapper to emulate the behaviour of Net::Telnet "Proxy" option, where
|
20
19
|
# the user passes in an already-open socket
|
@@ -415,6 +414,13 @@ module SSH
|
|
415
414
|
end
|
416
415
|
end
|
417
416
|
|
417
|
+
# Change the standard prompt
|
418
|
+
# This is useful if you need a special prompt value for initializing the
|
419
|
+
# session, but want to use a different prompt for the rest of the session
|
420
|
+
def prompt= val
|
421
|
+
@options["Prompt"] = val
|
422
|
+
end
|
423
|
+
|
418
424
|
# Sends +string+ to the host.
|
419
425
|
#
|
420
426
|
# Same as #print(), but appends a newline to the string.
|
@@ -477,3 +483,5 @@ module SSH
|
|
477
483
|
end # class Telnet
|
478
484
|
end # module SSH
|
479
485
|
end # module Net
|
486
|
+
|
487
|
+
require 'net/ssh/telnet/version'
|
data/net-ssh-telnet.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-ssh-telnet2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Dilda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|
@@ -61,6 +61,7 @@ files:
|
|
61
61
|
- examples/get_hostname.rb
|
62
62
|
- examples/non_standard_shell.rb
|
63
63
|
- lib/net/ssh/telnet.rb
|
64
|
+
- lib/net/ssh/telnet/version.rb
|
64
65
|
- net-ssh-telnet.gemspec
|
65
66
|
- test/test_net-ssh-telnet.rb
|
66
67
|
homepage: https://github.com/duke-automation/net-ssh-telnet2
|
@@ -83,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
84
|
version: '0'
|
84
85
|
requirements: []
|
85
86
|
rubyforge_project:
|
86
|
-
rubygems_version: 2.
|
87
|
+
rubygems_version: 2.5.1
|
87
88
|
signing_key:
|
88
89
|
specification_version: 4
|
89
90
|
summary: Provides Net::Telnet API for SSH connections
|