puma-metrics 1.4.0 → 1.4.2

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: 62e3de86b6315055d1bbf4e7c53515bd87e47833aca338097fa0c2a8783bd0c8
4
- data.tar.gz: c1048475d72f6c3941fa461c64de585b45a1c91e7b8834445682a406ef7f0fe5
3
+ metadata.gz: 81eb59b8e9d3c83945a222ca5771d4204333b5ad772035eed7e4fb3b7b80cc47
4
+ data.tar.gz: 8ecfe22a6c78c270fa5128bf7b2fff86038efeada0aad8f04275c6fed08d3702
5
5
  SHA512:
6
- metadata.gz: 0cddd5ba2b38e1e8c19d50b1a9b6b8a99ead6c5eeb23a6a44937a5513ce3229a3b15440132cd32014114cc7cc76d010382dde9e9ab4d7fae2c5e710612e4f005
7
- data.tar.gz: d798de78c1177fb7018fe80d8fa1cc721782ef526c522c6122b2065391399a710b66ff4b6ef10e495db59263ef9ba1c317801e6ddc0dae018e364d05fe8cb630
6
+ metadata.gz: 96381739c43868ba419424bc65efee53b4c62ff431011783eeb54a4dc9460e17bc26d473ee2eb3064b71d06a5cf507345f058c9cd511ac9ea2e21974e16147db
7
+ data.tar.gz: 1d59ac1f605ecb6ca7dbb75782831d7d24776027d3c0af433eda12ecd911e83d3e3bc96e8cbc734d8b237023894402b463014a7ebd38ce15db09e98c5d306b65
@@ -1,9 +1,9 @@
1
1
  name: steps
2
2
  on:
3
3
  push:
4
- branches: [main, master]
4
+ branches: [main]
5
5
  pull_request:
6
- branches: [main, master]
6
+ branches: [main]
7
7
  jobs:
8
8
  test:
9
9
  name: test on ruby ${{ matrix.ruby }}
@@ -23,7 +23,7 @@ jobs:
23
23
  run: bundle exec overcommit --run
24
24
  strategy:
25
25
  matrix:
26
- ruby: ['3.0', '3.1', '3.2', '3.3']
26
+ ruby: ['3.2', '3.3', '3.4']
27
27
  deploy:
28
28
  if: github.ref == 'refs/heads/main'
29
29
  name: to rubygems
@@ -33,7 +33,7 @@ jobs:
33
33
  - uses: actions/checkout@master
34
34
  - uses: ruby/setup-ruby@master
35
35
  with:
36
- ruby-version: 3.3
36
+ ruby-version: 3.4
37
37
  - env:
38
38
  RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
39
39
  run: |
data/CHANGELOG.md CHANGED
@@ -2,9 +2,25 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 1.4.2
6
+
7
+ Housekeeping:
8
+
9
+ - Relax constraint limit to puma 6, exclude 7.0.0
10
+
11
+ ## 1.4.1
12
+
13
+ Housekeeping:
14
+
15
+ - Limit to puma 6
16
+ - Update dependencies
17
+ - Drop support for ruby 3.0 and 3.1
18
+ - Add support for ruby 3.4
19
+
5
20
  ## 1.4.0
6
21
 
7
22
  Housekeeping:
23
+
8
24
  - Drop support for ruby 2.7
9
25
  - Add support for ruby 3.3
10
26
  - Update dependencies
@@ -12,80 +28,97 @@ Housekeeping:
12
28
  ## 1.3.0
13
29
 
14
30
  Changes:
31
+
15
32
  - Added support for puma 6.0 or newer (#43)
16
33
 
17
34
  Housekeeping:
35
+
18
36
  - Drop support for ruby 2.6
19
37
  - Update dependencies
20
38
 
21
39
  ## 1.2.5
22
40
 
23
41
  Changes:
42
+
24
43
  - Require puma 5.0 or newer as older versions don't support the `on_stopped` introduced in version puma-metrics 1.2.4.
25
44
 
26
45
  Housekeeping:
46
+
27
47
  - Update dependencies
28
48
 
29
49
  ## 1.2.4
30
50
 
31
51
  Changes:
52
+
32
53
  - Shut down metrics server in `on_stopped` so it only stops when main puma process stops and ignores when workers are
33
54
  stopped. This allows us to maintain a running metrics server when workers restart or crash.
34
55
 
35
56
  Housekeeping:
57
+
36
58
  - Update dependencies
37
59
  - Test on ruby 3.1
38
60
 
39
61
  ## 1.2.3
40
62
 
41
63
  Housekeeping:
64
+
42
65
  - Update dependencies
43
66
 
44
67
  ## 1.2.2
45
68
 
46
69
  Changes:
70
+
47
71
  - Expose new metric `puma_requests_count` when using Puma 5
48
72
 
49
73
  ## 1.2.1
50
74
 
51
75
  Changes:
76
+
52
77
  - Drop support for ruby 2.5
53
78
 
54
79
  Housekeeping:
80
+
55
81
  - Update dependencies
56
82
  - Updates for Puma 5
57
83
 
58
84
  ## 1.2.0
59
85
 
60
86
  Changes:
87
+
61
88
  - Drop support for ruby 2.4
62
89
  - Relax prometheus-client to '>= 0.10'
63
90
 
64
91
  Housekeeping:
92
+
65
93
  - Update development dependencies
66
94
 
67
95
  ## 1.1.0
68
96
 
69
97
  Changes:
98
+
70
99
  - Upgrade prometheus-client to '~> 0.10'
71
100
 
72
101
  Housekeeping:
102
+
73
103
  - Set target version to 2.6
74
104
  - Added editorconfig
75
105
 
76
106
  ## 1.0.3
77
107
 
78
108
  Features:
109
+
79
110
  - can be used with puma 3 or puma 4
80
111
 
81
112
  ## 1.0.2
82
113
 
83
114
  Bugfixes:
115
+
84
116
  - terminate metrics server without IO errors [#7](https://github.com/harmjanblok/puma-metrics/pull/7)
85
117
 
86
118
  ## 1.0.1
87
119
 
88
120
  Bugfixes:
121
+
89
122
  - `metrics_url` in `config/puma.rb` should be optional
90
123
 
91
124
  ## 1.0.0
data/Gemfile.lock CHANGED
@@ -1,51 +1,60 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- puma-metrics (1.4.0)
4
+ puma-metrics (1.4.2)
5
5
  prometheus-client (>= 0.10)
6
- puma (>= 6.0)
6
+ puma (>= 6, != 7.0.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- ast (2.4.2)
12
- childprocess (5.0.0)
11
+ ast (2.4.3)
12
+ base64 (0.3.0)
13
+ childprocess (5.1.0)
14
+ logger (~> 1.5)
13
15
  iniparse (1.5.0)
14
- json (2.7.1)
15
- language_server-protocol (3.17.0.3)
16
- minitest (5.22.2)
17
- nio4r (2.7.0)
18
- overcommit (0.62.0)
16
+ json (2.13.2)
17
+ language_server-protocol (3.17.0.5)
18
+ lint_roller (1.1.0)
19
+ logger (1.7.0)
20
+ minitest (5.25.5)
21
+ nio4r (2.7.4)
22
+ overcommit (0.68.0)
19
23
  childprocess (>= 0.6.3, < 6)
20
24
  iniparse (~> 1.4)
21
- rexml (~> 3.2)
22
- parallel (1.24.0)
23
- parser (3.3.0.5)
25
+ rexml (>= 3.3.9)
26
+ parallel (1.27.0)
27
+ parser (3.3.9.0)
24
28
  ast (~> 2.4.1)
25
29
  racc
26
- prometheus-client (4.2.2)
27
- puma (6.4.2)
30
+ prism (1.5.1)
31
+ prometheus-client (4.2.5)
32
+ base64
33
+ puma (7.0.3)
28
34
  nio4r (~> 2.0)
29
- racc (1.7.3)
35
+ racc (1.8.1)
30
36
  rainbow (3.1.1)
31
- rake (13.1.0)
32
- regexp_parser (2.9.0)
33
- rexml (3.2.6)
34
- rubocop (1.60.2)
37
+ rake (13.3.0)
38
+ regexp_parser (2.11.3)
39
+ rexml (3.4.4)
40
+ rubocop (1.80.2)
35
41
  json (~> 2.3)
36
- language_server-protocol (>= 3.17.0)
42
+ language_server-protocol (~> 3.17.0.2)
43
+ lint_roller (~> 1.1.0)
37
44
  parallel (~> 1.10)
38
45
  parser (>= 3.3.0.2)
39
46
  rainbow (>= 2.2.2, < 4.0)
40
- regexp_parser (>= 1.8, < 3.0)
41
- rexml (>= 3.2.5, < 4.0)
42
- rubocop-ast (>= 1.30.0, < 2.0)
47
+ regexp_parser (>= 2.9.3, < 3.0)
48
+ rubocop-ast (>= 1.46.0, < 2.0)
43
49
  ruby-progressbar (~> 1.7)
44
- unicode-display_width (>= 2.4.0, < 3.0)
45
- rubocop-ast (1.30.0)
46
- parser (>= 3.2.1.0)
50
+ unicode-display_width (>= 2.4.0, < 4.0)
51
+ rubocop-ast (1.46.0)
52
+ parser (>= 3.3.7.2)
53
+ prism (~> 1.4)
47
54
  ruby-progressbar (1.13.0)
48
- unicode-display_width (2.5.0)
55
+ unicode-display_width (3.2.0)
56
+ unicode-emoji (~> 4.1)
57
+ unicode-emoji (4.1.0)
49
58
 
50
59
  PLATFORMS
51
60
  ruby
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Puma
4
4
  module Metrics
5
- VERSION = '1.4.0'
5
+ VERSION = '1.4.2'
6
6
  end
7
7
  end
data/puma-metrics.gemspec CHANGED
@@ -21,6 +21,6 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.required_ruby_version = '>= 3.0'
23
23
 
24
- spec.add_runtime_dependency 'prometheus-client', '>= 0.10'
25
- spec.add_runtime_dependency 'puma', '>= 6.0'
24
+ spec.add_dependency 'prometheus-client', '>= 0.10'
25
+ spec.add_dependency 'puma', '>= 6', '!= 7.0.0'
26
26
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puma-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harm-Jan Blok
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-02-20 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: prometheus-client
@@ -30,16 +29,21 @@ dependencies:
30
29
  requirements:
31
30
  - - ">="
32
31
  - !ruby/object:Gem::Version
33
- version: '6.0'
32
+ version: '6'
33
+ - - "!="
34
+ - !ruby/object:Gem::Version
35
+ version: 7.0.0
34
36
  type: :runtime
35
37
  prerelease: false
36
38
  version_requirements: !ruby/object:Gem::Requirement
37
39
  requirements:
38
40
  - - ">="
39
41
  - !ruby/object:Gem::Version
40
- version: '6.0'
42
+ version: '6'
43
+ - - "!="
44
+ - !ruby/object:Gem::Version
45
+ version: 7.0.0
41
46
  description: Puma plugin to export puma stats as prometheus metrics
42
- email:
43
47
  executables: []
44
48
  extensions: []
45
49
  extra_rdoc_files: []
@@ -66,7 +70,6 @@ licenses:
66
70
  - MIT
67
71
  metadata:
68
72
  rubygems_mfa_required: 'false'
69
- post_install_message:
70
73
  rdoc_options: []
71
74
  require_paths:
72
75
  - lib
@@ -81,8 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
84
  - !ruby/object:Gem::Version
82
85
  version: '0'
83
86
  requirements: []
84
- rubygems_version: 3.5.3
85
- signing_key:
87
+ rubygems_version: 3.6.9
86
88
  specification_version: 4
87
89
  summary: Puma plugin to export puma stats as prometheus metrics
88
90
  test_files: []