net-ssh-telnet2 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 18549f4479417ad5fb5292754a895e46cde06e4e
4
- data.tar.gz: 25047c4bbb17444ede9d091a04b2f00a6e7ae863
3
+ metadata.gz: c6713b93c5bf3dad082941fae72e786f2e296005
4
+ data.tar.gz: fbe3d18acc3db650a26b4b4e9287fd41b71ded15
5
5
  SHA512:
6
- metadata.gz: d802e61e09252d54c245d2fb28d791c1a282bdc5e53bb7ab41a78d7b8959a1405cbda797e11db7ee337aaf7a46ef65ea87106f3e57f237e71b1e30389878c80a
7
- data.tar.gz: 4166f895efeec38e9f44114c4e6c687c1d09a440f9f164253d5b6e084e01b112f4a81710e888b7eb4db423e2f45eeda966d75088d96c9472b0e41e47639ca59f
6
+ metadata.gz: 7ca115487b2a87f91011d2ae0cd7cc168f5aadab2bdaa4df59e5bc90d8c148ed82eeb788c7174887d608da6d0d5671d2b6aa254447a965acbf33dc82141f9cc2
7
+ data.tar.gz: 41e5c085c408257de7433aa0658436b4852b0633f9d70525d0d22c7241418c5c6451d19eeb39fa24e2125aae7d638766168ca71d07cda64579a41cb61e59d5b4
@@ -1,3 +1,7 @@
1
+ === 0.2.0 / 2017-01-16
2
+ * Add option to change prompt after initialization
3
+ * Cleanup requires for gemspec
4
+
1
5
  === 0.1.1 / 2016-05-06
2
6
  * Apply fix to race condition during initialization from lumean
3
7
 
@@ -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'
@@ -0,0 +1,7 @@
1
+ module Net
2
+ module SSH
3
+ class Telnet
4
+ VERSION = '0.2.0'
5
+ end
6
+ end
7
+ end
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'net/ssh/telnet'
4
+ require 'net/ssh/telnet/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "net-ssh-telnet2"
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.1.1
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: 2016-05-06 00:00:00.000000000 Z
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.4.5
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