sqewer 6.2.1 → 6.2.2

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
- SHA1:
3
- metadata.gz: 8e1b1d8c965c0c3ffbfcc3905e1d25762d15f727
4
- data.tar.gz: 6bbac73b80768676784320373a12bcf76f55289d
2
+ SHA256:
3
+ metadata.gz: 70857d657ec0e0190310f806f8b34a8c04df7504c67e9890cd2ee2580e5ef387
4
+ data.tar.gz: e3d7d1fa311e25ac8e53b58db842446cff851924cba36583bc9bf87a9a5120b9
5
5
  SHA512:
6
- metadata.gz: 5b3eb41d4dc80e7ef572743c2d0f67cc3cfbce1df828faea8a84c8949c7f2d087922441d35aa5cfa7eab28d885baffba3167d9bc039c9357e337736e5d7e4f3d
7
- data.tar.gz: cb752122d384939a115a025d23dc82634b5da9b8409b5a8c4b4fa5f37b14a73322718c5fd3aaf88e4db2da65a6616d911749ffd7f61d5892fe3c75fe9611bc9b
6
+ metadata.gz: ba846399144de508eff227a61e7d78e6fa662884565670183f9992530e06790b704c013b866436fec0f9f860872908a528db6db8751a711811480b9f9f7b0e5f
7
+ data.tar.gz: 708a29a0e29253143002c639a963dc65e966641045113c4a826a84536935969f5906da291d865042e3655da5399eb5d9e95805d96d306462bf5dd2266f924dd7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 6.2.2
2
+ - Test the Appsignal integration using actual Appsignal libraries
3
+ - In the Appsignal integration, replace a call of `set_queue_start=` with `set_queue_start`
4
+
1
5
  ### 6.2.1
2
6
  - Appsignal queue start time should be set as an Integer of milliseconds, not as a Time object
3
7
 
@@ -36,7 +36,7 @@ module Sqewer
36
36
  transaction.set_action('%s#%s' % [serializer.class, 'unserialize'])
37
37
  transaction.request.params = {:sqs_message_body => msg_payload.to_s}
38
38
  if msg_attributes.key?('SentTimestamp')
39
- transaction.set_queue_start = msg_attributes['SentTimestamp'].to_i
39
+ transaction.set_queue_start(msg_attributes['SentTimestamp'].to_i)
40
40
  end
41
41
 
42
42
  job_unserialized = yield
@@ -1,3 +1,3 @@
1
1
  module Sqewer
2
- VERSION = '6.2.1'
2
+ VERSION = '6.2.2'
3
3
  end
data/sqewer.gemspec CHANGED
@@ -34,11 +34,11 @@ Gem::Specification.new do |spec|
34
34
  spec.add_runtime_dependency "very_tiny_state_machine"
35
35
  spec.add_runtime_dependency "ks"
36
36
  spec.add_runtime_dependency "retriable"
37
-
37
+
38
38
  spec.add_development_dependency "bundler"
39
39
  spec.add_development_dependency "rake", "~> 12.3"
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/
43
43
  # for testing against a specific Rails version
44
44
  spec.add_development_dependency "activerecord", ">= 4.2"
@@ -48,4 +48,5 @@ Gem::Specification.new do |spec|
48
48
  spec.add_development_dependency "sqlite3"
49
49
  spec.add_development_dependency "dotenv"
50
50
  spec.add_development_dependency "simplecov"
51
+ spec.add_development_dependency "appsignal", '~> 2'
51
52
  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: 6.2.1
4
+ version: 6.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julik Tarkhanov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-11 00:00:00.000000000 Z
11
+ date: 2019-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-sqs
@@ -206,6 +206,20 @@ dependencies:
206
206
  - - ">="
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: appsignal
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: '2'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: '2'
209
223
  description: A full-featured library for all them SQS worker needs
210
224
  email:
211
225
  - me@julik.nl
@@ -269,8 +283,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
269
283
  - !ruby/object:Gem::Version
270
284
  version: '0'
271
285
  requirements: []
272
- rubyforge_project:
273
- rubygems_version: 2.6.11
286
+ rubygems_version: 3.0.6
274
287
  signing_key:
275
288
  specification_version: 4
276
289
  summary: Process jobs from SQS