opentelemetry-instrumentation-action_view 0.3.0 → 0.4.0

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: 824dc027f56fa829edb6157b6bf3e3467ac671e1ade5caa9b1a55dbc91fe0f39
4
- data.tar.gz: c818cf8e952e2202c53a20ed6a0f0a7bb60f7ccaac5ac707b5ae88f446ae56b6
3
+ metadata.gz: 0e0ccb4a73ad559555bee423b49c36611e2bf88841de17d54cbfcaf3526e1e89
4
+ data.tar.gz: 46d72ccc468038ecb915fd55ace28aee5aa4e2dcdeb09de047b2abfa72182428
5
5
  SHA512:
6
- metadata.gz: a39f086a65baf73768c41130d6a5c81a2787d47957a9b3b179735865764fe837592adb9037fe8ea5400d40a45a613131fa5017e8c201219aea63ba8b47b017e3
7
- data.tar.gz: f65e5c0c8b5f0672912fa2deedd30615b6a18328f027be958d1fc85d5c6d303e1ee769661fda03f854903192e190972f8cd9320adc97c18810a65029d65b4421
6
+ metadata.gz: 4930a00609f8f8d4218839e9c0ff6975b41670c4351924474bb24f246da12f59fc1f49b1eaa1e0d3628ae62a360f58867ae18cf40b415bab668d09dd1eee8198
7
+ data.tar.gz: d05ba249371b33e448519c9063eeaae02d5cfd6d22380cfef8e234dd1ec7f9b6705aff42e72ca00e012c6a78cfc655578d220fd70c5c6dba557a60562eccdcff
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Release History: opentelemetry-instrumentation-action_view
2
2
 
3
+ ### v0.4.0 / 2023-02-01
4
+
5
+ * BREAKING CHANGE: Drop Rails 5 Support
6
+
7
+ * ADDED: Drop Rails 5 Support
8
+
9
+ ### v0.3.1 / 2023-01-14
10
+
11
+ * DOCS: Fix gem homepage
12
+ * DOCS: More gem documentation fixes
13
+
3
14
  ### v0.3.0 / 2022-06-09
4
15
 
5
16
  * Upgrading Base dependency version
data/README.md CHANGED
@@ -34,7 +34,7 @@ end
34
34
 
35
35
  ## Examples
36
36
 
37
- Example usage can be seen in the `./example/trace_request_demonstration.ru` file [here](https://github.com/open-telemetry/opentelemetry-ruby/blob/main/instrumentation/action_view/example/trace_request_demonstration.ru)
37
+ Example usage can be seen in the `./example/trace_request_demonstration.ru` file [here](https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/action_view/example/trace_request_demonstration.ru)
38
38
 
39
39
  ## Known issues
40
40
 
@@ -65,7 +65,7 @@ The `opentelemetry-instrumentation-action_view` gem is distributed under the Apa
65
65
  [rails-home]: https://github.com/rails/rails
66
66
  [bundler-home]: https://bundler.io
67
67
  [repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
68
- [license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/main/LICENSE
68
+ [license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/LICENSE
69
69
  [ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
70
70
  [community-meetings]: https://github.com/open-telemetry/community#community-meetings
71
71
  [discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
@@ -9,7 +9,7 @@ module OpenTelemetry
9
9
  module ActionView
10
10
  # The Instrumentation class contains logic to detect and install the ActionView instrumentation
11
11
  class Instrumentation < OpenTelemetry::Instrumentation::Base
12
- MINIMUM_VERSION = Gem::Version.new('5.2.0')
12
+ MINIMUM_VERSION = Gem::Version.new('6.0.0')
13
13
  install do |_config|
14
14
  require_dependencies
15
15
  end
@@ -20,7 +20,12 @@ module OpenTelemetry
20
20
 
21
21
  SUBSCRIPTIONS.each do |subscription_name|
22
22
  config = ActionView::Instrumentation.instance.config
23
- ::OpenTelemetry::Instrumentation::ActiveSupport.subscribe(ActionView::Instrumentation.instance.tracer, subscription_name, config[:notification_payload_transform], config[:disallowed_notification_payload_keys])
23
+ ::OpenTelemetry::Instrumentation::ActiveSupport.subscribe(
24
+ ActionView::Instrumentation.instance.tracer,
25
+ subscription_name,
26
+ config[:notification_payload_transform],
27
+ config[:disallowed_notification_payload_keys]
28
+ )
24
29
  end
25
30
  end
26
31
  end
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module ActionView
10
- VERSION = '0.3.0'
10
+ VERSION = '0.4.0'
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-action_view
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
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-06-09 00:00:00.000000000 Z
11
+ date: 2023-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.17'
75
+ version: '2.4'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.17'
82
+ version: '2.4'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: minitest
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -142,28 +142,28 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 12.3.3
145
+ version: '13.0'
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: 12.3.3
152
+ version: '13.0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rubocop
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 0.73.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: 0.73.0
166
+ version: 1.41.1
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: simplecov
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -237,14 +237,14 @@ files:
237
237
  - lib/opentelemetry/instrumentation/action_view/instrumentation.rb
238
238
  - lib/opentelemetry/instrumentation/action_view/railtie.rb
239
239
  - lib/opentelemetry/instrumentation/action_view/version.rb
240
- homepage: https://github.com/open-telemetry/opentelemetry-ruby
240
+ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
241
241
  licenses:
242
242
  - Apache-2.0
243
243
  metadata:
244
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-action_view/v0.3.0/file.CHANGELOG.html
245
- source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/action_view
246
- bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
247
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-action_view/v0.3.0
244
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-action_view/0.4.0/file/CHANGELOG.md
245
+ source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/action_view
246
+ bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
247
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-action_view/0.4.0
248
248
  post_install_message:
249
249
  rdoc_options: []
250
250
  require_paths: