dynarex_cron 0.8.1 → 0.8.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: a1729d9b8302e6575f64fdc24dab699376e982ff
4
- data.tar.gz: ed1492d2775d7c3c8df543e0b5a2a30526606898
3
+ metadata.gz: 8b46fe417a25c7f3d64c648247901ac10153e79c
4
+ data.tar.gz: 1f5b5177336e955a893f18a5e20a6f99cd722e7a
5
5
  SHA512:
6
- metadata.gz: f151b7e92f06561dd7eef7a373cce7fbe8d5a8ebe70c22eb78947371b29db882159d4de8d913175dc49704cfad3ec10de0591acaf98584b1cb300c9fa329472e
7
- data.tar.gz: 20b9d5d70b83af15aa157a11b610c1d59255059d53ade2106b2c340e3ff0672aff305375ce1ed272f3091afb0dde81fbdb9a24d3c874112ad54387531f5e07a8
6
+ metadata.gz: 54c10c78f246cbd62a54d6e87cd14c174cc08fcb56afdadf362456c091764803af3cc76ae6291cab7cbaa76dfc8ee15c3ab6d1a78682f54a81929044156b0656
7
+ data.tar.gz: 488c299021c1f31b1e29556225f3e7b2db702d226feef95bee911f197cfa9a4f0342f4f826c1110e2d7c7b695700726451249796b3385625d8c9e0dd95a84262
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/dynarex_cron.rb CHANGED
@@ -122,25 +122,15 @@ class DynarexCron
122
122
  cron_entries.each do |h|
123
123
 
124
124
  datetime = (Time.now + @time_offset).strftime(DF)
125
- log "datetime: %s; h: %s" % [datetime, h.inspect]
126
125
 
127
126
  if h[:cron].to_time.strftime(DF) == datetime then
128
127
 
129
- log "sps_Address: %s sps_port: %s fqm: %s" % \
130
- [@sps_address, @sps_port, h[:fqm]]
131
- begin
132
-
133
- SPSPub.notice h[:fqm].gsub('!Time',Time.now.strftime("%H:%M")), \
134
- address: @sps_address, port:@sps_port
135
- log 'before cron next', :info
136
- h[:cron].next # advances the time
137
- rescue
138
-
139
- log h.inspect + ' : ' + ($!).inspect
140
- end
128
+ SPSPub.notice h[:fqm].gsub('!Time',Time.now.strftime("%H:%M")), \
129
+ address: @sps_address, port:@sps_port
130
+ h[:cron].next # advances the time
141
131
 
142
132
  end
143
-
133
+
144
134
  end
145
135
  end
146
136
 
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.8.1
4
+ version: 0.8.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-11-04 00:00:00.000000000 Z
34
+ date: 2015-11-18 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