nezu 0.5.19 → 0.5.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Gemfile.lock +1 -1
  2. data/VERSION +1 -1
  3. data/lib/nezu/cli.rb +3 -3
  4. metadata +1 -1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nezu (0.5.19)
4
+ nezu (0.5.20)
5
5
  activerecord (~> 3.2.11)
6
6
  activesupport (~> 3.2.11)
7
7
  amqp
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.19
1
+ 0.5.20
data/lib/nezu/cli.rb CHANGED
@@ -29,10 +29,10 @@ module Nezu
29
29
  puts %Q(Starting app...)
30
30
  require 'nezu/runner'
31
31
  Nezu::Runtime.load_config
32
- if params[0].grep(/--daemon/)
33
- $stdout=File.open(Nezu.root.join('log', 'nezu.stdout'), File::CREAT|File::WRONLY)
34
- $stderr=File.open(Nezu.root.join('log', 'nezu.stderr'), File::CREAT|File::WRONLY)
32
+ if params[0].include?('--daemon')
35
33
  fork do
34
+ $stdout=File.open(Nezu.root.join('log', 'nezu.stdout'), File::CREAT|File::WRONLY)
35
+ $stderr=File.open(Nezu.root.join('log', 'nezu.stderr'), File::CREAT|File::WRONLY)
36
36
  Nezu::Runner.start
37
37
  end
38
38
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nezu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.19
4
+ version: 0.5.20
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: