sqewer 5.0.5 → 5.0.6
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 +30 -0
- data/lib/sqewer/connection.rb +4 -4
- data/lib/sqewer/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41d09dda0c53fb37c252e59c7b35a0c31de43367
|
4
|
+
data.tar.gz: 73b17333ccee4c424ce7abf63005df41f21622c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3d45245d8dc6f9f0945756be0d9c6ffd36e8f3e16887263f920d84066bb2a1390365c953338e78e5f936d389e41a61fb698636dce3a5dbac5a1fc9867e5aba3
|
7
|
+
data.tar.gz: 1b927ec86054b004cb6a22d9ed668c7e171bd8320ba5fb5e905d4a002a13b5f8f2cc8cef0eb617d8dbac4b3f7ec0ded311ec43f171531f995fce796c67ed3c4f
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
### 2017-05-26
|
2
|
+
- Released v5.0.6 to Rubygems.org.
|
3
|
+
- Additional change to error reporting: report errors both on submitting and on deleting messages.
|
4
|
+
|
5
|
+
### 2017-05-03
|
6
|
+
- Released v5.0.5 to Rubygems.org.
|
7
|
+
- Added CHANGELOG.md (you're reading it!).
|
8
|
+
|
9
|
+
### 2017-05-01
|
10
|
+
- Tiny change to improve error reporting; the error message from AWS when submitting to the queue is sometimes empty so we call .inspect on it.
|
11
|
+
|
12
|
+
### 2017-03-11
|
13
|
+
- Released v5.0.4 to Rubygems.org.
|
14
|
+
- Removed dependency on Jeweler.
|
15
|
+
- Fixed a bug where configuration errors could cause the `receive_messages` call to hang.
|
16
|
+
|
17
|
+
### 2016-09-06
|
18
|
+
- Released v5.0.3 to Rubygems.org.
|
19
|
+
- Overhauled Appsignal integration code.
|
20
|
+
|
21
|
+
### 2016-07-01
|
22
|
+
- Released v5.0.2 to Rubygems.org.
|
23
|
+
- Lowered log level of exception backtraces.
|
24
|
+
|
25
|
+
### 2016-06-22
|
26
|
+
- Released v5.0.1 to Rubygems.org.
|
27
|
+
- Improve Appsignal integration; only show parameters if the job actually supports those.
|
28
|
+
- Simplify CLI tests and add tests with mock workers.
|
29
|
+
|
30
|
+
### Current end of changelog. For earlier changes see the commit log on github.
|
data/lib/sqewer/connection.rb
CHANGED
@@ -100,8 +100,8 @@ class Sqewer::Connection
|
|
100
100
|
resp = client.send_message_batch(queue_url: @queue_url, entries: batch)
|
101
101
|
failed = resp.failed
|
102
102
|
if failed.any?
|
103
|
-
err = failed
|
104
|
-
raise "%d messages failed to send
|
103
|
+
err = failed.inspect + ', ' + resp.inspect
|
104
|
+
raise "%d messages failed to send: " % [failed.length, err]
|
105
105
|
end
|
106
106
|
end
|
107
107
|
end
|
@@ -126,8 +126,8 @@ class Sqewer::Connection
|
|
126
126
|
resp = client.delete_message_batch(queue_url: @queue_url, entries: batch)
|
127
127
|
failed = resp.failed
|
128
128
|
if failed.any?
|
129
|
-
err = failed.inspect
|
130
|
-
raise "%d messages failed to delete
|
129
|
+
err = failed.inspect + ', ' + resp.inspect
|
130
|
+
raise "%d messages failed to delete: " % [failed.length, err]
|
131
131
|
end
|
132
132
|
end
|
133
133
|
end
|
data/lib/sqewer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqewer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julik Tarkhanov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -192,6 +192,7 @@ files:
|
|
192
192
|
- ".travis.yml"
|
193
193
|
- ".yardopts"
|
194
194
|
- ACTIVE_JOB.md
|
195
|
+
- CHANGELOG.md
|
195
196
|
- DETAILS.md
|
196
197
|
- FAQ.md
|
197
198
|
- Gemfile
|
@@ -239,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
240
|
version: '0'
|
240
241
|
requirements: []
|
241
242
|
rubyforge_project:
|
242
|
-
rubygems_version: 2.
|
243
|
+
rubygems_version: 2.5.2
|
243
244
|
signing_key:
|
244
245
|
specification_version: 4
|
245
246
|
summary: Process jobs from SQS
|