shoryuken 3.0.2 → 3.0.3
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 +6 -0
- data/bin/cli/sqs.rb +4 -12
- data/lib/shoryuken/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0d55fd64fa9c0f923238d2582e4404dec95d4442
|
|
4
|
+
data.tar.gz: 05cd9f7a3c025926c95cdfa687a7e1a15bcf2ecc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 323c9ffefa9992bea8ecc7e5ac81039b73d1ff7c41985482c89dfcfab4e1ed4a97e3613512fbf5b933a34f0a428c18a3169202f105aa74b5d55c3d782910037e
|
|
7
|
+
data.tar.gz: 33713211be0bdb68a83fd8729bf85b1bc1a0d437d6527d7ccd92954df0be6bb04724a4857cd3e80bc41a8824ae7d81786c50a3e68b0115697c0e1c129d327f77
|
data/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
+
## [v3.0.3] - 2017-03-19
|
|
2
|
+
- Update `sqs` CLI commands to use `get_queue_url` when appropriated
|
|
3
|
+
- [#341](https://github.com/phstc/shoryuken/pull/341)
|
|
4
|
+
|
|
1
5
|
## [v3.0.2] - 2017-03-19
|
|
2
6
|
- Fix custom SQS client initialization
|
|
3
7
|
- [#335](https://github.com/phstc/shoryuken/pull/335)
|
|
8
|
+
|
|
4
9
|
## [v3.0.1] - 2017-03-13
|
|
5
10
|
- Fix commands sqs mv and dump `options.delete` checker
|
|
6
11
|
- [#332](https://github.com/phstc/shoryuken/pull/332)
|
|
12
|
+
|
|
7
13
|
## [v3.0.0] - 2017-03-12
|
|
8
14
|
- Replace Celluloid with Concurrent Ruby
|
|
9
15
|
- [#291](https://github.com/phstc/shoryuken/pull/291)
|
data/bin/cli/sqs.rb
CHANGED
|
@@ -20,18 +20,10 @@ module Shoryuken
|
|
|
20
20
|
@_sqs ||= Aws::SQS::Client.new
|
|
21
21
|
end
|
|
22
22
|
|
|
23
|
-
def find_queue_url(
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
fail_task "There's more than one queue starting with #{queue_name_prefix}: #{urls.join(', ')}"
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
url = urls.first
|
|
31
|
-
|
|
32
|
-
fail_task "Queue #{queue_name_prefix} not found" unless url
|
|
33
|
-
|
|
34
|
-
url
|
|
23
|
+
def find_queue_url(queue_name)
|
|
24
|
+
sqs.get_queue_url(queue_name: queue_name).queue_url
|
|
25
|
+
rescue Aws::SQS::Errors::NonExistentQueue
|
|
26
|
+
fail_task "The specified queue #{queue_name} does not exist"
|
|
35
27
|
end
|
|
36
28
|
|
|
37
29
|
def batch_delete(url, messages)
|
data/lib/shoryuken/version.rb
CHANGED