dynarex_cron 0.6.1 → 0.6.2
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/dynarex_cron.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef19e2a4bc72b9840775820b1b5a8a00468b0637
|
|
4
|
+
data.tar.gz: 49a4545c40ba90d732b25e3cedb4a5f56ffb4db4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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],
|
|
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.
|
|
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-
|
|
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
|