pallets 0.5.0 → 0.5.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: e275565357790942bf8c3d92e452921a5650122cf12679a399bafe67818ea75c
4
- data.tar.gz: 3f8c9c584b71385fd679c93cdf208b924e45efea43562062ded98b7a83e05d86
3
+ metadata.gz: 4ffde33a5c57e9528172a4ba0b75c1a9cbaca30e62fd5ebe0028cad69e5590b9
4
+ data.tar.gz: ab123ae6de59a28fe8c99a886ec7299adde7ded2121e55719465aef7ff2c7af2
5
5
  SHA512:
6
- metadata.gz: 0e197b5b10ba2e569b8e7df245a607046831af3412b5417dc3084e986af27088240c61de963a9e60e6a1431921014c92a09b9f4dd0aec9003c6dd3ffe0ce84f4
7
- data.tar.gz: cdfa840985dfcea75efea45f7dc5bc42e0aed4933cd8e02c996e46f4d8a58300c1feb47fe5fd5a6f46930b50e5b782525ed9c41434cb4cf21afcbe4ad8158c4e
6
+ metadata.gz: e96b0c486602044964eb01fafb82ac329d8ca779f70e85d01781a8605e13e141e5e14bdc443e0ce64bbdfed5bf6502f1ca7e77d50bb82afa68d5523e135e1558
7
+ data.tar.gz: e02b283810944d41e23ba4c96d8380f7f0a1a5799615d7c73c264af251b6447f9b1ea925bd6cfb790f53c55269b3728480efc0231ee89ce19121800c72955648
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.5.1] - 2019-06-01
10
+ ### Changed
11
+ - fix transaction completeness in Appsignal instrumenter (#43)
12
+
9
13
  ## [0.5.0] - 2019-05-12
10
14
  ### Added
11
15
  - wrap job execution with middleware (#38)
@@ -56,7 +60,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
56
60
  ## 0.1.0 - 2018-09-29
57
61
  - Pallets' inception <3
58
62
 
59
- [Unreleased]: https://github.com/linkyndy/pallets/compare/compare/v0.5.0...HEAD
63
+ [Unreleased]: https://github.com/linkyndy/pallets/compare/compare/v0.5.1...HEAD
64
+ [0.5.1]: https://github.com/linkyndy/pallets/compare/v0.5.0...v0.5.1
60
65
  [0.5.0]: https://github.com/linkyndy/pallets/compare/v0.4.0...v0.5.0
61
66
  [0.4.0]: https://github.com/linkyndy/pallets/compare/v0.3.0...v0.5.0
62
67
  [0.3.0]: https://github.com/linkyndy/pallets/compare/v0.2.0...v0.3.0
@@ -25,10 +25,11 @@ module Pallets
25
25
  transaction.params = filtered_context(context)
26
26
  formatted_metadata(job).each { |kv| transaction.set_metadata(*kv) }
27
27
  transaction.set_http_or_background_queue_start
28
- Appsignal::Transaction.complete_current!
29
28
  Appsignal.increment_counter('pallets_job_count', 1, status: job_status || :successful)
30
29
  end
31
30
  end
31
+ ensure
32
+ Appsignal::Transaction.complete_current!
32
33
  end
33
34
 
34
35
  def self.filtered_context(context)
@@ -1,3 +1,3 @@
1
1
  module Pallets
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pallets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Horak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-12 00:00:00.000000000 Z
11
+ date: 2019-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis