sidekiq_monitor 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5fd926f216418f28aeab97630d618b387b8f2451
4
+ data.tar.gz: da7a82e2fe0ae82ce23d6481d4bff1ae5fadb63a
5
+ SHA512:
6
+ metadata.gz: 187662f247f3262f3944740f5d5405d3171250984277d324fbe3a10382efc556b1d2c33fd521633d1032f755a87ea3b65ee5cd08f449f8d8b6e91e793f4a74f3
7
+ data.tar.gz: 3ace2465eb70982e7a585a35bbfef75fd8a27a3015a0ff72a83c38e17d9d2ce829bd13b398ec4d702769134271eabd70a5d14cdb32d9a91e68fc123c35bc20f4
@@ -6,7 +6,7 @@ module Sidekiq
6
6
  @processor = Monitor::Processor.new
7
7
  end
8
8
 
9
- def call(worker_class, item, queue)
9
+ def call(worker_class, item, queue, redis_pool=nil)
10
10
  ActiveRecord::Base.connection_pool.with_connection do
11
11
  @processor.queue(worker_class, item, queue)
12
12
  yield
@@ -6,7 +6,7 @@ module Sidekiq
6
6
  @processor = Monitor::Processor.new
7
7
  end
8
8
 
9
- def call(worker, msg, queue)
9
+ def call(worker, msg, queue, redis_pool=nil)
10
10
  ActiveRecord::Base.connection_pool.with_connection do
11
11
  @processor.start(worker, msg, queue)
12
12
  begin
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  module Monitor
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,78 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq_monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
5
- prerelease:
4
+ version: 0.1.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Tom Benner
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-05-27 00:00:00.000000000 Z
11
+ date: 2014-06-13 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: sidekiq
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 2.2.1
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 2.2.1
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: slim
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: jquery-datatables-rails
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rails-datatables
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  description: Advanced monitoring for Sidekiq
@@ -82,6 +73,9 @@ executables: []
82
73
  extensions: []
83
74
  extra_rdoc_files: []
84
75
  files:
76
+ - MIT-LICENSE
77
+ - README.md
78
+ - Rakefile
85
79
  - app/assets/javascripts/sidekiq/monitor/abstract_jobs_table.js.coffee
86
80
  - app/assets/javascripts/sidekiq/monitor/application.js.coffee
87
81
  - app/assets/javascripts/sidekiq/monitor/graph.js.coffee
@@ -107,6 +101,7 @@ files:
107
101
  - config/routes.rb
108
102
  - lib/generators/sidekiq/monitor/install/install_generator.rb
109
103
  - lib/generators/sidekiq/monitor/install/templates/create_sidekiq_jobs.rb
104
+ - lib/sidekiq/monitor.rb
110
105
  - lib/sidekiq/monitor/cleaner.rb
111
106
  - lib/sidekiq/monitor/client/middleware.rb
112
107
  - lib/sidekiq/monitor/custom_views.rb
@@ -114,7 +109,6 @@ files:
114
109
  - lib/sidekiq/monitor/processor.rb
115
110
  - lib/sidekiq/monitor/server/middleware.rb
116
111
  - lib/sidekiq/monitor/version.rb
117
- - lib/sidekiq/monitor.rb
118
112
  - lib/sidekiq_monitor.rb
119
113
  - vendor/assets/javascripts/sidekiq/monitor/bootstrap-select.min.js
120
114
  - vendor/assets/javascripts/sidekiq/monitor/bootstrap.min.js
@@ -125,32 +119,29 @@ files:
125
119
  - vendor/assets/javascripts/sidekiq/monitor/jquery.timeago.js
126
120
  - vendor/assets/stylesheets/sidekiq/monitor/bootstrap-select.min.css
127
121
  - vendor/assets/stylesheets/sidekiq/monitor/bootstrap.min.css
128
- - MIT-LICENSE
129
- - Rakefile
130
- - README.md
131
122
  homepage: https://github.com/socialpandas/sidekiq_monitor
132
123
  licenses:
133
124
  - MIT
125
+ metadata: {}
134
126
  post_install_message:
135
127
  rdoc_options: []
136
128
  require_paths:
137
129
  - lib
138
130
  required_ruby_version: !ruby/object:Gem::Requirement
139
- none: false
140
131
  requirements:
141
- - - ! '>='
132
+ - - '>='
142
133
  - !ruby/object:Gem::Version
143
134
  version: '0'
144
135
  required_rubygems_version: !ruby/object:Gem::Requirement
145
- none: false
146
136
  requirements:
147
- - - ! '>='
137
+ - - '>='
148
138
  - !ruby/object:Gem::Version
149
139
  version: '0'
150
140
  requirements: []
151
141
  rubyforge_project:
152
- rubygems_version: 1.8.24
142
+ rubygems_version: 2.2.2
153
143
  signing_key:
154
- specification_version: 3
144
+ specification_version: 4
155
145
  summary: Advanced monitoring for Sidekiq
156
146
  test_files: []
147
+ has_rdoc: