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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cac0f077c5b42e055dd55b8613d32da3b37ee9f4
4
- data.tar.gz: 102d8d130e637234fb97e7dc9df8f5f7b3624185
3
+ metadata.gz: 41d09dda0c53fb37c252e59c7b35a0c31de43367
4
+ data.tar.gz: 73b17333ccee4c424ce7abf63005df41f21622c6
5
5
  SHA512:
6
- metadata.gz: 10f3c21672720257a4f238dff93a3b0ecd05ee42a2ce4f18a3fe9f4a4debfa2bce4f7ad7cfb7b88e532f3326e737166a83fd586376966448816a0790e6b3ed93
7
- data.tar.gz: af852dba0a45f75d6d59c6256003475f80f56fc64865ff6912eebb9d02b05d67b64b8665ef7b6fe407062b971137f6df0d2389ffad84a796e49ac9a9975b4349
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.
@@ -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[0].message
104
- raise "%d messages failed to send (first error was %s)" % [failed.length, err]
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 (first error was %s)" % [failed.length, err]
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
@@ -1,3 +1,3 @@
1
1
  module Sqewer
2
- VERSION = '5.0.5'
2
+ VERSION = '5.0.6'
3
3
  end
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.5
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-03 00:00:00.000000000 Z
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.4.5.1
243
+ rubygems_version: 2.5.2
243
244
  signing_key:
244
245
  specification_version: 4
245
246
  summary: Process jobs from SQS