sidekiq-monitoring 1.3.3 → 1.3.6

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: 8cfa991000de64236ddb8d049ce26f3f27c39c2374ef531476e39b272e1fb5a2
4
- data.tar.gz: 08d3aa2da6b48c64ad29bfdedc7429565e9660f5b1c2ca8a50d460ae68dc6486
3
+ metadata.gz: a8ea2932249274ef1cf511729f7ba65ced2d6ad850b5ba79d159c243f5329427
4
+ data.tar.gz: bf776030dcc2c3ab270cf06204f821c81cfd99d92c9eae215c2eb1af8c7357e1
5
5
  SHA512:
6
- metadata.gz: 275f38832491bdec76a496da8bf9037e574af137defbd37a032f30ac06304f7b9337f61bb7731276aa4a9fb5a7a1ea38253bfd1b83a5b30fd9a5d5bf94a0471c
7
- data.tar.gz: d5274595059966c1548b801f5dd6ff58d00eec28ce64733185f0b716bd6508300d277fe1f79417dd5770ad51ca2beae9d9db2965e7891a30166b4a9811ff6d9e
6
+ metadata.gz: d2ce020623bf3e97143f9c94a86ff3d5d18a7f09a31c842acc6d63724070f80711e72b0352fc443884b4193e32cf099c8d8b9ea9d6d1f20cdc34d7c14b42b57f
7
+ data.tar.gz: b1d51c108e9a360b95dcb7ff97aa090ec91a3d92a931da0e75ab657c33d8cdec0e14314d9a8cbe35ab1c1b513baf1628f1d236e1f24718dbcc992255cd4d9419
data/.gitignore CHANGED
@@ -10,3 +10,4 @@
10
10
 
11
11
  # rspec failure tracking
12
12
  .rspec_status
13
+ .ruby-gemset
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.3.1
1
+ 3.1.4
data/.travis.yml ADDED
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.6.3
4
+ - 2.5.5
5
+ - 2.4.6
6
+ script: bundle exec rspec
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Build Status](https://travis-ci.org/dimelo/sidekiq-monitoring.svg?branch=master)](https://travis-ci.org/dimelo/sidekiq-monitoring)
2
+
1
3
  # Rails 3, 4 and 5
2
4
 
3
5
  Add `sinatra` (and `sprockets` if you are on Rails 3.0) to your Gemfile
@@ -2,13 +2,13 @@ require 'sinatra/base'
2
2
  require 'multi_json'
3
3
 
4
4
  class SidekiqMonitoring < Sinatra::Base
5
- VERSION = "1.3.3"
5
+ VERSION = "1.3.6"
6
6
  # Set your down thresholds configuration
7
7
  # {'default' => [ 1_000, 2_000 ], 'low' => [ 10_000, 20_000 ] }
8
8
  #
9
9
  # NOTE: « queue_size_thresholds » are the thresholds about the number of job in a queue
10
10
  def self.queue_size_thresholds=(queue_size_thresholds)
11
- @queue_size_thresholds = queue_size_thresholds
11
+ @@queue_size_thresholds = queue_size_thresholds
12
12
  end
13
13
  @@queue_size_thresholds = {}
14
14
 
@@ -2,11 +2,9 @@
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
- require 'sidekiq-monitoring'
6
-
7
5
  Gem::Specification.new do |spec|
8
6
  spec.name = 'sidekiq-monitoring'
9
- spec.version = SidekiqMonitoring::VERSION
7
+ spec.version = '1.3.6'
10
8
  spec.authors = ['Jeremy Carlier']
11
9
  spec.email = ['jeremy.carlier@dimelo.com']
12
10
 
@@ -23,9 +21,9 @@ Gem::Specification.new do |spec|
23
21
  end
24
22
 
25
23
  spec.require_paths = ['lib']
26
- spec.add_dependency 'sidekiq', '>= 2.12.3', '< 6.0'
24
+ spec.add_dependency 'sidekiq', '>= 2.12.3', '< 7'
27
25
  spec.add_dependency 'sinatra'
28
26
  spec.add_dependency 'multi_json'
29
27
 
30
- spec.add_development_dependency 'bundler', '~> 1.16'
28
+ spec.add_development_dependency 'bundler', '>= 1.16'
31
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-monitoring
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Carlier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-10 00:00:00.000000000 Z
11
+ date: 2024-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 2.12.3
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6.0'
22
+ version: '7'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 2.12.3
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6.0'
32
+ version: '7'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: sinatra
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -62,14 +62,14 @@ dependencies:
62
62
  name: bundler
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - "~>"
65
+ - - ">="
66
66
  - !ruby/object:Gem::Version
67
67
  version: '1.16'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - "~>"
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '1.16'
75
75
  description: Give a state of sidekiq available queues
@@ -82,6 +82,7 @@ files:
82
82
  - ".gitignore"
83
83
  - ".rspec"
84
84
  - ".ruby-version"
85
+ - ".travis.yml"
85
86
  - Gemfile
86
87
  - LICENSE.txt
87
88
  - README.md
@@ -109,8 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
110
  - !ruby/object:Gem::Version
110
111
  version: '0'
111
112
  requirements: []
112
- rubyforge_project:
113
- rubygems_version: 2.7.6
113
+ rubygems_version: 3.3.26
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Addons to provide a monitoring API for Sidekiq