tengine_job_agent 0.3.17
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rspec +1 -0
- data/Gemfile +22 -0
- data/Gemfile.lock +67 -0
- data/README.rdoc +20 -0
- data/Rakefile +42 -0
- data/VERSION +1 -0
- data/bin/tengine_job_agent_kill +23 -0
- data/bin/tengine_job_agent_run +8 -0
- data/bin/tengine_job_agent_watchdog +15 -0
- data/lib/tengine_job_agent.rb +10 -0
- data/lib/tengine_job_agent/command_utils.rb +38 -0
- data/lib/tengine_job_agent/run.rb +74 -0
- data/lib/tengine_job_agent/watchdog.rb +162 -0
- data/spec/.gitignore +1 -0
- data/spec/config/tengine_job_agent.yml.erb +17 -0
- data/spec/spec_helper.rb +14 -0
- data/spec/tengine_job_agent/command_utils_spec.rb +124 -0
- data/spec/tengine_job_agent/run_spec.rb +107 -0
- data/spec/tengine_job_agent/scripts/echo_foo.sh +4 -0
- data/spec/tengine_job_agent/scripts/sleep.sh +6 -0
- data/spec/tengine_job_agent/watchdog_spec.rb +307 -0
- data/tengine_job_agent.gemspec +87 -0
- metadata +180 -0
@@ -0,0 +1,87 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "tengine_job_agent"
|
8
|
+
s.version = "0.3.17"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["taigou", "totty", "g-morita", "shyouhei", "akm"]
|
12
|
+
s.date = "2012-02-09"
|
13
|
+
s.description = "tengine_job_agent works with tengine_job"
|
14
|
+
s.email = "tengine@nautilus-technologies.com"
|
15
|
+
s.executables = ["tengine_job_agent_kill", "tengine_job_agent_run", "tengine_job_agent_watchdog"]
|
16
|
+
s.extra_rdoc_files = [
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".rspec",
|
22
|
+
"Gemfile",
|
23
|
+
"Gemfile.lock",
|
24
|
+
"README.rdoc",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"bin/tengine_job_agent_kill",
|
28
|
+
"bin/tengine_job_agent_run",
|
29
|
+
"bin/tengine_job_agent_watchdog",
|
30
|
+
"lib/tengine_job_agent.rb",
|
31
|
+
"lib/tengine_job_agent/command_utils.rb",
|
32
|
+
"lib/tengine_job_agent/run.rb",
|
33
|
+
"lib/tengine_job_agent/watchdog.rb",
|
34
|
+
"spec/.gitignore",
|
35
|
+
"spec/config/tengine_job_agent.yml.erb",
|
36
|
+
"spec/log/.gitignore",
|
37
|
+
"spec/spec_helper.rb",
|
38
|
+
"spec/tengine_job_agent/command_utils_spec.rb",
|
39
|
+
"spec/tengine_job_agent/run_spec.rb",
|
40
|
+
"spec/tengine_job_agent/scripts/echo_foo.sh",
|
41
|
+
"spec/tengine_job_agent/scripts/sleep.sh",
|
42
|
+
"spec/tengine_job_agent/watchdog_spec.rb",
|
43
|
+
"tengine_job_agent.gemspec"
|
44
|
+
]
|
45
|
+
s.homepage = "http://github.com/tengine/tengine_job_agent"
|
46
|
+
s.licenses = ["MPL2.0/LGPLv3"]
|
47
|
+
s.require_paths = ["lib"]
|
48
|
+
s.rubygems_version = "1.8.12"
|
49
|
+
s.summary = "tengine_job_agent invoke job, watches it and notify its finish to tengine server"
|
50
|
+
|
51
|
+
if s.respond_to? :specification_version then
|
52
|
+
s.specification_version = 3
|
53
|
+
|
54
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
55
|
+
s.add_runtime_dependency(%q<tengine_support>, ["~> 0.3.0"])
|
56
|
+
s.add_runtime_dependency(%q<tengine_event>, ["~> 0.4.0"])
|
57
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
|
58
|
+
s.add_development_dependency(%q<yard>, ["~> 0.7.2"])
|
59
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.18"])
|
60
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
61
|
+
s.add_development_dependency(%q<simplecov>, ["~> 0.5.3"])
|
62
|
+
s.add_development_dependency(%q<ZenTest>, ["~> 4.6.2"])
|
63
|
+
s.add_development_dependency(%q<ci_reporter>, ["~> 1.6.5"])
|
64
|
+
else
|
65
|
+
s.add_dependency(%q<tengine_support>, ["~> 0.3.0"])
|
66
|
+
s.add_dependency(%q<tengine_event>, ["~> 0.4.0"])
|
67
|
+
s.add_dependency(%q<rspec>, ["~> 2.6.0"])
|
68
|
+
s.add_dependency(%q<yard>, ["~> 0.7.2"])
|
69
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.18"])
|
70
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
71
|
+
s.add_dependency(%q<simplecov>, ["~> 0.5.3"])
|
72
|
+
s.add_dependency(%q<ZenTest>, ["~> 4.6.2"])
|
73
|
+
s.add_dependency(%q<ci_reporter>, ["~> 1.6.5"])
|
74
|
+
end
|
75
|
+
else
|
76
|
+
s.add_dependency(%q<tengine_support>, ["~> 0.3.0"])
|
77
|
+
s.add_dependency(%q<tengine_event>, ["~> 0.4.0"])
|
78
|
+
s.add_dependency(%q<rspec>, ["~> 2.6.0"])
|
79
|
+
s.add_dependency(%q<yard>, ["~> 0.7.2"])
|
80
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.18"])
|
81
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
82
|
+
s.add_dependency(%q<simplecov>, ["~> 0.5.3"])
|
83
|
+
s.add_dependency(%q<ZenTest>, ["~> 4.6.2"])
|
84
|
+
s.add_dependency(%q<ci_reporter>, ["~> 1.6.5"])
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
metadata
ADDED
@@ -0,0 +1,180 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tengine_job_agent
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.17
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- taigou
|
9
|
+
- totty
|
10
|
+
- g-morita
|
11
|
+
- shyouhei
|
12
|
+
- akm
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
date: 2012-02-09 00:00:00.000000000Z
|
17
|
+
dependencies:
|
18
|
+
- !ruby/object:Gem::Dependency
|
19
|
+
name: tengine_support
|
20
|
+
requirement: &2156137340 !ruby/object:Gem::Requirement
|
21
|
+
none: false
|
22
|
+
requirements:
|
23
|
+
- - ~>
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: 0.3.0
|
26
|
+
type: :runtime
|
27
|
+
prerelease: false
|
28
|
+
version_requirements: *2156137340
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: tengine_event
|
31
|
+
requirement: &2156087460 !ruby/object:Gem::Requirement
|
32
|
+
none: false
|
33
|
+
requirements:
|
34
|
+
- - ~>
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 0.4.0
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: *2156087460
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: rspec
|
42
|
+
requirement: &2156073520 !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.6.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: *2156073520
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: yard
|
53
|
+
requirement: &2156062440 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ~>
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: 0.7.2
|
59
|
+
type: :development
|
60
|
+
prerelease: false
|
61
|
+
version_requirements: *2156062440
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: bundler
|
64
|
+
requirement: &2156054940 !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 1.0.18
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: *2156054940
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: jeweler
|
75
|
+
requirement: &2156048520 !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ~>
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 1.6.4
|
81
|
+
type: :development
|
82
|
+
prerelease: false
|
83
|
+
version_requirements: *2156048520
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: simplecov
|
86
|
+
requirement: &2156033760 !ruby/object:Gem::Requirement
|
87
|
+
none: false
|
88
|
+
requirements:
|
89
|
+
- - ~>
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: 0.5.3
|
92
|
+
type: :development
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: *2156033760
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: ZenTest
|
97
|
+
requirement: &2156020140 !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
100
|
+
- - ~>
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 4.6.2
|
103
|
+
type: :development
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: *2156020140
|
106
|
+
- !ruby/object:Gem::Dependency
|
107
|
+
name: ci_reporter
|
108
|
+
requirement: &2156011300 !ruby/object:Gem::Requirement
|
109
|
+
none: false
|
110
|
+
requirements:
|
111
|
+
- - ~>
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: 1.6.5
|
114
|
+
type: :development
|
115
|
+
prerelease: false
|
116
|
+
version_requirements: *2156011300
|
117
|
+
description: tengine_job_agent works with tengine_job
|
118
|
+
email: tengine@nautilus-technologies.com
|
119
|
+
executables:
|
120
|
+
- tengine_job_agent_kill
|
121
|
+
- tengine_job_agent_run
|
122
|
+
- tengine_job_agent_watchdog
|
123
|
+
extensions: []
|
124
|
+
extra_rdoc_files:
|
125
|
+
- README.rdoc
|
126
|
+
files:
|
127
|
+
- .document
|
128
|
+
- .rspec
|
129
|
+
- Gemfile
|
130
|
+
- Gemfile.lock
|
131
|
+
- README.rdoc
|
132
|
+
- Rakefile
|
133
|
+
- VERSION
|
134
|
+
- bin/tengine_job_agent_kill
|
135
|
+
- bin/tengine_job_agent_run
|
136
|
+
- bin/tengine_job_agent_watchdog
|
137
|
+
- lib/tengine_job_agent.rb
|
138
|
+
- lib/tengine_job_agent/command_utils.rb
|
139
|
+
- lib/tengine_job_agent/run.rb
|
140
|
+
- lib/tengine_job_agent/watchdog.rb
|
141
|
+
- spec/.gitignore
|
142
|
+
- spec/config/tengine_job_agent.yml.erb
|
143
|
+
- spec/log/.gitignore
|
144
|
+
- spec/spec_helper.rb
|
145
|
+
- spec/tengine_job_agent/command_utils_spec.rb
|
146
|
+
- spec/tengine_job_agent/run_spec.rb
|
147
|
+
- spec/tengine_job_agent/scripts/echo_foo.sh
|
148
|
+
- spec/tengine_job_agent/scripts/sleep.sh
|
149
|
+
- spec/tengine_job_agent/watchdog_spec.rb
|
150
|
+
- tengine_job_agent.gemspec
|
151
|
+
homepage: http://github.com/tengine/tengine_job_agent
|
152
|
+
licenses:
|
153
|
+
- MPL2.0/LGPLv3
|
154
|
+
post_install_message:
|
155
|
+
rdoc_options: []
|
156
|
+
require_paths:
|
157
|
+
- lib
|
158
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
159
|
+
none: false
|
160
|
+
requirements:
|
161
|
+
- - ! '>='
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '0'
|
164
|
+
segments:
|
165
|
+
- 0
|
166
|
+
hash: 2510971988355542702
|
167
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
|
+
none: false
|
169
|
+
requirements:
|
170
|
+
- - ! '>='
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
requirements: []
|
174
|
+
rubyforge_project:
|
175
|
+
rubygems_version: 1.8.12
|
176
|
+
signing_key:
|
177
|
+
specification_version: 3
|
178
|
+
summary: tengine_job_agent invoke job, watches it and notify its finish to tengine
|
179
|
+
server
|
180
|
+
test_files: []
|