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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92b0e84804fd39ef988e03c0f76cff4bf6e8af060cc395b150f24622c5a8a43d
4
- data.tar.gz: 0d217fe414875b7124f3b0362e6e4fd8c3eff240d09d67bd88a0ae4dc695e934
3
+ metadata.gz: 4e5a8d520eb475e3eb5b3e75b3b175a4a66c3804584912afc9d4392c1d82f3d7
4
+ data.tar.gz: 558bc615e123ceaf146c2107b71202fef3eaf307215c93aa8f421826e25a8d4a
5
5
  SHA512:
6
- metadata.gz: 7c1b94426a6f419580db0f67ebdb88f20c17a758a055b242c1cc59c40664e4cea0c0f61bda47c06ea3327d95e507cd9bdde9a4d296f099b15bf6903115fcf840
7
- data.tar.gz: ccb09e88187c401b435292d36fd4abe4ac82794dec361ff20cdac5e8e458f6225e429c6a1ee2c3d94724a6e3d4bc95f028806aae849662d277a2ff0669668c27
6
+ metadata.gz: d60240815eee8a5001004f854ccfd1fe94f01023ca5099799100bcc04a99ae982bc96f14b746b4965c4afc2aba77d2138ebae96c41da075bb7b8c4f15b863493
7
+ data.tar.gz: 4beb2d7f2cd09940e9159e5d4e1d1e62db2268f82b75ff86c344e7b11076a2e6d57865039fe19c361208c1fee8e5af8c3f72657880f6183107e8f90f33129e47
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 3.0.2 ##
2
+
3
+ * Fixing clockworkd on Ruby 3.2 (a73a9d5)
4
+
1
5
  ## 3.0.1 ##
2
6
 
3
7
  * Notify error using error handler if configured (49075c2)
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.exists?(@options[: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.exists?(@options[:pid_dir])
75
- Dir.mkdir(@options[:log_dir]) unless File.exists?(@options[:log_dir])
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "clockwork"
3
- s.version = "3.0.1"
3
+ s.version = "3.0.2"
4
4
 
5
5
  s.authors = ["Adam Wiggins", "tomykaira"]
6
6
  s.license = 'MIT'
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.1
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: 2022-12-09 00:00:00.000000000 Z
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.7
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: