dynarex_cron 0.6.1 → 0.6.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
  SHA1:
3
- metadata.gz: 420b00ecdd29552efc3582140a5532b874a51a0f
4
- data.tar.gz: 28f95e9900e219d0abe42a763c7d4f0b4574f3ff
3
+ metadata.gz: ef19e2a4bc72b9840775820b1b5a8a00468b0637
4
+ data.tar.gz: 49a4545c40ba90d732b25e3cedb4a5f56ffb4db4
5
5
  SHA512:
6
- metadata.gz: b7c3c210391ab3bc54eed2760ce5e224492417716c273e72ab794aa6c76aabd2f81dd14f14fd8e5ba517cafb1d85c61821bb4392aafa2d805a8fddd298627e35
7
- data.tar.gz: 534c6105d76475f2916f471e0b9273c361674ddf6037b3779a1352e81b09ae84697987c8ef491ed5d2c5c52dd886e28053ca86bf8ab3efe9b51cd45072fc01a7
6
+ metadata.gz: c397a0545bb09496f680b4fca7e61b8fe9332cde40d6be8a9a5a4cc3fdd564d3138ced09b28eec35ea4fb1624424f656499fa7ac66f37f61624202974641027c
7
+ data.tar.gz: d834dda3b8574cdb5ed4337228af66d6375f693897bfdc97545bbadbb70ff6744d2bbd4d8e16971bf74feb1e65c3dbd8aabf18cc28104aba80065694cd147aea
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/dynarex_cron.rb CHANGED
@@ -4,7 +4,6 @@
4
4
 
5
5
  require 'dynarex'
6
6
  require 'chronic_cron'
7
- require 'logger'
8
7
  require 'run_every'
9
8
  require 'sps-pub'
10
9
 
@@ -116,7 +115,8 @@ class DynarexCron
116
115
  [@sps_address, @sps_port, h[:fqm]]
117
116
  begin
118
117
 
119
- SPSPub.notice h[:fqm], address: @sps_address, port:@sps_port
118
+ SPSPub.notice h[:fqm].gsub('!Time',Time.now.strftime("%H:%M")), \
119
+ address: @sps_address, port:@sps_port
120
120
  log 'before cron next', :info
121
121
  h[:cron].next # advances the time
122
122
  rescue
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynarex_cron
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  AYk47T0/8hx1QaR5nU5Db9LztjboHVugHlqfEKWwY2mURuQWP9iCCwiG3T1cC04z
32
32
  WnpuryTBFz7cvg==
33
33
  -----END CERTIFICATE-----
34
- date: 2015-03-07 00:00:00.000000000 Z
34
+ date: 2015-03-10 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: chronic_cron
metadata.gz.sig CHANGED
Binary file