i2cssh 1.13.0 → 1.13.1
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/VERSION +1 -1
- data/bin/i2cssh +3 -2
- data/i2cssh.gemspec +1 -1
- data/lib/i2cssh.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d366be0d4e87bfe5293ceaf2ebcb6b95db138e15
|
|
4
|
+
data.tar.gz: c891c911915d88d2ed9de280ec089b0dd3af3578
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: adcc5cbd19c31d5946ac0e2b8ae17f5bf04236ebb964eaf3f7d8cf3e690f7b01c143d8766408393a330e9ea745ea3ba207983eebc7b748118597957c73be62a9
|
|
7
|
+
data.tar.gz: 242083cc6c0cd74f358bc72127a88d52a7d8ceb854af913b7c2d0b32099f8e325fca820325bb06647df34a06533f6727e31ab96c8cbebaa2bf660e2dfd0c0845
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.13.
|
|
1
|
+
1.13.1
|
data/bin/i2cssh
CHANGED
|
@@ -62,6 +62,8 @@ def set_options(config_hash, login_override=nil)
|
|
|
62
62
|
end
|
|
63
63
|
|
|
64
64
|
@ssh_environment.last.merge!(config_hash["environment"].inject({}){|m, v| m.merge(v)})
|
|
65
|
+
else
|
|
66
|
+
@ssh_environment << {}
|
|
65
67
|
end
|
|
66
68
|
|
|
67
69
|
end
|
|
@@ -237,14 +239,12 @@ elsif ARGV.length > 1
|
|
|
237
239
|
if opts_from_cmdline[:tabs_nogroup]
|
|
238
240
|
ARGV.each do |serv|
|
|
239
241
|
@servers << [serv]
|
|
240
|
-
if @i2_options.size > 1 # We added stuff in with cmdline options
|
|
241
242
|
@i2_options << @i2_options.first.clone
|
|
242
243
|
if @ssh_environment.empty?
|
|
243
244
|
@ssh_environment << {}
|
|
244
245
|
else
|
|
245
246
|
@ssh_environment << @ssh_environment.first.clone
|
|
246
247
|
end
|
|
247
|
-
end
|
|
248
248
|
end
|
|
249
249
|
else
|
|
250
250
|
@servers << ARGV
|
|
@@ -287,4 +287,5 @@ if @servers.empty?
|
|
|
287
287
|
exit
|
|
288
288
|
end
|
|
289
289
|
|
|
290
|
+
|
|
290
291
|
I2Cssh.new @servers, ssh_options, @i2_options, @ssh_environment
|
data/i2cssh.gemspec
CHANGED
data/lib/i2cssh.rb
CHANGED
|
@@ -34,7 +34,7 @@ class I2Cssh
|
|
|
34
34
|
@i2_options.shift
|
|
35
35
|
@ssh_environment.shift
|
|
36
36
|
|
|
37
|
-
if !@servers.empty? &&
|
|
37
|
+
if !@servers.empty? && i2_options.first[:tabs] then
|
|
38
38
|
# By default, a new session = a new tab
|
|
39
39
|
@term.launch_(:session => "Default Session")
|
|
40
40
|
end
|