newrelic-sidekiq-metrics 1.2.0 → 1.4.0

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: ff0aad65cd83cb47a11b9cdb7cdfbb23044fdf7c565d8dd85b0b90d30a273453
4
- data.tar.gz: 78054abb2a57917468f409c3a19564ffe37a9a15cbff1a50a01f5ed9d95df6fb
3
+ metadata.gz: b5b6ff91b762ddd9d46213a83e389814d13d64fc3c0dde0a56171b4fe0f27974
4
+ data.tar.gz: f2d2353bfddb83a2e2e2a073a8e0cba330588ce18d6725da942845f465a77e1f
5
5
  SHA512:
6
- metadata.gz: 05ea0a727319ff8e3b98bb26999f5e1c103c81bbf4870bd1360f4ba68436eec4d50adfc7168ff1555ffbfa220ed6f11a58e54d815ae4ea1181b24b0b9feefc3f
7
- data.tar.gz: 0c6486e4da0b24fffc90fc37d01dc7597837c9d9f2c50422bc6ec8f411ba5dc5fcf43187aa865412e9b1e24e57dc6efd51a88d523f5d90b16eeb0362b5d34128
6
+ metadata.gz: 0ef88775f66d9e968d056d5451ed0dfc4818f31fa2764f5975741a996e5c9cd0a2b013cb3597259752256dbfb2baa0326f2623677f1103978db42e3b617fda1b
7
+ data.tar.gz: f9c580da9b0a71c2cc49605f0653f5be95b97fddf5795df84eafbcd65b1a1d8c0a46e3b997148b3f61edbc5f24bf4050c0cc3dc942606082677b9f75b40c82ca
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.2.14
1
+ 2.2.29
@@ -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 -->
@@ -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,31 +1,31 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- newrelic-sidekiq-metrics (1.2.0)
5
- newrelic_rpm (~> 6.14)
6
- sidekiq (~> 6.1)
4
+ newrelic-sidekiq-metrics (1.4.0)
5
+ newrelic_rpm (~> 8)
6
+ sidekiq (~> 6.2)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
11
  ast (2.4.2)
12
12
  coderay (1.1.3)
13
- connection_pool (2.2.3)
13
+ connection_pool (2.2.5)
14
14
  diff-lcs (1.4.4)
15
15
  method_source (1.0.0)
16
- newrelic_rpm (6.15.0)
17
- parallel (1.20.1)
18
- parser (3.0.0.0)
16
+ newrelic_rpm (8.0.0)
17
+ parallel (1.21.0)
18
+ parser (3.0.2.0)
19
19
  ast (~> 2.4.1)
20
- pry (0.14.0)
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
- rexml (3.2.4)
28
+ rexml (3.2.5)
29
29
  rspec (3.10.0)
30
30
  rspec-core (~> 3.10.0)
31
31
  rspec-expectations (~> 3.10.0)
@@ -39,31 +39,33 @@ GEM
39
39
  diff-lcs (>= 1.2.0, < 2.0)
40
40
  rspec-support (~> 3.10.0)
41
41
  rspec-support (3.10.2)
42
- rubocop (1.11.0)
42
+ rubocop (1.22.1)
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.12.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.5.0)
56
+ rubocop (~> 1.19)
58
57
  ruby-progressbar (1.11.0)
59
- sidekiq (6.2.0)
58
+ sidekiq (6.2.2)
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/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]
@@ -1,3 +1,3 @@
1
1
  module NewrelicSidekiqMetrics
2
- VERSION = "1.2.0".freeze
2
+ VERSION = "1.4.0".freeze
3
3
  end
@@ -24,8 +24,8 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.required_ruby_version = '>= 2.6'
26
26
 
27
- spec.add_dependency 'newrelic_rpm', '~> 6.14'
28
- spec.add_dependency 'sidekiq', '~> 6.1'
27
+ spec.add_dependency 'newrelic_rpm', '~> 8'
28
+ spec.add_dependency 'sidekiq', '~> 6.2'
29
29
 
30
30
  spec.add_development_dependency 'bundler'
31
31
  spec.add_development_dependency 'pry'
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.2.0
4
+ version: 1.4.0
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-03-23 00:00:00.000000000 Z
12
+ date: 2021-10-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: newrelic_rpm
@@ -17,28 +17,28 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '6.14'
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: '6.14'
27
+ version: '8'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: sidekiq
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '6.1'
34
+ version: '6.2'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '6.1'
41
+ version: '6.2'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: bundler
44
44
  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
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  - !ruby/object:Gem::Version
189
189
  version: '0'
190
190
  requirements: []
191
- rubygems_version: 3.2.15
191
+ rubygems_version: 3.2.23
192
192
  signing_key:
193
193
  specification_version: 4
194
194
  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