opentelemetry-instrumentation-sinatra 0.21.1 → 0.21.3

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: 9b13e48608f0a9ee2884c5d86fa0944fbafd27e0b63607dc5e08d0eb583b5d22
4
- data.tar.gz: a188a3eecae71f3cf9f1981a2917289732be76891a52e0a386ac84fad4a7d06e
3
+ metadata.gz: 822814bc143062681bae4c966a65bc9e2ca8662c6ba68a9d1d9a3ab18eb3686b
4
+ data.tar.gz: 6a93b2c9632764e5a1faf764c20028e72e86064c2acf0f1d116bc4000ed700df
5
5
  SHA512:
6
- metadata.gz: 7642822332c4287625fc546443df52205b62bde829acf63c7ae75ec1b6944eab4827ae548aa74bf2ff24fde53c9846b7b724072096e760dd9254245a8d90299f
7
- data.tar.gz: 0504e419c492fa0b8e931445e217ad61922b62d31a492119a0bfdb680d8a574a6b97cb0ede5ae4ed5f4dce8175b958eff7335d2ecae6f970705a4b1f28fa55d8
6
+ metadata.gz: ad23ae956e284ebf96e1d328e4074e834df0fc4bd04fbe9540ac3ee7abdef3d2b414c4142cfda1338504e2595d2384ace4e2c750c706b840dd200cfee5ff8d3d
7
+ data.tar.gz: 2aa584a56bb111aa5d9a5a08744986e993dc945d43bedf01f4ca1884c7cd7146412e0805a24af3ae71f28f2c3781538ca6b8739738872a70ec11a638210d1b99
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release History: opentelemetry-instrumentation-sinatra
2
2
 
3
+ ### v0.21.3 / 2023-01-27
4
+
5
+ * fix: Check if env['sinatra.error'] exists before recording it
6
+
7
+ ### v0.21.2 / 2023-01-14
8
+
9
+ * DOCS: Fix gem homepage
10
+ * DOCS: More gem documentation fixes
11
+
3
12
  ### v0.21.1 / 2022-11-16
4
13
 
5
14
  * FIXED: Loosen dependency on Rack
@@ -31,7 +31,7 @@ module OpenTelemetry
31
31
  sinatra_response = ::Sinatra::Response.new([], response.first)
32
32
  return unless sinatra_response.server_error?
33
33
 
34
- span.record_exception(env['sinatra.error'])
34
+ span.record_exception(env['sinatra.error']) if env['sinatra.error']
35
35
  span.status = OpenTelemetry::Trace::Status.error
36
36
  end
37
37
  end
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Sinatra
10
- VERSION = '0.21.1'
10
+ VERSION = '0.21.3'
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-sinatra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.1
4
+ version: 0.21.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-16 00:00:00.000000000 Z
11
+ date: 2023-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -84,16 +84,16 @@ dependencies:
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.17'
89
+ version: '2.4'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.17'
96
+ version: '2.4'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: minitest
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 1.3.0
159
+ version: 1.41.1
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 1.3.0
166
+ version: 1.41.1
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: simplecov
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -252,14 +252,14 @@ files:
252
252
  - lib/opentelemetry/instrumentation/sinatra/instrumentation.rb
253
253
  - lib/opentelemetry/instrumentation/sinatra/middlewares/tracer_middleware.rb
254
254
  - lib/opentelemetry/instrumentation/sinatra/version.rb
255
- homepage: https://github.com/open-telemetry/opentelemetry-contrib
255
+ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
256
256
  licenses:
257
257
  - Apache-2.0
258
258
  metadata:
259
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-instrumentation-sinatra/v0.21.1/file.CHANGELOG.html
259
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-sinatra/0.21.3/file/CHANGELOG.md
260
260
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/sinatra
261
261
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
262
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-instrumentation-sinatra/v0.21.1
262
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-sinatra/0.21.3
263
263
  post_install_message:
264
264
  rdoc_options: []
265
265
  require_paths: