dynarex_cron 0.8.3 → 0.8.4

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: fa21b0d344310a7f3bd058fd88478016288d10ab
4
- data.tar.gz: a1b589f1324c05d35bfde7ed6cd3b81b8797b267
3
+ metadata.gz: c23f02febf1feaaf6bc8d7a23404310c896ecba5
4
+ data.tar.gz: 5202e38c98442d9a0c95278d5c13c247c86fe007
5
5
  SHA512:
6
- metadata.gz: dc2196a5521866d54259a9bd2f997c65a4a1ff48b8334a749ef9f3cc12d1aa204004805e2d3d0e6c843012043f31b2ff3bc3f1a1a708e62d5b42f135acb55acf
7
- data.tar.gz: a5eb7d932d12f3db30194eebd06148fd5a3c2b0ff1d13c4bc939091048955129515cf5ea515bb038b0bd6d485e68308624e2485ba1dd55fb147bd234b48e6781
6
+ metadata.gz: 0b67822d7e522deddbce8d3154e1821468cececd01d934dc2930565014d6b66e224e11c21cb839bce51ff219a6ef86b7912ba2e7b714aad795429b8604c7a2b1
7
+ data.tar.gz: 4579c0bef8e73f2a9b1cde33ec5c6b21ddf418eed3b285c9eaa933eb4ebf3ec52aa6bfabefe31180876e59fa3bf894dcec97cb8076c78f14e546cffadb5636b4
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/dynarex_cron.rb CHANGED
@@ -4,8 +4,7 @@
4
4
 
5
5
  require 'dynarex'
6
6
  require 'chronic_cron'
7
- #require 'sps-pub'
8
- require 'sps-sub-ping'
7
+ require 'sps-pub'
9
8
  require 'logger'
10
9
 
11
10
 
@@ -46,13 +45,6 @@ class DynarexCron
46
45
  puts '[' + (Time.now + @time_offset).strftime(DF) + '] DynarexCron started'
47
46
  params = {uri: "ws://%s:%s" % [@sps_address, @sps_port]}
48
47
 
49
- # run any background services
50
-
51
- Thread.new do
52
- sp = SPSSubPing.new host: @sps_address, port: @sps_port, \
53
- identifier: 'DynarexCron'
54
- sp.start
55
- end
56
48
 
57
49
  sleep 1 until Time.now.sec == 0
58
50
 
@@ -131,7 +123,7 @@ class DynarexCron
131
123
  rescue
132
124
  log 'cron ' + h[:cron].inspect, :info
133
125
  log h.inspect + ' : ' + ($!).inspect
134
- @pub.notice 'jessie: ding'
126
+
135
127
  end
136
128
 
137
129
  h[:cron].next # advances the time
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.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  tsPyW5OuDQXshrgmPt97DD8Btg4Tg5CGwnm0aeVYC/E4PnCMrtQNyPaRwBfvGrF0
32
32
  vXqXm6nxDCrL/w==
33
33
  -----END CERTIFICATE-----
34
- date: 2016-12-18 00:00:00.000000000 Z
34
+ date: 2017-05-29 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: chronic_cron
@@ -74,27 +74,27 @@ dependencies:
74
74
  - !ruby/object:Gem::Version
75
75
  version: 1.5.26
76
76
  - !ruby/object:Gem::Dependency
77
- name: sps-sub-ping
77
+ name: sps-pub
78
78
  requirement: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0.1'
82
+ version: '0.5'
83
83
  - - ">="
84
84
  - !ruby/object:Gem::Version
85
- version: 0.1.0
85
+ version: 0.5.5
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
89
89
  requirements:
90
90
  - - "~>"
91
91
  - !ruby/object:Gem::Version
92
- version: '0.1'
92
+ version: '0.5'
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
- version: 0.1.0
95
+ version: 0.5.5
96
96
  description:
97
- email: james@r0bertson.co.uk
97
+ email: james@jamesrobertson.eu
98
98
  executables: []
99
99
  extensions: []
100
100
  extra_rdoc_files: []
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.5.1
123
+ rubygems_version: 2.6.8
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Publishes SimplePubSub messages by reading cron entries from a Dynarex document
metadata.gz.sig CHANGED
Binary file