ssh-manager 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a527d72c48a2f717d1a162136f65ae1de93c53cb
4
- data.tar.gz: 9bbe312729e6091721a2bf2cdd0c69fe0c4d6008
3
+ metadata.gz: 103b68fe6312ce929a945d39d18a5ccb420b26c4
4
+ data.tar.gz: 9344a6da7e8c824744f5f6e39c50144e20a84baf
5
5
  SHA512:
6
- metadata.gz: 08d6db346c0e144048feb7fa722291f60e23d6469919d1d03aa267e7a5f60dc31e337dba8610a163389739daf9a4024cccd8075cd170c6000e785b493f9d1cfa
7
- data.tar.gz: 42585471151a3ef574154b225546e976627888ffd331f5685818fbb4d00daf04c4cb3229f55c3e8b171a3d73484df7f7ce24e7b431ab7581a10eb51616acfb5d
6
+ metadata.gz: 7dcc80434c9f0ae484247f78c4d514b996c13f97e8d5607db5ecbe4fdd6c07bdd546dbcd05d7ecc5d6a1b6cca7a7b52dc52ede41336011e47f3feaa8fbc58f37
7
+ data.tar.gz: b7b158e35c70408d92cc79d58bd166abbafd7baaa96d6957de8f0f047a1e903aea1e0e5505f3a0503b17b0deab6f506c16d6265a88d3eb1d4f7fe471ef7ce744
@@ -14,10 +14,10 @@ module SSH
14
14
  def connect_to(id)
15
15
  ip = SSH::Manager::Database.new.get_connection_data[id.to_i-1][0]
16
16
  user = SSH::Manager::Database.new.get_connection_data[id.to_i-1][1]
17
- if CONFIG['terminal'] == "xfce4-terminal" || "gnome-terminal"
17
+ if CONFIG['terminal'] == "xfce4-terminal" || CONFIG['terminal'] == "gnome-terminal"
18
18
  %x(#{CONFIG['terminal']} --command="ssh #{user}@#{ip}")
19
19
  elsif CONFIG['terminal'] == "xterm"
20
- %x(#{CONFIG['terminal']} -C "ssh #{user}@#{ip}")
20
+ %x(#{CONFIG['terminal']} -e "ssh #{user}@#{ip}")
21
21
  else
22
22
  puts "We dont support #{CONFIG['terminal']} right now"
23
23
  puts "Check Github for further development or contributing"
@@ -1,5 +1,5 @@
1
1
  module SSH
2
2
  module Manager
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssh-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Schmid, Juraj Hura