newrelic-sidekiq-metrics 1.4.0 → 1.5.1

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: b5b6ff91b762ddd9d46213a83e389814d13d64fc3c0dde0a56171b4fe0f27974
4
- data.tar.gz: f2d2353bfddb83a2e2e2a073a8e0cba330588ce18d6725da942845f465a77e1f
3
+ metadata.gz: d1e8c9bbcd7e70752c1593e0ffd7b938d0f6b9385dd584b5d5d811af2f98a11e
4
+ data.tar.gz: 5f84f2514d43cbbe99a43b1430e9decf7b7187ccf9f6905fd6bf93aa65719129
5
5
  SHA512:
6
- metadata.gz: 0ef88775f66d9e968d056d5451ed0dfc4818f31fa2764f5975741a996e5c9cd0a2b013cb3597259752256dbfb2baa0326f2623677f1103978db42e3b617fda1b
7
- data.tar.gz: f9c580da9b0a71c2cc49605f0653f5be95b97fddf5795df84eafbcd65b1a1d8c0a46e3b997148b3f61edbc5f24bf4050c0cc3dc942606082677b9f75b40c82ca
6
+ metadata.gz: '079caa814c2cdc89b8daa752eecb77fa5dbfde12c9cb09ea596a0421640ebe883b256841091c2c087725afdc03789c2b6891798df26ff99697b9f24e5e238423'
7
+ data.tar.gz: df4bb13f51c25d46a0cf53fe5d9ca16ea2fc8f46d4d92c9fbdbe3780c7d779b1d5cf91d46d2a4eef0ddac875210d4d512a72a43293036f224be0dce264f8e808
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.2.29
1
+ 2.3.12
@@ -2,15 +2,13 @@
2
2
  # this will allow Dependabot to automatically merge dependency update PRs where CI passes
3
3
  # from: https://github.com/hmarr/auto-approve-action
4
4
  name: Auto approve dependency upgrades PRs
5
-
6
- on:
7
- pull_request
5
+ on: pull_request_target
8
6
 
9
7
  jobs:
10
8
  auto-approve:
11
9
  runs-on: ubuntu-latest
12
10
  steps:
13
- - uses: hmarr/auto-approve-action@v2.0.0
11
+ - uses: hmarr/auto-approve-action@v2
14
12
  if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev'
15
13
  with:
16
14
  github-token: "${{ secrets.GITHUB_TOKEN }}"
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- ruby-version: ['2.7', '3.0']
14
+ ruby-version: ['3.0', 3.1]
15
15
 
16
16
  steps:
17
17
  - uses: actions/checkout@v2
@@ -19,7 +19,7 @@ jobs:
19
19
  # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
20
20
  # change this to (see https://github.com/ruby/setup-ruby#versioning):
21
21
  # uses: ruby/setup-ruby@v1
22
- uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
22
+ uses: ruby/setup-ruby@bd94d6a504586da892a5753afdd1480096ed30df
23
23
  with:
24
24
  ruby-version: ${{ matrix.ruby-version }}
25
25
  bundler-cache: true # runs 'bundle install' and caches installed gems automatically
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- newrelic-sidekiq-metrics (1.4.0)
4
+ newrelic-sidekiq-metrics (1.5.1)
5
5
  newrelic_rpm (~> 8)
6
6
  sidekiq (~> 6.2)
7
7
 
@@ -11,51 +11,51 @@ GEM
11
11
  ast (2.4.2)
12
12
  coderay (1.1.3)
13
13
  connection_pool (2.2.5)
14
- diff-lcs (1.4.4)
14
+ diff-lcs (1.5.0)
15
15
  method_source (1.0.0)
16
- newrelic_rpm (8.0.0)
17
- parallel (1.21.0)
18
- parser (3.0.2.0)
16
+ newrelic_rpm (8.6.0)
17
+ parallel (1.22.1)
18
+ parser (3.1.2.0)
19
19
  ast (~> 2.4.1)
20
20
  pry (0.14.1)
21
21
  coderay (~> 1.1)
22
22
  method_source (~> 1.0)
23
23
  rack (2.2.3)
24
- rainbow (3.0.0)
24
+ rainbow (3.1.1)
25
25
  rake (13.0.6)
26
- redis (4.5.1)
27
- regexp_parser (2.1.1)
26
+ redis (4.6.0)
27
+ regexp_parser (2.3.1)
28
28
  rexml (3.2.5)
29
- rspec (3.10.0)
30
- rspec-core (~> 3.10.0)
31
- rspec-expectations (~> 3.10.0)
32
- rspec-mocks (~> 3.10.0)
33
- rspec-core (3.10.1)
34
- rspec-support (~> 3.10.0)
35
- rspec-expectations (3.10.1)
29
+ rspec (3.11.0)
30
+ rspec-core (~> 3.11.0)
31
+ rspec-expectations (~> 3.11.0)
32
+ rspec-mocks (~> 3.11.0)
33
+ rspec-core (3.11.0)
34
+ rspec-support (~> 3.11.0)
35
+ rspec-expectations (3.11.0)
36
36
  diff-lcs (>= 1.2.0, < 2.0)
37
- rspec-support (~> 3.10.0)
38
- rspec-mocks (3.10.2)
37
+ rspec-support (~> 3.11.0)
38
+ rspec-mocks (3.11.1)
39
39
  diff-lcs (>= 1.2.0, < 2.0)
40
- rspec-support (~> 3.10.0)
41
- rspec-support (3.10.2)
42
- rubocop (1.22.1)
40
+ rspec-support (~> 3.11.0)
41
+ rspec-support (3.11.0)
42
+ rubocop (1.28.2)
43
43
  parallel (~> 1.10)
44
- parser (>= 3.0.0.0)
44
+ parser (>= 3.1.0.0)
45
45
  rainbow (>= 2.2.2, < 4.0)
46
46
  regexp_parser (>= 1.8, < 3.0)
47
47
  rexml
48
- rubocop-ast (>= 1.12.0, < 2.0)
48
+ rubocop-ast (>= 1.17.0, < 2.0)
49
49
  ruby-progressbar (~> 1.7)
50
50
  unicode-display_width (>= 1.4.0, < 3.0)
51
- rubocop-ast (1.12.0)
52
- parser (>= 3.0.1.1)
51
+ rubocop-ast (1.17.0)
52
+ parser (>= 3.1.1.0)
53
53
  rubocop-rake (0.6.0)
54
54
  rubocop (~> 1.0)
55
- rubocop-rspec (2.5.0)
55
+ rubocop-rspec (2.10.0)
56
56
  rubocop (~> 1.19)
57
57
  ruby-progressbar (1.11.0)
58
- sidekiq (6.2.2)
58
+ sidekiq (6.4.2)
59
59
  connection_pool (>= 2.2.2)
60
60
  rack (~> 2.0)
61
61
  redis (>= 4.2.0)
@@ -63,9 +63,11 @@ GEM
63
63
 
64
64
  PLATFORMS
65
65
  aarch64-linux-musl
66
+ ruby
66
67
  x86_64-darwin-18
67
68
  x86_64-darwin-19
68
69
  x86_64-darwin-20
70
+ x86_64-darwin-21
69
71
  x86_64-linux
70
72
 
71
73
  DEPENDENCIES
@@ -79,4 +81,4 @@ DEPENDENCIES
79
81
  rubocop-rspec
80
82
 
81
83
  BUNDLED WITH
82
- 2.2.29
84
+ 2.3.12
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/newrelic-sidekiq-metrics.svg)](https://rubygems.org/gems/newrelic-sidekiq-metrics)
2
- [![Build Status](https://travis-ci.org/RenoFi/newrelic-sidekiq-metrics.svg?branch=master)](https://travis-ci.org/RenoFi/newrelic-sidekiq-metrics)
2
+ [![Build Status](https://github.com/RenoFi/newrelic-sidekiq-metrics/actions/workflows/ci.yml/badge.svg)](https://github.com/RenoFi/newrelic-sidekiq-metrics/actions/workflows/ci.yml?query=branch%3Amain)
3
3
 
4
4
  # newrelic-sidekiq-metrics
5
5
 
@@ -18,6 +18,7 @@ module NewrelicSidekiqMetrics
18
18
 
19
19
  def get_stat(name)
20
20
  return 0 if NewrelicSidekiqMetrics.inline_sidekiq?
21
+
21
22
  stats.public_send(name)
22
23
  end
23
24
 
@@ -1,3 +1,3 @@
1
1
  module NewrelicSidekiqMetrics
2
- VERSION = "1.4.0".freeze
2
+ VERSION = '1.5.1'.freeze
3
3
  end
@@ -14,6 +14,7 @@ Gem::Specification.new do |spec|
14
14
 
15
15
  spec.metadata['homepage_uri'] = 'https://github.com/RenoFi/newrelic-sidekiq-metrics'
16
16
  spec.metadata['source_code_uri'] = 'https://github.com/RenoFi/newrelic-sidekiq-metrics'
17
+ spec.metadata['rubygems_mfa_required'] = 'true'
17
18
 
18
19
  spec.files = Dir.chdir(__dir__) do
19
20
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin/|spec/|\.rub)}) }
@@ -22,7 +23,7 @@ Gem::Specification.new do |spec|
22
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
24
  spec.require_paths = ['lib']
24
25
 
25
- spec.required_ruby_version = '>= 2.6'
26
+ spec.required_ruby_version = '>= 3.0'
26
27
 
27
28
  spec.add_dependency 'newrelic_rpm', '~> 8'
28
29
  spec.add_dependency 'sidekiq', '~> 6.2'
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.4.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krzysztof Knapik
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-10-17 00:00:00.000000000 Z
12
+ date: 2022-05-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: newrelic_rpm
@@ -173,6 +173,7 @@ licenses:
173
173
  metadata:
174
174
  homepage_uri: https://github.com/RenoFi/newrelic-sidekiq-metrics
175
175
  source_code_uri: https://github.com/RenoFi/newrelic-sidekiq-metrics
176
+ rubygems_mfa_required: 'true'
176
177
  post_install_message:
177
178
  rdoc_options: []
178
179
  require_paths:
@@ -181,14 +182,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
181
182
  requirements:
182
183
  - - ">="
183
184
  - !ruby/object:Gem::Version
184
- version: '2.6'
185
+ version: '3.0'
185
186
  required_rubygems_version: !ruby/object:Gem::Requirement
186
187
  requirements:
187
188
  - - ">="
188
189
  - !ruby/object:Gem::Version
189
190
  version: '0'
190
191
  requirements: []
191
- rubygems_version: 3.2.23
192
+ rubygems_version: 3.3.11
192
193
  signing_key:
193
194
  specification_version: 4
194
195
  summary: Implements recording Sidekiq stats to New Relic metrics.