iyyov 1.1.0-java → 1.1.1-java
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.
- data/History.rdoc +6 -0
- data/README.rdoc +1 -1
- data/Rakefile +2 -17
- data/bin/iyyov-fg +2 -2
- data/config/crontab +1 -1
- data/config/init.d/iyyov +1 -1
- data/init/iyyov +2 -2
- data/lib/iyyov/base.rb +2 -2
- data/lib/iyyov/context.rb +1 -1
- data/lib/iyyov/daemon.rb +4 -1
- 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/lib/iyyov.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 +14 -40
data/History.rdoc
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
=== 1.1.1 (2011-3-26)
|
2
|
+
* Fix one more bare Logback reference for iyyov-fg -d
|
3
|
+
* Expose Daemon.log, for extensions.
|
4
|
+
* Upgrade to logback ~> 1.1.1
|
5
|
+
* Upgrade to tarpit ~> 1.3.0 (build)
|
6
|
+
|
1
7
|
=== 1.1.0 (2010-12-7)
|
2
8
|
* Fix LogRotator.max_size initialized default. (issues/1)
|
3
9
|
* Change name of daemon to plain 'iyyov' (in keeping with standard
|
data/README.rdoc
CHANGED
@@ -82,7 +82,7 @@ the above provided examples.
|
|
82
82
|
|
83
83
|
== License
|
84
84
|
|
85
|
-
Copyright (c) 2010 David Kellum
|
85
|
+
Copyright (c) 2010-2011 David Kellum
|
86
86
|
|
87
87
|
Licensed under the Apache License, Version 2.0 (the "License"); you
|
88
88
|
may not use this file except in compliance with the License. You
|
data/Rakefile
CHANGED
@@ -1,24 +1,9 @@
|
|
1
1
|
# -*- ruby -*-
|
2
|
-
#--
|
3
|
-
# Copyright (C) 2010 David Kellum
|
4
|
-
#
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
6
|
-
# may not use this file except in compliance with the License. You
|
7
|
-
# may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
14
|
-
# implied. See the License for the specific language governing
|
15
|
-
# permissions and limitations under the License.
|
16
|
-
#++
|
17
2
|
|
18
3
|
$LOAD_PATH << './lib'
|
19
4
|
|
20
5
|
require 'rubygems'
|
21
|
-
gem 'rjack-tarpit', '~> 1.
|
6
|
+
gem 'rjack-tarpit', '~> 1.3.0'
|
22
7
|
require 'rjack-tarpit'
|
23
8
|
|
24
9
|
require 'iyyov/base'
|
@@ -29,7 +14,7 @@ t.specify do |h|
|
|
29
14
|
h.developer( 'David Kellum', 'dek-oss@gravitext.com' )
|
30
15
|
h.testlib = :minitest
|
31
16
|
h.extra_deps += [ [ 'rjack-slf4j', '~> 1.6.1' ],
|
32
|
-
[ 'rjack-logback', '~> 1.
|
17
|
+
[ 'rjack-logback', '~> 1.1.1' ],
|
33
18
|
[ 'logrotate', '= 1.2.1' ] ]
|
34
19
|
h.extra_dev_deps += [ [ 'minitest', '>= 1.5.0', '< 2.1' ],
|
35
20
|
[ 'hashdot-test-daemon', '~> 1.2' ] ]
|
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 David Kellum
|
7
|
+
# Copyright (c) 2010-2011 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
|
@@ -39,7 +39,7 @@ Options:
|
|
39
39
|
END
|
40
40
|
|
41
41
|
opts.on( "-d", "--debug", "Enable debug logging" ) do
|
42
|
-
RJack::Logback.root.level = Logback::DEBUG
|
42
|
+
RJack::Logback.root.level = RJack::Logback::DEBUG
|
43
43
|
end
|
44
44
|
|
45
45
|
opts.on( "-v", "--version", "Show version and exit" ) do
|
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.1.
|
2
|
+
*/1 * * * * cd /opt/var/iyyov && /opt/jruby/gems/gems/iyyov-1.1.1-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 David Kellum
|
10
|
+
# Copyright (c) 2010-2011 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.1.
|
27
|
+
gem( "iyyov", "= 1.1.1" )
|
28
28
|
|
29
29
|
require 'rjack-logback'
|
30
30
|
RJack::Logback.config_console( :full => true, :thread => true )
|
data/lib/iyyov/base.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c) 2010 David Kellum
|
2
|
+
# Copyright (c) 2010-2011 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.1.
|
19
|
+
VERSION = '1.1.1'
|
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 David Kellum
|
2
|
+
# Copyright (c) 2010-2011 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
|
@@ -101,6 +101,9 @@ module Iyyov
|
|
101
101
|
# Symbol (in STATES)
|
102
102
|
attr_reader :state
|
103
103
|
|
104
|
+
# SLF4J logger
|
105
|
+
attr_reader :log
|
106
|
+
|
104
107
|
# States tracked
|
105
108
|
STATES = [ :begin, :up, :failed, :stopped ]
|
106
109
|
|
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/lib/iyyov.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 David Kellum
|
4
|
+
# Copyright (c) 2010-2011 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 David Kellum
|
4
|
+
# Copyright (c) 2010-2011 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 David Kellum
|
4
|
+
# Copyright (c) 2010-2011 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,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iyyov
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
version: 1.1.0
|
4
|
+
prerelease:
|
5
|
+
version: 1.1.1
|
10
6
|
platform: java
|
11
7
|
authors:
|
12
8
|
- David Kellum
|
@@ -14,20 +10,17 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date:
|
13
|
+
date: 2011-03-26 00:00:00 -07:00
|
18
14
|
default_executable:
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
21
17
|
name: rjack-slf4j
|
22
18
|
prerelease: false
|
23
19
|
requirement: &id001 !ruby/object:Gem::Requirement
|
20
|
+
none: false
|
24
21
|
requirements:
|
25
22
|
- - ~>
|
26
23
|
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 1
|
29
|
-
- 6
|
30
|
-
- 1
|
31
24
|
version: 1.6.1
|
32
25
|
type: :runtime
|
33
26
|
version_requirements: *id001
|
@@ -35,27 +28,21 @@ dependencies:
|
|
35
28
|
name: rjack-logback
|
36
29
|
prerelease: false
|
37
30
|
requirement: &id002 !ruby/object:Gem::Requirement
|
31
|
+
none: false
|
38
32
|
requirements:
|
39
33
|
- - ~>
|
40
34
|
- !ruby/object:Gem::Version
|
41
|
-
|
42
|
-
- 1
|
43
|
-
- 0
|
44
|
-
- 0
|
45
|
-
version: 1.0.0
|
35
|
+
version: 1.1.1
|
46
36
|
type: :runtime
|
47
37
|
version_requirements: *id002
|
48
38
|
- !ruby/object:Gem::Dependency
|
49
39
|
name: logrotate
|
50
40
|
prerelease: false
|
51
41
|
requirement: &id003 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
52
43
|
requirements:
|
53
44
|
- - "="
|
54
45
|
- !ruby/object:Gem::Version
|
55
|
-
segments:
|
56
|
-
- 1
|
57
|
-
- 2
|
58
|
-
- 1
|
59
46
|
version: 1.2.1
|
60
47
|
type: :runtime
|
61
48
|
version_requirements: *id003
|
@@ -63,19 +50,13 @@ dependencies:
|
|
63
50
|
name: minitest
|
64
51
|
prerelease: false
|
65
52
|
requirement: &id004 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
66
54
|
requirements:
|
67
55
|
- - ">="
|
68
56
|
- !ruby/object:Gem::Version
|
69
|
-
segments:
|
70
|
-
- 1
|
71
|
-
- 5
|
72
|
-
- 0
|
73
57
|
version: 1.5.0
|
74
58
|
- - <
|
75
59
|
- !ruby/object:Gem::Version
|
76
|
-
segments:
|
77
|
-
- 2
|
78
|
-
- 1
|
79
60
|
version: "2.1"
|
80
61
|
type: :development
|
81
62
|
version_requirements: *id004
|
@@ -83,12 +64,10 @@ dependencies:
|
|
83
64
|
name: hashdot-test-daemon
|
84
65
|
prerelease: false
|
85
66
|
requirement: &id005 !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
86
68
|
requirements:
|
87
69
|
- - ~>
|
88
70
|
- !ruby/object:Gem::Version
|
89
|
-
segments:
|
90
|
-
- 1
|
91
|
-
- 2
|
92
71
|
version: "1.2"
|
93
72
|
type: :development
|
94
73
|
version_requirements: *id005
|
@@ -96,14 +75,11 @@ dependencies:
|
|
96
75
|
name: rjack-tarpit
|
97
76
|
prerelease: false
|
98
77
|
requirement: &id006 !ruby/object:Gem::Requirement
|
78
|
+
none: false
|
99
79
|
requirements:
|
100
80
|
- - ~>
|
101
81
|
- !ruby/object:Gem::Version
|
102
|
-
|
103
|
-
- 1
|
104
|
-
- 2
|
105
|
-
- 2
|
106
|
-
version: 1.2.2
|
82
|
+
version: 1.3.0
|
107
83
|
type: :development
|
108
84
|
version_requirements: *id006
|
109
85
|
description: Down-to-earth job control and monitoring.
|
@@ -156,23 +132,21 @@ rdoc_options:
|
|
156
132
|
require_paths:
|
157
133
|
- lib
|
158
134
|
required_ruby_version: !ruby/object:Gem::Requirement
|
135
|
+
none: false
|
159
136
|
requirements:
|
160
137
|
- - ">="
|
161
138
|
- !ruby/object:Gem::Version
|
162
|
-
segments:
|
163
|
-
- 0
|
164
139
|
version: "0"
|
165
140
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
|
+
none: false
|
166
142
|
requirements:
|
167
143
|
- - ">="
|
168
144
|
- !ruby/object:Gem::Version
|
169
|
-
segments:
|
170
|
-
- 0
|
171
145
|
version: "0"
|
172
146
|
requirements: []
|
173
147
|
|
174
148
|
rubyforge_project: iyyov
|
175
|
-
rubygems_version: 1.
|
149
|
+
rubygems_version: 1.5.1
|
176
150
|
signing_key:
|
177
151
|
specification_version: 3
|
178
152
|
summary: Down-to-earth job control and monitoring.
|