sidekiq-monitoring 1.3.3 → 1.3.4

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
- SHA256:
3
- metadata.gz: 8cfa991000de64236ddb8d049ce26f3f27c39c2374ef531476e39b272e1fb5a2
4
- data.tar.gz: 08d3aa2da6b48c64ad29bfdedc7429565e9660f5b1c2ca8a50d460ae68dc6486
2
+ SHA1:
3
+ metadata.gz: b712e73e48c165caee2d5398067e93d32c140bda
4
+ data.tar.gz: b1ca98d71d18bfb25a3059c41c03add08332538f
5
5
  SHA512:
6
- metadata.gz: 275f38832491bdec76a496da8bf9037e574af137defbd37a032f30ac06304f7b9337f61bb7731276aa4a9fb5a7a1ea38253bfd1b83a5b30fd9a5d5bf94a0471c
7
- data.tar.gz: d5274595059966c1548b801f5dd6ff58d00eec28ce64733185f0b716bd6508300d277fe1f79417dd5770ad51ca2beae9d9db2965e7891a30166b4a9811ff6d9e
6
+ metadata.gz: 0175511e626c9dcef0674395dc6bfd2861fd652e3d896c2ca30c0f94f1ea123c042fd42a0d11d72443812976c98f31566c7311b9d275e804018cec3246b8b3b4
7
+ data.tar.gz: b8f2dbccf63e701a037acb843f13332924a3ef153b63d6a867bfabf98b81ddd604974b8504b1035963099887feea6f635fa5c6ed8dc70b7c94dfee2e3b5490b9
data/.gitignore CHANGED
@@ -10,3 +10,4 @@
10
10
 
11
11
  # rspec failure tracking
12
12
  .rspec_status
13
+ .ruby-gemset
@@ -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
@@ -8,7 +8,7 @@ class SidekiqMonitoring < Sinatra::Base
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.4'
10
8
  spec.authors = ['Jeremy Carlier']
11
9
  spec.email = ['jeremy.carlier@dimelo.com']
12
10
 
@@ -27,5 +25,5 @@ Gem::Specification.new do |spec|
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.4
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: 2019-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -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
@@ -110,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
111
  version: '0'
111
112
  requirements: []
112
113
  rubyforge_project:
113
- rubygems_version: 2.7.6
114
+ rubygems_version: 2.5.1
114
115
  signing_key:
115
116
  specification_version: 4
116
117
  summary: Addons to provide a monitoring API for Sidekiq