i2cssh 2.0.0 → 2.1.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/{README.markdown → README.md} +2 -0
- data/VERSION +1 -1
- data/i2cssh.gemspec +5 -5
- data/lib/i2cssh.rb +3 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3025a9b07f62f68a2d87f098acdc6385c303baf
|
4
|
+
data.tar.gz: c38aa2805101d93ae095e8e7fe91ffc4cdfb96cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4c16f3d659c9aedcde2313749c43bc189235d5d8789ee43393384e3953990e2f95519944916c5741dca61d4f41c100bbad3c048bbc5870d37fe092ea167e43e
|
7
|
+
data.tar.gz: 35dd940bae118be04f828189a981cd4a9c56d2124b464b593d5c419869bae72f35385cea182c7b1c4d6255763b74820d876cab070cc291e5d1c901fa19c29220
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.1.0
|
data/i2cssh.gemspec
CHANGED
@@ -5,24 +5,24 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "i2cssh"
|
8
|
-
s.version = "2.
|
8
|
+
s.version = "2.1.0"
|
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 = "2016-
|
12
|
+
s.date = "2016-07-14"
|
13
13
|
s.description = "csshX like cluster ssh using iTerm2 panes"
|
14
14
|
s.email = "wouter@evenflow.se"
|
15
15
|
s.executables = ["i2cssh"]
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"LICENSE.txt",
|
18
|
-
"README.
|
18
|
+
"README.md"
|
19
19
|
]
|
20
20
|
s.files = [
|
21
21
|
".document",
|
22
22
|
"Gemfile",
|
23
23
|
"Gemfile.lock",
|
24
24
|
"LICENSE.txt",
|
25
|
-
"README.
|
25
|
+
"README.md",
|
26
26
|
"Rakefile",
|
27
27
|
"VERSION",
|
28
28
|
"bin/i2cssh",
|
@@ -34,7 +34,7 @@ Gem::Specification.new do |s|
|
|
34
34
|
s.homepage = "http://github.com/wouterdebie/i2cssh"
|
35
35
|
s.licenses = ["MIT"]
|
36
36
|
s.require_paths = ["lib"]
|
37
|
-
s.rubygems_version = "2.0.14"
|
37
|
+
s.rubygems_version = "2.0.14.1"
|
38
38
|
s.summary = "csshX like cluster ssh using iTerm2 panes"
|
39
39
|
|
40
40
|
if s.respond_to? :specification_version then
|
data/lib/i2cssh.rb
CHANGED
@@ -16,8 +16,9 @@ class I2Cssh
|
|
16
16
|
@shell_menu = @sys_events.processes["iTerm2"].menu_bars[1].menu_bar_items["Shell"].menus["Shell"]
|
17
17
|
|
18
18
|
@profile = i2_options.first[:profile] || "Default"
|
19
|
+
@shell = ENV["SHELL"] || "/usr/bin/env bash"
|
19
20
|
|
20
|
-
@iterm.create_window_with_profile(@profile, :command => "
|
21
|
+
@iterm.create_window_with_profile(@profile, :command => "#{@shell} -l")
|
21
22
|
@window = @iterm.current_window
|
22
23
|
|
23
24
|
while !@servers.empty? do
|
@@ -121,7 +122,7 @@ class I2Cssh
|
|
121
122
|
1.upto(@rows*@columns) do |i|
|
122
123
|
tab = @window.current_tab
|
123
124
|
session = tab.sessions[i]
|
124
|
-
session.write :text => "
|
125
|
+
session.write :text => "#{@shell} -l"
|
125
126
|
|
126
127
|
# Without the tab flag, combine all servers and clusters into one window
|
127
128
|
if !@servers.empty? && (i - old_size) > @servers.first.size && !@i2_options.first[:tabs]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i2cssh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wouter de Bie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -87,13 +87,13 @@ executables:
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files:
|
89
89
|
- LICENSE.txt
|
90
|
-
- README.
|
90
|
+
- README.md
|
91
91
|
files:
|
92
92
|
- .document
|
93
93
|
- Gemfile
|
94
94
|
- Gemfile.lock
|
95
95
|
- LICENSE.txt
|
96
|
-
- README.
|
96
|
+
- README.md
|
97
97
|
- Rakefile
|
98
98
|
- VERSION
|
99
99
|
- bin/i2cssh
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
123
|
rubyforge_project:
|
124
|
-
rubygems_version: 2.0.14
|
124
|
+
rubygems_version: 2.0.14.1
|
125
125
|
signing_key:
|
126
126
|
specification_version: 4
|
127
127
|
summary: csshX like cluster ssh using iTerm2 panes
|