iyyov 1.1.4-java → 1.2.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/History.rdoc +5 -0
- data/README.rdoc +2 -1
- data/bin/iyyov-fg +1 -1
- data/config/crontab +1 -1
- data/config/init.d/iyyov +1 -1
- data/init/iyyov +2 -2
- data/lib/iyyov.rb +1 -1
- data/lib/iyyov/base.rb +2 -2
- data/lib/iyyov/context.rb +1 -1
- data/lib/iyyov/daemon.rb +4 -4
- data/lib/iyyov/errors.rb +1 -1
- data/lib/iyyov/log_rotator.rb +1 -1
- data/lib/iyyov/scheduler.rb +1 -1
- data/lib/iyyov/shutdown_handler.rb +1 -1
- data/lib/iyyov/task.rb +1 -1
- data/test/setup.rb +1 -1
- data/test/test_context.rb +1 -1
- data/test/test_daemon.rb +1 -1
- data/test/test_scheduler.rb +1 -1
- metadata +155 -147
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7692b765081a521e88f4b83ef83c6eb77f5d40b9
|
4
|
+
data.tar.gz: 4bc956f7bb0ee66a43dcfdee726627fe8884a13f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: eee70d3b7aaad4509f4cffe854839652da43bc95c3d05c3fb5625cbe484718a4368f65ef115f5f6e42f898b41e1c1f7f2f898884fc85d43ddf9da86613626655
|
7
|
+
data.tar.gz: 03ad99512a103d85de5e67eb6574b1f595da8142c28fb1863b1c5ae4e5046c6a5a59e249dc68f4fe3f7a50bedb8855eac2305b9c83cb367aab2b42441201e940
|
data/History.rdoc
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
=== 1.2.0 (2013-12-6)
|
2
|
+
* Improve deamon log output
|
3
|
+
* Add Travis CI test setup (build)
|
4
|
+
* Upgrade to minitest ~> 4.7.4 (build)
|
5
|
+
|
1
6
|
=== 1.1.4 (2012-9-15)
|
2
7
|
* Upgrade/broaden to slf4j [1.6.5,1.8), logback ~> 1.2
|
3
8
|
* Only stop old daemons when either (a) they are no longer in the
|
data/README.rdoc
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
* http://github.com/dekellum/iyyov
|
4
4
|
* http://en.wikipedia.org/wiki/Iyyov
|
5
5
|
* http://gravitext.com/#vblog
|
6
|
+
* {<img src="https://travis-ci.org/dekellum/iyyov.png" />}[https://travis-ci.org/dekellum/iyyov]
|
6
7
|
|
7
8
|
== Description
|
8
9
|
|
@@ -82,7 +83,7 @@ the above provided examples.
|
|
82
83
|
|
83
84
|
== License
|
84
85
|
|
85
|
-
Copyright (c) 2010-
|
86
|
+
Copyright (c) 2010-2013 David Kellum
|
86
87
|
|
87
88
|
Licensed under the Apache License, Version 2.0 (the "License"); you
|
88
89
|
may not use this file except in compliance with the License. You
|
data/bin/iyyov-fg
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
#. hashdot.vm.options += -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled
|
5
5
|
|
6
6
|
#--
|
7
|
-
# Copyright (c) 2010-
|
7
|
+
# Copyright (c) 2010-2013 David Kellum
|
8
8
|
#
|
9
9
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
10
10
|
# may not use this file except in compliance with the License. You
|
data/config/crontab
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
# PATH=/opt/bin
|
2
|
-
*/1 * * * * cd /opt/var/iyyov && /opt/jruby/gems/gems/iyyov-1.
|
2
|
+
*/1 * * * * cd /opt/var/iyyov && /opt/jruby/gems/gems/iyyov-1.2.0-java/init/iyyov jobs.rb
|
data/config/init.d/iyyov
CHANGED
data/init/iyyov
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
#. hashdot.vm.options += -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled
|
8
8
|
|
9
9
|
#--
|
10
|
-
# Copyright (c) 2010-
|
10
|
+
# Copyright (c) 2010-2013 David Kellum
|
11
11
|
#
|
12
12
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
13
13
|
# may not use this file except in compliance with the License. You
|
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
require 'rubygems'
|
26
26
|
|
27
|
-
gem( "iyyov", "= 1.
|
27
|
+
gem( "iyyov", "= 1.2.0" )
|
28
28
|
|
29
29
|
require 'rjack-logback'
|
30
30
|
RJack::Logback.config_console( :full => true, :thread => true )
|
data/lib/iyyov.rb
CHANGED
data/lib/iyyov/base.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c) 2010-
|
2
|
+
# Copyright (c) 2010-2013 David Kellum
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
5
5
|
# may not use this file except in compliance with the License. You
|
@@ -16,5 +16,5 @@
|
|
16
16
|
|
17
17
|
module Iyyov
|
18
18
|
# Iyyov version
|
19
|
-
VERSION = '1.
|
19
|
+
VERSION = '1.2.0'
|
20
20
|
end
|
data/lib/iyyov/context.rb
CHANGED
data/lib/iyyov/daemon.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c) 2010-
|
2
|
+
# Copyright (c) 2010-2013 David Kellum
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
5
5
|
# may not use this file except in compliance with the License. You
|
@@ -178,7 +178,7 @@ module Iyyov
|
|
178
178
|
rescue DaemonFailed, SystemCallError => e
|
179
179
|
#FIXME: Ruby 1.4.0 throws SystemCallError when mkdir fails from
|
180
180
|
#permissions
|
181
|
-
@log.error( e
|
181
|
+
@log.error( "Do first", e )
|
182
182
|
@state = :failed
|
183
183
|
:stop
|
184
184
|
end
|
@@ -256,7 +256,7 @@ module Iyyov
|
|
256
256
|
@state = :up
|
257
257
|
true
|
258
258
|
rescue Gem::LoadError, Gem::GemNotFoundException, DaemonFailed, Errno::ENOENT => e
|
259
|
-
@log.error( e
|
259
|
+
@log.error( "On exec", e )
|
260
260
|
@state = :failed
|
261
261
|
false
|
262
262
|
end
|
@@ -330,7 +330,7 @@ module Iyyov
|
|
330
330
|
false
|
331
331
|
rescue Errno::EPERM => e
|
332
332
|
# Not permitted: only raised by MRI ruby currently
|
333
|
-
@log.error( e )
|
333
|
+
@log.error( "On stop", e )
|
334
334
|
false
|
335
335
|
end
|
336
336
|
|
data/lib/iyyov/errors.rb
CHANGED
data/lib/iyyov/log_rotator.rb
CHANGED
data/lib/iyyov/scheduler.rb
CHANGED
data/lib/iyyov/task.rb
CHANGED
data/test/setup.rb
CHANGED
data/test/test_context.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env jruby
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
3
3
|
#--
|
4
|
-
# Copyright (c) 2010-
|
4
|
+
# Copyright (c) 2010-2013 David Kellum
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
7
7
|
# may not use this file except in compliance with the License. You
|
data/test/test_daemon.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env jruby
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
3
3
|
#--
|
4
|
-
# Copyright (c) 2010-
|
4
|
+
# Copyright (c) 2010-2013 David Kellum
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
7
7
|
# may not use this file except in compliance with the License. You
|
data/test/test_scheduler.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env jruby
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
3
3
|
#--
|
4
|
-
# Copyright (c) 2010-
|
4
|
+
# Copyright (c) 2010-2013 David Kellum
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
7
7
|
# may not use this file except in compliance with the License. You
|
metadata
CHANGED
@@ -1,157 +1,165 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: iyyov
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 1.1.4
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.0
|
6
5
|
platform: java
|
7
|
-
authors:
|
8
|
-
|
9
|
-
autorequire:
|
6
|
+
authors:
|
7
|
+
- David Kellum
|
8
|
+
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
11
|
+
date: 2013-12-06 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rjack-slf4j
|
15
|
+
version_requirements: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.6.5
|
20
|
+
- - <
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '1.8'
|
23
|
+
requirement: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - '>='
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 1.6.5
|
28
|
+
- - <
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '1.8'
|
31
|
+
prerelease: false
|
32
|
+
type: :runtime
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: rjack-logback
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ~>
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.2'
|
40
|
+
requirement: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '1.2'
|
45
|
+
prerelease: false
|
46
|
+
type: :runtime
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: logrotate
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - '='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.2.1
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - '='
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: 1.2.1
|
59
|
+
prerelease: false
|
60
|
+
type: :runtime
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: minitest
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ~>
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 4.7.4
|
68
|
+
requirement: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ~>
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 4.7.4
|
73
|
+
prerelease: false
|
74
|
+
type: :development
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: hashdot-test-daemon
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ~>
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '1.2'
|
82
|
+
requirement: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ~>
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '1.2'
|
87
|
+
prerelease: false
|
88
|
+
type: :development
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: rjack-tarpit
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ~>
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '2.1'
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ~>
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '2.1'
|
101
|
+
prerelease: false
|
102
|
+
type: :development
|
103
|
+
description:
|
104
|
+
email:
|
105
|
+
- dek-oss@gravitext.com
|
106
|
+
executables:
|
107
|
+
- iyyov-fg
|
89
108
|
extensions: []
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
- test/test_scheduler.rb
|
109
|
+
extra_rdoc_files:
|
110
|
+
- History.rdoc
|
111
|
+
- README.rdoc
|
112
|
+
files:
|
113
|
+
- History.rdoc
|
114
|
+
- Manifest.txt
|
115
|
+
- README.rdoc
|
116
|
+
- Rakefile
|
117
|
+
- bin/iyyov-fg
|
118
|
+
- config/async.rb
|
119
|
+
- config/crontab
|
120
|
+
- config/host-based.rb
|
121
|
+
- config/jobs.rb
|
122
|
+
- config/load-all.rb
|
123
|
+
- config/init.d/iyyov
|
124
|
+
- init/iyyov
|
125
|
+
- lib/iyyov/base.rb
|
126
|
+
- lib/iyyov.rb
|
127
|
+
- lib/iyyov/context.rb
|
128
|
+
- lib/iyyov/daemon.rb
|
129
|
+
- lib/iyyov/errors.rb
|
130
|
+
- lib/iyyov/log_rotator.rb
|
131
|
+
- lib/iyyov/scheduler.rb
|
132
|
+
- lib/iyyov/shutdown_handler.rb
|
133
|
+
- lib/iyyov/task.rb
|
134
|
+
- test/jobs-bad.rb
|
135
|
+
- test/jobs-dupe.rb
|
136
|
+
- test/setup.rb
|
137
|
+
- test/test_context.rb
|
138
|
+
- test/test_daemon.rb
|
139
|
+
- test/test_scheduler.rb
|
122
140
|
homepage: http://github.com/dekellum/iyyov
|
123
141
|
licenses: []
|
124
|
-
|
125
|
-
post_install_message:
|
126
|
-
rdoc_options:
|
127
|
-
|
128
|
-
|
129
|
-
require_paths:
|
130
|
-
|
131
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
-
|
133
|
-
|
134
|
-
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
none: false
|
142
|
-
requirements:
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
hash: 2
|
146
|
-
segments:
|
147
|
-
- 0
|
148
|
-
version: "0"
|
142
|
+
metadata: {}
|
143
|
+
post_install_message:
|
144
|
+
rdoc_options:
|
145
|
+
- --main
|
146
|
+
- README.rdoc
|
147
|
+
require_paths:
|
148
|
+
- lib
|
149
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - '>='
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '0'
|
149
159
|
requirements: []
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
specification_version: 3
|
160
|
+
rubyforge_project:
|
161
|
+
rubygems_version: 2.1.9
|
162
|
+
signing_key:
|
163
|
+
specification_version: 4
|
155
164
|
summary: Down-to-earth job control and monitoring.
|
156
165
|
test_files: []
|
157
|
-
|