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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0251b1700672c6dc8722779c0865d3757aff9de9ea747d4739863521931cc0c
4
- data.tar.gz: 0533f556c4cad614cf7973818126996c8a8bea51d1791ca22df059ab65a5202a
3
+ metadata.gz: be8cc2c0e7ee4782db12019bd4590c661434be3c96987c3f3c79c052999dadaa
4
+ data.tar.gz: b9f0e5c17f48e7d8ca7eed9cd7b7386c29d389d0178ee2fa7a3e5a077746a0e4
5
5
  SHA512:
6
- metadata.gz: 7d9d8f211697dc585517fd6c431e32f7500711888a3b97cf94aa7d4afbd043da2790407242a81a1ba37bca905cf6b454f73ee98a5015550768c948fe53eaa315
7
- data.tar.gz: 38369a4c3a74e3bdb5616705744ad732a363757c3eeadb04dde327f77d9251633047851e446454a0126895acbaf194d44081c3afd0192a509992d592e164a2a5
6
+ metadata.gz: e9ec134731dd5df33666b9b75d1745549f68c33856c6a466a3e2485c046c2b936898065df5dc7ed6ad3b1286bf23db585df2603b65be9f19756f62e0782529fa
7
+ data.tar.gz: 58ab8dbecd3bf578c358142c922775afa8333f777f2d79cdeeb4e50ebad0fd9839fca8bffa2e543346091196ce9ca855994fb618268aaf13cb14d748d334f563
@@ -1,3 +1,6 @@
1
+ ### 6.4.1
2
+ - Retrieve attributes when receiving messages from SQS
3
+
1
4
  ### 6.4.0
2
5
  - Raise an exception in submit! if the job serializes to a message that is
3
6
  above the native SQS limit for message size.
@@ -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(queue_url: @queue_url,
59
- wait_time_seconds: DEFAULT_TIMEOUT_SECONDS, max_number_of_messages: BATCH_RECEIVE_SIZE)
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
@@ -1,3 +1,3 @@
1
1
  module Sqewer
2
- VERSION = '6.4.0'
2
+ VERSION = '6.4.1'
3
3
  end
@@ -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", "~> 12.3"
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.0
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-14 00:00:00.000000000 Z
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: '12.3'
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: '12.3'
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.0.3
288
+ rubygems_version: 3.1.2
289
289
  signing_key:
290
290
  specification_version: 4
291
291
  summary: Process jobs from SQS