opentelemetry-instrumentation-active_job 0.1.0 → 0.1.4

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: c047c0efcdd10eca427816f5d77e41c85d29a068c25a32651fc50c5c93cba3f1
4
- data.tar.gz: 6ac51fd6cecfd7e1c44a5bc8511898c743bcc75447d15208251c47362d5cd198
3
+ metadata.gz: b014d1f37a55288b8b529fa5c6cd79b4fd81202d40b07d99defcf4eb15fa8296
4
+ data.tar.gz: 9f84b67271cb784270e037c8e1b33340873fa9e5fb0a14d34c3b4beb8d17da1a
5
5
  SHA512:
6
- metadata.gz: 598ff577270ceadfbbca64ee463fbc812ff716dfdaec10dcfed61f0e0f5db6ae3ca9cce8195c1bc2a0183893186f8fd5e5834ac0204c78c6163ea61a836c3912
7
- data.tar.gz: 766f7f68c2b57ce355afa496ae4bc19cda62fda3175641f555632dabef7c2fa26c89d5968696a0502367342a09d33c7a39080fcb59a380cbafe8594583d7fec8
6
+ metadata.gz: 35ab58159d1b3836bdf500625be88f512f672a5a6f299684cfcad436c854cbdf5f0d51824ae68891aa27fffc6ccf6fb0ae2413dad59243242a430a82dcb4a7a7
7
+ data.tar.gz: 884b16b4c12fefd56466b76e49cfeeb26314e2e76909a2fff29b59c43e5f5a6ba49264575af536fb3860ad982ec773e2123d5b0f84464b9843836aaff84bed52
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release History: opentelemetry-instrumentation-active_job
2
2
 
3
+ ### v0.1.4 / 2021-09-29
4
+
5
+ * (No significant changes)
6
+
7
+ ### v0.1.3 / 2021-08-12
8
+
9
+ * (No significant changes)
10
+
11
+ ### v0.1.2 / 2021-07-01
12
+
13
+ * FIXED: Support Active Jobs with keyword args across ruby versions
14
+
15
+ ### v0.1.1 / 2021-06-29
16
+
17
+ * FIXED: Compatibility with RC2 span status api changes [845](https://github.com/open-telemetry/opentelemetry-ruby/pull/845)
18
+
3
19
  ### v0.1.0 / 2021-06-23
4
20
 
5
21
  * Initial release.
@@ -47,7 +47,7 @@ module OpenTelemetry
47
47
  block.call
48
48
  rescue Exception => e # rubocop:disable Lint/RescueException
49
49
  span.record_exception(e)
50
- span.status = OpenTelemetry::Trace::Status.new(OpenTelemetry::Trace::Status::ERROR, description: "Unhandled exception of type: #{e.class}")
50
+ span.status = OpenTelemetry::Trace::Status.error("Unhandled exception of type: #{e.class}")
51
51
  raise e
52
52
  ensure
53
53
  root_span.finish
@@ -20,6 +20,7 @@ module OpenTelemetry
20
20
  @metadata = {}
21
21
  super
22
22
  end
23
+ ruby2_keywords(:initialize) if respond_to?(:ruby2_keywords, true)
23
24
 
24
25
  def serialize
25
26
  super.merge('metadata' => serialize_arguments(metadata))
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module ActiveJob
10
- VERSION = '0.1.0'
10
+ VERSION = '0.1.4'
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-active_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-24 00:00:00.000000000 Z
11
+ date: 2021-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -16,28 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0.rc2
19
+ version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.0.rc2
26
+ version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: opentelemetry-instrumentation-base
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.18.1
33
+ version: 0.18.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.18.1
40
+ version: 0.18.3
41
+ - !ruby/object:Gem::Dependency
42
+ name: activejob
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 5.2.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 5.2.0
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: appraisal
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -84,16 +98,16 @@ dependencies:
84
98
  name: opentelemetry-sdk
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
- - - ">="
101
+ - - "~>"
88
102
  - !ruby/object:Gem::Version
89
- version: '0'
103
+ version: '1.0'
90
104
  type: :development
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
- - - ">="
108
+ - - "~>"
95
109
  - !ruby/object:Gem::Version
96
- version: '0'
110
+ version: '1.0'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: pry
99
113
  requirement: !ruby/object:Gem::Requirement
@@ -214,10 +228,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
214
228
  licenses:
215
229
  - Apache-2.0
216
230
  metadata:
217
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-active_job/v0.1.0/file.CHANGELOG.html
231
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-active_job/v0.1.4/file.CHANGELOG.html
218
232
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/active_job
219
233
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
220
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-active_job/v0.1.0
234
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-active_job/v0.1.4
221
235
  post_install_message:
222
236
  rdoc_options: []
223
237
  require_paths: