mobilize-ssh 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,6 @@
1
+ - name: test_ssh
2
+ active: true
3
+ trigger: once
4
+ status: ""
5
+ task1: 'ssh.run "test_node", "ruby code.rb", "Runner_mobilize(test)/code.rb", "Runner_mobilize(test)/code.sh"'
6
+ task2: 'gsheet.write "task1", "Runner_mobilize(test)/test_ssh.out"'
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+ require 'minitest/autorun'
4
+ require 'redis/namespace'
5
+
6
+ $dir = File.dirname(File.expand_path(__FILE__))
7
+ #set test environment
8
+ ENV['MOBILIZE_ENV'] = 'test'
9
+ require 'mobilize-ssh'
10
+ $TESTING = true
metadata ADDED
@@ -0,0 +1,137 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mobilize-ssh
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Cassio Paes-Leme
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-12-07 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: mobilize-base
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - '='
20
+ - !ruby/object:Gem::Version
21
+ version: 1.0.4
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - '='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.0.4
30
+ - !ruby/object:Gem::Dependency
31
+ name: net-ssh
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: net-scp
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: net-ssh-gateway
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ description: mobilize-ssh allows you to automate ssh commands and files across hosts
79
+ email:
80
+ - cpaesleme@ngmoco.com
81
+ executables: []
82
+ extensions: []
83
+ extra_rdoc_files: []
84
+ files:
85
+ - .gitignore
86
+ - Gemfile
87
+ - LICENSE.txt
88
+ - README.md
89
+ - Rakefile
90
+ - lib/mobilize-ssh.rb
91
+ - lib/mobilize-ssh/extensions/net-ssh-connection-session.rb
92
+ - lib/mobilize-ssh/extensions/net-ssh-gateway.rb
93
+ - lib/mobilize-ssh/extensions/socket.rb
94
+ - lib/mobilize-ssh/extensions/string.rb
95
+ - lib/mobilize-ssh/handlers/ssh.rb
96
+ - lib/mobilize-ssh/rakes.rb
97
+ - lib/mobilize-ssh/version.rb
98
+ - lib/samples/ssh.yml
99
+ - mobilize-ssh.gemspec
100
+ - test/code.rb
101
+ - test/code.sh
102
+ - test/mobilize-ssh_test.rb
103
+ - test/redis-test.conf
104
+ - test/ssh_job_rows.yml
105
+ - test/test_helper.rb
106
+ homepage: ''
107
+ licenses: []
108
+ post_install_message:
109
+ rdoc_options: []
110
+ require_paths:
111
+ - lib
112
+ required_ruby_version: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ required_rubygems_version: !ruby/object:Gem::Requirement
119
+ none: false
120
+ requirements:
121
+ - - ! '>='
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ requirements: []
125
+ rubyforge_project:
126
+ rubygems_version: 1.8.24
127
+ signing_key:
128
+ specification_version: 3
129
+ summary: extend mobilize-base with the ability to run files across hosts
130
+ test_files:
131
+ - test/code.rb
132
+ - test/code.sh
133
+ - test/mobilize-ssh_test.rb
134
+ - test/redis-test.conf
135
+ - test/ssh_job_rows.yml
136
+ - test/test_helper.rb
137
+ has_rdoc: