sqewer 6.4.0 → 6.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/sqewer/connection.rb +6 -2
- data/lib/sqewer/version.rb +1 -1
- data/sqewer.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be8cc2c0e7ee4782db12019bd4590c661434be3c96987c3f3c79c052999dadaa
|
4
|
+
data.tar.gz: b9f0e5c17f48e7d8ca7eed9cd7b7386c29d389d0178ee2fa7a3e5a077746a0e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9ec134731dd5df33666b9b75d1745549f68c33856c6a466a3e2485c046c2b936898065df5dc7ed6ad3b1286bf23db585df2603b65be9f19756f62e0782529fa
|
7
|
+
data.tar.gz: 58ab8dbecd3bf578c358142c922775afa8333f777f2d79cdeeb4e50ebad0fd9839fca8bffa2e543346091196ce9ca855994fb618268aaf13cb14d748d334f563
|
data/CHANGELOG.md
CHANGED
data/lib/sqewer/connection.rb
CHANGED
@@ -55,8 +55,12 @@ class Sqewer::Connection
|
|
55
55
|
# @return [Array<Message>] an array of Message objects
|
56
56
|
def receive_messages
|
57
57
|
Retriable.retriable on: Seahorse::Client::NetworkingError, tries: MAX_RANDOM_RECEIVE_FAILURES do
|
58
|
-
response = client.receive_message(
|
59
|
-
|
58
|
+
response = client.receive_message(
|
59
|
+
queue_url: @queue_url,
|
60
|
+
attribute_names: ['All'],
|
61
|
+
wait_time_seconds: DEFAULT_TIMEOUT_SECONDS,
|
62
|
+
max_number_of_messages: BATCH_RECEIVE_SIZE
|
63
|
+
)
|
60
64
|
response.messages.map {|message| Message.new(message.receipt_handle, message.body, message.attributes) }
|
61
65
|
end
|
62
66
|
end
|
data/lib/sqewer/version.rb
CHANGED
data/sqewer.gemspec
CHANGED
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.add_runtime_dependency "retriable"
|
37
37
|
|
38
38
|
spec.add_development_dependency "bundler"
|
39
|
-
spec.add_development_dependency "rake", "~>
|
39
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
40
40
|
spec.add_development_dependency "rspec", "~> 3.0"
|
41
41
|
|
42
42
|
# The Rails deps can be relaxed, they are specified more exactly in the gemfiles/
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqewer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.4.
|
4
|
+
version: 6.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julik Tarkhanov
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-05-
|
12
|
+
date: 2020-05-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk-sqs
|
@@ -101,14 +101,14 @@ dependencies:
|
|
101
101
|
requirements:
|
102
102
|
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: '
|
104
|
+
version: '13.0'
|
105
105
|
type: :development
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: '
|
111
|
+
version: '13.0'
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
113
|
name: rspec
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
@@ -285,7 +285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
285
285
|
- !ruby/object:Gem::Version
|
286
286
|
version: '0'
|
287
287
|
requirements: []
|
288
|
-
rubygems_version: 3.
|
288
|
+
rubygems_version: 3.1.2
|
289
289
|
signing_key:
|
290
290
|
specification_version: 4
|
291
291
|
summary: Process jobs from SQS
|