i2cssh 1.5.3 → 1.5.4
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.
- data/README.markdown +4 -0
- data/VERSION +1 -1
- data/bin/i2cssh +6 -1
- data/i2cssh.gemspec +2 -2
- metadata +4 -4
data/README.markdown
CHANGED
@@ -60,6 +60,8 @@ Optional parameters can be used globablly or per cluster and include:
|
|
60
60
|
login: <username> # Use this username for login
|
61
61
|
profile: <iTerm2 profile> # Use this iTerm profile
|
62
62
|
rank: (true/false) # Enable sending LC_RANK as an environment variable
|
63
|
+
columns: <cols> # Amount of columns
|
64
|
+
rows: <rows> # Amount of rows
|
63
65
|
|
64
66
|
environment: # Send the following enviroment variables
|
65
67
|
- LC_FOO: foo
|
@@ -67,6 +69,8 @@ Optional parameters can be used globablly or per cluster and include:
|
|
67
69
|
|
68
70
|
iterm2: true # Use iTerm2.app instead of iTerm.app (only available globally)
|
69
71
|
|
72
|
+
Note: rows and columns can't be used together.
|
73
|
+
|
70
74
|
The following precedence is used:
|
71
75
|
|
72
76
|
`global options from config` < `cluster options from config` < `command line flags`
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5.
|
1
|
+
1.5.4
|
data/bin/i2cssh
CHANGED
@@ -31,7 +31,12 @@ def get_hosts(c)
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def set_options(config_hash, login_override=nil)
|
34
|
-
[
|
34
|
+
if config_hash["columns"] and config_hash["rows"] then
|
35
|
+
puts "CONFIG ERROR: rows and columns can't be used a the same time"
|
36
|
+
exit 1
|
37
|
+
end
|
38
|
+
|
39
|
+
[:broadcast, :profile, :rank, :iterm2, :login_override, :columns, :rows].each do |p|
|
35
40
|
@i2_options[p] = config_hash[p.to_s].nil? ? @i2_options[p] : config_hash[p.to_s]
|
36
41
|
end
|
37
42
|
|
data/i2cssh.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "i2cssh"
|
8
|
-
s.version = "1.5.
|
8
|
+
s.version = "1.5.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Wouter de Bie"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-06-06"
|
13
13
|
s.description = "csshX like cluster ssh using iTerm2 panes"
|
14
14
|
s.email = "wouter@evenflow.se"
|
15
15
|
s.executables = ["i2cssh"]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i2cssh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 1.5.
|
9
|
+
- 4
|
10
|
+
version: 1.5.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Wouter de Bie
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-06-06 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
prerelease: false
|