newrelic-sidekiq-metrics 1.6.0 → 1.6.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: c32a39a9abdd43a7ef2e3c24d647fb21edf939d4b976e85ba46b9527753aefd9
4
- data.tar.gz: cc4071084e8a4be80da20f9c6455a40b0aa675a2b4c2cb1486500ba31fbf6f5f
3
+ metadata.gz: 6c39889a91bb2f1e2095d3cb69ce25e04b8b094fa60515d01c0c2d7fefa45380
4
+ data.tar.gz: 4755388c16adac08e65415ebb29bee75ce7a5f3743f1c7c3bff04cd20428efe9
5
5
  SHA512:
6
- metadata.gz: 9e6f3be9cc26efb0dd7c19840282953a89561cab26e84bd67497ee99f6e4c31d8218cddf33c37d0a6435fddcdb265057368817878cac08257ebe7a7aeb7d7325
7
- data.tar.gz: 23a5c8e5667ded1f39fbe9b9aba67d8a86cb02245833a3a37a1b35fb3a5274f8c18395206a1df0d277b8d400b66e3fb4d4d4adea88d442885af5e1de06436fce
6
+ metadata.gz: 53429ff5cfa3cd475b8b0fbb3b6e31664ba89a75eb5b69fd0114fed7455262e708daccc3a8c76017d162291aab668e37bd2d8980070a971a7f97c429f604a21c
7
+ data.tar.gz: f5eefae681f5f7392626d150de41c3fb9440beae1e76f4a1437216abbd3d16bc997e09824ab055ccad4f564f3cfdebe21df76b154f003e3e5cfa03da5706ed92
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.3.26
1
+ 2.4.21
@@ -14,3 +14,6 @@ update_configs:
14
14
  - match:
15
15
  dependency_type: "all"
16
16
  update_type: "security:patch"
17
+ labels:
18
+ - "automerge"
19
+ - "dependencies"
@@ -1,14 +1,13 @@
1
- # automatically approve PRs submitted by Dependabot or Renofidev
2
- # this will allow Dependabot to automatically merge dependency update PRs where CI passes
3
- # from: https://github.com/hmarr/auto-approve-action
4
- name: Auto approve dependency upgrades PRs
5
- on: pull_request_target
1
+ name: Auto approve dependency upgrades and hot-fix PRs
2
+ on:
3
+ pull_request_target:
4
+ types: [labeled, unlabeled, edited, ready_for_review, review_requested, auto_merge_enabled]
6
5
 
7
6
  jobs:
8
7
  auto-approve:
9
8
  runs-on: ubuntu-latest
10
9
  steps:
11
- - uses: hmarr/auto-approve-action@v2
12
- if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev'
13
- with:
14
- github-token: "${{ secrets.GITHUB_TOKEN }}"
10
+ - uses: hmarr/auto-approve-action@v3
11
+ if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev' || contains(toJson(github), 'HOTFIX-AUTO-APPROVE')
12
+ with:
13
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
@@ -0,0 +1,24 @@
1
+ name: automerge-dependencies
2
+ on:
3
+ pull_request_review:
4
+ types:
5
+ - submitted
6
+ check_suite:
7
+ types:
8
+ - completed
9
+ label:
10
+ types:
11
+ - created
12
+ status: {}
13
+ jobs:
14
+ automerge:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - name: automerge-dependencies
18
+ uses: pascalgn/automerge-action@v0.15.6
19
+ env:
20
+ GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
21
+ MERGE_METHOD: squash
22
+ MERGE_DELETE_BRANCH: true
23
+ MERGE_LABELS: dependencies
24
+ MERGE_REMOVE_LABELS: ""
@@ -6,13 +6,16 @@ on:
6
6
  check_suite:
7
7
  types:
8
8
  - completed
9
+ label:
10
+ types:
11
+ - created
9
12
  status: {}
10
13
  jobs:
11
14
  automerge:
12
15
  runs-on: ubuntu-latest
13
16
  steps:
14
17
  - name: automerge
15
- uses: "pascalgn/automerge-action@v0.12.0"
18
+ uses: pascalgn/automerge-action@v0.15.6
16
19
  env:
17
20
  GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
18
21
  MERGE_METHOD: squash
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- ruby-version: ['3.0', 3.1]
14
+ ruby-version: [3.1, 3.2]
15
15
 
16
16
  steps:
17
17
  - uses: actions/checkout@v3
data/Gemfile CHANGED
@@ -1,3 +1,11 @@
1
1
  source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
+
5
+ gem 'bundler'
6
+ gem 'pry'
7
+ gem 'rake'
8
+ gem 'rspec'
9
+ gem 'rubocop'
10
+ gem 'rubocop-rake'
11
+ gem 'rubocop-rspec'
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- newrelic-sidekiq-metrics (1.6.0)
5
- newrelic_rpm (~> 8)
4
+ newrelic-sidekiq-metrics (1.6.2)
5
+ newrelic_rpm (>= 8.0.0)
6
6
  sidekiq
7
7
 
8
8
  GEM
@@ -10,61 +10,71 @@ GEM
10
10
  specs:
11
11
  ast (2.4.2)
12
12
  coderay (1.1.3)
13
- concurrent-ruby (1.1.10)
14
- connection_pool (2.3.0)
13
+ concurrent-ruby (1.2.2)
14
+ connection_pool (2.4.1)
15
15
  diff-lcs (1.5.0)
16
16
  json (2.6.3)
17
+ language_server-protocol (3.17.0.3)
17
18
  method_source (1.0.0)
18
- newrelic_rpm (8.13.1)
19
- parallel (1.22.1)
20
- parser (3.1.3.0)
19
+ newrelic_rpm (9.5.0)
20
+ parallel (1.23.0)
21
+ parser (3.2.2.4)
21
22
  ast (~> 2.4.1)
22
- pry (0.14.1)
23
+ racc
24
+ pry (0.14.2)
23
25
  coderay (~> 1.1)
24
26
  method_source (~> 1.0)
25
- rack (3.0.2)
27
+ racc (1.7.1)
28
+ rack (3.0.8)
26
29
  rainbow (3.1.1)
27
- rake (13.0.6)
28
- redis-client (0.11.2)
30
+ rake (13.1.0)
31
+ redis-client (0.18.0)
29
32
  connection_pool
30
- regexp_parser (2.6.1)
31
- rexml (3.2.5)
33
+ regexp_parser (2.8.2)
34
+ rexml (3.2.6)
32
35
  rspec (3.12.0)
33
36
  rspec-core (~> 3.12.0)
34
37
  rspec-expectations (~> 3.12.0)
35
38
  rspec-mocks (~> 3.12.0)
36
- rspec-core (3.12.0)
39
+ rspec-core (3.12.2)
37
40
  rspec-support (~> 3.12.0)
38
- rspec-expectations (3.12.0)
41
+ rspec-expectations (3.12.3)
39
42
  diff-lcs (>= 1.2.0, < 2.0)
40
43
  rspec-support (~> 3.12.0)
41
- rspec-mocks (3.12.1)
44
+ rspec-mocks (3.12.6)
42
45
  diff-lcs (>= 1.2.0, < 2.0)
43
46
  rspec-support (~> 3.12.0)
44
- rspec-support (3.12.0)
45
- rubocop (1.40.0)
47
+ rspec-support (3.12.1)
48
+ rubocop (1.57.2)
46
49
  json (~> 2.3)
50
+ language_server-protocol (>= 3.17.0)
47
51
  parallel (~> 1.10)
48
- parser (>= 3.1.2.1)
52
+ parser (>= 3.2.2.4)
49
53
  rainbow (>= 2.2.2, < 4.0)
50
54
  regexp_parser (>= 1.8, < 3.0)
51
55
  rexml (>= 3.2.5, < 4.0)
52
- rubocop-ast (>= 1.23.0, < 2.0)
56
+ rubocop-ast (>= 1.28.1, < 2.0)
53
57
  ruby-progressbar (~> 1.7)
54
- unicode-display_width (>= 1.4.0, < 3.0)
55
- rubocop-ast (1.24.0)
56
- parser (>= 3.1.1.0)
58
+ unicode-display_width (>= 2.4.0, < 3.0)
59
+ rubocop-ast (1.30.0)
60
+ parser (>= 3.2.1.0)
61
+ rubocop-capybara (2.19.0)
62
+ rubocop (~> 1.41)
63
+ rubocop-factory_bot (2.24.0)
64
+ rubocop (~> 1.33)
57
65
  rubocop-rake (0.6.0)
58
66
  rubocop (~> 1.0)
59
- rubocop-rspec (2.15.0)
60
- rubocop (~> 1.33)
61
- ruby-progressbar (1.11.0)
62
- sidekiq (7.0.2)
67
+ rubocop-rspec (2.25.0)
68
+ rubocop (~> 1.40)
69
+ rubocop-capybara (~> 2.17)
70
+ rubocop-factory_bot (~> 2.22)
71
+ ruby-progressbar (1.13.0)
72
+ sidekiq (7.1.6)
63
73
  concurrent-ruby (< 2)
64
74
  connection_pool (>= 2.3.0)
65
75
  rack (>= 2.2.4)
66
- redis-client (>= 0.11.0)
67
- unicode-display_width (2.3.0)
76
+ redis-client (>= 0.14.0)
77
+ unicode-display_width (2.5.0)
68
78
 
69
79
  PLATFORMS
70
80
  aarch64-linux-musl
@@ -86,4 +96,4 @@ DEPENDENCIES
86
96
  rubocop-rspec
87
97
 
88
98
  BUNDLED WITH
89
- 2.3.26
99
+ 2.4.21
@@ -1,3 +1,3 @@
1
1
  module NewrelicSidekiqMetrics
2
- VERSION = '1.6.0'.freeze
2
+ VERSION = '1.6.2'.freeze
3
3
  end
@@ -23,16 +23,8 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ['lib']
25
25
 
26
- spec.required_ruby_version = '>= 3.0'
26
+ spec.required_ruby_version = '>= 3.1'
27
27
 
28
- spec.add_dependency 'newrelic_rpm', '~> 8'
28
+ spec.add_dependency 'newrelic_rpm', '>= 8.0.0'
29
29
  spec.add_dependency 'sidekiq'
30
-
31
- spec.add_development_dependency 'bundler'
32
- spec.add_development_dependency 'pry'
33
- spec.add_development_dependency 'rake'
34
- spec.add_development_dependency 'rspec'
35
- spec.add_development_dependency 'rubocop'
36
- spec.add_development_dependency 'rubocop-rake'
37
- spec.add_development_dependency 'rubocop-rspec'
38
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic-sidekiq-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krzysztof Knapik
@@ -9,128 +9,30 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-12-13 00:00:00.000000000 Z
12
+ date: 2023-10-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: newrelic_rpm
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - "~>"
19
- - !ruby/object:Gem::Version
20
- version: '8'
21
- type: :runtime
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - "~>"
26
- - !ruby/object:Gem::Version
27
- version: '8'
28
- - !ruby/object:Gem::Dependency
29
- name: sidekiq
30
16
  requirement: !ruby/object:Gem::Requirement
31
17
  requirements:
32
18
  - - ">="
33
19
  - !ruby/object:Gem::Version
34
- version: '0'
20
+ version: 8.0.0
35
21
  type: :runtime
36
22
  prerelease: false
37
23
  version_requirements: !ruby/object:Gem::Requirement
38
24
  requirements:
39
25
  - - ">="
40
26
  - !ruby/object:Gem::Version
41
- version: '0'
42
- - !ruby/object:Gem::Dependency
43
- name: bundler
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - ">="
47
- - !ruby/object:Gem::Version
48
- version: '0'
49
- type: :development
50
- prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- version: '0'
56
- - !ruby/object:Gem::Dependency
57
- name: pry
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- version: '0'
63
- type: :development
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: '0'
70
- - !ruby/object:Gem::Dependency
71
- name: rake
72
- requirement: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- version: '0'
77
- type: :development
78
- prerelease: false
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - ">="
82
- - !ruby/object:Gem::Version
83
- version: '0'
84
- - !ruby/object:Gem::Dependency
85
- name: rspec
86
- requirement: !ruby/object:Gem::Requirement
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: '0'
91
- type: :development
92
- prerelease: false
93
- version_requirements: !ruby/object:Gem::Requirement
94
- requirements:
95
- - - ">="
96
- - !ruby/object:Gem::Version
97
- version: '0'
27
+ version: 8.0.0
98
28
  - !ruby/object:Gem::Dependency
99
- name: rubocop
100
- requirement: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - ">="
103
- - !ruby/object:Gem::Version
104
- version: '0'
105
- type: :development
106
- prerelease: false
107
- version_requirements: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - ">="
110
- - !ruby/object:Gem::Version
111
- version: '0'
112
- - !ruby/object:Gem::Dependency
113
- name: rubocop-rake
114
- requirement: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - ">="
117
- - !ruby/object:Gem::Version
118
- version: '0'
119
- type: :development
120
- prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- requirements:
123
- - - ">="
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
- - !ruby/object:Gem::Dependency
127
- name: rubocop-rspec
29
+ name: sidekiq
128
30
  requirement: !ruby/object:Gem::Requirement
129
31
  requirements:
130
32
  - - ">="
131
33
  - !ruby/object:Gem::Version
132
34
  version: '0'
133
- type: :development
35
+ type: :runtime
134
36
  prerelease: false
135
37
  version_requirements: !ruby/object:Gem::Requirement
136
38
  requirements:
@@ -152,6 +54,7 @@ files:
152
54
  - ".github/ISSUE_TEMPLATE/story.md"
153
55
  - ".github/PULL_REQUEST_TEMPLATE.md"
154
56
  - ".github/workflows/auto-approve.yml"
57
+ - ".github/workflows/auto-merge-dependencies.yml"
155
58
  - ".github/workflows/auto-merge.yml"
156
59
  - ".github/workflows/ci.yml"
157
60
  - ".gitignore"
@@ -182,14 +85,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
182
85
  requirements:
183
86
  - - ">="
184
87
  - !ruby/object:Gem::Version
185
- version: '3.0'
88
+ version: '3.1'
186
89
  required_rubygems_version: !ruby/object:Gem::Requirement
187
90
  requirements:
188
91
  - - ">="
189
92
  - !ruby/object:Gem::Version
190
93
  version: '0'
191
94
  requirements: []
192
- rubygems_version: 3.3.26
95
+ rubygems_version: 3.4.21
193
96
  signing_key:
194
97
  specification_version: 4
195
98
  summary: Implements recording Sidekiq stats to New Relic metrics.