dispatch-rider 1.8.5 → 1.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.codeclimate.yml +15 -0
- data/.rubocop.hound.yml +261 -0
- data/.rubocop.yml +13 -8
- data/.travis.yml +4 -2
- data/CHANGELOG.md +15 -100
- data/dispatch-rider.gemspec +6 -2
- data/lib/dispatch-rider.rb +1 -0
- data/lib/dispatch-rider/notification_services/aws_sns.rb +1 -2
- data/lib/dispatch-rider/queue_services/aws_sqs.rb +1 -3
- data/lib/dispatch-rider/version.rb +1 -1
- metadata +13 -13
- data/.hound.yml +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 11c19c4d7096034476aa3fffb95eb6e7869752cf84bdd5183f6bb3913f78da2d
|
4
|
+
data.tar.gz: 3ef2c5d4dab6092efdfede637aef2403717132b9e0ab9df0bce839f356a77dcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6bac7e6799ab63335faa94b4a912973794b96dbfa227964bc769fab1307b76c38f49defd99be4bfe3a9d8a17c5871c54a8d17117fcbfc31be6264b55a30efc7
|
7
|
+
data.tar.gz: cb91f3492228c514a12a2cd29035bf60a51eb88226a380f6d56ed42cb13c63f8beec493584cb4f188bfa593edeca9e2b1ded87e448ae30aad7173fcfe72d7ca9
|
data/.codeclimate.yml
ADDED
data/.rubocop.hound.yml
ADDED
@@ -0,0 +1,261 @@
|
|
1
|
+
# this is the default from hound's github, do not modify
|
2
|
+
AllCops:
|
3
|
+
Exclude:
|
4
|
+
- db/schema.rb
|
5
|
+
|
6
|
+
AccessorMethodName:
|
7
|
+
Enabled: false
|
8
|
+
|
9
|
+
ActionFilter:
|
10
|
+
Enabled: false
|
11
|
+
|
12
|
+
Alias:
|
13
|
+
Enabled: false
|
14
|
+
|
15
|
+
ArrayJoin:
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
AsciiComments:
|
19
|
+
Enabled: false
|
20
|
+
|
21
|
+
AsciiIdentifiers:
|
22
|
+
Enabled: false
|
23
|
+
|
24
|
+
Attr:
|
25
|
+
Enabled: false
|
26
|
+
|
27
|
+
BlockNesting:
|
28
|
+
Enabled: false
|
29
|
+
|
30
|
+
CaseEquality:
|
31
|
+
Enabled: false
|
32
|
+
|
33
|
+
CharacterLiteral:
|
34
|
+
Enabled: false
|
35
|
+
|
36
|
+
ClassAndModuleChildren:
|
37
|
+
Enabled: false
|
38
|
+
|
39
|
+
ClassLength:
|
40
|
+
Enabled: false
|
41
|
+
|
42
|
+
ClassVars:
|
43
|
+
Enabled: false
|
44
|
+
|
45
|
+
CollectionMethods:
|
46
|
+
PreferredMethods:
|
47
|
+
find: detect
|
48
|
+
reduce: inject
|
49
|
+
collect: map
|
50
|
+
find_all: select
|
51
|
+
|
52
|
+
ColonMethodCall:
|
53
|
+
Enabled: false
|
54
|
+
|
55
|
+
CommentAnnotation:
|
56
|
+
Enabled: false
|
57
|
+
|
58
|
+
CyclomaticComplexity:
|
59
|
+
Enabled: false
|
60
|
+
|
61
|
+
Delegate:
|
62
|
+
Enabled: false
|
63
|
+
|
64
|
+
DeprecatedHashMethods:
|
65
|
+
Enabled: false
|
66
|
+
|
67
|
+
Documentation:
|
68
|
+
Enabled: false
|
69
|
+
|
70
|
+
DotPosition:
|
71
|
+
EnforcedStyle: trailing
|
72
|
+
|
73
|
+
DoubleNegation:
|
74
|
+
Enabled: false
|
75
|
+
|
76
|
+
EachWithObject:
|
77
|
+
Enabled: false
|
78
|
+
|
79
|
+
EmptyLiteral:
|
80
|
+
Enabled: false
|
81
|
+
|
82
|
+
Encoding:
|
83
|
+
Enabled: false
|
84
|
+
|
85
|
+
EvenOdd:
|
86
|
+
Enabled: false
|
87
|
+
|
88
|
+
FileName:
|
89
|
+
Enabled: false
|
90
|
+
|
91
|
+
FlipFlop:
|
92
|
+
Enabled: false
|
93
|
+
|
94
|
+
FormatString:
|
95
|
+
Enabled: false
|
96
|
+
|
97
|
+
GlobalVars:
|
98
|
+
Enabled: false
|
99
|
+
|
100
|
+
GuardClause:
|
101
|
+
Enabled: false
|
102
|
+
|
103
|
+
IfUnlessModifier:
|
104
|
+
Enabled: false
|
105
|
+
|
106
|
+
IfWithSemicolon:
|
107
|
+
Enabled: false
|
108
|
+
|
109
|
+
InlineComment:
|
110
|
+
Enabled: false
|
111
|
+
|
112
|
+
Lambda:
|
113
|
+
Enabled: false
|
114
|
+
|
115
|
+
LambdaCall:
|
116
|
+
Enabled: false
|
117
|
+
|
118
|
+
LineEndConcatenation:
|
119
|
+
Enabled: false
|
120
|
+
|
121
|
+
LineLength:
|
122
|
+
Max: 120
|
123
|
+
AllowURI: true
|
124
|
+
|
125
|
+
MethodLength:
|
126
|
+
Enabled: false
|
127
|
+
|
128
|
+
ModuleFunction:
|
129
|
+
Enabled: false
|
130
|
+
|
131
|
+
NegatedIf:
|
132
|
+
Enabled: false
|
133
|
+
|
134
|
+
NegatedWhile:
|
135
|
+
Enabled: false
|
136
|
+
|
137
|
+
Next:
|
138
|
+
Enabled: false
|
139
|
+
|
140
|
+
NilComparison:
|
141
|
+
Enabled: false
|
142
|
+
|
143
|
+
Not:
|
144
|
+
Enabled: false
|
145
|
+
|
146
|
+
NumericLiterals:
|
147
|
+
Enabled: false
|
148
|
+
|
149
|
+
OneLineConditional:
|
150
|
+
Enabled: false
|
151
|
+
|
152
|
+
OpMethod:
|
153
|
+
Enabled: false
|
154
|
+
|
155
|
+
ParameterLists:
|
156
|
+
Enabled: false
|
157
|
+
|
158
|
+
PercentLiteralDelimiters:
|
159
|
+
Enabled: false
|
160
|
+
|
161
|
+
PerlBackrefs:
|
162
|
+
Enabled: false
|
163
|
+
|
164
|
+
PredicateName:
|
165
|
+
NamePrefixBlacklist:
|
166
|
+
- is_
|
167
|
+
|
168
|
+
Proc:
|
169
|
+
Enabled: false
|
170
|
+
|
171
|
+
RaiseArgs:
|
172
|
+
Enabled: false
|
173
|
+
|
174
|
+
RegexpLiteral:
|
175
|
+
Enabled: false
|
176
|
+
|
177
|
+
SelfAssignment:
|
178
|
+
Enabled: false
|
179
|
+
|
180
|
+
SingleLineBlockParams:
|
181
|
+
Enabled: false
|
182
|
+
|
183
|
+
SingleLineMethods:
|
184
|
+
Enabled: false
|
185
|
+
|
186
|
+
SignalException:
|
187
|
+
Enabled: false
|
188
|
+
|
189
|
+
SpecialGlobalVars:
|
190
|
+
Enabled: false
|
191
|
+
|
192
|
+
StringLiterals:
|
193
|
+
EnforcedStyle: double_quotes
|
194
|
+
|
195
|
+
VariableInterpolation:
|
196
|
+
Enabled: false
|
197
|
+
|
198
|
+
TrailingComma:
|
199
|
+
Enabled: false
|
200
|
+
|
201
|
+
TrivialAccessors:
|
202
|
+
Enabled: false
|
203
|
+
|
204
|
+
VariableInterpolation:
|
205
|
+
Enabled: false
|
206
|
+
|
207
|
+
WhenThen:
|
208
|
+
Enabled: false
|
209
|
+
|
210
|
+
WhileUntilModifier:
|
211
|
+
Enabled: false
|
212
|
+
|
213
|
+
WordArray:
|
214
|
+
Enabled: false
|
215
|
+
|
216
|
+
# Lint
|
217
|
+
|
218
|
+
AmbiguousOperator:
|
219
|
+
Enabled: false
|
220
|
+
|
221
|
+
AmbiguousRegexpLiteral:
|
222
|
+
Enabled: false
|
223
|
+
|
224
|
+
AssignmentInCondition:
|
225
|
+
Enabled: false
|
226
|
+
|
227
|
+
ConditionPosition:
|
228
|
+
Enabled: false
|
229
|
+
|
230
|
+
DeprecatedClassMethods:
|
231
|
+
Enabled: false
|
232
|
+
|
233
|
+
ElseLayout:
|
234
|
+
Enabled: false
|
235
|
+
|
236
|
+
HandleExceptions:
|
237
|
+
Enabled: false
|
238
|
+
|
239
|
+
InvalidCharacterLiteral:
|
240
|
+
Enabled: false
|
241
|
+
|
242
|
+
LiteralInCondition:
|
243
|
+
Enabled: false
|
244
|
+
|
245
|
+
LiteralInInterpolation:
|
246
|
+
Enabled: false
|
247
|
+
|
248
|
+
Loop:
|
249
|
+
Enabled: false
|
250
|
+
|
251
|
+
ParenthesesAsGroupedExpression:
|
252
|
+
Enabled: false
|
253
|
+
|
254
|
+
RequireParentheses:
|
255
|
+
Enabled: false
|
256
|
+
|
257
|
+
UnderscorePrefixedVariableName:
|
258
|
+
Enabled: false
|
259
|
+
|
260
|
+
Void:
|
261
|
+
Enabled: false
|
data/.rubocop.yml
CHANGED
@@ -1,8 +1,12 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
inherit_from:
|
2
|
+
- .rubocop.hound.yml
|
3
|
+
|
4
|
+
AllCops:
|
5
|
+
TargetRubyVersion: 2.1
|
6
|
+
Exclude:
|
7
|
+
- '*.gemspec'
|
8
|
+
- 'Gemfile'
|
4
9
|
|
5
|
-
# Newer version (3 for the 1 above)
|
6
10
|
Style/EmptyLinesAroundClassBody:
|
7
11
|
Enabled: false
|
8
12
|
|
@@ -12,11 +16,13 @@ Style/EmptyLinesAroundModuleBody:
|
|
12
16
|
Style/EmptyLinesAroundMethodBody:
|
13
17
|
Enabled: false
|
14
18
|
|
15
|
-
|
19
|
+
Style/ClassCheck:
|
20
|
+
Enabled: false
|
21
|
+
# we don't care about kind_of? vs is_a?
|
16
22
|
|
17
23
|
Style/StringLiterals:
|
18
24
|
Enabled: false
|
19
|
-
|
25
|
+
|
20
26
|
Style/FileName:
|
21
27
|
Enabled: false
|
22
28
|
|
@@ -26,8 +32,7 @@ Style/RedundantException:
|
|
26
32
|
Style/SignalException:
|
27
33
|
Enabled: false
|
28
34
|
|
29
|
-
|
30
|
-
Style/Blocks:
|
35
|
+
Style/BlockDelimiters:
|
31
36
|
Enabled: false
|
32
37
|
|
33
38
|
Style/CollectionMethods:
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,21 +1,30 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [v1.8.
|
3
|
+
## [v1.8.6](https://github.com/payrollhero/dispatch-rider/tree/v1.8.6) (2019-08-27)
|
4
|
+
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.8.5...v1.8.6)
|
5
|
+
|
6
|
+
**Merged pull requests:**
|
7
|
+
|
8
|
+
- Replace retries with retriable [\#75](https://github.com/payrollhero/dispatch-rider/pull/75) ([ggalindezb](https://github.com/ggalindezb))
|
9
|
+
|
10
|
+
## [v1.8.5](https://github.com/payrollhero/dispatch-rider/tree/v1.8.5) (2016-02-16)
|
11
|
+
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.8.4...v1.8.5)
|
12
|
+
|
13
|
+
**Merged pull requests:**
|
4
14
|
|
15
|
+
- Adding explicit retry around deleting done messages [\#74](https://github.com/payrollhero/dispatch-rider/pull/74) ([piotrb](https://github.com/piotrb))
|
16
|
+
|
17
|
+
## [v1.8.4](https://github.com/payrollhero/dispatch-rider/tree/v1.8.4) (2016-02-09)
|
5
18
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.8.3...v1.8.4)
|
6
19
|
|
7
20
|
**Merged pull requests:**
|
8
21
|
|
9
22
|
- Fix appsignal integration [\#73](https://github.com/payrollhero/dispatch-rider/pull/73) ([vincentpaca](https://github.com/vincentpaca))
|
10
23
|
|
11
|
-
- Update appsignal integration [\#72](https://github.com/payrollhero/dispatch-rider/pull/72) ([vincentpaca](https://github.com/vincentpaca))
|
12
|
-
|
13
24
|
## [v1.8.3](https://github.com/payrollhero/dispatch-rider/tree/v1.8.3) (2016-01-19)
|
14
|
-
|
15
25
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.8.2...v1.8.3)
|
16
26
|
|
17
27
|
## [v1.8.2](https://github.com/payrollhero/dispatch-rider/tree/v1.8.2) (2016-01-19)
|
18
|
-
|
19
28
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.8.1...v1.8.2)
|
20
29
|
|
21
30
|
**Merged pull requests:**
|
@@ -23,7 +32,6 @@
|
|
23
32
|
- Another small fix [\#71](https://github.com/payrollhero/dispatch-rider/pull/71) ([piotrb](https://github.com/piotrb))
|
24
33
|
|
25
34
|
## [v1.8.1](https://github.com/payrollhero/dispatch-rider/tree/v1.8.1) (2016-01-19)
|
26
|
-
|
27
35
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.8.0...v1.8.1)
|
28
36
|
|
29
37
|
**Merged pull requests:**
|
@@ -31,7 +39,6 @@
|
|
31
39
|
- Fixing class resolution [\#70](https://github.com/payrollhero/dispatch-rider/pull/70) ([piotrb](https://github.com/piotrb))
|
32
40
|
|
33
41
|
## [v1.8.0](https://github.com/payrollhero/dispatch-rider/tree/v1.8.0) (2016-01-19)
|
34
|
-
|
35
42
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.7.2...v1.8.0)
|
36
43
|
|
37
44
|
**Merged pull requests:**
|
@@ -39,7 +46,6 @@
|
|
39
46
|
- Added appsignal dependancy and upgraded to 1.0 support \(hopefully\) [\#69](https://github.com/payrollhero/dispatch-rider/pull/69) ([piotrb](https://github.com/piotrb))
|
40
47
|
|
41
48
|
## [v1.7.2](https://github.com/payrollhero/dispatch-rider/tree/v1.7.2) (2015-08-13)
|
42
|
-
|
43
49
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.6.2...v1.7.2)
|
44
50
|
|
45
51
|
**Merged pull requests:**
|
@@ -47,7 +53,6 @@
|
|
47
53
|
- Scheduled Job [\#68](https://github.com/payrollhero/dispatch-rider/pull/68) ([more-ron](https://github.com/more-ron))
|
48
54
|
|
49
55
|
## [v1.6.2](https://github.com/payrollhero/dispatch-rider/tree/v1.6.2) (2015-06-25)
|
50
|
-
|
51
56
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.6.1...v1.6.2)
|
52
57
|
|
53
58
|
**Merged pull requests:**
|
@@ -55,17 +60,14 @@
|
|
55
60
|
- Feature/additional logging support [\#67](https://github.com/payrollhero/dispatch-rider/pull/67) ([nicosuria](https://github.com/nicosuria))
|
56
61
|
|
57
62
|
## [v1.6.1](https://github.com/payrollhero/dispatch-rider/tree/v1.6.1) (2015-06-24)
|
58
|
-
|
59
63
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.6.0...v1.6.1)
|
60
64
|
|
61
65
|
**Merged pull requests:**
|
62
66
|
|
63
67
|
- Fix callback hook for LifecycleLogger. Update specs to handle message… [\#66](https://github.com/payrollhero/dispatch-rider/pull/66) ([mykola-kyryk](https://github.com/mykola-kyryk))
|
64
|
-
|
65
68
|
- Update README.md with log formatter options [\#65](https://github.com/payrollhero/dispatch-rider/pull/65) ([mykola-kyryk](https://github.com/mykola-kyryk))
|
66
69
|
|
67
70
|
## [v1.6.0](https://github.com/payrollhero/dispatch-rider/tree/v1.6.0) (2015-06-20)
|
68
|
-
|
69
71
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.5.3...v1.6.0)
|
70
72
|
|
71
73
|
**Closed issues:**
|
@@ -75,29 +77,21 @@
|
|
75
77
|
**Merged pull requests:**
|
76
78
|
|
77
79
|
- Adding "long polling" to filesystem queue driver [\#64](https://github.com/payrollhero/dispatch-rider/pull/64) ([piotrb](https://github.com/piotrb))
|
78
|
-
|
79
80
|
- Rspec upgrade [\#63](https://github.com/payrollhero/dispatch-rider/pull/63) ([piotrb](https://github.com/piotrb))
|
80
|
-
|
81
81
|
- Add JSON log formatter [\#62](https://github.com/payrollhero/dispatch-rider/pull/62) ([mykola-kyryk](https://github.com/mykola-kyryk))
|
82
|
-
|
83
82
|
- Extract logging from Demultiplexer into a separate module. Add log fo… [\#61](https://github.com/payrollhero/dispatch-rider/pull/61) ([mykola-kyryk](https://github.com/mykola-kyryk))
|
84
83
|
|
85
84
|
## [v1.5.3](https://github.com/payrollhero/dispatch-rider/tree/v1.5.3) (2015-05-21)
|
86
|
-
|
87
85
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.4.2...v1.5.3)
|
88
86
|
|
89
87
|
**Merged pull requests:**
|
90
88
|
|
91
89
|
- Allow setting of message guid [\#59](https://github.com/payrollhero/dispatch-rider/pull/59) ([more-ron](https://github.com/more-ron))
|
92
|
-
|
93
90
|
- Make the overriden function "publish to channel" be the only thing overriden [\#58](https://github.com/payrollhero/dispatch-rider/pull/58) ([more-ron](https://github.com/more-ron))
|
94
|
-
|
95
91
|
- Add publishing callbacks [\#57](https://github.com/payrollhero/dispatch-rider/pull/57) ([more-ron](https://github.com/more-ron))
|
96
|
-
|
97
92
|
- Updating rspec and some of the depracations [\#56](https://github.com/payrollhero/dispatch-rider/pull/56) ([piotrb](https://github.com/piotrb))
|
98
93
|
|
99
94
|
## [v1.4.2](https://github.com/payrollhero/dispatch-rider/tree/v1.4.2) (2015-04-10)
|
100
|
-
|
101
95
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.4.1...v1.4.2)
|
102
96
|
|
103
97
|
**Closed issues:**
|
@@ -109,19 +103,15 @@
|
|
109
103
|
- Switched away from jeweler [\#55](https://github.com/payrollhero/dispatch-rider/pull/55) ([piotrb](https://github.com/piotrb))
|
110
104
|
|
111
105
|
## [v1.4.1](https://github.com/payrollhero/dispatch-rider/tree/v1.4.1) (2015-04-10)
|
112
|
-
|
113
106
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.4.0...v1.4.1)
|
114
107
|
|
115
108
|
**Merged pull requests:**
|
116
109
|
|
117
110
|
- Cleanup [\#53](https://github.com/payrollhero/dispatch-rider/pull/53) ([piotrb](https://github.com/piotrb))
|
118
|
-
|
119
111
|
- Adding retries when publishing messages via SNS. [\#52](https://github.com/payrollhero/dispatch-rider/pull/52) ([vincentpaca](https://github.com/vincentpaca))
|
120
|
-
|
121
112
|
- Fix Rspec warnings: deprecated use of "its" \(use a separate gem instead\)... [\#48](https://github.com/payrollhero/dispatch-rider/pull/48) ([mykola-kyryk](https://github.com/mykola-kyryk))
|
122
113
|
|
123
114
|
## [v1.4.0](https://github.com/payrollhero/dispatch-rider/tree/v1.4.0) (2015-03-10)
|
124
|
-
|
125
115
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.3.6...v1.4.0)
|
126
116
|
|
127
117
|
**Merged pull requests:**
|
@@ -129,7 +119,6 @@
|
|
129
119
|
- Moving message id code to Publisher itself \(not publisher base\) to make it happen simply every time [\#47](https://github.com/payrollhero/dispatch-rider/pull/47) ([piotrb](https://github.com/piotrb))
|
130
120
|
|
131
121
|
## [v1.3.6](https://github.com/payrollhero/dispatch-rider/tree/v1.3.6) (2014-11-15)
|
132
|
-
|
133
122
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.3.5...v1.3.6)
|
134
123
|
|
135
124
|
**Merged pull requests:**
|
@@ -137,7 +126,6 @@
|
|
137
126
|
- Loading all files in the handler\_path to allow proper namespacing [\#46](https://github.com/payrollhero/dispatch-rider/pull/46) ([piotrb](https://github.com/piotrb))
|
138
127
|
|
139
128
|
## [v1.3.5](https://github.com/payrollhero/dispatch-rider/tree/v1.3.5) (2014-11-06)
|
140
|
-
|
141
129
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.3.4...v1.3.5)
|
142
130
|
|
143
131
|
**Merged pull requests:**
|
@@ -145,7 +133,6 @@
|
|
145
133
|
- Add GUID in logging. Remove the GUID from message body. [\#45](https://github.com/payrollhero/dispatch-rider/pull/45) ([vincentpaca](https://github.com/vincentpaca))
|
146
134
|
|
147
135
|
## [v1.3.4](https://github.com/payrollhero/dispatch-rider/tree/v1.3.4) (2014-11-06)
|
148
|
-
|
149
136
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.3.3...v1.3.4)
|
150
137
|
|
151
138
|
**Merged pull requests:**
|
@@ -153,89 +140,68 @@
|
|
153
140
|
- Add the GUID to the process ID [\#44](https://github.com/payrollhero/dispatch-rider/pull/44) ([vincentpaca](https://github.com/vincentpaca))
|
154
141
|
|
155
142
|
## [v1.3.3](https://github.com/payrollhero/dispatch-rider/tree/v1.3.3) (2014-10-22)
|
156
|
-
|
157
143
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.3.2...v1.3.3)
|
158
144
|
|
159
145
|
## [v1.3.2](https://github.com/payrollhero/dispatch-rider/tree/v1.3.2) (2014-10-02)
|
160
|
-
|
161
146
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.3.1...v1.3.2)
|
162
147
|
|
163
148
|
## [v1.3.1](https://github.com/payrollhero/dispatch-rider/tree/v1.3.1) (2014-10-01)
|
164
|
-
|
165
149
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.3.0...v1.3.1)
|
166
150
|
|
167
151
|
## [v1.3.0](https://github.com/payrollhero/dispatch-rider/tree/v1.3.0) (2014-10-01)
|
168
|
-
|
169
152
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.2.11...v1.3.0)
|
170
153
|
|
171
154
|
## [v1.2.11](https://github.com/payrollhero/dispatch-rider/tree/v1.2.11) (2014-10-01)
|
172
|
-
|
173
155
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.2.10...v1.2.11)
|
174
156
|
|
175
157
|
## [v1.2.10](https://github.com/payrollhero/dispatch-rider/tree/v1.2.10) (2014-10-01)
|
176
|
-
|
177
158
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.2.9...v1.2.10)
|
178
159
|
|
179
160
|
## [v1.2.9](https://github.com/payrollhero/dispatch-rider/tree/v1.2.9) (2014-09-30)
|
180
|
-
|
181
161
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.2.8...v1.2.9)
|
182
162
|
|
183
163
|
## [v1.2.8](https://github.com/payrollhero/dispatch-rider/tree/v1.2.8) (2014-07-22)
|
184
|
-
|
185
164
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.2.7...v1.2.8)
|
186
165
|
|
187
166
|
## [v1.2.7](https://github.com/payrollhero/dispatch-rider/tree/v1.2.7) (2014-07-22)
|
188
|
-
|
189
167
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.2.6...v1.2.7)
|
190
168
|
|
191
169
|
## [v1.2.6](https://github.com/payrollhero/dispatch-rider/tree/v1.2.6) (2014-07-22)
|
192
|
-
|
193
170
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.2.5...v1.2.6)
|
194
171
|
|
195
172
|
## [v1.2.5](https://github.com/payrollhero/dispatch-rider/tree/v1.2.5) (2014-07-22)
|
196
|
-
|
197
173
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.2.4...v1.2.5)
|
198
174
|
|
199
175
|
## [v1.2.4](https://github.com/payrollhero/dispatch-rider/tree/v1.2.4) (2014-07-21)
|
200
|
-
|
201
176
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.2.3...v1.2.4)
|
202
177
|
|
203
178
|
## [v1.2.3](https://github.com/payrollhero/dispatch-rider/tree/v1.2.3) (2014-07-21)
|
204
|
-
|
205
179
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.2.2...v1.2.3)
|
206
180
|
|
207
181
|
## [v1.2.2](https://github.com/payrollhero/dispatch-rider/tree/v1.2.2) (2014-07-21)
|
208
|
-
|
209
182
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.2.1...v1.2.2)
|
210
183
|
|
211
184
|
## [v1.2.1](https://github.com/payrollhero/dispatch-rider/tree/v1.2.1) (2014-07-21)
|
212
|
-
|
213
185
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.2.0...v1.2.1)
|
214
186
|
|
215
187
|
## [v1.2.0](https://github.com/payrollhero/dispatch-rider/tree/v1.2.0) (2014-07-21)
|
216
|
-
|
217
188
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.1.7...v1.2.0)
|
218
189
|
|
219
190
|
**Merged pull requests:**
|
220
191
|
|
221
192
|
- Add appsignal support [\#43](https://github.com/payrollhero/dispatch-rider/pull/43) ([piotrb](https://github.com/piotrb))
|
222
|
-
|
223
193
|
- moved the generator from payrollhero to the gem [\#42](https://github.com/payrollhero/dispatch-rider/pull/42) ([piotrb](https://github.com/piotrb))
|
224
194
|
|
225
195
|
## [v1.1.7](https://github.com/payrollhero/dispatch-rider/tree/v1.1.7) (2014-02-06)
|
226
|
-
|
227
196
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.1.6...v1.1.7)
|
228
197
|
|
229
198
|
## [v1.1.6](https://github.com/payrollhero/dispatch-rider/tree/v1.1.6) (2014-02-06)
|
230
|
-
|
231
199
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.1.5...v1.1.6)
|
232
200
|
|
233
201
|
## [v1.1.5](https://github.com/payrollhero/dispatch-rider/tree/v1.1.5) (2014-02-06)
|
234
|
-
|
235
202
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.1.4...v1.1.5)
|
236
203
|
|
237
204
|
## [v1.1.4](https://github.com/payrollhero/dispatch-rider/tree/v1.1.4) (2014-02-04)
|
238
|
-
|
239
205
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.0.3...v1.1.4)
|
240
206
|
|
241
207
|
**Merged pull requests:**
|
@@ -243,19 +209,15 @@
|
|
243
209
|
- This adds retry via SNS timeouts to dispatch rider. [\#41](https://github.com/payrollhero/dispatch-rider/pull/41) ([bramski](https://github.com/bramski))
|
244
210
|
|
245
211
|
## [v1.0.3](https://github.com/payrollhero/dispatch-rider/tree/v1.0.3) (2014-01-15)
|
246
|
-
|
247
212
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.0.2...v1.0.3)
|
248
213
|
|
249
214
|
## [v1.0.2](https://github.com/payrollhero/dispatch-rider/tree/v1.0.2) (2014-01-14)
|
250
|
-
|
251
215
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.0.1...v1.0.2)
|
252
216
|
|
253
217
|
## [v1.0.1](https://github.com/payrollhero/dispatch-rider/tree/v1.0.1) (2013-12-13)
|
254
|
-
|
255
218
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v1.0.0...v1.0.1)
|
256
219
|
|
257
220
|
## [v1.0.0](https://github.com/payrollhero/dispatch-rider/tree/v1.0.0) (2013-12-13)
|
258
|
-
|
259
221
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.2.7...v1.0.0)
|
260
222
|
|
261
223
|
**Merged pull requests:**
|
@@ -263,7 +225,6 @@
|
|
263
225
|
- Rejigged the SQS handler so that its able to wrap around the execution cleanly and detect jobs that run too long [\#40](https://github.com/payrollhero/dispatch-rider/pull/40) ([piotrb](https://github.com/piotrb))
|
264
226
|
|
265
227
|
## [v0.2.7](https://github.com/payrollhero/dispatch-rider/tree/v0.2.7) (2013-12-10)
|
266
|
-
|
267
228
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.2.6...v0.2.7)
|
268
229
|
|
269
230
|
**Merged pull requests:**
|
@@ -271,7 +232,6 @@
|
|
271
232
|
- Added Logger to Subscriber and Runner to allow more lifecycle logging [\#39](https://github.com/payrollhero/dispatch-rider/pull/39) ([piotrb](https://github.com/piotrb))
|
272
233
|
|
273
234
|
## [v0.2.6](https://github.com/payrollhero/dispatch-rider/tree/v0.2.6) (2013-12-05)
|
274
|
-
|
275
235
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.2.5...v0.2.6)
|
276
236
|
|
277
237
|
**Merged pull requests:**
|
@@ -279,7 +239,6 @@
|
|
279
239
|
- Making SNS properly multi-region safe [\#38](https://github.com/payrollhero/dispatch-rider/pull/38) ([piotrb](https://github.com/piotrb))
|
280
240
|
|
281
241
|
## [v0.2.5](https://github.com/payrollhero/dispatch-rider/tree/v0.2.5) (2013-12-04)
|
282
|
-
|
283
242
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.2.4...v0.2.5)
|
284
243
|
|
285
244
|
**Merged pull requests:**
|
@@ -287,15 +246,12 @@
|
|
287
246
|
- Trap process quit and termination [\#37](https://github.com/payrollhero/dispatch-rider/pull/37) ([more-ron](https://github.com/more-ron))
|
288
247
|
|
289
248
|
## [v0.2.4](https://github.com/payrollhero/dispatch-rider/tree/v0.2.4) (2013-12-03)
|
290
|
-
|
291
249
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.2.3...v0.2.4)
|
292
250
|
|
293
251
|
## [v0.2.3](https://github.com/payrollhero/dispatch-rider/tree/v0.2.3) (2013-11-25)
|
294
|
-
|
295
252
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.2.2...v0.2.3)
|
296
253
|
|
297
254
|
## [v0.2.2](https://github.com/payrollhero/dispatch-rider/tree/v0.2.2) (2013-11-22)
|
298
|
-
|
299
255
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.2.1...v0.2.2)
|
300
256
|
|
301
257
|
**Merged pull requests:**
|
@@ -303,79 +259,59 @@
|
|
303
259
|
- Added Queue URL support to SQS [\#36](https://github.com/payrollhero/dispatch-rider/pull/36) ([piotrb](https://github.com/piotrb))
|
304
260
|
|
305
261
|
## [v0.2.1](https://github.com/payrollhero/dispatch-rider/tree/v0.2.1) (2013-11-20)
|
306
|
-
|
307
262
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.2.0...v0.2.1)
|
308
263
|
|
309
264
|
**Merged pull requests:**
|
310
265
|
|
311
266
|
- Catch only standard error exceptions. [\#35](https://github.com/payrollhero/dispatch-rider/pull/35) ([link664](https://github.com/link664))
|
312
|
-
|
313
267
|
- Add start up script and generator [\#34](https://github.com/payrollhero/dispatch-rider/pull/34) ([link664](https://github.com/link664))
|
314
268
|
|
315
269
|
## [v0.2.0](https://github.com/payrollhero/dispatch-rider/tree/v0.2.0) (2013-11-13)
|
316
|
-
|
317
270
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.1.2...v0.2.0)
|
318
271
|
|
319
272
|
**Merged pull requests:**
|
320
273
|
|
321
274
|
- Add DispatchRider::Publisher::Base [\#33](https://github.com/payrollhero/dispatch-rider/pull/33) ([link664](https://github.com/link664))
|
322
|
-
|
323
275
|
- Bug fix for global configuration. [\#32](https://github.com/payrollhero/dispatch-rider/pull/32) ([link664](https://github.com/link664))
|
324
|
-
|
325
276
|
- Add proper publisher config [\#31](https://github.com/payrollhero/dispatch-rider/pull/31) ([link664](https://github.com/link664))
|
326
277
|
|
327
278
|
## [v0.1.2](https://github.com/payrollhero/dispatch-rider/tree/v0.1.2) (2013-11-01)
|
328
|
-
|
329
279
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.1.1.1...v0.1.2)
|
330
280
|
|
331
281
|
## [v0.1.1.1](https://github.com/payrollhero/dispatch-rider/tree/v0.1.1.1) (2013-10-25)
|
332
|
-
|
333
282
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.1.1...v0.1.1.1)
|
334
283
|
|
335
284
|
## [v0.1.1](https://github.com/payrollhero/dispatch-rider/tree/v0.1.1) (2013-10-25)
|
336
|
-
|
337
285
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.1.0...v0.1.1)
|
338
286
|
|
339
287
|
**Merged pull requests:**
|
340
288
|
|
341
289
|
- Add around message hook support [\#30](https://github.com/payrollhero/dispatch-rider/pull/30) ([piotrb](https://github.com/piotrb))
|
342
|
-
|
343
290
|
- Added around callback support [\#29](https://github.com/payrollhero/dispatch-rider/pull/29) ([piotrb](https://github.com/piotrb))
|
344
291
|
|
345
292
|
## [v0.1.0](https://github.com/payrollhero/dispatch-rider/tree/v0.1.0) (2013-10-24)
|
346
|
-
|
347
293
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.0.6...v0.1.0)
|
348
294
|
|
349
295
|
## [v0.0.6](https://github.com/payrollhero/dispatch-rider/tree/v0.0.6) (2013-09-23)
|
350
|
-
|
351
296
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.0.5...v0.0.6)
|
352
297
|
|
353
298
|
**Merged pull requests:**
|
354
299
|
|
355
300
|
- Fail job after running error handler. [\#28](https://github.com/payrollhero/dispatch-rider/pull/28) ([link664](https://github.com/link664))
|
356
|
-
|
357
301
|
- Add runner [\#26](https://github.com/payrollhero/dispatch-rider/pull/26) ([link664](https://github.com/link664))
|
358
|
-
|
359
302
|
- Added airbrake support. [\#25](https://github.com/payrollhero/dispatch-rider/pull/25) ([link664](https://github.com/link664))
|
360
|
-
|
361
303
|
- Clean up error handling [\#24](https://github.com/payrollhero/dispatch-rider/pull/24) ([link664](https://github.com/link664))
|
362
|
-
|
363
304
|
- Added process naming to dispatcher. [\#23](https://github.com/payrollhero/dispatch-rider/pull/23) ([link664](https://github.com/link664))
|
364
305
|
|
365
|
-
- Fail job after running error handler. [\#27](https://github.com/payrollhero/dispatch-rider/pull/27) ([link664](https://github.com/link664))
|
366
|
-
|
367
306
|
## [v0.0.5](https://github.com/payrollhero/dispatch-rider/tree/v0.0.5) (2013-08-20)
|
368
|
-
|
369
307
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/2013-06-06-13-08-PST...v0.0.5)
|
370
308
|
|
371
309
|
**Merged pull requests:**
|
372
310
|
|
373
311
|
- Assume successful process when there is no error [\#22](https://github.com/payrollhero/dispatch-rider/pull/22) ([more-ron](https://github.com/more-ron))
|
374
|
-
|
375
312
|
- Add proper worker support [\#19](https://github.com/payrollhero/dispatch-rider/pull/19) ([piotrb](https://github.com/piotrb))
|
376
313
|
|
377
314
|
## [2013-06-06-13-08-PST](https://github.com/payrollhero/dispatch-rider/tree/2013-06-06-13-08-PST) (2013-06-06)
|
378
|
-
|
379
315
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/2013-06-05-14-37+08-00...2013-06-06-13-08-PST)
|
380
316
|
|
381
317
|
**Merged pull requests:**
|
@@ -383,11 +319,9 @@
|
|
383
319
|
- Silence SQS spam since its very verbose by default [\#21](https://github.com/payrollhero/dispatch-rider/pull/21) ([piotrb](https://github.com/piotrb))
|
384
320
|
|
385
321
|
## [2013-06-05-14-37+08-00](https://github.com/payrollhero/dispatch-rider/tree/2013-06-05-14-37+08-00) (2013-06-06)
|
386
|
-
|
387
322
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.0.4...2013-06-05-14-37+08-00)
|
388
323
|
|
389
324
|
## [v0.0.4](https://github.com/payrollhero/dispatch-rider/tree/v0.0.4) (2013-06-06)
|
390
|
-
|
391
325
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/2013-06-05-09-15-PST...v0.0.4)
|
392
326
|
|
393
327
|
**Implemented enhancements:**
|
@@ -397,25 +331,17 @@
|
|
397
331
|
**Merged pull requests:**
|
398
332
|
|
399
333
|
- Error handling hooks [\#20](https://github.com/payrollhero/dispatch-rider/pull/20) ([more-ron](https://github.com/more-ron))
|
400
|
-
|
401
334
|
- Add hooks for handling error [\#18](https://github.com/payrollhero/dispatch-rider/pull/18) ([more-ron](https://github.com/more-ron))
|
402
335
|
|
403
336
|
## [2013-06-05-09-15-PST](https://github.com/payrollhero/dispatch-rider/tree/2013-06-05-09-15-PST) (2013-06-05)
|
404
|
-
|
405
337
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/2013-05-28-15-13+08-00...2013-06-05-09-15-PST)
|
406
338
|
|
407
339
|
**Merged pull requests:**
|
408
340
|
|
409
341
|
- Make configuration hash indifferent [\#17](https://github.com/payrollhero/dispatch-rider/pull/17) ([more-ron](https://github.com/more-ron))
|
410
|
-
|
411
342
|
- Fix double serialize on file system bug [\#15](https://github.com/payrollhero/dispatch-rider/pull/15) ([more-ron](https://github.com/more-ron))
|
412
343
|
|
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
|
-
|
417
344
|
## [2013-05-28-15-13+08-00](https://github.com/payrollhero/dispatch-rider/tree/2013-05-28-15-13+08-00) (2013-05-28)
|
418
|
-
|
419
345
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/2013-05-28...2013-05-28-15-13+08-00)
|
420
346
|
|
421
347
|
**Implemented enhancements:**
|
@@ -427,45 +353,34 @@
|
|
427
353
|
- Make DispatchRider::Publisher\#configure indifferent to string or symbol ... [\#14](https://github.com/payrollhero/dispatch-rider/pull/14) ([more-ron](https://github.com/more-ron))
|
428
354
|
|
429
355
|
## [2013-05-28](https://github.com/payrollhero/dispatch-rider/tree/2013-05-28) (2013-05-28)
|
430
|
-
|
431
356
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.0.2...2013-05-28)
|
432
357
|
|
433
358
|
**Merged pull requests:**
|
434
359
|
|
435
360
|
- Bug fix for file system notifications being serialized twice [\#13](https://github.com/payrollhero/dispatch-rider/pull/13) ([more-ron](https://github.com/more-ron))
|
436
|
-
|
437
361
|
- Another stab at the initial implementation for issue \#10 [\#12](https://github.com/payrollhero/dispatch-rider/pull/12) ([piotrb](https://github.com/piotrb))
|
438
362
|
|
439
363
|
## [v0.0.2](https://github.com/payrollhero/dispatch-rider/tree/v0.0.2) (2013-05-22)
|
440
|
-
|
441
364
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.0.3...v0.0.2)
|
442
365
|
|
443
366
|
## [v0.0.3](https://github.com/payrollhero/dispatch-rider/tree/v0.0.3) (2013-05-22)
|
444
|
-
|
445
367
|
[Full Changelog](https://github.com/payrollhero/dispatch-rider/compare/v0.0.1...v0.0.3)
|
446
368
|
|
447
369
|
**Merged pull requests:**
|
448
370
|
|
449
371
|
- Update Documentations [\#9](https://github.com/payrollhero/dispatch-rider/pull/9) ([more-ron](https://github.com/more-ron))
|
450
|
-
|
451
372
|
- Fix message contruction when raw head is nil [\#7](https://github.com/payrollhero/dispatch-rider/pull/7) ([more-ron](https://github.com/more-ron))
|
452
373
|
|
453
374
|
## [v0.0.1](https://github.com/payrollhero/dispatch-rider/tree/v0.0.1) (2013-05-16)
|
454
|
-
|
455
375
|
**Merged pull requests:**
|
456
376
|
|
457
377
|
- Add support for SNS published message received in SQS [\#6](https://github.com/payrollhero/dispatch-rider/pull/6) ([more-ron](https://github.com/more-ron))
|
458
|
-
|
459
378
|
- Added FileSystem Notifier Support [\#5](https://github.com/payrollhero/dispatch-rider/pull/5) ([piotrb](https://github.com/piotrb))
|
460
|
-
|
461
379
|
- Adapting to multiple queues [\#4](https://github.com/payrollhero/dispatch-rider/pull/4) ([more-ron](https://github.com/more-ron))
|
462
|
-
|
463
380
|
- Add AWS::SNS to DispatchRider::QueueServices [\#3](https://github.com/payrollhero/dispatch-rider/pull/3) ([more-ron](https://github.com/more-ron))
|
464
|
-
|
465
381
|
- Add FileSystem as a queue system [\#2](https://github.com/payrollhero/dispatch-rider/pull/2) ([more-ron](https://github.com/more-ron))
|
466
|
-
|
467
382
|
- Modify QueueServices\#pop to be able to properly dequeue the item [\#1](https://github.com/payrollhero/dispatch-rider/pull/1) ([more-ron](https://github.com/more-ron))
|
468
383
|
|
469
384
|
|
470
385
|
|
471
|
-
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
386
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/dispatch-rider.gemspec
CHANGED
@@ -38,13 +38,17 @@ Gem::Specification.new do |gem|
|
|
38
38
|
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
39
39
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
40
40
|
gem.require_paths = ['lib']
|
41
|
+
gem.required_ruby_version = '~> 2.2'
|
42
|
+
|
41
43
|
|
42
44
|
gem.add_runtime_dependency 'activesupport', '>= 3.2.0'
|
43
45
|
gem.add_runtime_dependency 'activemodel', '>= 3.2.0'
|
44
46
|
gem.add_runtime_dependency 'activerecord', '>= 3.2.0'
|
45
47
|
gem.add_runtime_dependency 'daemons', '~> 1.2'
|
46
|
-
gem.add_runtime_dependency '
|
47
|
-
|
48
|
+
gem.add_runtime_dependency 'retriable', '~> 3.1', '>= 3.1.2'
|
49
|
+
# appsignal is an optional runtime dependency,
|
50
|
+
# I am marking it as development for those that don't need it
|
51
|
+
gem.add_development_dependency 'appsignal', '~> 1.0'
|
48
52
|
|
49
53
|
gem.add_development_dependency 'bundler', '~> 1.0'
|
50
54
|
gem.add_development_dependency 'rake'
|
data/lib/dispatch-rider.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'retries'
|
2
1
|
# This is a basic implementation of the Notification service using Amazon SNS.
|
3
2
|
# The expected usage is as follows :
|
4
3
|
# notification_service = DispatchRider::NotificationServices::AwsSns.new
|
@@ -17,7 +16,7 @@ module DispatchRider
|
|
17
16
|
end
|
18
17
|
|
19
18
|
def publish_to_channel(channel, message:)
|
20
|
-
|
19
|
+
Retriable.retriable(tries: 10, on: AWS::Errors::MissingCredentialsError) { super }
|
21
20
|
end
|
22
21
|
|
23
22
|
# not really happy with this, but the notification service registrar system is way too rigid to do this cleaner
|
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.6
|
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:
|
14
|
+
date: 2019-08-30 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|
@@ -70,25 +70,25 @@ dependencies:
|
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '1.2'
|
72
72
|
- !ruby/object:Gem::Dependency
|
73
|
-
name:
|
73
|
+
name: retriable
|
74
74
|
requirement: !ruby/object:Gem::Requirement
|
75
75
|
requirements:
|
76
76
|
- - "~>"
|
77
77
|
- !ruby/object:Gem::Version
|
78
|
-
version: '
|
78
|
+
version: '3.1'
|
79
79
|
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version:
|
81
|
+
version: 3.1.2
|
82
82
|
type: :runtime
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
88
|
+
version: '3.1'
|
89
89
|
- - ">="
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version:
|
91
|
+
version: 3.1.2
|
92
92
|
- !ruby/object:Gem::Dependency
|
93
93
|
name: appsignal
|
94
94
|
requirement: !ruby/object:Gem::Requirement
|
@@ -96,7 +96,7 @@ dependencies:
|
|
96
96
|
- - "~>"
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '1.0'
|
99
|
-
type: :
|
99
|
+
type: :development
|
100
100
|
prerelease: false
|
101
101
|
version_requirements: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
@@ -255,8 +255,9 @@ executables: []
|
|
255
255
|
extensions: []
|
256
256
|
extra_rdoc_files: []
|
257
257
|
files:
|
258
|
+
- ".codeclimate.yml"
|
258
259
|
- ".gitignore"
|
259
|
-
- ".hound.yml"
|
260
|
+
- ".rubocop.hound.yml"
|
260
261
|
- ".rubocop.yml"
|
261
262
|
- ".travis.yml"
|
262
263
|
- CHANGELOG.md
|
@@ -405,17 +406,16 @@ require_paths:
|
|
405
406
|
- lib
|
406
407
|
required_ruby_version: !ruby/object:Gem::Requirement
|
407
408
|
requirements:
|
408
|
-
- - "
|
409
|
+
- - "~>"
|
409
410
|
- !ruby/object:Gem::Version
|
410
|
-
version: '
|
411
|
+
version: '2.2'
|
411
412
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
412
413
|
requirements:
|
413
414
|
- - ">="
|
414
415
|
- !ruby/object:Gem::Version
|
415
416
|
version: '0'
|
416
417
|
requirements: []
|
417
|
-
|
418
|
-
rubygems_version: 2.5.1
|
418
|
+
rubygems_version: 3.0.4
|
419
419
|
signing_key:
|
420
420
|
specification_version: 4
|
421
421
|
summary: Messaging system that is customizable based on which queueing system we are
|
data/.hound.yml
DELETED