zeusd 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +1 -1
  2. data/bin/zeusd +6 -2
  3. data/lib/zeusd/version.rb +1 -1
  4. 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 Shart using the `zeusd status` command.
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
- while output = queue.shift
30
- puts output
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
 
@@ -1,3 +1,3 @@
1
1
  module Zeusd
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
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.0
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: -4218968737058463992
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: -4218968737058463992
247
+ hash: -4004554442526618853
248
248
  requirements: []
249
249
  rubyforge_project:
250
250
  rubygems_version: 1.8.25