symphony 0.14.0 → 0.14.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.rdoc +13 -0
- data/Rakefile +1 -1
- data/USAGE.rdoc +2 -2
- data/lib/symphony/daemon.rb +2 -7
- data/lib/symphony.rb +1 -5
- data/spec/symphony/daemon_spec.rb +0 -6
- data.tar.gz.sig +0 -0
- metadata +53 -59
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a8df466e484afe184b2a89e8de54893ef34ac91ee6977d072d50a0b51d4be44
|
4
|
+
data.tar.gz: 1d323ecfab0a438982a37abbf5d9b1ca08c49cb890d2c460fc0b690c0dcf22b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd4e6aeb42231b245f42a0367a8b44d21cf7d1e1eef0459e9d8f6e3d17c97b3ee618cb26fb210210dd8222823dfbb3e8860ce0c45f57e2e753fe44cc0c70fe03
|
7
|
+
data.tar.gz: 1c69312922220fb83f315101269b58b69ad422e5087179d8add0cd585cee2d17084d0d3a238a2efad2bf1da35c646a32b5d6d6d0efc1a85ecac7335d8a6fa254
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
@@ -2,6 +2,19 @@
|
|
2
2
|
|
3
3
|
---
|
4
4
|
|
5
|
+
== v0.14.2 [2023-03-11] Mahlon E. Smith <mahlon@martini.nu>
|
6
|
+
|
7
|
+
- Allow Ruby 3.x, make 2.6 minimum.
|
8
|
+
|
9
|
+
|
10
|
+
== v0.14.1 [2023-03-09] Mahlon E. Smith <mahlon@martini.nu>
|
11
|
+
|
12
|
+
Housekeeping:
|
13
|
+
|
14
|
+
- Bump dependencies for Ruby 3.x.
|
15
|
+
- Remove (unused) revision VCS keyword expansion.
|
16
|
+
|
17
|
+
|
5
18
|
== v0.14.0 [2020-07-23] Michael Granger <ged@faeriemud.org>
|
6
19
|
|
7
20
|
Improvements:
|
data/Rakefile
CHANGED
data/USAGE.rdoc
CHANGED
@@ -261,7 +261,7 @@ can tell a task to create a persistent queue instead of an auto-delete queue:
|
|
261
261
|
|
262
262
|
== Queue Re-binding
|
263
263
|
|
264
|
-
If you want Symphony to re-bind a worker's queue when it starts up, you
|
264
|
+
If you want Symphony to re-bind a worker's queue when it starts up, you can
|
265
265
|
tell it to with +always_rebind+:
|
266
266
|
|
267
267
|
always_rebind true
|
@@ -405,7 +405,7 @@ receive them, AMQP drops the message immediately. (If the publisher
|
|
405
405
|
sets the 'mandatory' flag, they'll receive an error and can act
|
406
406
|
accordingly.)
|
407
407
|
|
408
|
-
|
408
|
+
In addition to setting 'mandatory', you may want to have AMQP accept the
|
409
409
|
message, and save it for task worker to consume at a later time. To do
|
410
410
|
this, you just need to manually create the queue, and the bindings to
|
411
411
|
it from the exchange (you'll probably want these marked as 'durable' as
|
data/lib/symphony/daemon.rb
CHANGED
@@ -33,13 +33,8 @@ class Symphony::Daemon
|
|
33
33
|
#
|
34
34
|
|
35
35
|
### Get the daemon's version as a String.
|
36
|
-
def self::version_string
|
37
|
-
|
38
|
-
if include_buildnum
|
39
|
-
rev = Symphony::REVISION[/: ([[:xdigit:]]+)/, 1] || '0'
|
40
|
-
vstring << " (build %s)" % [ rev ]
|
41
|
-
end
|
42
|
-
return vstring
|
36
|
+
def self::version_string
|
37
|
+
return "%s %s" % [ self.name, Symphony::VERSION ]
|
43
38
|
end
|
44
39
|
|
45
40
|
|
data/lib/symphony.rb
CHANGED
@@ -12,11 +12,7 @@ module Symphony
|
|
12
12
|
Configurability
|
13
13
|
|
14
14
|
# Library version constant
|
15
|
-
VERSION = '0.14.
|
16
|
-
|
17
|
-
# Version-control revision constant
|
18
|
-
REVISION = %q$Revision$
|
19
|
-
|
15
|
+
VERSION = '0.14.2'
|
20
16
|
|
21
17
|
# The name of the environment variable to check for config file overrides
|
22
18
|
CONFIG_ENV = 'SYMPHONY_CONFIG'
|
@@ -45,12 +45,6 @@ RSpec.describe Symphony::Daemon do
|
|
45
45
|
).to match( /#{described_class} #{Symphony::VERSION}/i )
|
46
46
|
end
|
47
47
|
|
48
|
-
it "can include its build number in its version string" do
|
49
|
-
expect(
|
50
|
-
described_class.version_string( true )
|
51
|
-
).to match( /\(build \p{Xdigit}+\)/i )
|
52
|
-
end
|
53
|
-
|
54
48
|
it "exits gracefully on one SIGINT" do
|
55
49
|
Symphony.tasks.clear
|
56
50
|
thr = Thread.new { daemon.run_tasks }
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,132 +1,126 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: symphony
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
8
8
|
- Mahlon E. Smith
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain:
|
12
12
|
- |
|
13
13
|
-----BEGIN CERTIFICATE-----
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
14
|
+
MIIENDCCApygAwIBAgIBATANBgkqhkiG9w0BAQsFADAiMSAwHgYDVQQDDBdtYWhs
|
15
|
+
b24vREM9bWFydGluaS9EQz1udTAeFw0yMTAxMTcwMDQzMDZaFw0zMTAxMTUwMDQz
|
16
|
+
MDZaMCIxIDAeBgNVBAMMF21haGxvbi9EQz1tYXJ0aW5pL0RDPW51MIIBojANBgkq
|
17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eeweCXfELXOQRmB
|
32
|
+
FgPgUyQn0AaSpplx0YoWdy/99fEkXSMvgeEoiR1ApR6aUuTlvIr1yUgzVBpWU4mE
|
33
|
+
XC+Ig+3jhqufGyE/Do+1M7n5QLpgGfpy3QmoOiKeYt3XzR5Z7XoxCAaKHNRxVEga
|
34
|
+
ojmVnDNlLQkkZZkbFNGPHjCIBs7h+6eoIYvy/eQ82c4vd6w9rR4v9bKUL8NNkcSz
|
35
|
+
49pOzX5KHZLTS9DKeaP/xcGPz6C8MiwQdYrZarr2SHRASX1zFa79rkItO8kE6RDr
|
36
|
+
b6WDF79UvZ55ajtE00TiwqjQL/ZPEtbd
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
38
|
+
date: 2023-03-11 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: configurability
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- - "
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: '3.1'
|
47
|
-
- - "<="
|
44
|
+
- - "~>"
|
48
45
|
- !ruby/object:Gem::Version
|
49
|
-
version: '4.
|
46
|
+
version: '4.2'
|
50
47
|
type: :runtime
|
51
48
|
prerelease: false
|
52
49
|
version_requirements: !ruby/object:Gem::Requirement
|
53
50
|
requirements:
|
54
|
-
- - "
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: '3.1'
|
57
|
-
- - "<="
|
51
|
+
- - "~>"
|
58
52
|
- !ruby/object:Gem::Version
|
59
|
-
version: '4.
|
53
|
+
version: '4.2'
|
60
54
|
- !ruby/object:Gem::Dependency
|
61
55
|
name: loggability
|
62
56
|
requirement: !ruby/object:Gem::Requirement
|
63
57
|
requirements:
|
64
58
|
- - "~>"
|
65
59
|
- !ruby/object:Gem::Version
|
66
|
-
version: '0.
|
60
|
+
version: '0.18'
|
67
61
|
type: :runtime
|
68
62
|
prerelease: false
|
69
63
|
version_requirements: !ruby/object:Gem::Requirement
|
70
64
|
requirements:
|
71
65
|
- - "~>"
|
72
66
|
- !ruby/object:Gem::Version
|
73
|
-
version: '0.
|
67
|
+
version: '0.18'
|
74
68
|
- !ruby/object:Gem::Dependency
|
75
69
|
name: pluggability
|
76
70
|
requirement: !ruby/object:Gem::Requirement
|
77
71
|
requirements:
|
78
72
|
- - "~>"
|
79
73
|
- !ruby/object:Gem::Version
|
80
|
-
version: '0.
|
74
|
+
version: '0.8'
|
81
75
|
type: :runtime
|
82
76
|
prerelease: false
|
83
77
|
version_requirements: !ruby/object:Gem::Requirement
|
84
78
|
requirements:
|
85
79
|
- - "~>"
|
86
80
|
- !ruby/object:Gem::Version
|
87
|
-
version: '0.
|
81
|
+
version: '0.8'
|
88
82
|
- !ruby/object:Gem::Dependency
|
89
83
|
name: bunny
|
90
84
|
requirement: !ruby/object:Gem::Requirement
|
91
85
|
requirements:
|
92
86
|
- - "~>"
|
93
87
|
- !ruby/object:Gem::Version
|
94
|
-
version: '2.
|
88
|
+
version: '2.20'
|
95
89
|
type: :runtime
|
96
90
|
prerelease: false
|
97
91
|
version_requirements: !ruby/object:Gem::Requirement
|
98
92
|
requirements:
|
99
93
|
- - "~>"
|
100
94
|
- !ruby/object:Gem::Version
|
101
|
-
version: '2.
|
95
|
+
version: '2.20'
|
102
96
|
- !ruby/object:Gem::Dependency
|
103
97
|
name: sysexits
|
104
98
|
requirement: !ruby/object:Gem::Requirement
|
105
99
|
requirements:
|
106
100
|
- - "~>"
|
107
101
|
- !ruby/object:Gem::Version
|
108
|
-
version: '1.
|
102
|
+
version: '1.2'
|
109
103
|
type: :runtime
|
110
104
|
prerelease: false
|
111
105
|
version_requirements: !ruby/object:Gem::Requirement
|
112
106
|
requirements:
|
113
107
|
- - "~>"
|
114
108
|
- !ruby/object:Gem::Version
|
115
|
-
version: '1.
|
109
|
+
version: '1.2'
|
116
110
|
- !ruby/object:Gem::Dependency
|
117
111
|
name: msgpack
|
118
112
|
requirement: !ruby/object:Gem::Requirement
|
119
113
|
requirements:
|
120
114
|
- - "~>"
|
121
115
|
- !ruby/object:Gem::Version
|
122
|
-
version: '1.
|
116
|
+
version: '1.6'
|
123
117
|
type: :runtime
|
124
118
|
prerelease: false
|
125
119
|
version_requirements: !ruby/object:Gem::Requirement
|
126
120
|
requirements:
|
127
121
|
- - "~>"
|
128
122
|
- !ruby/object:Gem::Version
|
129
|
-
version: '1.
|
123
|
+
version: '1.6'
|
130
124
|
- !ruby/object:Gem::Dependency
|
131
125
|
name: metriks
|
132
126
|
requirement: !ruby/object:Gem::Requirement
|
@@ -161,56 +155,56 @@ dependencies:
|
|
161
155
|
requirements:
|
162
156
|
- - "~>"
|
163
157
|
- !ruby/object:Gem::Version
|
164
|
-
version: '0.
|
158
|
+
version: '0.22'
|
165
159
|
type: :development
|
166
160
|
prerelease: false
|
167
161
|
version_requirements: !ruby/object:Gem::Requirement
|
168
162
|
requirements:
|
169
163
|
- - "~>"
|
170
164
|
- !ruby/object:Gem::Version
|
171
|
-
version: '0.
|
165
|
+
version: '0.22'
|
172
166
|
- !ruby/object:Gem::Dependency
|
173
|
-
name: rdoc-generator-
|
167
|
+
name: rdoc-generator-sixfish
|
174
168
|
requirement: !ruby/object:Gem::Requirement
|
175
169
|
requirements:
|
176
170
|
- - "~>"
|
177
171
|
- !ruby/object:Gem::Version
|
178
|
-
version: '0.
|
172
|
+
version: '0.3'
|
179
173
|
type: :development
|
180
174
|
prerelease: false
|
181
175
|
version_requirements: !ruby/object:Gem::Requirement
|
182
176
|
requirements:
|
183
177
|
- - "~>"
|
184
178
|
- !ruby/object:Gem::Version
|
185
|
-
version: '0.
|
179
|
+
version: '0.3'
|
186
180
|
- !ruby/object:Gem::Dependency
|
187
181
|
name: simplecov
|
188
182
|
requirement: !ruby/object:Gem::Requirement
|
189
183
|
requirements:
|
190
184
|
- - "~>"
|
191
185
|
- !ruby/object:Gem::Version
|
192
|
-
version: '0.
|
186
|
+
version: '0.22'
|
193
187
|
type: :development
|
194
188
|
prerelease: false
|
195
189
|
version_requirements: !ruby/object:Gem::Requirement
|
196
190
|
requirements:
|
197
191
|
- - "~>"
|
198
192
|
- !ruby/object:Gem::Version
|
199
|
-
version: '0.
|
193
|
+
version: '0.22'
|
200
194
|
- !ruby/object:Gem::Dependency
|
201
195
|
name: timecop
|
202
196
|
requirement: !ruby/object:Gem::Requirement
|
203
197
|
requirements:
|
204
198
|
- - "~>"
|
205
199
|
- !ruby/object:Gem::Version
|
206
|
-
version: '0.
|
200
|
+
version: '0.9'
|
207
201
|
type: :development
|
208
202
|
prerelease: false
|
209
203
|
version_requirements: !ruby/object:Gem::Requirement
|
210
204
|
requirements:
|
211
205
|
- - "~>"
|
212
206
|
- !ruby/object:Gem::Version
|
213
|
-
version: '0.
|
207
|
+
version: '0.9'
|
214
208
|
description: Symphony is a subscription-based asynchronous job system. It allows you
|
215
209
|
to define jobs that watch for lightweight events from a distributed-messaging AMQP
|
216
210
|
broker, and do work based on their payload.
|
@@ -269,13 +263,13 @@ metadata:
|
|
269
263
|
changelog_uri: https://deveiate.org/code/symphony/History_md.html
|
270
264
|
source_uri: https://hg.sr.ht/~ged/Symphony/browse
|
271
265
|
bug_tracker_uri: https://todo.sr.ht/~ged/Symphony/browse
|
272
|
-
post_install_message:
|
266
|
+
post_install_message:
|
273
267
|
rdoc_options: []
|
274
268
|
require_paths:
|
275
269
|
- lib
|
276
270
|
required_ruby_version: !ruby/object:Gem::Requirement
|
277
271
|
requirements:
|
278
|
-
- - "
|
272
|
+
- - ">="
|
279
273
|
- !ruby/object:Gem::Version
|
280
274
|
version: '2.6'
|
281
275
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -284,8 +278,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
284
278
|
- !ruby/object:Gem::Version
|
285
279
|
version: '0'
|
286
280
|
requirements: []
|
287
|
-
rubygems_version: 3.
|
288
|
-
signing_key:
|
281
|
+
rubygems_version: 3.3.26
|
282
|
+
signing_key:
|
289
283
|
specification_version: 4
|
290
284
|
summary: Symphony is a subscription-based asynchronous job system.
|
291
285
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|