clockwork 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/bin/clockworkd +3 -3
- data/clockwork.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e5a8d520eb475e3eb5b3e75b3b175a4a66c3804584912afc9d4392c1d82f3d7
|
4
|
+
data.tar.gz: 558bc615e123ceaf146c2107b71202fef3eaf307215c93aa8f421826e25a8d4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d60240815eee8a5001004f854ccfd1fe94f01023ca5099799100bcc04a99ae982bc96f14b746b4965c4afc2aba77d2138ebae96c41da075bb7b8c4f15b863493
|
7
|
+
data.tar.gz: 4beb2d7f2cd09940e9159e5d4e1d1e62db2268f82b75ff86c344e7b11076a2e6d57865039fe19c361208c1fee8e5af8c3f72657880f6183107e8f90f33129e47
|
data/CHANGELOG.md
CHANGED
data/bin/clockworkd
CHANGED
@@ -63,7 +63,7 @@ def optparser_abort(opts,message)
|
|
63
63
|
end
|
64
64
|
|
65
65
|
optparser_abort opts, "ERROR: --clock=FILE is required." unless @options[:file]
|
66
|
-
optparser_abort opts, "ERROR: clock file #{@options[:file]} does not exist." unless File.
|
66
|
+
optparser_abort opts, "ERROR: clock file #{@options[:file]} does not exist." unless File.exist?(@options[:file])
|
67
67
|
optparser_abort opts, "ERROR: File extension specified in --clock must be '.rb'" unless File.extname(@options[:file]) == ".rb"
|
68
68
|
|
69
69
|
@options[:identifier] ||= "#{File.basename(@options[:file],'.*')}"
|
@@ -71,8 +71,8 @@ process_name = "#{bin_basename}.#{@options[:identifier]}"
|
|
71
71
|
|
72
72
|
@options[:log_dir] ||= @options[:pid_dir]
|
73
73
|
|
74
|
-
Dir.mkdir(@options[:pid_dir]) unless File.
|
75
|
-
Dir.mkdir(@options[:log_dir]) unless File.
|
74
|
+
Dir.mkdir(@options[:pid_dir]) unless File.exist?(@options[:pid_dir])
|
75
|
+
Dir.mkdir(@options[:log_dir]) unless File.exist?(@options[:log_dir])
|
76
76
|
|
77
77
|
puts "#{process_name}: pid file: #{File.expand_path(File.join(@options[:pid_dir],process_name + '.pid'))}"
|
78
78
|
|
data/clockwork.gemspec
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clockwork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Wiggins
|
8
8
|
- tomykaira
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-02-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: tzinfo
|
@@ -157,7 +157,7 @@ homepage: http://github.com/Rykian/clockwork
|
|
157
157
|
licenses:
|
158
158
|
- MIT
|
159
159
|
metadata: {}
|
160
|
-
post_install_message:
|
160
|
+
post_install_message:
|
161
161
|
rdoc_options: []
|
162
162
|
require_paths:
|
163
163
|
- lib
|
@@ -172,8 +172,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
requirements: []
|
175
|
-
rubygems_version: 3.3.
|
176
|
-
signing_key:
|
175
|
+
rubygems_version: 3.0.3.1
|
176
|
+
signing_key:
|
177
177
|
specification_version: 4
|
178
178
|
summary: A scheduler process to replace cron.
|
179
179
|
test_files:
|