puma-plugin-telemetry 1.1.4 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8f6637e84f006fba6caefa5187fcd41670978d92272702e70c2f93f4f146660
4
- data.tar.gz: 1114593461807d980f4f8070e02d0a9ccafd60be819aae580d33924e3b0617c7
3
+ metadata.gz: 66c4c03c973b8976fe5c41efaa5837ba7dea8acb62e9fdbc789925928864f60c
4
+ data.tar.gz: 44d6f8ceb1ad23d0251a59055f0f29b555b4bc74a56ce22722474cb0b9e50603
5
5
  SHA512:
6
- metadata.gz: 1b6a6aa3e7bb56b54a40f01ced4d3b228ae0ccd94195a460307b13ebff6a3f4fe3f13ec748d5486d9878691c7696aadd1aeafa84b02baa9b232772e5e21e405b
7
- data.tar.gz: fb02f9fc3f1e278ed8e72f745a9153a54537bafd8a1e0e28035caf7ac1dc29102f7c8c66250145b325ec6c0c174de7146ad84451773ca44321f4b086044ef321
6
+ metadata.gz: 07c4c38cade484b8c78c11a63761ed51ab7641ff354d9dab36e3d918a266e92c9a4f477b3b8b0a674776785e089f6a5c29629d24f774076293c268a79043cb6e
7
+ data.tar.gz: f8dcbd60fcb5b19409483c26b50fd91559bed7e0addddd5a42ddfc1a369a3d8f16a0a3e018a74ea697742dcabcdd3574ee50d2492fb521fa1190d92915937ab9
data/CHANGELOG.md CHANGED
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.1.6]
11
+
12
+ ### Changed
13
+ - Allow puma 8 (#42)
14
+
15
+ ## [1.1.5]
16
+
17
+ ### Changed
18
+ - Allow puma 7 (#40)
19
+ - Updated gems in the lockfile
20
+
21
+ ### Added
22
+ - Check for support for 'ubuntu-24.04'
23
+ - Check for support for Ruby 3.4
24
+
25
+ ### Dropped
26
+ - Check for support for 'ubuntu-20.04'
27
+ - Check for support for Ruby 2.6 and 2.7
28
+
29
+
10
30
  ## [1.1.4]
11
31
 
12
32
  ### Changed
@@ -3,7 +3,7 @@
3
3
  module Puma
4
4
  class Plugin
5
5
  module Telemetry
6
- VERSION = '1.1.4'
6
+ VERSION = '1.1.6'
7
7
  end
8
8
  end
9
9
  end
@@ -37,7 +37,10 @@ class RequestQueueTimeMiddleware
37
37
  # see also: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-request-tracing.html
38
38
  def queue_start(env)
39
39
  value = env['HTTP_X_AMZN_TRACE_ID']
40
+ # TODO: rewrite this line to please Rubocop
41
+ # rubocop:disable Style/SafeNavigationChainLength
40
42
  value&.split('Root=')&.last&.split('-')&.fetch(1)&.to_i(16)
43
+ # rubocop:enable Style/SafeNavigationChainLength
41
44
  end
42
45
 
43
46
  def request_start
@@ -42,5 +42,5 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
42
42
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
43
43
  spec.require_paths = ['lib']
44
44
 
45
- spec.add_dependency 'puma', '< 7'
45
+ spec.add_dependency 'puma', '< 9'
46
46
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puma-plugin-telemetry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leszek Zalewski
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-29 00:00:00.000000000 Z
11
+ date: 2026-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: puma
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "<"
18
18
  - !ruby/object:Gem::Version
19
- version: '7'
19
+ version: '9'
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: '7'
26
+ version: '9'
27
27
  description: |
28
28
  Puma plugin which should be able to handle all your metric needs regarding your webserver:
29
29
 
@@ -65,7 +65,7 @@ metadata:
65
65
  changelog_uri: https://github.com/babbel/puma-plugin-telemetry/blob/main/CHANGELOG.md
66
66
  github_repo: ssh://github.com/babbel/puma-plugin-telemetry
67
67
  rubygems_mfa_required: 'true'
68
- post_install_message:
68
+ post_install_message:
69
69
  rdoc_options: []
70
70
  require_paths:
71
71
  - lib
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubygems_version: 3.0.3.1
84
- signing_key:
84
+ signing_key:
85
85
  specification_version: 4
86
86
  summary: Puma plugin, adding ability to publish various metrics to your prefered targets.
87
87
  test_files: []