skipper-ssh 0.0.3 → 0.0.4

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: cf3f95162e381654cf0495ac4a16e8cf66543e79
4
- data.tar.gz: 773d1b0cab3a9947ef07b418bc7de7d19f5b7cba
3
+ metadata.gz: 97b8b0abef7d0ea0fe5d3b4ab627b23e807a1f5f
4
+ data.tar.gz: 4ff4d43f660db6bbb583185f531916c32e3398b5
5
5
  SHA512:
6
- metadata.gz: eeacbf438265f3553e88c3d6b4f5adbc45f99850f9a2b2b459d9d0c231f35f00d9fecaa400980d9acdbcdbf90dac3a4b5ce7a8f6ed7dd191593c8ad2ebfa4e9c
7
- data.tar.gz: 4fe0e945949fabfa320e40eab750b80580cf844acdd296701f85b1ee4497dc5b1d7f5c1048d61f65e3fc0aa77754f8956ed8f897222061b3d5ede71a449e11f4
6
+ metadata.gz: ddff5e3c6d35ffff4c7958b5c5b9bc55fb50a4e65cb2862f46602943146ac94cce47add65aef620ac57ef4a0170c090b70c7bdd2975f12c62d2e32dd2343a710
7
+ data.tar.gz: e5ea1a43309f1def24e952a1073242a8df3d7bc7d45bb3866da5b417b2781fdb4c18986b907844ed7f4076e7616224a40f93e4eec2c147e038f403add39367e2
data/README.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  A captain for your fleet.
4
4
 
5
+ Skipper is a SSH session multiplexer that can run commands in sequence or parallel on multiple
6
+ remote hosts. It achieves this by wrapping Capistrano's [SSHKit](https://github.com/capistrano/sshkit).
7
+
5
8
  ## Basic Usage
6
9
 
7
10
  ### REPL Commands
@@ -91,8 +94,8 @@ By default, commands will run on all servers in parallel.
91
94
  skipper --tags name:value
92
95
 
93
96
  # By auto scaling group name
94
- skipper --auto-scaling-group groupname
97
+ skipper --auto-scaling-groups groupname
95
98
 
96
99
  # By auto scaling role
97
- skipper --auto-scaling-role rolename
100
+ skipper --auto-scaling-roles rolename
98
101
  ```
data/lib/skipper/repl.rb CHANGED
@@ -21,6 +21,8 @@ module Skipper
21
21
  loop do
22
22
  begin
23
23
  repl
24
+ rescue SSHKit::Runner::ExecuteError => e
25
+ cli.say e, :red
24
26
  rescue Interrupt
25
27
  puts ''
26
28
  end
@@ -20,10 +20,6 @@ module Skipper
20
20
  on servers.hosts, on_options do
21
21
  execute command
22
22
  end
23
- rescue SSHKit::Runner::ExecuteError => e
24
- cli.say e, :red
25
- rescue Interrupt
26
- puts ''
27
23
  end
28
24
 
29
25
  private
@@ -1,3 +1,3 @@
1
1
  module Skipper
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skipper-ssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Brennan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-07 00:00:00.000000000 Z
11
+ date: 2014-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sshkit