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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a3df7405c545cb568ef001dd1287e51bc2e2de8184d8b5ef43204b5fca7599b
4
- data.tar.gz: 2abfd45b2447a5660feae02c67f9bbd5d856a68ba69cd391c9b7101e9a1a4582
3
+ metadata.gz: 6a8df466e484afe184b2a89e8de54893ef34ac91ee6977d072d50a0b51d4be44
4
+ data.tar.gz: 1d323ecfab0a438982a37abbf5d9b1ca08c49cb890d2c460fc0b690c0dcf22b8
5
5
  SHA512:
6
- metadata.gz: a2bf4f256cb6605cbadfb03e6432a61cd036bf372ce8c97db932e3eafef0d22d9a8bf3e6907c772a271258fee096a5b87fd9a8f285b03302e94d922d65ccbff4
7
- data.tar.gz: e384f2e9edbb3dc43e773e8cfa69be3bd316c8cbfa233d7ee93ab3865c67e90110f223671775d7318282cbee3ccbfed7d3a3ab17581f51f17edcee212f519bfb
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
@@ -4,7 +4,7 @@ require 'rake/deveiate'
4
4
 
5
5
  Rake::DevEiate.setup( 'symphony' ) do |project|
6
6
  project.publish_to = 'deveiate:/usr/local/www/public/code'
7
- project.required_ruby_version = '~> 2.6'
7
+ project.required_ruby_version = '>= 2.6'
8
8
  end
9
9
 
10
10
 
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 call
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
- Instead of setting 'mandatory', you may want to have AMQP accept the
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
@@ -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( include_buildnum=false )
37
- vstring = "%s %s" % [ self.name, Symphony::VERSION ]
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.0'
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.0
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
- MIIENDCCApygAwIBAgIBATANBgkqhkiG9w0BAQsFADAiMSAwHgYDVQQDDBdnZWQv
15
- REM9RmFlcmllTVVEL0RDPW9yZzAeFw0xOTEwMDkwMDM2NTdaFw0yMDEwMDgwMDM2
16
- NTdaMCIxIDAeBgNVBAMMF2dlZC9EQz1GYWVyaWVNVUQvREM9b3JnMIIBojANBgkq
17
- hkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvyVhkRzvlEs0fe7145BYLfN6njX9ih5H
18
- L60U0p0euIurpv84op9CNKF9tx+1WKwyQvQP7qFGuZxkSUuWcP/sFhDXL1lWUuIl
19
- M4uHbGCRmOshDrF4dgnBeOvkHr1fIhPlJm5FO+Vew8tSQmlDsosxLUx+VB7DrVFO
20
- 5PU2AEbf04GGSrmqADGWXeaslaoRdb1fu/0M5qfPTRn5V39sWD9umuDAF9qqil/x
21
- Sl6phTvgBrG8GExHbNZpLARd3xrBYLEFsX7RvBn2UPfgsrtvpdXjsHGfpT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alRcvmyWzxMFT
31
+ XtBS05OUXc9O1bKqzNaRc9nMGw6Y+V79hIex4mZlMBkhTeVKxeeweCXfELXOQRmB
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: 2020-07-23 00:00:00.000000000 Z
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.99'
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.99'
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.11'
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.11'
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.4'
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.4'
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.0'
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.0'
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.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.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.0'
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.0'
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.12'
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.12'
165
+ version: '0.22'
172
166
  - !ruby/object:Gem::Dependency
173
- name: rdoc-generator-fivefish
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.4'
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.4'
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.8'
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.8'
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.8'
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.8'
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.1.2
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