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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 88668f1a5e023bfe629d1ef3ce8d37a1abb86b2f
4
- data.tar.gz: 258cebb74a3b99a50c629a83f0001ca731581362
3
+ metadata.gz: c3025a9b07f62f68a2d87f098acdc6385c303baf
4
+ data.tar.gz: c38aa2805101d93ae095e8e7fe91ffc4cdfb96cf
5
5
  SHA512:
6
- metadata.gz: 96ec82ba52fc77aa1e43c5389b8ad385cad5d9cceb24f14f48568ba12a6cf80190ac636fd11a05c06b3b03c62d883fdb4e6a806261c1ce717c5f484f0e46e0ac
7
- data.tar.gz: 71494be0c81efb397af53c4e00e7a56ad173425d8d6bba1d838cc07a1b9bcaad853fbabe19ea7ad530d6c7b4d8aea6ae22be7dec636a4a46221a12e55a40005e
6
+ metadata.gz: e4c16f3d659c9aedcde2313749c43bc189235d5d8789ee43393384e3953990e2f95519944916c5741dca61d4f41c100bbad3c048bbc5870d37fe092ea167e43e
7
+ data.tar.gz: 35dd940bae118be04f828189a981cd4a9c56d2124b464b593d5c419869bae72f35385cea182c7b1c4d6255763b74820d876cab070cc291e5d1c901fa19c29220
@@ -7,9 +7,11 @@ to all sessions.
7
7
  ## Installing
8
8
 
9
9
  When using iTerm2 < 2.9, install i2cssh version 1.16.0:
10
+
10
11
  $ gem install i2cssh -v 1.16.0
11
12
 
12
13
  Otherwise, just run:
14
+
13
15
  $ gem install i2cssh
14
16
 
15
17
  ## Usage
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.1.0
@@ -5,24 +5,24 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "i2cssh"
8
- s.version = "2.0.0"
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-02-18"
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.markdown"
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.markdown",
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
@@ -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 => "/usr/bin/env bash -l")
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 => "/usr/bin/env bash -l"
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.0.0
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-02-18 00:00:00.000000000 Z
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.markdown
90
+ - README.md
91
91
  files:
92
92
  - .document
93
93
  - Gemfile
94
94
  - Gemfile.lock
95
95
  - LICENSE.txt
96
- - README.markdown
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