serial_scheduler 0.2.0 → 0.2.1

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: a3176f9491c9ca41665e74892f0ec5cca612b2590ef5d259eb595f03e3a80c1a
4
- data.tar.gz: 182974bb8a089dc7c229eaa9a23294f88cea9d17b5eaca68f8a98cc9b0fe6bc6
3
+ metadata.gz: 9b3dd2528969ba8f347f24e21bcf8eeaacd761169ffd3933ee84dbe2e7fef537
4
+ data.tar.gz: 6a0e3ab1df2c063218b9d4c5ff4bbe505dc1e1502a58c5bdbe150e6333980354
5
5
  SHA512:
6
- metadata.gz: 4f33dd9831bea10233bac83fb3dfec909ef297f5f78254dea7e87babd6191210da35c81e572762292238258d0a95faf161d957c70d6cca688bedda3e5b8cb461
7
- data.tar.gz: 5210390830383771b3fdcc69756116fd644f452e58b2c41ac6cfe3ef981329ac09c5792f3a6b0faefb8599652051dcfe4bbee4c5802ad5ab059a240509a80cfd
6
+ metadata.gz: 7281f98b6133e804d84c8b6e7c86c7ab131383c128319d232cc71e09f5fac7a07acb3c62d20a0ea61d241a61be33fcc67c1adb2ce82590fed84579359b16e14b
7
+ data.tar.gz: 0f7cfa6194f634d9797b183bd73b841951c475ccc40185d5dac7df18704a5a7f192a65e12c8e7b0034282ea6ba1aca95a8c7b6141af61db492de2249cd6599d9
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  class SerialScheduler
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
@@ -66,7 +66,7 @@ class SerialScheduler
66
66
  wait = [earliest.next - now, 0].max # do not wait when overdue
67
67
 
68
68
  if wait > 0
69
- @logger.info message: "Waiting to start job", job: earliest.name, time: wait, at: Time.at(now).to_s
69
+ @logger.info message: "Waiting to start job", job: earliest.name, in: wait, at: Time.at(now).to_s
70
70
  wait.times do
71
71
  break if @stopped
72
72
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serial_scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser