owssh 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/owssh.rb +3 -3
  3. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd9b322cb9b86fd1c9a2d2c31e51887183f8dfc2
4
- data.tar.gz: b6a93881a299a46110ba80f966bc1528399bee23
3
+ metadata.gz: 09816dffb25e08a4c301f558a7a5adce6cf29168
4
+ data.tar.gz: eb7e2d08fc7387784cb9247dce4b6d7d9ec55302
5
5
  SHA512:
6
- metadata.gz: e82ce80ba8c0d9148aabc112c52c8ba8db9d996eb23c7db8b84a2bb10fbedde3aa6c362e912e1fc4cecbad1c58376345594aa95d00c9ec452a3a5eea5eea6357
7
- data.tar.gz: 73e51f4c1279b58ed0b8ae6abc64721f3afa5ed28a3f8d42fc96dc936b39bf049edc231f595a696413f3042371e799f87e3a6202cf8555a379b3d79831e38e4d
6
+ metadata.gz: c97c55a1f184bba3bba0fec9fbbfec3aa499fe86d847ca9d86cd333ca8cc6f5067d70410d44ebf76ca89e9f04a6d27f38d7a522b283f2d4d87b37a99b49c0861
7
+ data.tar.gz: ee150b638bc6fe8807b635bfac734f5d7ef10dd1d3bd2de1507da542ec5b2c1344749e4b5e7693ceaa9141d419d87f46788ac26d201fe2286eb24eae115ca1ec
data/lib/owssh.rb CHANGED
@@ -138,7 +138,7 @@ class Owssh
138
138
  if $instances.has_key?(ARGV[1]) then
139
139
  # Open interactive SSH connnection
140
140
  if ARGV[2].nil? then
141
- puts "Opening connection to #{ARGV[1]}..."
141
+ puts "Opening SSH connection to #{ARGV[1]}..."
142
142
  exec("ssh -i ~/.ssh/id_rsa_dev ubuntu@#{$instances[ARGV[1].to_s]}")
143
143
  elsif ARGV[3].nil? then
144
144
  # Run command through SSH on host
@@ -158,9 +158,9 @@ class Owssh
158
158
  exit
159
159
  else
160
160
  if ARGV[2].nil? then
161
- puts "Running command '#{ARGV[2]}' on first host of type '#{ARGV[1]}' which is '#{$first_instance}'..."
161
+ puts "Opening SSH connection to first of type '#{ARGV[1]}' which is '#{first_instance}'..."
162
162
  else
163
- puts "Running comand #{ARGV[2]} on host #{ARGV[1]}..."
163
+ puts "Running command '#{ARGV[2]}' on first host of type '#{ARGV[1]}' which is '#{$first_instance}'..."
164
164
  end
165
165
  exec("ssh -i ~/.ssh/id_rsa_dev ubuntu@#{$instances[$first_instance.to_s]} '#{ARGV[2]}'")
166
166
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: owssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Hutchins
@@ -31,8 +31,8 @@ executables:
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
- - lib/owssh.rb
35
34
  - bin/owssh
35
+ - lib/owssh.rb
36
36
  homepage: http://phutchins.com/
37
37
  licenses:
38
38
  - MIT
@@ -53,8 +53,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  version: '0'
54
54
  requirements: []
55
55
  rubyforge_project:
56
- rubygems_version: 2.1.11
56
+ rubygems_version: 2.2.2
57
57
  signing_key:
58
58
  specification_version: 4
59
59
  summary: OWssh
60
60
  test_files: []
61
+ has_rdoc: