sshwrap 0.0.1 → 0.0.2
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.
- data/README.md +1 -11
- data/bin/sshwrap +1 -1
- data/lib/sshwrap/version.rb +1 -1
- data/sshwrap.gemspec +1 -1
- metadata +4 -15
data/README.md
CHANGED
@@ -5,21 +5,11 @@ optionally in parallel, and handles any sudo prompts that result.
|
|
5
5
|
|
6
6
|
## Installation
|
7
7
|
|
8
|
-
Add this line to your application's Gemfile:
|
9
|
-
|
10
|
-
gem 'sshwrap'
|
11
|
-
|
12
|
-
And then execute:
|
13
|
-
|
14
|
-
$ bundle
|
15
|
-
|
16
|
-
Or install it yourself as:
|
17
|
-
|
18
8
|
$ gem install sshwrap
|
19
9
|
|
20
10
|
## Usage
|
21
11
|
|
22
|
-
Usage: sshwrap [options]
|
12
|
+
Usage: sshwrap [options] host1 [host2 host3]
|
23
13
|
-c, --command, --cmd=CMD Command to run
|
24
14
|
-u, --user=USER SSH as specified user
|
25
15
|
-k, --ssh-key=KEY Use the specified SSH private key
|
data/bin/sshwrap
CHANGED
@@ -7,7 +7,7 @@ require 'optparse'
|
|
7
7
|
@cmd = nil
|
8
8
|
|
9
9
|
opts = OptionParser.new(nil, 24, ' ')
|
10
|
-
opts.banner = 'Usage: sshwrap [options]'
|
10
|
+
opts.banner = 'Usage: sshwrap [options] host1 [host2 host3]'
|
11
11
|
opts.on('--command', '--cmd', '-c', '=CMD', 'Command to run') do |opt|
|
12
12
|
@cmd = opt
|
13
13
|
end
|
data/lib/sshwrap/version.rb
CHANGED
data/sshwrap.gemspec
CHANGED
@@ -4,7 +4,7 @@ require File.expand_path('../lib/sshwrap/version', __FILE__)
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.authors = ['Jason Heiss']
|
6
6
|
gem.email = ['jheiss@aput.net']
|
7
|
-
gem.description =
|
7
|
+
gem.description = 'This provides a wrapper for ssh that execute a command on multiple machines, optionally in parallel, and handles any sudo prompts that result.'
|
8
8
|
gem.summary = 'Perform batch SSH operations, handling sudo prompts'
|
9
9
|
gem.homepage = 'https://github.com/jheiss/sshwrap'
|
10
10
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sshwrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-03-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: net-ssh
|
@@ -43,19 +43,8 @@ dependencies:
|
|
43
43
|
- - ! '>='
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0'
|
46
|
-
description:
|
47
|
-
|
48
|
-
result.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n gem
|
49
|
-
'sshwrap'\n\nAnd then execute:\n\n $ bundle\n\nOr install it yourself as:\n\n
|
50
|
-
\ $ gem install sshwrap\n\n## Usage\n\n Usage: sshwrap [options]\n -c,
|
51
|
-
--command, --cmd=CMD Command to run\n -u, --user=USER SSH as specified
|
52
|
-
user\n -k, --ssh-key=KEY Use the specified SSH private key\n --abort-on-failure
|
53
|
-
\ Abort if connection or command fails with any target\n --max-workers=NUM
|
54
|
-
\ Use specified number of parallel connections\n --debug Enable
|
55
|
-
debugging\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git
|
56
|
-
checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Added some
|
57
|
-
feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create
|
58
|
-
new Pull Request\n"
|
46
|
+
description: This provides a wrapper for ssh that execute a command on multiple machines,
|
47
|
+
optionally in parallel, and handles any sudo prompts that result.
|
59
48
|
email:
|
60
49
|
- jheiss@aput.net
|
61
50
|
executables:
|