sqewer 5.0.6 → 5.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 41d09dda0c53fb37c252e59c7b35a0c31de43367
4
- data.tar.gz: 73b17333ccee4c424ce7abf63005df41f21622c6
3
+ metadata.gz: 9dcb51913e099f74dcebca87941f16715b8d3da7
4
+ data.tar.gz: e342a210559bf3fb1991b354b764f76adcf64549
5
5
  SHA512:
6
- metadata.gz: f3d45245d8dc6f9f0945756be0d9c6ffd36e8f3e16887263f920d84066bb2a1390365c953338e78e5f936d389e41a61fb698636dce3a5dbac5a1fc9867e5aba3
7
- data.tar.gz: 1b927ec86054b004cb6a22d9ed668c7e171bd8320ba5fb5e905d4a002a13b5f8f2cc8cef0eb617d8dbac4b3f7ec0ded311ec43f171531f995fce796c67ed3c4f
6
+ metadata.gz: 2be69cb69a9310a1cbfc39f55a709cff854c2638e183d849e6ee9006bcdc922a776af07df97eb333a8beaaf21fc4489479aa0cb4c41136b38d8217e9c6a14159
7
+ data.tar.gz: 148aa651f6b73d6ec04c7edd012776c8861d4a187c19529f5fea28c338d056ddcb08411802d5593948496b26419d31b1523295045a6ce9be750c5a4ec25b8253
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 2017-05-26
2
+ - Released v5.0.7 to Rubygems.org.
3
+ - Report errors with string interpolation to avoid confusion.
4
+ - Fix failure when running one test at a time.
5
+
1
6
  ### 2017-05-26
2
7
  - Released v5.0.6 to Rubygems.org.
3
8
  - Additional change to error reporting: report errors both on submitting and on deleting messages.
@@ -101,7 +101,7 @@ class Sqewer::Connection
101
101
  failed = resp.failed
102
102
  if failed.any?
103
103
  err = failed.inspect + ', ' + resp.inspect
104
- raise "%d messages failed to send: " % [failed.length, err]
104
+ raise "#{failed.length} messages failed to send: #{err}"
105
105
  end
106
106
  end
107
107
  end
@@ -127,7 +127,7 @@ class Sqewer::Connection
127
127
  failed = resp.failed
128
128
  if failed.any?
129
129
  err = failed.inspect + ', ' + resp.inspect
130
- raise "%d messages failed to delete: " % [failed.length, err]
130
+ raise "#{failed.length} messages failed to delete: #{err}"
131
131
  end
132
132
  end
133
133
  end
@@ -1,3 +1,3 @@
1
1
  module Sqewer
2
- VERSION = '5.0.6'
2
+ VERSION = '5.0.7'
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.6
4
+ version: 5.0.7
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-26 00:00:00.000000000 Z
11
+ date: 2017-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk