iyyov 1.1.4-java → 1.2.0-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.
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-2012 David Kellum
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-2012 David Kellum
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.1.3-java/init/iyyov jobs.rb
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
@@ -14,7 +14,7 @@
14
14
  gem_home="/opt/jruby/gems"
15
15
 
16
16
  # (Exact) Gem version of iyyov to run
17
- version="1.1.3"
17
+ version="1.2.0"
18
18
 
19
19
  # User to run the daemon as (should own rundir)
20
20
  user="iyyov"
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-2012 David Kellum
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.1.4" )
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
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2010-2012 David Kellum
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
data/lib/iyyov/base.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2010-2012 David Kellum
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.1.4'
19
+ VERSION = '1.2.0'
20
20
  end
data/lib/iyyov/context.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2010-2012 David Kellum
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
data/lib/iyyov/daemon.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2010-2012 David Kellum
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.to_s )
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.to_s )
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
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2010-2012 David Kellum
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
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2010-2012 David Kellum
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
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2010-2012 David Kellum
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
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2010-2012 David Kellum
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
data/lib/iyyov/task.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2010-2012 David Kellum
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
data/test/setup.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2010-2012 David Kellum
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
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-2012 David Kellum
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-2012 David Kellum
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
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env jruby
2
2
  #.hashdot.profile += jruby-shortlived
3
3
  #--
4
- # Copyright (c) 2010-2012 David Kellum
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
- prerelease:
5
- version: 1.1.4
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.0
6
5
  platform: java
7
- authors:
8
- - David Kellum
9
- autorequire:
6
+ authors:
7
+ - David Kellum
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
-
13
- date: 2012-09-15 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: rjack-slf4j
17
- version_requirements: &id001 !ruby/object:Gem::Requirement
18
- none: false
19
- requirements:
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 1.6.5
23
- - - <
24
- - !ruby/object:Gem::Version
25
- version: "1.8"
26
- requirement: *id001
27
- prerelease: false
28
- type: :runtime
29
- - !ruby/object:Gem::Dependency
30
- name: rjack-logback
31
- version_requirements: &id002 !ruby/object:Gem::Requirement
32
- none: false
33
- requirements:
34
- - - ~>
35
- - !ruby/object:Gem::Version
36
- version: "1.2"
37
- requirement: *id002
38
- prerelease: false
39
- type: :runtime
40
- - !ruby/object:Gem::Dependency
41
- name: logrotate
42
- version_requirements: &id003 !ruby/object:Gem::Requirement
43
- none: false
44
- requirements:
45
- - - "="
46
- - !ruby/object:Gem::Version
47
- version: 1.2.1
48
- requirement: *id003
49
- prerelease: false
50
- type: :runtime
51
- - !ruby/object:Gem::Dependency
52
- name: minitest
53
- version_requirements: &id004 !ruby/object:Gem::Requirement
54
- none: false
55
- requirements:
56
- - - ~>
57
- - !ruby/object:Gem::Version
58
- version: "2.2"
59
- requirement: *id004
60
- prerelease: false
61
- type: :development
62
- - !ruby/object:Gem::Dependency
63
- name: hashdot-test-daemon
64
- version_requirements: &id005 !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: "1.2"
70
- requirement: *id005
71
- prerelease: false
72
- type: :development
73
- - !ruby/object:Gem::Dependency
74
- name: rjack-tarpit
75
- version_requirements: &id006 !ruby/object:Gem::Requirement
76
- none: false
77
- requirements:
78
- - - ~>
79
- - !ruby/object:Gem::Version
80
- version: "2.0"
81
- requirement: *id006
82
- prerelease: false
83
- type: :development
84
- description:
85
- email:
86
- - dek-oss@gravitext.com
87
- executables:
88
- - iyyov-fg
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
- extra_rdoc_files:
92
- - History.rdoc
93
- - README.rdoc
94
- files:
95
- - History.rdoc
96
- - Manifest.txt
97
- - README.rdoc
98
- - Rakefile
99
- - bin/iyyov-fg
100
- - config/async.rb
101
- - config/crontab
102
- - config/host-based.rb
103
- - config/jobs.rb
104
- - config/load-all.rb
105
- - config/init.d/iyyov
106
- - init/iyyov
107
- - lib/iyyov/base.rb
108
- - lib/iyyov.rb
109
- - lib/iyyov/context.rb
110
- - lib/iyyov/daemon.rb
111
- - lib/iyyov/errors.rb
112
- - lib/iyyov/log_rotator.rb
113
- - lib/iyyov/scheduler.rb
114
- - lib/iyyov/shutdown_handler.rb
115
- - lib/iyyov/task.rb
116
- - test/jobs-bad.rb
117
- - test/jobs-dupe.rb
118
- - test/setup.rb
119
- - test/test_context.rb
120
- - test/test_daemon.rb
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
- - --main
128
- - README.rdoc
129
- require_paths:
130
- - lib
131
- required_ruby_version: !ruby/object:Gem::Requirement
132
- none: false
133
- requirements:
134
- - - ">="
135
- - !ruby/object:Gem::Version
136
- hash: 2
137
- segments:
138
- - 0
139
- version: "0"
140
- required_rubygems_version: !ruby/object:Gem::Requirement
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
- rubyforge_project:
152
- rubygems_version: 1.8.15
153
- signing_key:
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
-