opentelemetry-instrumentation-rspec 0.3.1 → 0.3.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
2
  SHA256:
3
- metadata.gz: bedd3eeac3c889119cb1a634af4cdeea199af588c1eb9ec1da39b22b919e6ada
4
- data.tar.gz: dec5daa28db71d7ecc757eee02511f46c1965532d4e43ada36232933fbb0abb0
3
+ metadata.gz: e62de6320592ef472de7b8655ddf0a44e8cebc28c3f4b3da70e81c0ecc761cfa
4
+ data.tar.gz: 7d8cd5696a7abe99921135baf651c5680639e2a3cb1de75319fd42dc27e04b6e
5
5
  SHA512:
6
- metadata.gz: afffe4f35df55316dd184db399f6980f9a2911b31de19ae04b17fcf587a255195d34e108ab5c2732b2599df90d370c2fce99ad1b7db95b405ff572d21b7c5f17
7
- data.tar.gz: 417266b550e29c1618940dea0ebde91dcb0b88505d89397f39b6c5154515861d8d65505d51db1f45c7db066274f8bb559f3587dbb5e58a39e3eb58899daac552
6
+ metadata.gz: 3b72feb545637b333a3d38da55b8b8b1162183ec2024581b2a1a35b625e6faf38b3730db69b5e3e1d2e91eeddfcc16bf184c9d7b48ad1f06e8747e449e529355
7
+ data.tar.gz: 57bb378f6d0c3d7129cd98500fd87b0ff60410dafcf42055332e34c934840ed75449aeaa55550a8e4815c228645146dab932867135dc46ad78a8d9a5c37319d3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-rspec
2
2
 
3
+ ### v0.3.2 / 2023-11-23
4
+
5
+ * CHANGED: Applied Rubocop Performance Recommendations [#727](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/727)
6
+
3
7
  ### v0.3.1 / 2023-06-05
4
8
 
5
9
  * FIXED: Base config options
@@ -5,7 +5,7 @@
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
7
7
  require 'opentelemetry-api'
8
- require_relative './version'
8
+ require_relative 'version'
9
9
 
10
10
  module OpenTelemetry
11
11
  module Instrumentation
@@ -121,7 +121,7 @@ module OpenTelemetry
121
121
  end
122
122
 
123
123
  def multiple_failure_message(exception)
124
- exception.failures.map(&:message).map(&method(:strip_console_codes)).join("\n\n")
124
+ exception.failures.map(&:message).map { |x| strip_console_codes(x) }.join("\n\n")
125
125
  end
126
126
  end
127
127
  end
@@ -21,7 +21,7 @@ module OpenTelemetry
21
21
  private
22
22
 
23
23
  def require_dependencies
24
- require_relative './formatter'
24
+ require_relative 'formatter'
25
25
  end
26
26
 
27
27
  def add_formatter!
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module RSpec
10
- VERSION = '0.3.1'
10
+ VERSION = '0.3.2'
11
11
  end
12
12
  end
13
13
  end
@@ -15,5 +15,5 @@ module OpenTelemetry
15
15
  end
16
16
  end
17
17
 
18
- require_relative './rspec/instrumentation'
19
- require_relative './rspec/version'
18
+ require_relative 'rspec/instrumentation'
19
+ require_relative 'rspec/version'
@@ -16,4 +16,4 @@ module OpenTelemetry
16
16
  end
17
17
  end
18
18
 
19
- require_relative './instrumentation/rspec'
19
+ require_relative 'instrumentation/rspec'
@@ -4,4 +4,4 @@
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
7
- require_relative './opentelemetry/instrumentation'
7
+ require_relative 'opentelemetry/instrumentation'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-05 00:00:00.000000000 Z
11
+ date: 2023-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.2.0
47
+ version: '2.5'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.2.0
54
+ version: '2.5'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -142,70 +142,70 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 1.50.2
145
+ version: 1.56.1
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 1.50.2
152
+ version: 1.56.1
153
153
  - !ruby/object:Gem::Dependency
154
- name: simplecov
154
+ name: rubocop-performance
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 0.17.1
159
+ version: 1.19.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: 0.17.1
166
+ version: 1.19.1
167
167
  - !ruby/object:Gem::Dependency
168
- name: webmock
168
+ name: simplecov
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 3.7.6
173
+ version: 0.17.1
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 3.7.6
180
+ version: 0.17.1
181
181
  - !ruby/object:Gem::Dependency
182
- name: yard
182
+ name: webmock
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '0.9'
187
+ version: '3.19'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: '0.9'
194
+ version: '3.19'
195
195
  - !ruby/object:Gem::Dependency
196
- name: yard-doctest
196
+ name: yard
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: 0.1.6
201
+ version: '0.9'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: 0.1.6
208
+ version: '0.9'
209
209
  description: Rspec instrumentation for the OpenTelemetry framework
210
210
  email:
211
211
  - cncf-opentelemetry-contributors@lists.cncf.io
@@ -227,10 +227,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
227
227
  licenses:
228
228
  - Apache-2.0
229
229
  metadata:
230
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-rspec/0.3.1/file/CHANGELOG.md
230
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-rspec/0.3.2/file/CHANGELOG.md
231
231
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/rspec
232
232
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
233
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-rspec/0.3.1
233
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-rspec/0.3.2
234
234
  post_install_message:
235
235
  rdoc_options: []
236
236
  require_paths: