symphony-ssh 0.2.0 → 0.2.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. metadata +40 -32
  3. data/README.rdoc +0 -117
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5cd00a4a185aeccc71078587b4b770243cef65fdc6e87645e74f33c0d04dda09
4
- data.tar.gz: bbe9c1c376fcf177483c51eaba7375a64c3783e1b92ea83b7c3db386c508661f
3
+ metadata.gz: 887495520934221996a536e10f063f35fc50d7c22a5abe19a336a035af459453
4
+ data.tar.gz: 72f3f4863fc6fadae251d5f1676ffb0a22cfc99f0d2d5a3089d196588f322274
5
5
  SHA512:
6
- metadata.gz: a98b520937e9d2c3a8b7448d950ae440854a3988460d9d51cb2e271f3c2e3d48ce8eb85776f5a3064099a04f844d57e591e0b3fbf0f665c25127b24f247dd8cf
7
- data.tar.gz: be719bf1e5dcb5431a27933335a571b23b2b20dd1265069a3a9b6f72102cc68494375b2ac25b18680ca59b80499c4107fc58984731e4affd7b2e8dc9024478be
6
+ metadata.gz: 0f5d164ea4685fdbb739bbd6e08fe21fd2f031f976cafc41dd38ef4952c417810dc85fad86343776b32be4bf2309a0b2a800bd4eb7fb806a59d79df2b02e7798
7
+ data.tar.gz: d6bf38d3a5835c6fa66309763138b5472fa32536dae3406230d51d358ec65d7b14a328f71c4caf671a75abfa69d375643989b614987e58f540b6b95d39343d6d
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: symphony-ssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mahlon E. Smith
@@ -11,70 +11,80 @@ bindir: bin
11
11
  cert_chain:
12
12
  - |
13
13
  -----BEGIN CERTIFICATE-----
14
- MIIDbDCCAlSgAwI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Whsb25AbWFydGluaS5udTAcBgNVHRIEFTATgRFtYWhsb25AbWFydGlu
28
+ aS5udTANBgkqhkiG9w0BAQsFAAOCAYEAHXlLXIKQUjd0VYj2mPgMheMjLEtmhHu+
29
+ 7NdIv8Bz4rpKAdhypy30xjukGLTOKBp1C0TjfHXowW/icK0bv9CO9Chbc09/+Ed2
30
+ K5IsyENen+YLeLfE8dguq5tHlfocbFilRGHt8BHHO9BpPpAYoPt/76SCC2NaU5vN
31
+ 33YTCpaVP0raS6E4i+xtx5PNdKoeTdrgwCQtUBhGf3L9YbZy1UaSeAyng5keuOzV
32
+ Mu2osihEB0GE0pOZJNpI6ow+0emwN/XvBKHpN9D2bjbvKetyQSrm0OniaZBXIGzW
33
+ Bg0JmajxUaGYWnz+QFADT+HLPmekxF3mB4+0ymZCHKPC+04h6RDjvkEOji6Jm+VB
34
+ JHjnceUEejSXTkZAKAmiOAtnX4j1MM1DLiFMlZ5Wbt7hbiOiO5HoN9p9snZhYqSU
35
+ JyAQQloqY/KyzQqxPlKdMNmBxRU+Cdarp05lEI6Sfj9MdrndoIL6MT/f6PgoCWZQ
36
+ xEarK1Fn47yS4UZqRi6VgKc3JHscX9x4
33
37
  -----END CERTIFICATE-----
34
- date: 2018-07-12 00:00:00.000000000 Z
38
+ date: 2020-04-07 00:00:00.000000000 Z
35
39
  dependencies:
36
40
  - !ruby/object:Gem::Dependency
37
41
  name: configurability
38
42
  requirement: !ruby/object:Gem::Requirement
39
43
  requirements:
40
- - - "~>"
44
+ - - ">="
41
45
  - !ruby/object:Gem::Version
42
46
  version: '3.2'
47
+ - - "<="
48
+ - !ruby/object:Gem::Version
49
+ version: '4.99'
43
50
  type: :runtime
44
51
  prerelease: false
45
52
  version_requirements: !ruby/object:Gem::Requirement
46
53
  requirements:
47
- - - "~>"
54
+ - - ">="
48
55
  - !ruby/object:Gem::Version
49
56
  version: '3.2'
57
+ - - "<="
58
+ - !ruby/object:Gem::Version
59
+ version: '4.99'
50
60
  - !ruby/object:Gem::Dependency
51
61
  name: symphony
52
62
  requirement: !ruby/object:Gem::Requirement
53
63
  requirements:
54
64
  - - "~>"
55
65
  - !ruby/object:Gem::Version
56
- version: '0.11'
66
+ version: '0.13'
57
67
  type: :runtime
58
68
  prerelease: false
59
69
  version_requirements: !ruby/object:Gem::Requirement
60
70
  requirements:
61
71
  - - "~>"
62
72
  - !ruby/object:Gem::Version
63
- version: '0.11'
73
+ version: '0.13'
64
74
  - !ruby/object:Gem::Dependency
65
75
  name: inversion
66
76
  requirement: !ruby/object:Gem::Requirement
67
77
  requirements:
68
78
  - - "~>"
69
79
  - !ruby/object:Gem::Version
70
- version: '1.1'
80
+ version: '1.2'
71
81
  type: :runtime
72
82
  prerelease: false
73
83
  version_requirements: !ruby/object:Gem::Requirement
74
84
  requirements:
75
85
  - - "~>"
76
86
  - !ruby/object:Gem::Version
77
- version: '1.1'
87
+ version: '1.2'
78
88
  - !ruby/object:Gem::Dependency
79
89
  name: net-ssh
80
90
  requirement: !ruby/object:Gem::Requirement
@@ -144,7 +154,6 @@ executables: []
144
154
  extensions: []
145
155
  extra_rdoc_files: []
146
156
  files:
147
- - README.rdoc
148
157
  - lib/symphony/tasks/ssh.rb
149
158
  - lib/symphony/tasks/sshscript.rb
150
159
  homepage: http://projects.martini.nu/ruby-modules
@@ -159,15 +168,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
159
168
  requirements:
160
169
  - - ">="
161
170
  - !ruby/object:Gem::Version
162
- version: 2.0.0
171
+ version: 2.6.0
163
172
  required_rubygems_version: !ruby/object:Gem::Requirement
164
173
  requirements:
165
174
  - - ">="
166
175
  - !ruby/object:Gem::Version
167
- version: 2.0.3
176
+ version: '0'
168
177
  requirements: []
169
- rubyforge_project:
170
- rubygems_version: 2.7.6
178
+ rubygems_version: 3.0.6
171
179
  signing_key:
172
180
  specification_version: 4
173
181
  summary: Base classes for using Symphony with ssh.
@@ -1,117 +0,0 @@
1
-
2
- = symphony-ssh
3
-
4
- == Description
5
-
6
- This is a small collection of base classes used for interacting with
7
- remote machines over ssh. With them, you can use AMQP (via Symphony) to
8
- run batch commands, execute templates as scripts, and perform any
9
- batch/remoting stuff you can think of without the need of a separate
10
- client agent.
11
-
12
- These classes assume you have a user that can connect and login to
13
- remote machines using a password-less ssh keypair. They are not meant
14
- to be used directly. Subclass them!
15
-
16
- See the rdoc for additional information and examples.
17
-
18
-
19
- == Options
20
-
21
- Symphony-ssh uses
22
- Configurability[https://rubygems.org/gems/configurability] to determine
23
- behavior. The configuration is a YAML[http://www.yaml.org/] file.
24
-
25
- symphony:
26
- ssh:
27
- path: /usr/bin/ssh
28
- user: root
29
- key: /path/to/a/private_key.rsa
30
- opts:
31
- - -e
32
- - none
33
- - -T
34
- - -x
35
- - -o
36
- - CheckHostIP=no'
37
- - -o
38
- - BatchMode=yes'
39
- - -o
40
- - StrictHostKeyChecking=no
41
-
42
- **NOTE**: If you've upgrade from a version pre 0.2.0, the
43
- Configurability path has changed from `symphony_ssh`, to an `ssh` key
44
- under the `symphony` top level.
45
-
46
-
47
- === path
48
-
49
- The absolute path to the ssh binary.
50
-
51
- === user
52
-
53
- The default user to connect to remote hosts with. This can be
54
- changed per connection in the AMQP payload.
55
-
56
- === key
57
-
58
- An absolute path to a password-less ssh private key.
59
-
60
- === opts
61
-
62
- SSH client options, passed to the ssh binary on the command line. Note
63
- that the defaults have been tested fairly extensively, these are just
64
- exposed if you have very specific needs and you know what you're doing.
65
-
66
-
67
- == Installation
68
-
69
- gem install symphony-ssh
70
-
71
-
72
- == Contributing
73
-
74
- You can check out the current development source with Mercurial via its
75
- {project page}[http://bitbucket.org/mahlon/symphony-ssh].
76
-
77
- After checking out the source, run:
78
-
79
- $ rake
80
-
81
- This task will run the tests/specs and generate the API documentation.
82
-
83
- If you use {rvm}[http://rvm.io/], entering the project directory will
84
- install any required development dependencies.
85
-
86
-
87
- == License
88
-
89
- Copyright (c) 2014-2018, Mahlon E. Smith and Michael Granger
90
- All rights reserved.
91
-
92
- Redistribution and use in source and binary forms, with or without
93
- modification, are permitted provided that the following conditions are met:
94
-
95
- * Redistributions of source code must retain the above copyright notice,
96
- this list of conditions and the following disclaimer.
97
-
98
- * Redistributions in binary form must reproduce the above copyright notice,
99
- this list of conditions and the following disclaimer in the documentation
100
- and/or other materials provided with the distribution.
101
-
102
- * Neither the name of the author/s, nor the names of the project's
103
- contributors may be used to endorse or promote products derived from this
104
- software without specific prior written permission.
105
-
106
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
107
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
108
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
109
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
110
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
111
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
112
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
113
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
114
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
115
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
116
-
117
-