shoryuken 3.0.6 → 4.0.0

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.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +90 -24
  3. data/.travis.yml +17 -5
  4. data/CHANGELOG.md +265 -62
  5. data/Gemfile +9 -1
  6. data/Gemfile.aws-sdk-core-v2 +13 -0
  7. data/README.md +19 -113
  8. data/Rakefile +1 -1
  9. data/bin/cli/base.rb +0 -3
  10. data/bin/cli/sqs.rb +42 -16
  11. data/bin/shoryuken +4 -9
  12. data/examples/bootstrap_queues.rb +3 -3
  13. data/examples/default_worker.rb +2 -2
  14. data/lib/shoryuken/body_parser.rb +27 -0
  15. data/lib/shoryuken/client.rb +6 -2
  16. data/lib/shoryuken/core_ext.rb +1 -1
  17. data/lib/shoryuken/default_worker_registry.rb +2 -2
  18. data/lib/shoryuken/environment_loader.rb +60 -24
  19. data/lib/shoryuken/extensions/active_job_adapter.rb +21 -11
  20. data/lib/shoryuken/fetcher.rb +58 -19
  21. data/lib/shoryuken/launcher.rb +70 -7
  22. data/lib/shoryuken/logging.rb +1 -6
  23. data/lib/shoryuken/manager.rb +50 -80
  24. data/lib/shoryuken/middleware/chain.rb +4 -0
  25. data/lib/shoryuken/middleware/server/active_record.rb +1 -1
  26. data/lib/shoryuken/middleware/server/auto_delete.rb +4 -9
  27. data/lib/shoryuken/middleware/server/auto_extend_visibility.rb +6 -9
  28. data/lib/shoryuken/middleware/server/exponential_backoff_retry.rb +9 -3
  29. data/lib/shoryuken/middleware/server/timing.rb +12 -16
  30. data/lib/shoryuken/options.rb +225 -0
  31. data/lib/shoryuken/polling/base.rb +67 -0
  32. data/lib/shoryuken/polling/strict_priority.rb +77 -0
  33. data/lib/shoryuken/polling/weighted_round_robin.rb +66 -0
  34. data/lib/shoryuken/processor.rb +30 -39
  35. data/lib/shoryuken/queue.rb +41 -10
  36. data/lib/shoryuken/runner.rb +13 -17
  37. data/lib/shoryuken/util.rb +3 -3
  38. data/lib/shoryuken/version.rb +1 -1
  39. data/lib/shoryuken/worker/default_executor.rb +33 -0
  40. data/lib/shoryuken/worker/inline_executor.rb +37 -0
  41. data/lib/shoryuken/worker.rb +76 -31
  42. data/lib/shoryuken/worker_registry.rb +4 -4
  43. data/lib/shoryuken.rb +54 -173
  44. data/shoryuken.gemspec +6 -6
  45. data/spec/integration/launcher_spec.rb +14 -8
  46. data/spec/shoryuken/body_parser_spec.rb +89 -0
  47. data/spec/shoryuken/client_spec.rb +1 -1
  48. data/spec/shoryuken/core_ext_spec.rb +6 -6
  49. data/spec/shoryuken/default_worker_registry_spec.rb +2 -4
  50. data/spec/shoryuken/environment_loader_spec.rb +32 -12
  51. data/spec/shoryuken/extensions/active_job_adapter_spec.rb +64 -0
  52. data/spec/shoryuken/fetcher_spec.rb +101 -18
  53. data/spec/shoryuken/manager_spec.rb +54 -26
  54. data/spec/shoryuken/middleware/chain_spec.rb +17 -5
  55. data/spec/shoryuken/middleware/server/auto_delete_spec.rb +9 -7
  56. data/spec/shoryuken/middleware/server/auto_extend_visibility_spec.rb +4 -4
  57. data/spec/shoryuken/middleware/server/exponential_backoff_retry_spec.rb +6 -4
  58. data/spec/shoryuken/middleware/server/timing_spec.rb +5 -3
  59. data/spec/shoryuken/options_spec.rb +180 -0
  60. data/spec/shoryuken/{polling_spec.rb → polling/strict_priority_spec.rb} +2 -101
  61. data/spec/shoryuken/polling/weighted_round_robin_spec.rb +99 -0
  62. data/spec/shoryuken/processor_spec.rb +26 -127
  63. data/spec/shoryuken/queue_spec.rb +115 -41
  64. data/spec/shoryuken/runner_spec.rb +3 -4
  65. data/spec/shoryuken/util_spec.rb +24 -0
  66. data/spec/shoryuken/worker/default_executor_spec.rb +105 -0
  67. data/spec/shoryuken/worker/inline_executor_spec.rb +49 -0
  68. data/spec/shoryuken/worker_spec.rb +35 -96
  69. data/spec/shoryuken_spec.rb +0 -59
  70. data/spec/spec_helper.rb +14 -3
  71. data/test_workers/endless_interruptive_worker.rb +2 -2
  72. data/test_workers/endless_uninterruptive_worker.rb +4 -4
  73. metadata +31 -12
  74. data/lib/shoryuken/polling.rb +0 -204
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed324ac96e13143c24ee4cd81623c80c3558f1bf
4
- data.tar.gz: 1f88dd595425bd1c9185a1ce33ab9c8ad4945bcd
3
+ metadata.gz: ca967b0796d5e97753b9d201edd7aaad2e1d5c44
4
+ data.tar.gz: 4984a4ee2243ba5d8b42bec2e0c0b68e15b92c9f
5
5
  SHA512:
6
- metadata.gz: 809cbd0b7dde05a27458d4b44fa3452efb0542a9fda8e2ed06b6bcd1e2ea443b67eaca4e38aa958b6252b40db6ffbda3974afee38f3e018d1f37f6ed4d650aa8
7
- data.tar.gz: 04b8353ecbb0d0a5458446a821e86e808c8106aa6e5805d769351a191a34cf5a018a7502edc5cdf99afd1937194b79338d31b08ed6e4b0102c757511b4338dfc
6
+ metadata.gz: 8143c4a34706093177109f9d822afc711c8c88cd51c2a64653e15b8054794327e59951fccbc5990992b7d568db3cd79a1e23a1a7ec33d7a7c29837e10534f187
7
+ data.tar.gz: 5925db2ddbd791708c59b05a59805ca711bb82c9ef059db849568f8de9fec1619d7b52eab26cced9bb7b7e713ffd11227292c4294bbf642a49e60c35096fcb5d
data/.rubocop.yml CHANGED
@@ -1,13 +1,61 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.0
2
+ Exclude:
3
+ - '**/Gemfile'
4
+ TargetRubyVersion: 2.1
3
5
 
4
- Style/SignalException:
6
+ Metrics/PerceivedComplexity:
5
7
  Enabled: false
6
8
 
7
- Style/DoubleNegation:
9
+ Metrics/CyclomaticComplexity:
10
+ Enabled: false
11
+
12
+ Metrics/ClassLength:
13
+ Enabled: false
14
+
15
+ Metrics/ParameterLists:
16
+ Enabled: false
17
+
18
+ Metrics/MethodLength:
19
+ Enabled: false
20
+
21
+ Metrics/AbcSize:
22
+ # Disable "Assignment Branch Condition size for update_attributes is too high" from houndci
23
+ # because codeclimate already give that for us with more details
24
+ Enabled: false
25
+
26
+ Metrics/LineLength:
27
+ Max: 125
28
+
29
+ Style/Alias:
8
30
  Enabled: false
9
31
 
10
- Style/SpaceAroundEqualsInParameterDefault:
32
+ Style/PerlBackrefs:
33
+ Enabled: false
34
+
35
+ Style/TrailingBlankLines:
36
+ Enabled: false
37
+
38
+ # Override the HoundCI custom rules (they do not use Rubocop defaults)
39
+ Style/StringLiterals:
40
+ EnforcedStyle: single_quotes
41
+
42
+ Style/StringLiteralsInInterpolation:
43
+ EnforcedStyle: single_quotes
44
+
45
+ Style/ExtraSpacing:
46
+ # disabling that in favour of using:
47
+ # long_field_test_1 = 1
48
+ # field_test_2 = 2
49
+ # etc = 3
50
+ Enabled: false
51
+
52
+ Style/BlockDelimiters:
53
+ Enabled: false
54
+
55
+ Style/CollectionMethods:
56
+ Enabled: false
57
+
58
+ Style/SignalException:
11
59
  Enabled: false
12
60
 
13
61
  Style/Documentation:
@@ -16,41 +64,59 @@ Style/Documentation:
16
64
  Style/ClassAndModuleChildren:
17
65
  Enabled: false
18
66
 
19
- Metrics/PerceivedComplexity:
67
+ Style/CommentAnnotation:
20
68
  Enabled: false
21
69
 
22
- Metrics/CyclomaticComplexity:
70
+ Style/DotPosition:
71
+ EnforcedStyle: leading
72
+
73
+ Style/GuardClause:
23
74
  Enabled: false
24
75
 
25
- Style/CommentAnnotation:
76
+ Style/RegexpLiteral:
26
77
  Enabled: false
27
78
 
28
- Metrics/ClassLength:
79
+ Lint/HandleExceptions:
29
80
  Enabled: false
30
81
 
31
- Metrics/ParameterLists:
82
+ Lint/AssignmentInCondition:
32
83
  Enabled: false
33
84
 
34
- Metrics/LineLength:
35
- Max: 120
85
+ Style/DoubleNegation:
86
+ Enabled: false
36
87
 
37
- Metrics/MethodLength :
88
+ Style/AndOr:
38
89
  Enabled: false
39
90
 
40
- Style/PerlBackrefs:
91
+ Style/ClassVars:
41
92
  Enabled: false
42
93
 
43
- Style/StringLiterals:
44
- EnforcedStyle: single_quotes
45
- SupportedStyles:
46
- - single_quotes
47
- - double_quotes
94
+ Style/GlobalVars:
95
+ Enabled: false
48
96
 
49
- Style/StringLiteralsInInterpolation:
50
- EnforcedStyle: single_quotes
51
- SupportedStyles:
52
- - single_quotes
53
- - double_quotes
97
+ Style/SingleLineBlockParams:
98
+ Enabled: false
99
+
100
+ Style/RescueModifier:
101
+ Enabled: false
102
+
103
+ Style/ColonMethodCall:
104
+ Enabled: false
105
+
106
+ Style/FileName:
107
+ Enabled: false
108
+
109
+ Style/FrozenStringLiteralComment:
110
+ Enabled: false
111
+
112
+ Style/RescueStandardError:
113
+ Enabled: false
114
+
115
+ Security/YAMLLoad:
116
+ Enabled: false
117
+
118
+ Naming/MemoizedInstanceVariableName:
119
+ Enabled: false
54
120
 
55
- Lint/UnusedMethodArgument:
121
+ Performance/RedundantBlockCall:
56
122
  Enabled: false
data/.travis.yml CHANGED
@@ -1,18 +1,30 @@
1
1
  language: ruby
2
+
2
3
  rvm:
3
4
  - 2.0.0
4
- - 2.1.0
5
- - 2.2.0
6
- - 2.3.3
5
+ - 2.1.10
6
+ - 2.2.9
7
+ - 2.3.6
8
+ - 2.4.3
9
+ - 2.5.0
7
10
 
8
11
  notifications:
9
12
  email:
10
13
  on_success: change
11
14
  on_failure: always
12
15
 
13
- script: SPEC_ALL=true bundle exec rspec spec
16
+ gemfile:
17
+ - Gemfile
18
+ - Gemfile.aws-sdk-core-v2
19
+
20
+ env:
21
+ - SPEC_ALL=true
22
+
23
+ script: bundle exec rspec spec
24
+
14
25
  before_install:
15
- - gem update bundler
26
+ - gem update bundler
27
+
16
28
  after_success:
17
29
  - bundle exec codeclimate-test-reporter
18
30
 
data/CHANGELOG.md CHANGED
@@ -1,219 +1,422 @@
1
+ ## [v4.0.0] - 2018-11-01
2
+
3
+ - Process messages to the same message group ID one by one
4
+ - [#530](https://github.com/phstc/shoryuken/pull/530)
5
+
6
+ ## [v3.3.1] - 2018-10-30
7
+
8
+ - Memoization of boolean causes extra calls to SQS
9
+ - [#529](https://github.com/phstc/shoryuken/pull/529)
10
+
11
+ ## [v3.3.0] - 2018-09-30
12
+
13
+ - Add support for TSTP
14
+ - [#492](https://github.com/phstc/shoryuken/pull/492)
15
+
16
+ - Support an empty list of queues as a CLI argument
17
+ - [#507](https://github.com/phstc/shoryuken/pull/507)
18
+
19
+ - Add batch support for inline workers
20
+ - [#514](https://github.com/phstc/shoryuken/pull/514)
21
+
22
+ - Make InlineExecutor to behave as the DefaultExecutor when calling perform_in
23
+ - [#518](https://github.com/phstc/shoryuken/pull/518)
24
+
25
+ ## [v3.2.3] - 2018-03-25
26
+
27
+ - Don't force eager load for Rails 5
28
+ - [#480](https://github.com/phstc/shoryuken/pull/480)
29
+
30
+ - Allow Batch Size to be Specified for Requeue
31
+ - [#478](https://github.com/phstc/shoryuken/pull/478)
32
+
33
+ - Support FIFO queues in `shoryuken sqs` commands
34
+ - [#473](https://github.com/phstc/shoryuken/pull/473)
35
+
36
+ ## [v3.2.2] - 2018-02-13
37
+
38
+ - Fix requeue' for FIFO queues
39
+ - [#48fcb42](https://github.com/phstc/shoryuken/commit/48fcb4260c3b41a9e45fa29bb857e8fa37dcee82)
40
+
41
+ ## [v3.2.1] - 2018-02-12
42
+
43
+ - Support FIFO queues in `shoryuken sqs` commands
44
+ - [#473](https://github.com/phstc/shoryuken/pull/473)
45
+
46
+ - Allow customizing the default executor launcher
47
+ - [#469](https://github.com/phstc/shoryuken/pull/469)
48
+
49
+ - Exclude job_id from message deduplication when ActiveJob
50
+ - [#462](https://github.com/phstc/shoryuken/pull/462)
51
+
52
+ ## [v3.2.0] - 2018-01-03
53
+
54
+ - Preserve parent worker class options
55
+ - [#451](https://github.com/phstc/shoryuken/pull/451)
56
+
57
+ - Add -t (shutdown timeout) option to CL
58
+ - [#449](https://github.com/phstc/shoryuken/pull/449)
59
+
60
+ - Support inline (Active Job like) for standard workers
61
+ - [#448](https://github.com/phstc/shoryuken/pull/448)
62
+
63
+ ## [v3.1.12] - 2017-09-25
64
+
65
+ - Reduce fetch log verbosity
66
+ - [#436](https://github.com/phstc/shoryuken/pull/436)
67
+
68
+ ## [v3.1.11] - 2017-09-02
69
+
70
+ - Auto retry (up to 3 times) fetch errors
71
+ - [#429](https://github.com/phstc/shoryuken/pull/429)
72
+
73
+ ## [v3.1.10] - 2017-09-02
74
+
75
+ - Make Shoryuken compatible with AWS SDK 3 and 2
76
+ - [#433](https://github.com/phstc/shoryuken/pull/433)
77
+
78
+ ## [v3.1.9] - 2017-08-24
79
+
80
+ - Add support for adding a middleware to the front of chain
81
+ - [#427](https://github.com/phstc/shoryuken/pull/427)
82
+
83
+ - Add support for dispatch fire event
84
+ - [#426](https://github.com/phstc/shoryuken/pull/426)
85
+
86
+ ## [v3.1.8] - 2017-08-17
87
+
88
+ - Make Polling strategy backward compatibility
89
+ - [#424](https://github.com/phstc/shoryuken/pull/424)
90
+
91
+ ## [v3.1.7] - 2017-07-31
92
+
93
+ - Allow polling strategy per group
94
+ - [#417](https://github.com/phstc/shoryuken/pull/417)
95
+
96
+ - Add support for creating FIFO queues
97
+ - [#419](https://github.com/phstc/shoryuken/pull/419)
98
+
99
+ - Allow receive message options per queue
100
+ - [#420](https://github.com/phstc/shoryuken/pull/420)
101
+
102
+ ## [v3.1.6] - 2017-07-24
103
+
104
+ - Fix issue with dispatch_loop and delays
105
+ - [#416](https://github.com/phstc/shoryuken/pull/416)
106
+
107
+ ## [v3.1.5] - 2017-07-23
108
+
109
+ - Fix memory leak
110
+ - [#414](https://github.com/phstc/shoryuken/pull/414)
111
+
112
+ - Fail fast on bad queue URLs
113
+ - [#413](https://github.com/phstc/shoryuken/pull/413)
114
+
115
+ ## [v3.1.4] - 2017-07-14
116
+
117
+ - Require forwardable allowding to call `shoryuken` without `bundle exec`
118
+ - [#409](https://github.com/phstc/shoryuken/pull/409)
119
+
120
+ ## [v3.1.3] - 2017-07-11
121
+
122
+ - Add queue prefixing support for groups
123
+ - [#405](https://github.com/phstc/shoryuken/pull/405)
124
+
125
+ - Remove dead code
126
+ - [#402](https://github.com/phstc/shoryuken/pull/402)
127
+
128
+ ## [v3.1.2] - 2017-07-06
129
+
130
+ - Fix stack level too deep on Ubuntu
131
+ - [#400](https://github.com/phstc/shoryuken/pull/400)
132
+
133
+ ## [v3.1.1] - 2017-07-05
134
+
135
+ - Reduce log verbosity introduced in 3.1.0
136
+ - [#397](https://github.com/phstc/shoryuken/pull/397)
137
+
138
+ - Try to prevent stack level too deep on Ubuntu
139
+ - [#396](https://github.com/phstc/shoryuken/pull/396)
140
+
141
+ ## [v3.1.0] - 2017-07-02
142
+
143
+ - Add shoryuken sqs delete command
144
+ - [#395](https://github.com/phstc/shoryuken/pull/395)
145
+
146
+ - Add processing groups support; Concurrency per queue support
147
+ - [#389](https://github.com/phstc/shoryuken/pull/389)
148
+
149
+ - Terminate Shoryuken if the fetcher crashes
150
+ - [#389](https://github.com/phstc/shoryuken/pull/389)
151
+
152
+ ## [v3.0.11] - 2017-06-24
153
+
154
+ - Add shoryuken sqs create command
155
+ - [#388](https://github.com/phstc/shoryuken/pull/388)
156
+
157
+ ## [v3.0.10] - 2017-06-24
158
+
159
+ - Allow aws sdk v3
160
+ - [#381](https://github.com/phstc/shoryuken/pull/381)
161
+
162
+ - Allow configuring Rails via the config file
163
+ - [#387](https://github.com/phstc/shoryuken/pull/387)
164
+
165
+ ## [v3.0.9] - 2017-06-05
166
+
167
+ - Allow configuring queue URLs instead of names
168
+ - [#378](https://github.com/phstc/shoryuken/pull/378)
169
+
170
+ ## [v3.0.8] - 2017-06-02
171
+
172
+ - Fix miss handling empty batch fetches
173
+ - [#376](https://github.com/phstc/shoryuken/pull/376)
174
+
175
+ - Various minor styling changes :lipstick:
176
+ - [#373](https://github.com/phstc/shoryuken/pull/373)
177
+
178
+ - Logout when batch delete returns any failure
179
+ - [#371](https://github.com/phstc/shoryuken/pull/371)
180
+
181
+ ## [v3.0.7] - 2017-05-18
182
+
183
+ - Trigger events for dispatch
184
+ - [#362](https://github.com/phstc/shoryuken/pull/362)
185
+
186
+ - Log (warn) exponential backoff tries
187
+ - [#365](https://github.com/phstc/shoryuken/pull/365)
188
+
189
+ - Fix displaying of long queue names in `shoryuken sqs ls`
190
+ - [#366](https://github.com/phstc/shoryuken/pull/366)
191
+
1
192
  ## [v3.0.6] - 2017-04-11
193
+
2
194
  - Fix delay option type
3
- - [#356](https://github.com/phstc/shoryuken/pull/356)
195
+ - [#356](https://github.com/phstc/shoryuken/pull/356)
4
196
 
5
197
  ## [v3.0.5] - 2017-04-09
198
+
6
199
  - Pause endless dispatcher to avoid CPU overload
7
- - [#354](https://github.com/phstc/shoryuken/pull/354)
200
+ - [#354](https://github.com/phstc/shoryuken/pull/354)
8
201
 
9
202
  - Auto log processor errors
10
- - [#355](https://github.com/phstc/shoryuken/pull/355)
203
+ - [#355](https://github.com/phstc/shoryuken/pull/355)
11
204
 
12
205
  - Add a delay as a CLI param
13
- - [#350](https://github.com/phstc/shoryuken/pull/350)
206
+ - [#350](https://github.com/phstc/shoryuken/pull/350)
14
207
 
15
208
  - Add `sqs purge` command. See https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_PurgeQueue.html
16
- - [#344](https://github.com/phstc/shoryuken/pull/344)
209
+ - [#344](https://github.com/phstc/shoryuken/pull/344)
210
+
17
211
  ## [v3.0.4] - 2017-03-24
212
+
18
213
  - Add `sqs purge` command. See https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_PurgeQueue.html
19
- - [#344](https://github.com/phstc/shoryuken/pull/344)
214
+ - [#344](https://github.com/phstc/shoryuken/pull/344)
20
215
 
21
216
  - Fix "Thread exhaustion" error. This issue was most noticed when using long polling. @waynerobinson :beers: for pairing up on this.
22
- - [#345](https://github.com/phstc/shoryuken/pull/345)
217
+ - [#345](https://github.com/phstc/shoryuken/pull/345)
23
218
 
24
219
  ## [v3.0.3] - 2017-03-19
220
+
25
221
  - Update `sqs` CLI commands to use `get_queue_url` when appropriated
26
- - [#341](https://github.com/phstc/shoryuken/pull/341)
222
+ - [#341](https://github.com/phstc/shoryuken/pull/341)
27
223
 
28
224
  ## [v3.0.2] - 2017-03-19
225
+
29
226
  - Fix custom SQS client initialization
30
- - [#335](https://github.com/phstc/shoryuken/pull/335)
227
+ - [#335](https://github.com/phstc/shoryuken/pull/335)
31
228
 
32
229
  ## [v3.0.1] - 2017-03-13
230
+
33
231
  - Fix commands sqs mv and dump `options.delete` checker
34
- - [#332](https://github.com/phstc/shoryuken/pull/332)
232
+ - [#332](https://github.com/phstc/shoryuken/pull/332)
35
233
 
36
234
  ## [v3.0.0] - 2017-03-12
235
+
37
236
  - Replace Celluloid with Concurrent Ruby
38
- - [#291](https://github.com/phstc/shoryuken/pull/291)
237
+ - [#291](https://github.com/phstc/shoryuken/pull/291)
39
238
 
40
239
  - Remove AWS configuration from Shoryuken. Now AWS should be configured from outside. Check [this](https://github.com/phstc/shoryuken/wiki/Configure-the-AWS-Client) for more details
41
- - [#317](https://github.com/phstc/shoryuken/pull/317)
240
+ - [#317](https://github.com/phstc/shoryuken/pull/317)
42
241
 
43
242
  - Remove deprecation warnings
44
- - [#326](https://github.com/phstc/shoryuken/pull/326)
243
+ - [#326](https://github.com/phstc/shoryuken/pull/326)
45
244
 
46
245
  - Allow dynamic adding queues
47
- - [#322](https://github.com/phstc/shoryuken/pull/322)
246
+ - [#322](https://github.com/phstc/shoryuken/pull/322)
48
247
 
49
248
  - Support retry_intervals passed in as a lambda. Auto coerce intervals into integer
50
- - [#329](https://github.com/phstc/shoryuken/pull/329)
249
+ - [#329](https://github.com/phstc/shoryuken/pull/329)
51
250
 
52
251
  - Add SQS commands `shoryuken help sqs`, such as `ls`, `mv`, `dump` and `requeue`
53
- - [#330](https://github.com/phstc/shoryuken/pull/330)
252
+ - [#330](https://github.com/phstc/shoryuken/pull/330)
54
253
 
55
254
  ## [v2.1.3] - 2017-01-27
255
+
56
256
  - Show a warn message when batch isn't supported
57
- - [#302](https://github.com/phstc/shoryuken/pull/302)
257
+ - [#302](https://github.com/phstc/shoryuken/pull/302)
58
258
 
59
259
  - Require Celluloid ~> 17
60
- - [#305](https://github.com/phstc/shoryuken/pull/305)
260
+ - [#305](https://github.com/phstc/shoryuken/pull/305)
61
261
 
62
262
  - Fix excessive logging when 0 messages found
63
- - [#307](https://github.com/phstc/shoryuken/pull/307)
263
+ - [#307](https://github.com/phstc/shoryuken/pull/307)
64
264
 
65
265
  ## [v2.1.2] - 2016-12-22
266
+
66
267
  - Fix loading `logfile` from shoryuken.yml
67
- - [#296](https://github.com/phstc/shoryuken/pull/296)
268
+ - [#296](https://github.com/phstc/shoryuken/pull/296)
68
269
 
69
270
  - Add support for Strict priority polling (pending documentation)
70
- - [#288](https://github.com/phstc/shoryuken/pull/288)
271
+ - [#288](https://github.com/phstc/shoryuken/pull/288)
71
272
 
72
273
  - Add `test_workers` for end-to-end testing supporting
73
- - [#286](https://github.com/phstc/shoryuken/pull/286)
274
+ - [#286](https://github.com/phstc/shoryuken/pull/286)
74
275
 
75
276
  - Update README documenting `configure_client` and `configure_server`
76
- - [#283](https://github.com/phstc/shoryuken/pull/283)
277
+ - [#283](https://github.com/phstc/shoryuken/pull/283)
77
278
 
78
279
  - Fix memory leak caused by async tracking busy threads
79
- - [#289](https://github.com/phstc/shoryuken/pull/289)
280
+ - [#289](https://github.com/phstc/shoryuken/pull/289)
80
281
 
81
282
  - Refactor fetcher, polling strategy and manager
82
- - [#284](https://github.com/phstc/shoryuken/pull/284)
283
+ - [#284](https://github.com/phstc/shoryuken/pull/284)
83
284
 
84
285
  ## [v2.1.1] - 2016-12-05
286
+
85
287
  - Fix aws deprecation warning message
86
- - [#279](https://github.com/phstc/shoryuken/pull/279)
288
+ - [#279](https://github.com/phstc/shoryuken/pull/279)
87
289
 
88
290
  ## [v2.1.0] - 2016-12-03
291
+
89
292
  - Fix celluloid "running in BACKPORTED mode" warning
90
- - [#260](https://github.com/phstc/shoryuken/pull/260)
293
+ - [#260](https://github.com/phstc/shoryuken/pull/260)
91
294
 
92
295
  - Allow setting the aws configuration in 'Shoryuken.configure_server'
93
- - [#252](https://github.com/phstc/shoryuken/pull/252)
296
+ - [#252](https://github.com/phstc/shoryuken/pull/252)
94
297
 
95
298
  - Allow requiring a file or dir a through `-r`
96
- - [#248](https://github.com/phstc/shoryuken/pull/248)
299
+ - [#248](https://github.com/phstc/shoryuken/pull/248)
97
300
 
98
301
  - Reduce info log verbosity
99
- - [#243](https://github.com/phstc/shoryuken/pull/243)
302
+ - [#243](https://github.com/phstc/shoryuken/pull/243)
100
303
 
101
304
  - Fix auto extender when using ActiveJob
102
- - [#3213](https://github.com/phstc/shoryuken/pull/213)
305
+ - [#3213](https://github.com/phstc/shoryuken/pull/213)
103
306
 
104
307
  - Add FIFO queue support
105
- - [#272](https://github.com/phstc/shoryuken/issues/272)
308
+ - [#272](https://github.com/phstc/shoryuken/issues/272)
106
309
 
107
310
  - Deprecates initialize_aws
108
- - [#269](https://github.com/phstc/shoryuken/pull/269)
311
+ - [#269](https://github.com/phstc/shoryuken/pull/269)
109
312
 
110
313
  - [Other miscellaneous updates](https://github.com/phstc/shoryuken/compare/v2.0.11...v2.1.0)
111
314
 
112
315
  ## [v2.0.11] - 2016-07-02
113
316
 
114
317
  - Same as 2.0.10. Unfortunately 2.0.10 was removed `yanked` by mistake from RubyGems.
115
- - [#b255bc3](https://github.com/phstc/shoryuken/commit/b255bc3)
318
+ - [#b255bc3](https://github.com/phstc/shoryuken/commit/b255bc3)
116
319
 
117
320
  ## [v2.0.10] - 2016-06-09
118
321
 
119
322
  - Fix manager #225
120
- - [#226](https://github.com/phstc/shoryuken/pull/226)
323
+ - [#226](https://github.com/phstc/shoryuken/pull/226)
121
324
 
122
325
  ## [v2.0.9] - 2016-06-08
123
326
 
124
327
  - Fix daemonization broken in #219
125
- - [#224](https://github.com/phstc/shoryuken/pull/224)
328
+ - [#224](https://github.com/phstc/shoryuken/pull/224)
126
329
 
127
330
  ## [v2.0.8] - 2016-06-07
128
331
 
129
332
  - Fix daemonization
130
- - [#223](https://github.com/phstc/shoryuken/pull/223)
333
+ - [#223](https://github.com/phstc/shoryuken/pull/223)
131
334
 
132
335
  ## [v2.0.7] - 2016-06-06
133
336
 
134
337
  - Daemonize before loading environment
135
- - [#219](https://github.com/phstc/shoryuken/pull/219)
338
+ - [#219](https://github.com/phstc/shoryuken/pull/219)
136
339
 
137
340
  - Fix initialization when using rails
138
- - [#197](https://github.com/phstc/shoryuken/pull/197)
341
+ - [#197](https://github.com/phstc/shoryuken/pull/197)
139
342
 
140
343
  - Improve message fetching
141
- - [#214](https://github.com/phstc/shoryuken/pull/214)
142
- - [#f4640d9](https://github.com/phstc/shoryuken/commit/f4640d9)
344
+ - [#214](https://github.com/phstc/shoryuken/pull/214)
345
+ - [#f4640d9](https://github.com/phstc/shoryuken/commit/f4640d9)
143
346
 
144
347
  - Fix hard shutdown if there are some busy workers when signal received
145
- - [#215](https://github.com/phstc/shoryuken/pull/215)
348
+ - [#215](https://github.com/phstc/shoryuken/pull/215)
146
349
 
147
350
  - Fix `rake console` task
148
- - [#208](https://github.com/phstc/shoryuken/pull/208)
351
+ - [#208](https://github.com/phstc/shoryuken/pull/208)
149
352
 
150
353
  - Isolate `MessageVisibilityExtender` as new middleware
151
- - [#199](https://github.com/phstc/shoryuken/pull/190)
354
+ - [#199](https://github.com/phstc/shoryuken/pull/190)
152
355
 
153
356
  - Fail on non-existent queues
154
- - [#196](https://github.com/phstc/shoryuken/pull/196)
357
+ - [#196](https://github.com/phstc/shoryuken/pull/196)
155
358
 
156
359
  ## [v2.0.6] - 2016-04-18
157
360
 
158
361
  - Fix log initialization introduced by #191
159
- - [#195](https://github.com/phstc/shoryuken/pull/195)
362
+ - [#195](https://github.com/phstc/shoryuken/pull/195)
160
363
 
161
364
  ## [v2.0.5] - 2016-04-17
162
365
 
163
366
  - Fix log initialization when using `Shoryuken::EnvironmentLoader#load`
164
- - [#191](https://github.com/phstc/shoryuken/pull/191)
367
+ - [#191](https://github.com/phstc/shoryuken/pull/191)
165
368
 
166
- - Fix `enqueue_at` in the ActiveJob Adapter
167
- - [#182](https://github.com/phstc/shoryuken/pull/182)
369
+ - Fix `enqueue_at` in the ActiveJob Adapter
370
+ - [#182](https://github.com/phstc/shoryuken/pull/182)
168
371
 
169
372
  ## [v2.0.4] - 2016-02-04
170
373
 
171
374
  - Add Rails 3 support
172
- - [#175](https://github.com/phstc/shoryuken/pull/175)
375
+ - [#175](https://github.com/phstc/shoryuken/pull/175)
173
376
 
174
377
  - Allow symbol as a queue name in shoryuken_options
175
- - [#177](https://github.com/phstc/shoryuken/pull/177)
378
+ - [#177](https://github.com/phstc/shoryuken/pull/177)
176
379
 
177
380
  - Make sure bundler is always updated on Travis CI
178
- - [#176](https://github.com/phstc/shoryuken/pull/176)
381
+ - [#176](https://github.com/phstc/shoryuken/pull/176)
179
382
 
180
383
  - Add Rails 5 compatibility
181
- - [#174](https://github.com/phstc/shoryuken/pull/174)
384
+ - [#174](https://github.com/phstc/shoryuken/pull/174)
182
385
 
183
386
  ## [v2.0.3] - 2015-12-30
184
387
 
185
388
  - Allow multiple queues per worker
186
- - [#164](https://github.com/phstc/shoryuken/pull/164)
389
+ - [#164](https://github.com/phstc/shoryuken/pull/164)
187
390
 
188
391
  - Fix typo
189
- - [#166](https://github.com/phstc/shoryuken/pull/166)
392
+ - [#166](https://github.com/phstc/shoryuken/pull/166)
190
393
 
191
394
  ## [v2.0.2] - 2015-10-27
192
395
 
193
396
  - Fix warnings that are triggered in some cases with the raise_error matcher
194
- - [#144](https://github.com/phstc/shoryuken/pull/144)
397
+ - [#144](https://github.com/phstc/shoryuken/pull/144)
195
398
 
196
399
  - Add lifecycle event registration support
197
- - [#141](https://github.com/phstc/shoryuken/pull/141)
400
+ - [#141](https://github.com/phstc/shoryuken/pull/141)
198
401
 
199
402
  - Allow passing array of messages to send_messages
200
- - [#140](https://github.com/phstc/shoryuken/pull/140)
403
+ - [#140](https://github.com/phstc/shoryuken/pull/140)
201
404
 
202
405
  - Fix Active Job queue prefixing in Rails apps
203
- - [#139](https://github.com/phstc/shoryuken/pull/139)
406
+ - [#139](https://github.com/phstc/shoryuken/pull/139)
204
407
 
205
408
  - Enable override the default queue with a :queue option
206
- - [#147](https://github.com/phstc/shoryuken/pull/147)
409
+ - [#147](https://github.com/phstc/shoryuken/pull/147)
207
410
 
208
411
  ## [v2.0.1] - 2015-10-09
209
412
 
210
413
  - Bump aws-sdk to ~> 2
211
- - [#138](https://github.com/phstc/shoryuken/pull/138)
414
+ - [#138](https://github.com/phstc/shoryuken/pull/138)
212
415
 
213
416
  ## [v2.0.0] - 2015-09-22
214
417
 
215
418
  - Allow configuration of SQS/SNS endpoints via environment variables
216
- - [#130](https://github.com/phstc/shoryuken/pull/130)
419
+ - [#130](https://github.com/phstc/shoryuken/pull/130)
217
420
 
218
421
  - Expose queue_name in the message object
219
422
  - [#127](https://github.com/phstc/shoryuken/pull/127)