dispatch-rider 1.8.4 → 1.8.5
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
- data/CHANGELOG.md +25 -5
- data/lib/dispatch-rider/queue_services/aws_sqs.rb +12 -10
- data/lib/dispatch-rider/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 71dd07d76eb7f93700d28c2127d426803737880c
|
|
4
|
+
data.tar.gz: 1b5a4ae16a98078e237524a5457e0ac582ea4a6e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b3f941f817e835ec7b4b30fd8dcbbf7aac35edab8d569606042525c07c1b46056c81f38dec351802bd0b162ff614a1df66333cff4a034f5064ba352084472ecf
|
|
7
|
+
data.tar.gz: 72aed806508c13450029709b5691c26a1cec984e4da16982de6980146b0023ef2f556e235af2d7a84f8698dbc3dac06338aa27bee9c6377f8539fc5fc291d68f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v1.8.4](https://github.com/payrollhero/dispatch-rider/tree/v1.8.4) (2016-02-09)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.8.3...v1.8.4)
|
|
6
|
+
|
|
7
|
+
**Merged pull requests:**
|
|
8
|
+
|
|
9
|
+
- Fix appsignal integration [\#73](https://github.com/payrollhero/dispatch-rider/pull/73) ([vincentpaca](https://github.com/vincentpaca))
|
|
10
|
+
|
|
11
|
+
- Update appsignal integration [\#72](https://github.com/payrollhero/dispatch-rider/pull/72) ([vincentpaca](https://github.com/vincentpaca))
|
|
12
|
+
|
|
13
|
+
## [v1.8.3](https://github.com/payrollhero/dispatch-rider/tree/v1.8.3) (2016-01-19)
|
|
14
|
+
|
|
15
|
+
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.8.2...v1.8.3)
|
|
16
|
+
|
|
3
17
|
## [v1.8.2](https://github.com/payrollhero/dispatch-rider/tree/v1.8.2) (2016-01-19)
|
|
4
18
|
|
|
5
19
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.8.1...v1.8.2)
|
|
@@ -348,6 +362,8 @@
|
|
|
348
362
|
|
|
349
363
|
- Added process naming to dispatcher. [\#23](https://github.com/payrollhero/dispatch-rider/pull/23) ([link664](https://github.com/link664))
|
|
350
364
|
|
|
365
|
+
- Fail job after running error handler. [\#27](https://github.com/payrollhero/dispatch-rider/pull/27) ([link664](https://github.com/link664))
|
|
366
|
+
|
|
351
367
|
## [v0.0.5](https://github.com/payrollhero/dispatch-rider/tree/v0.0.5) (2013-08-20)
|
|
352
368
|
|
|
353
369
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/2013-06-06-13-08-PST...v0.0.5)
|
|
@@ -394,6 +410,10 @@
|
|
|
394
410
|
|
|
395
411
|
- Fix double serialize on file system bug [\#15](https://github.com/payrollhero/dispatch-rider/pull/15) ([more-ron](https://github.com/more-ron))
|
|
396
412
|
|
|
413
|
+
- Add publisher configure method [\#16](https://github.com/payrollhero/dispatch-rider/pull/16) ([more-ron](https://github.com/more-ron))
|
|
414
|
+
|
|
415
|
+
- Initial implementation of hash based configuration to satisfy issue \#10 [\#11](https://github.com/payrollhero/dispatch-rider/pull/11) ([jimbomt](https://github.com/jimbomt))
|
|
416
|
+
|
|
397
417
|
## [2013-05-28-15-13+08-00](https://github.com/payrollhero/dispatch-rider/tree/2013-05-28-15-13+08-00) (2013-05-28)
|
|
398
418
|
|
|
399
419
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/2013-05-28...2013-05-28-15-13+08-00)
|
|
@@ -408,7 +428,7 @@
|
|
|
408
428
|
|
|
409
429
|
## [2013-05-28](https://github.com/payrollhero/dispatch-rider/tree/2013-05-28) (2013-05-28)
|
|
410
430
|
|
|
411
|
-
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.0.
|
|
431
|
+
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.0.2...2013-05-28)
|
|
412
432
|
|
|
413
433
|
**Merged pull requests:**
|
|
414
434
|
|
|
@@ -416,13 +436,13 @@
|
|
|
416
436
|
|
|
417
437
|
- Another stab at the initial implementation for issue \#10 [\#12](https://github.com/payrollhero/dispatch-rider/pull/12) ([piotrb](https://github.com/piotrb))
|
|
418
438
|
|
|
419
|
-
## [v0.0.
|
|
439
|
+
## [v0.0.2](https://github.com/payrollhero/dispatch-rider/tree/v0.0.2) (2013-05-22)
|
|
420
440
|
|
|
421
|
-
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.0.
|
|
441
|
+
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.0.3...v0.0.2)
|
|
422
442
|
|
|
423
|
-
## [v0.0.
|
|
443
|
+
## [v0.0.3](https://github.com/payrollhero/dispatch-rider/tree/v0.0.3) (2013-05-22)
|
|
424
444
|
|
|
425
|
-
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.0.1...v0.0.
|
|
445
|
+
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.0.1...v0.0.3)
|
|
426
446
|
|
|
427
447
|
**Merged pull requests:**
|
|
428
448
|
|
|
@@ -24,20 +24,22 @@ module DispatchRider
|
|
|
24
24
|
end
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
-
def pop
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
def pop
|
|
28
|
+
raw_item = queue.receive_message
|
|
29
|
+
if raw_item.present?
|
|
30
|
+
obj = SqsReceivedMessage.new(construct_message_from(raw_item), raw_item, queue)
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
visibility_timeout_shield(obj) do
|
|
33
|
+
raise AbortExecution, "false received from handler" unless yield(obj)
|
|
34
|
+
obj
|
|
35
|
+
end
|
|
36
36
|
|
|
37
|
+
with_retries(max_tries: 3) do
|
|
38
|
+
raw_item.delete
|
|
37
39
|
end
|
|
38
|
-
rescue AbortExecution
|
|
39
|
-
# ignore, it was already handled, just need to break out if pop
|
|
40
40
|
end
|
|
41
|
+
rescue AbortExecution
|
|
42
|
+
# ignore, it was already handled, just need to break out if pop
|
|
41
43
|
end
|
|
42
44
|
|
|
43
45
|
def insert(item)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dispatch-rider
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.8.
|
|
4
|
+
version: 1.8.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Suman Mukherjee
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2016-02-
|
|
14
|
+
date: 2016-02-16 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: activesupport
|