zeusd 0.3.0 → 0.3.1
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/README.md +1 -1
- data/bin/zeusd +6 -2
- data/lib/zeusd/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Zeusd aims to provide greater control and easier scripting of the [Zeus Gem](htt
|
|
|
7
7
|
* Run the [Zeus Gem](https://github.com/burke/zeus) as a daemon.
|
|
8
8
|
* Block execution until after Zeus has loaded using the `--block` flag.
|
|
9
9
|
* Manage multiple zeusd daemons using the `--cwd` flag.
|
|
10
|
-
* Show or follow the live Status
|
|
10
|
+
* Show or follow the live Status Chart using the `zeusd status` command.
|
|
11
11
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
data/bin/zeusd
CHANGED
|
@@ -26,8 +26,12 @@ class ZeusdCLI < Thor
|
|
|
26
26
|
def status
|
|
27
27
|
trap("SIGINT") { exit! }
|
|
28
28
|
queue = daemon.status_queue
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
if options[:follow]
|
|
30
|
+
while output = queue.shift
|
|
31
|
+
puts output
|
|
32
|
+
end
|
|
33
|
+
else
|
|
34
|
+
puts queue.pop
|
|
31
35
|
end
|
|
32
36
|
end
|
|
33
37
|
|
data/lib/zeusd/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zeusd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -235,7 +235,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
235
235
|
version: '0'
|
|
236
236
|
segments:
|
|
237
237
|
- 0
|
|
238
|
-
hash: -
|
|
238
|
+
hash: -4004554442526618853
|
|
239
239
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
240
240
|
none: false
|
|
241
241
|
requirements:
|
|
@@ -244,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
244
244
|
version: '0'
|
|
245
245
|
segments:
|
|
246
246
|
- 0
|
|
247
|
-
hash: -
|
|
247
|
+
hash: -4004554442526618853
|
|
248
248
|
requirements: []
|
|
249
249
|
rubyforge_project:
|
|
250
250
|
rubygems_version: 1.8.25
|