vipnet_getter 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vipnet_getter.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4be22db591c17046ec0bb3cd8e5fc814fee22f9d
|
4
|
+
data.tar.gz: 3690e4ab38c0e829da2b92e54dbe0497ef95e7bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad3351234798ff742f846ee513b649261a25593e0b81e80627ce44f56ec6e48cf4e3abba38b6f21842bd297be2447863824f6addb03bedb61e019cbe545f46f8
|
7
|
+
data.tar.gz: 96039f28b78e26d21e817d0eb230e4ce806e0b001454135c00dba407579aed54f2960004576c37d99e45106802808d71814a53b941e9e126f5027049bf87c50f
|
data/lib/vipnet_getter.rb
CHANGED
@@ -5,9 +5,9 @@ class VipnetGetter
|
|
5
5
|
def self.iplirconf(params)
|
6
6
|
hostname = params[:hostname]
|
7
7
|
password = params[:password]
|
8
|
+
username = params[:username] || "vipnet"
|
8
9
|
output_file_path = params[:output_file_path]
|
9
10
|
|
10
|
-
username = "vipnet"
|
11
11
|
# adding digest to known_hosts if needed
|
12
12
|
require "ruby_expect"
|
13
13
|
exp_ssh_digest = RubyExpect::Expect.spawn("/usr/bin/ssh #{username}@#{hostname}")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vipnet_getter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Morozov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby_expect
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1'
|
27
|
-
description: Allows to get configuration files like iplir.conf (and more) from ViPNet
|
27
|
+
description: Allows to get configuration files like iplir.conf (and more) from ViPNet™
|
28
28
|
products such as HW1000; no "enable" and "admin escape" needed.
|
29
29
|
email: ntcomp12@gmail.com
|
30
30
|
executables: []
|
@@ -55,5 +55,5 @@ rubyforge_project:
|
|
55
55
|
rubygems_version: 2.5.1
|
56
56
|
signing_key:
|
57
57
|
specification_version: 4
|
58
|
-
summary: Gem for getting data from ViPNet products
|
58
|
+
summary: Gem for getting data from ViPNet™ products
|
59
59
|
test_files: []
|