newrelic-sidekiq-metrics 1.3.0.rc → 1.4.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: ac355c0f12a994203e55ad29daa0c88d2b6a1ac2f229bf34fb206ccb552e0b27
4
- data.tar.gz: ceaf12efc746145568a38aac2bcdd4c376785786a5179d21972da83ab1965860
3
+ metadata.gz: 8241f2e8c3b2a0d51b0f3c2ee4d775d965fe312969cd16e68e5bca92e122b581
4
+ data.tar.gz: f80777abee0e57d21a9b46611d1dfe70cdb53547f5809ceeaf778141d8fa825e
5
5
  SHA512:
6
- metadata.gz: f20eab6b4f238e5742ae0b75bed454e81c36d3f85156df2ef9959b07910c8483d2ae8ecc7d4ba8df1f7855a2d0395e3967e18b2b0d24e6d02e152950e86f9806
7
- data.tar.gz: 0da8b76462690344ad5484c7adef13cdb8df05d2633af34eb0535217e352ada510e4e3592a60e728b05cc35b1317fe4bd9b3dafa75847faedfee181185cbe180
6
+ metadata.gz: d2a7f812fe6ab9cfb45aea9a3dd734a643839c9408890ccb27be47f3ffaff8e981d91abd283afbd548573c35b1b372ba58e556bc4462ea047544f14d038ebf74
7
+ data.tar.gz: 2d95ef05eab5fbe23271613074b16300ed17d3a081b9e764716ec68bd3c647451f748ca4d4cc32348adef36756e15ca758fe5e6bcfc0666d4cf051ab2341994b
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.2.16
1
+ 2.2.32
@@ -1,18 +1,6 @@
1
- ## Description
1
+ ## Description, motivation and context
2
2
  <!--- Describe your changes in detail -->
3
-
4
- ## Related issue(s)
5
- <!--- GH issue number -->
6
-
7
- ## Motivation and Context
8
3
  <!--- Why is this change required? What problem does it solve? -->
9
- <!--- If it fixes an open issue, please link to the issue here. -->
10
4
 
11
- ## How Has This Been Tested?
12
- <!--- Please describe in detail how you tested your changes. -->
13
-
14
- ## Screenshots (if appropriate):
15
- <!--- Please add any screenshots of the feature. -->
16
-
17
- ## Related PRs
18
- <!--- Please add links to any related PRs (backend, component packages, etc). -->
5
+ ## Related issue(s) or PR(s)
6
+ <!--- GH issue number -->
@@ -10,7 +10,7 @@ jobs:
10
10
  auto-approve:
11
11
  runs-on: ubuntu-latest
12
12
  steps:
13
- - uses: hmarr/auto-approve-action@v2.0.0
13
+ - uses: hmarr/auto-approve-action@v2
14
14
  if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev'
15
15
  with:
16
16
  github-token: "${{ secrets.GITHUB_TOKEN }}"
@@ -0,0 +1,28 @@
1
+ name: Ruby CI
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ branches: [ main ]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ ruby-version: ['2.7', '3.0']
15
+
16
+ steps:
17
+ - uses: actions/checkout@v2
18
+ - name: Set up Ruby
19
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
20
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
21
+ # uses: ruby/setup-ruby@v1
22
+ uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
23
+ with:
24
+ ruby-version: ${{ matrix.ruby-version }}
25
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
26
+
27
+ - name: Run tests
28
+ run: bundle exec rake ci
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- newrelic-sidekiq-metrics (1.3.0.rc)
5
- newrelic_rpm (~> 7.0)
4
+ newrelic-sidekiq-metrics (1.4.1)
5
+ newrelic_rpm (~> 8)
6
6
  sidekiq (~> 6.2)
7
7
 
8
8
  GEM
@@ -13,17 +13,17 @@ GEM
13
13
  connection_pool (2.2.5)
14
14
  diff-lcs (1.4.4)
15
15
  method_source (1.0.0)
16
- newrelic_rpm (7.0.0)
17
- parallel (1.20.1)
18
- parser (3.0.1.0)
16
+ newrelic_rpm (8.1.0)
17
+ parallel (1.21.0)
18
+ parser (3.0.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
24
  rainbow (3.0.0)
25
- rake (13.0.3)
26
- redis (4.2.5)
25
+ rake (13.0.6)
26
+ redis (4.5.1)
27
27
  regexp_parser (2.1.1)
28
28
  rexml (3.2.5)
29
29
  rspec (3.10.0)
@@ -38,32 +38,34 @@ GEM
38
38
  rspec-mocks (3.10.2)
39
39
  diff-lcs (>= 1.2.0, < 2.0)
40
40
  rspec-support (~> 3.10.0)
41
- rspec-support (3.10.2)
42
- rubocop (1.13.0)
41
+ rspec-support (3.10.3)
42
+ rubocop (1.23.0)
43
43
  parallel (~> 1.10)
44
44
  parser (>= 3.0.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.2.0, < 2.0)
48
+ rubocop-ast (>= 1.12.0, < 2.0)
49
49
  ruby-progressbar (~> 1.7)
50
50
  unicode-display_width (>= 1.4.0, < 3.0)
51
- rubocop-ast (1.4.1)
52
- parser (>= 2.7.1.5)
53
- rubocop-rake (0.5.1)
54
- rubocop
55
- rubocop-rspec (2.2.0)
51
+ rubocop-ast (1.13.0)
52
+ parser (>= 3.0.1.1)
53
+ rubocop-rake (0.6.0)
56
54
  rubocop (~> 1.0)
57
- rubocop-ast (>= 1.1.0)
55
+ rubocop-rspec (2.6.0)
56
+ rubocop (~> 1.19)
58
57
  ruby-progressbar (1.11.0)
59
- sidekiq (6.2.1)
58
+ sidekiq (6.3.1)
60
59
  connection_pool (>= 2.2.2)
61
60
  rack (~> 2.0)
62
61
  redis (>= 4.2.0)
63
- unicode-display_width (2.0.0)
62
+ unicode-display_width (2.1.0)
64
63
 
65
64
  PLATFORMS
66
- ruby
65
+ aarch64-linux-musl
66
+ x86_64-darwin-18
67
+ x86_64-darwin-19
68
+ x86_64-darwin-20
67
69
  x86_64-linux
68
70
 
69
71
  DEPENDENCIES
@@ -77,4 +79,4 @@ DEPENDENCIES
77
79
  rubocop-rspec
78
80
 
79
81
  BUNDLED WITH
80
- 2.2.15
82
+ 2.2.29
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
 
data/Rakefile CHANGED
@@ -1,9 +1,9 @@
1
1
  require 'bundler/gem_tasks'
2
2
  require 'rspec/core/rake_task'
3
3
  require 'rubocop/rake_task'
4
- require 'newrelic_sidekiq_metrics'
5
4
 
6
5
  RSpec::Core::RakeTask.new(:spec)
7
6
  RuboCop::RakeTask.new
8
7
 
9
- task default: %w[spec rubocop:auto_correct]
8
+ task ci: %i[spec rubocop]
9
+ task default: %i[spec rubocop:auto_correct]
@@ -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.3.0.rc".freeze
2
+ VERSION = "1.4.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)}) }
@@ -24,7 +25,7 @@ Gem::Specification.new do |spec|
24
25
 
25
26
  spec.required_ruby_version = '>= 2.6'
26
27
 
27
- spec.add_dependency 'newrelic_rpm', '~> 7.0'
28
+ spec.add_dependency 'newrelic_rpm', '~> 8'
28
29
  spec.add_dependency 'sidekiq', '~> 6.2'
29
30
 
30
31
  spec.add_development_dependency 'bundler'
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.3.0.rc
4
+ version: 1.4.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-04-27 00:00:00.000000000 Z
12
+ date: 2021-11-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: newrelic_rpm
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '7.0'
20
+ version: '8'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '7.0'
27
+ version: '8'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: sidekiq
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -153,9 +153,9 @@ files:
153
153
  - ".github/PULL_REQUEST_TEMPLATE.md"
154
154
  - ".github/workflows/auto-approve.yml"
155
155
  - ".github/workflows/auto-merge.yml"
156
+ - ".github/workflows/ci.yml"
156
157
  - ".gitignore"
157
158
  - ".rspec"
158
- - ".travis.yml"
159
159
  - Gemfile
160
160
  - Gemfile.lock
161
161
  - LICENSE
@@ -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:
@@ -184,11 +185,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
184
185
  version: '2.6'
185
186
  required_rubygems_version: !ruby/object:Gem::Requirement
186
187
  requirements:
187
- - - ">"
188
+ - - ">="
188
189
  - !ruby/object:Gem::Version
189
- version: 1.3.1
190
+ version: '0'
190
191
  requirements: []
191
- rubygems_version: 3.2.15
192
+ rubygems_version: 3.2.23
192
193
  signing_key:
193
194
  specification_version: 4
194
195
  summary: Implements recording Sidekiq stats to New Relic metrics.
data/.travis.yml DELETED
@@ -1,14 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.6
7
- - 2.7
8
- - 3.0
9
- before_install: gem install bundler
10
- script:
11
- - bundle exec rake rubocop
12
- - bundle exec rake spec
13
- services:
14
- - redis-server