resque-pool-dynamic 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +3 -3
- data/doc/Resque.html +1 -1
- data/doc/Resque/Pool.html +1 -1
- data/doc/Resque/Pool/Dynamic.html +3 -3
- data/doc/Resque/Pool/Dynamic/Logfile.html +1 -1
- data/doc/Resque/Pool/Dynamic/Shell.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/lib/resque/pool/{help.json → dynamic/help.json} +0 -0
- data/lib/resque/pool/dynamic/version.rb +1 -1
- metadata +13 -13
data/Rakefile
CHANGED
|
@@ -8,7 +8,7 @@ end
|
|
|
8
8
|
|
|
9
9
|
# Precompute JSON file with help
|
|
10
10
|
|
|
11
|
-
file 'lib/resque/pool/help.json' => Dir['lib/**/*.rb'] do
|
|
11
|
+
file 'lib/resque/pool/dynamic/help.json' => Dir['lib/**/*.rb'] do
|
|
12
12
|
require 'yard'
|
|
13
13
|
require 'json'
|
|
14
14
|
|
|
@@ -27,13 +27,13 @@ file 'lib/resque/pool/help.json' => Dir['lib/**/*.rb'] do
|
|
|
27
27
|
docs.update(
|
|
28
28
|
:exit => { :summary => 'Finish work', :full => 'Finish work (AKA quit)' })
|
|
29
29
|
|
|
30
|
-
File.open('lib/resque/pool/help.json', 'w') do |f|
|
|
30
|
+
File.open('lib/resque/pool/dynamic/help.json', 'w') do |f|
|
|
31
31
|
f.write(JSON::dump(docs))
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
desc "Generate online help for the CLI"
|
|
36
|
-
task :gen_help => 'lib/resque/pool/help.json'
|
|
36
|
+
task :gen_help => 'lib/resque/pool/dynamic/help.json'
|
|
37
37
|
|
|
38
38
|
task :default => [ :gen_help, :yard ]
|
|
39
39
|
|
data/doc/Resque.html
CHANGED
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
</div>
|
|
102
102
|
|
|
103
103
|
<div id="footer">
|
|
104
|
-
Generated on
|
|
104
|
+
Generated on Mon May 14 20:08:02 2012 by
|
|
105
105
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
106
106
|
0.7.5 (ruby-1.9.2).
|
|
107
107
|
</div>
|
data/doc/Resque/Pool.html
CHANGED
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Mon May 14 20:08:02 2012 by
|
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
121
121
|
0.7.5 (ruby-1.9.2).
|
|
122
122
|
</div>
|
|
@@ -124,7 +124,7 @@ Add-on to resque-pool to allow manually controlled, dynamic sessions
|
|
|
124
124
|
<dt id="VERSION-constant" class="">VERSION =
|
|
125
125
|
|
|
126
126
|
</dt>
|
|
127
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.1.
|
|
127
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.1.3</span><span class='tstring_end'>"</span></span></pre></dd>
|
|
128
128
|
|
|
129
129
|
</dl>
|
|
130
130
|
|
|
@@ -2018,7 +2018,7 @@ Show current status
|
|
|
2018
2018
|
<span class='id identifier rubyid_puts'>puts</span><span class='lparen'>(</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
|
2019
2019
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Status: </span><span class='tstring_end'>"</span></span> <span class='op'><<</span> <span class='lparen'>(</span> <span class='id identifier rubyid_pid'>pid</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>running, pid: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_pid'>pid</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span> <span class='op'>:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>not running</span><span class='tstring_end'>"</span></span> <span class='rparen'>)</span><span class='comma'>,</span>
|
|
2020
2020
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Configuration:</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
|
2021
|
-
<span class='const'>YAML</span><span class='op'>::</span><span class='id identifier rubyid_dump'>dump</span><span class='lparen'>(</span><span class='id identifier rubyid_config'>config</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_grep'>grep</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^(?!---\s*$)</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> </span><span class='tstring_end'>"</span></span> <span class='op'><<</span> <span class='id identifier rubyid_v'>v</span> <span class='rbrace'>}</span>
|
|
2021
|
+
<span class='const'>YAML</span><span class='op'>::</span><span class='id identifier rubyid_dump'>dump</span><span class='lparen'>(</span><span class='id identifier rubyid_config'>config</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span><span class='period'>.</span><span class='id identifier rubyid_grep'>grep</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^(?!---\s*$)</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> </span><span class='tstring_end'>"</span></span> <span class='op'><<</span> <span class='id identifier rubyid_v'>v</span> <span class='rbrace'>}</span>
|
|
2022
2022
|
<span class='rparen'>)</span>
|
|
2023
2023
|
<span class='kw'>if</span> <span class='id identifier rubyid_pid'>pid</span>
|
|
2024
2024
|
<span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Process tree:</span><span class='tstring_end'>"</span></span>
|
|
@@ -2178,7 +2178,7 @@ Write temporary configuration file
|
|
|
2178
2178
|
</div>
|
|
2179
2179
|
|
|
2180
2180
|
<div id="footer">
|
|
2181
|
-
Generated on
|
|
2181
|
+
Generated on Mon May 14 20:08:02 2012 by
|
|
2182
2182
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2183
2183
|
0.7.5 (ruby-1.9.2).
|
|
2184
2184
|
</div>
|
|
@@ -713,7 +713,7 @@ Follow the file until a line matches regexp
|
|
|
713
713
|
</div>
|
|
714
714
|
|
|
715
715
|
<div id="footer">
|
|
716
|
-
Generated on
|
|
716
|
+
Generated on Mon May 14 20:08:03 2012 by
|
|
717
717
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
718
718
|
0.7.5 (ruby-1.9.2).
|
|
719
719
|
</div>
|
|
@@ -627,7 +627,7 @@ Don’t print nil return values
|
|
|
627
627
|
</div>
|
|
628
628
|
|
|
629
629
|
<div id="footer">
|
|
630
|
-
Generated on
|
|
630
|
+
Generated on Mon May 14 20:08:02 2012 by
|
|
631
631
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
632
632
|
0.7.5 (ruby-1.9.2).
|
|
633
633
|
</div>
|
data/doc/_index.html
CHANGED
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
</div>
|
|
158
158
|
|
|
159
159
|
<div id="footer">
|
|
160
|
-
Generated on
|
|
160
|
+
Generated on Mon May 14 20:08:02 2012 by
|
|
161
161
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
162
162
|
0.7.5 (ruby-1.9.2).
|
|
163
163
|
</div>
|
data/doc/file.README.html
CHANGED
|
@@ -307,7 +307,7 @@ long-running reports overnight when there are less users.</p>
|
|
|
307
307
|
</div></div>
|
|
308
308
|
|
|
309
309
|
<div id="footer">
|
|
310
|
-
Generated on
|
|
310
|
+
Generated on Mon May 14 20:08:02 2012 by
|
|
311
311
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
312
312
|
0.7.5 (ruby-1.9.2).
|
|
313
313
|
</div>
|
data/doc/index.html
CHANGED
|
@@ -307,7 +307,7 @@ long-running reports overnight when there are less users.</p>
|
|
|
307
307
|
</div></div>
|
|
308
308
|
|
|
309
309
|
<div id="footer">
|
|
310
|
-
Generated on
|
|
310
|
+
Generated on Mon May 14 20:08:02 2012 by
|
|
311
311
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
312
312
|
0.7.5 (ruby-1.9.2).
|
|
313
313
|
</div>
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: resque-pool-dynamic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-05-
|
|
12
|
+
date: 2012-05-14 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: yard
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &70306359451900 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,10 +21,10 @@ dependencies:
|
|
|
21
21
|
version: '0'
|
|
22
22
|
type: :development
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *70306359451900
|
|
25
25
|
- !ruby/object:Gem::Dependency
|
|
26
26
|
name: resque-pool
|
|
27
|
-
requirement: &
|
|
27
|
+
requirement: &70306359451320 !ruby/object:Gem::Requirement
|
|
28
28
|
none: false
|
|
29
29
|
requirements:
|
|
30
30
|
- - ! '>='
|
|
@@ -32,10 +32,10 @@ dependencies:
|
|
|
32
32
|
version: '0'
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
|
-
version_requirements: *
|
|
35
|
+
version_requirements: *70306359451320
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: io-tail
|
|
38
|
-
requirement: &
|
|
38
|
+
requirement: &70306359444400 !ruby/object:Gem::Requirement
|
|
39
39
|
none: false
|
|
40
40
|
requirements:
|
|
41
41
|
- - ! '>='
|
|
@@ -43,10 +43,10 @@ dependencies:
|
|
|
43
43
|
version: '0'
|
|
44
44
|
type: :runtime
|
|
45
45
|
prerelease: false
|
|
46
|
-
version_requirements: *
|
|
46
|
+
version_requirements: *70306359444400
|
|
47
47
|
- !ruby/object:Gem::Dependency
|
|
48
48
|
name: rake
|
|
49
|
-
requirement: &
|
|
49
|
+
requirement: &70306359443780 !ruby/object:Gem::Requirement
|
|
50
50
|
none: false
|
|
51
51
|
requirements:
|
|
52
52
|
- - ! '>='
|
|
@@ -54,10 +54,10 @@ dependencies:
|
|
|
54
54
|
version: '0'
|
|
55
55
|
type: :runtime
|
|
56
56
|
prerelease: false
|
|
57
|
-
version_requirements: *
|
|
57
|
+
version_requirements: *70306359443780
|
|
58
58
|
- !ruby/object:Gem::Dependency
|
|
59
59
|
name: ripl
|
|
60
|
-
requirement: &
|
|
60
|
+
requirement: &70306359443340 !ruby/object:Gem::Requirement
|
|
61
61
|
none: false
|
|
62
62
|
requirements:
|
|
63
63
|
- - ! '>='
|
|
@@ -65,7 +65,7 @@ dependencies:
|
|
|
65
65
|
version: '0'
|
|
66
66
|
type: :runtime
|
|
67
67
|
prerelease: false
|
|
68
|
-
version_requirements: *
|
|
68
|
+
version_requirements: *70306359443340
|
|
69
69
|
description: ! 'A class to dynamically manage number of processes and status in the
|
|
70
70
|
|
|
71
71
|
resque pool with a command-line user interface to interacively manage
|
|
@@ -105,11 +105,11 @@ files:
|
|
|
105
105
|
- doc/top-level-namespace.html
|
|
106
106
|
- help.yml
|
|
107
107
|
- lib/resque/pool/dynamic.rb
|
|
108
|
+
- lib/resque/pool/dynamic/help.json
|
|
108
109
|
- lib/resque/pool/dynamic/logfile.rb
|
|
109
110
|
- lib/resque/pool/dynamic/shell.rb
|
|
110
111
|
- lib/resque/pool/dynamic/tasks.rb
|
|
111
112
|
- lib/resque/pool/dynamic/version.rb
|
|
112
|
-
- lib/resque/pool/help.json
|
|
113
113
|
- resque-pool-dynamic.gemspec
|
|
114
114
|
homepage: https://github.com/mpasternacki/resque-pool-dynamic
|
|
115
115
|
licenses:
|