puma-plugin-telemetry 1.1.4 → 1.1.5

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: 11d56a181ec584a1aa210c42cba01bb7a4fd84db6c93e286659bf4b9b521b574
4
+ data.tar.gz: '03595cbd38cd0dad1de93b33547562f54821c83446b341d9a6ba1873f6ea133a'
5
5
  SHA512:
6
- metadata.gz: 1b6a6aa3e7bb56b54a40f01ced4d3b228ae0ccd94195a460307b13ebff6a3f4fe3f13ec748d5486d9878691c7696aadd1aeafa84b02baa9b232772e5e21e405b
7
- data.tar.gz: fb02f9fc3f1e278ed8e72f745a9153a54537bafd8a1e0e28035caf7ac1dc29102f7c8c66250145b325ec6c0c174de7146ad84451773ca44321f4b086044ef321
6
+ metadata.gz: 05f5c45ad8322900fb45338ededde9ca63d67676bfbaf75fc7c7876f0fe6396c39b9b84273aff792482e3a42d59f611e417eabffbd682a8f7fe2581643da5aee
7
+ data.tar.gz: 606b79611ccc56e63eccdb8d7f2919b5b3201b21688f3ec0397a55d86df183eef09fb0f0dc40e68b213ff9ba91ec53899828a30379b807d12ae2184dff8579db
data/CHANGELOG.md CHANGED
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.1.5]
11
+
12
+ ### Changed
13
+ - Allow puma 7 (#40)
14
+ - Updated gems in the lockfile
15
+
16
+ ### Added
17
+ - Check for support for 'ubuntu-24.04'
18
+ - Check for support for Ruby 3.4
19
+
20
+ ### Dropped
21
+ - Check for support for 'ubuntu-20.04'
22
+ - Check for support for Ruby 2.6 and 2.7
23
+
24
+
10
25
  ## [1.1.4]
11
26
 
12
27
  ### 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.5'
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', '< 8'
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.5
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-07-31 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: '8'
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: '8'
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: []