shexy 0.3.4 → 0.3.5
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.
- checksums.yaml +7 -0
- data/debian/changelog +5 -0
- data/debian/compat +1 -0
- data/debian/control +19 -0
- data/debian/copyright +47 -0
- data/debian/ruby-shexy.docs +2 -0
- data/debian/ruby-tests.rb +13 -0
- data/debian/rules +15 -0
- data/debian/source/format +1 -0
- data/lib/shexy.rb +3 -4
- metadata +31 -41
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 878bbf0842426fb8c9122c9d3c940915b6d2940c
|
|
4
|
+
data.tar.gz: 7e2adcf01c102c8ab05f8855bcb9535e594d01d2
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 737be1df9c6c21749c97f466ef07530faaa5177a183250336900ef3df05b80f8aba1d8269c1a7854dc1c3f1f5d263b1088abf33c362cf4902359bf27012efc7c
|
|
7
|
+
data.tar.gz: a5dbbaefd2c28ff9331609b377d6c607ae858659b2db9ed490b57c853df0c3d9f84f5944db7c98bc4438f89b51f68451bf0c9f2fb522d084ea5a49de39d11b87
|
data/debian/changelog
ADDED
data/debian/compat
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7
|
data/debian/control
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Source: ruby-shexy
|
|
2
|
+
Section: ruby
|
|
3
|
+
Priority: optional
|
|
4
|
+
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
|
|
5
|
+
Uploaders: Sergio Rubio <rubiojr@frameos.org>
|
|
6
|
+
DM-Upload-Allowed: yes
|
|
7
|
+
Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.0~)
|
|
8
|
+
Standards-Version: 3.9.3
|
|
9
|
+
#Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-shexy.git
|
|
10
|
+
#Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-shexy.git;a=summary
|
|
11
|
+
Homepage: http://rubiojr.github.com/shexy
|
|
12
|
+
XS-Ruby-Versions: all
|
|
13
|
+
|
|
14
|
+
Package: ruby-shexy
|
|
15
|
+
Architecture: all
|
|
16
|
+
XB-Ruby-Versions: ${ruby:Versions}
|
|
17
|
+
Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-net-scp
|
|
18
|
+
Description: SSH, the way I like it
|
|
19
|
+
[extremely] thin wrapper around net-ssh and net-scp
|
data/debian/copyright
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
|
2
|
+
Upstream-Name: shexy
|
|
3
|
+
Source: https://github.com/rubiojr/shexy
|
|
4
|
+
|
|
5
|
+
Files: *
|
|
6
|
+
Copyright: 2013 Sergio Rubio <rubiojr@frameos.org>
|
|
7
|
+
License: MIT
|
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
9
|
+
a copy of this software and associated documentation files (the
|
|
10
|
+
"Software"), to deal in the Software without restriction, including
|
|
11
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
12
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
13
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
14
|
+
the following conditions:
|
|
15
|
+
.
|
|
16
|
+
The above copyright notice and this permission notice shall be
|
|
17
|
+
included in all copies or substantial portions of the Software.
|
|
18
|
+
.
|
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
20
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
21
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
22
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
23
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
24
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
25
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
26
|
+
|
|
27
|
+
Files: debian/*
|
|
28
|
+
Copyright: 2013 Sergio Rubio <rubiojr@frameos.org>
|
|
29
|
+
License:
|
|
30
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
31
|
+
a copy of this software and associated documentation files (the
|
|
32
|
+
"Software"), to deal in the Software without restriction, including
|
|
33
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
34
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
35
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
36
|
+
the following conditions:
|
|
37
|
+
.
|
|
38
|
+
The above copyright notice and this permission notice shall be
|
|
39
|
+
included in all copies or substantial portions of the Software.
|
|
40
|
+
.
|
|
41
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
42
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
43
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
44
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
45
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
46
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
47
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# FIXME
|
|
2
|
+
# there's a spec/ or a test/ directory in the upstream source, but
|
|
3
|
+
# no test suite was defined in the Gem specification. It would be
|
|
4
|
+
# a good idea to define it here so the package gets tested at build time.
|
|
5
|
+
# Examples:
|
|
6
|
+
# $: << 'lib' << '.'
|
|
7
|
+
# Dir['{spec,test}/**/*.rb'].each { |f| require f }
|
|
8
|
+
#
|
|
9
|
+
# require 'test/ts_foo.rb'
|
|
10
|
+
#
|
|
11
|
+
# require 'rbconfig'
|
|
12
|
+
# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
|
|
13
|
+
# exec("#{ruby} -I. test/runtests.rb")
|
data/debian/rules
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/make -f
|
|
2
|
+
#export DH_VERBOSE=1
|
|
3
|
+
#
|
|
4
|
+
# Uncomment to ignore all test failures (but the tests will run anyway)
|
|
5
|
+
export DH_RUBY_IGNORE_TESTS=all
|
|
6
|
+
#
|
|
7
|
+
# Uncomment to ignore some test failures (but the tests will run anyway).
|
|
8
|
+
# Valid values:
|
|
9
|
+
#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
|
|
10
|
+
#
|
|
11
|
+
# If you need to specify the .gemspec (eg there is more than one)
|
|
12
|
+
#export DH_RUBY_GEMSPEC=gem.gemspec
|
|
13
|
+
|
|
14
|
+
%:
|
|
15
|
+
dh $@ --buildsystem=ruby --with ruby
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.0 (quilt)
|
data/lib/shexy.rb
CHANGED
|
@@ -33,7 +33,7 @@ require 'net/scp'
|
|
|
33
33
|
|
|
34
34
|
module Shexy
|
|
35
35
|
|
|
36
|
-
VERSION = '0.3.
|
|
36
|
+
VERSION = '0.3.5'
|
|
37
37
|
|
|
38
38
|
[:user, :password, :key, :cmd, :host].each do |n|
|
|
39
39
|
instance_eval %{
|
|
@@ -145,19 +145,18 @@ module Shexy
|
|
|
145
145
|
|
|
146
146
|
def self.batch(&block)
|
|
147
147
|
require 'tempfile'
|
|
148
|
-
out, err = nil,nil
|
|
149
148
|
def self.script(script)
|
|
150
149
|
f = Tempfile.new 'shexy'
|
|
151
150
|
begin
|
|
152
151
|
f.puts script
|
|
153
152
|
f.flush
|
|
154
153
|
copy_to f.path, "#{f.path}.remote"
|
|
155
|
-
out, err = exe "/bin/bash #{f.path}.remote"
|
|
154
|
+
out, err, ecode, esig = exe "/bin/bash #{f.path}.remote"
|
|
156
155
|
ensure
|
|
157
156
|
f.close
|
|
158
157
|
f.unlink
|
|
159
158
|
end
|
|
160
|
-
return out, err
|
|
159
|
+
return out, err, ecode, esig
|
|
161
160
|
end
|
|
162
161
|
instance_eval &block
|
|
163
162
|
end
|
metadata
CHANGED
|
@@ -1,129 +1,114 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shexy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.3.5
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Sergio Rubio
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
11
|
+
date: 2013-06-05 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: net-ssh
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
16
|
requirements:
|
|
19
|
-
- -
|
|
17
|
+
- - '>='
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
21
19
|
version: '0'
|
|
22
20
|
type: :runtime
|
|
23
21
|
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
23
|
requirements:
|
|
27
|
-
- -
|
|
24
|
+
- - '>='
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
29
26
|
version: '0'
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
|
31
28
|
name: net-scp
|
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
|
33
|
-
none: false
|
|
34
30
|
requirements:
|
|
35
|
-
- -
|
|
31
|
+
- - '>='
|
|
36
32
|
- !ruby/object:Gem::Version
|
|
37
33
|
version: '0'
|
|
38
34
|
type: :runtime
|
|
39
35
|
prerelease: false
|
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
-
none: false
|
|
42
37
|
requirements:
|
|
43
|
-
- -
|
|
38
|
+
- - '>='
|
|
44
39
|
- !ruby/object:Gem::Version
|
|
45
40
|
version: '0'
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
|
47
42
|
name: shoulda
|
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
|
49
|
-
none: false
|
|
50
44
|
requirements:
|
|
51
|
-
- -
|
|
45
|
+
- - '>='
|
|
52
46
|
- !ruby/object:Gem::Version
|
|
53
47
|
version: '0'
|
|
54
48
|
type: :development
|
|
55
49
|
prerelease: false
|
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
none: false
|
|
58
51
|
requirements:
|
|
59
|
-
- -
|
|
52
|
+
- - '>='
|
|
60
53
|
- !ruby/object:Gem::Version
|
|
61
54
|
version: '0'
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
|
63
56
|
name: rdoc
|
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
|
65
|
-
none: false
|
|
66
58
|
requirements:
|
|
67
|
-
- -
|
|
59
|
+
- - '>='
|
|
68
60
|
- !ruby/object:Gem::Version
|
|
69
61
|
version: '3.12'
|
|
70
62
|
type: :development
|
|
71
63
|
prerelease: false
|
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
73
|
-
none: false
|
|
74
65
|
requirements:
|
|
75
|
-
- -
|
|
66
|
+
- - '>='
|
|
76
67
|
- !ruby/object:Gem::Version
|
|
77
68
|
version: '3.12'
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
|
79
70
|
name: bundler
|
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
|
81
|
-
none: false
|
|
82
72
|
requirements:
|
|
83
|
-
- -
|
|
73
|
+
- - '>='
|
|
84
74
|
- !ruby/object:Gem::Version
|
|
85
75
|
version: 1.0.0
|
|
86
76
|
type: :development
|
|
87
77
|
prerelease: false
|
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
89
|
-
none: false
|
|
90
79
|
requirements:
|
|
91
|
-
- -
|
|
80
|
+
- - '>='
|
|
92
81
|
- !ruby/object:Gem::Version
|
|
93
82
|
version: 1.0.0
|
|
94
83
|
- !ruby/object:Gem::Dependency
|
|
95
84
|
name: jeweler
|
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
|
97
|
-
none: false
|
|
98
86
|
requirements:
|
|
99
|
-
- -
|
|
87
|
+
- - '>='
|
|
100
88
|
- !ruby/object:Gem::Version
|
|
101
89
|
version: 1.8.4
|
|
102
90
|
type: :development
|
|
103
91
|
prerelease: false
|
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
105
|
-
none: false
|
|
106
93
|
requirements:
|
|
107
|
-
- -
|
|
94
|
+
- - '>='
|
|
108
95
|
- !ruby/object:Gem::Version
|
|
109
96
|
version: 1.8.4
|
|
110
97
|
- !ruby/object:Gem::Dependency
|
|
111
98
|
name: simplecov
|
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
|
113
|
-
none: false
|
|
114
100
|
requirements:
|
|
115
|
-
- -
|
|
101
|
+
- - '>='
|
|
116
102
|
- !ruby/object:Gem::Version
|
|
117
103
|
version: '0'
|
|
118
104
|
type: :development
|
|
119
105
|
prerelease: false
|
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
-
none: false
|
|
122
107
|
requirements:
|
|
123
|
-
- -
|
|
108
|
+
- - '>='
|
|
124
109
|
- !ruby/object:Gem::Version
|
|
125
110
|
version: '0'
|
|
126
|
-
description:
|
|
111
|
+
description: '[extremely] thin wrapper around net-ssh and net-scp'
|
|
127
112
|
email: rubiojr@frameos.org
|
|
128
113
|
executables: []
|
|
129
114
|
extensions: []
|
|
@@ -137,34 +122,39 @@ files:
|
|
|
137
122
|
- LICENSE.txt
|
|
138
123
|
- README.md
|
|
139
124
|
- Rakefile
|
|
125
|
+
- debian/changelog
|
|
126
|
+
- debian/compat
|
|
127
|
+
- debian/control
|
|
128
|
+
- debian/copyright
|
|
129
|
+
- debian/ruby-shexy.docs
|
|
130
|
+
- debian/ruby-tests.rb
|
|
131
|
+
- debian/rules
|
|
132
|
+
- debian/source/format
|
|
140
133
|
- lib/shexy.rb
|
|
141
134
|
- spec/spec_helper.rb
|
|
142
135
|
homepage: http://rubiojr.github.com/shexy
|
|
143
136
|
licenses:
|
|
144
137
|
- MIT
|
|
138
|
+
metadata: {}
|
|
145
139
|
post_install_message:
|
|
146
140
|
rdoc_options: []
|
|
147
141
|
require_paths:
|
|
148
142
|
- lib
|
|
149
143
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
150
|
-
none: false
|
|
151
144
|
requirements:
|
|
152
|
-
- -
|
|
145
|
+
- - '>='
|
|
153
146
|
- !ruby/object:Gem::Version
|
|
154
147
|
version: '0'
|
|
155
|
-
segments:
|
|
156
|
-
- 0
|
|
157
|
-
hash: -3246701262734405878
|
|
158
148
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
|
-
none: false
|
|
160
149
|
requirements:
|
|
161
|
-
- -
|
|
150
|
+
- - '>='
|
|
162
151
|
- !ruby/object:Gem::Version
|
|
163
152
|
version: '0'
|
|
164
153
|
requirements: []
|
|
165
154
|
rubyforge_project:
|
|
166
|
-
rubygems_version:
|
|
155
|
+
rubygems_version: 2.0.3
|
|
167
156
|
signing_key:
|
|
168
|
-
specification_version:
|
|
157
|
+
specification_version: 4
|
|
169
158
|
summary: SSH, the way I like it
|
|
170
159
|
test_files: []
|
|
160
|
+
has_rdoc:
|