asmodai 0.1.19 → 0.1.20

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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- asmodai (0.1.19)
4
+ asmodai (0.1.20)
5
5
  activesupport (>= 3.0.3)
6
6
  bundler (>= 1.0.9)
7
7
  i18n (>= 0.5.0)
@@ -10,7 +10,7 @@ PATH
10
10
  GEM
11
11
  remote: http://rubygems.org/
12
12
  specs:
13
- activesupport (3.1.1)
13
+ activesupport (3.1.3)
14
14
  multi_json (~> 1.0)
15
15
  i18n (0.6.0)
16
16
  multi_json (1.0.3)
@@ -17,8 +17,8 @@ class Asmodai::CLI < ::Thor
17
17
  template 'templates/daemon.rb.erb', "#{name}/#{name}.rb"
18
18
  copy_file 'templates/Gemfile', "#{name}/Gemfile"
19
19
  template 'templates/asmodai.erb', "#{name}/script/asmodai"
20
- template 'templates/launcher.erb', "#{name}/script/launcher"
21
20
  FileUtils.chmod 0755, "#{name}/script/asmodai"
21
+
22
22
  end
23
23
 
24
24
  desc "install", "Installs startup scripts to /etc/init.d"
@@ -42,10 +42,9 @@ class Asmodai::Daemon
42
42
  prepare_run
43
43
 
44
44
  raise 'Fork failed' if (pid=fork) == -1
45
-
45
+
46
46
  if !pid
47
47
  Process.setsid
48
-
49
48
  raise 'Fork failed' if (pid=fork) == -1
50
49
  if !pid
51
50
  pid = Process.pid
@@ -1,3 +1,3 @@
1
1
  module Asmodai
2
- VERSION = "0.1.19"
2
+ VERSION = "0.1.20"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: asmodai
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.19
5
+ version: 0.1.20
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sebastian Morawietz
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-10-14 00:00:00 +02:00
13
+ date: 2011-11-21 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -104,7 +104,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
104
  requirements:
105
105
  - - ">="
106
106
  - !ruby/object:Gem::Version
107
- hash: 2369181404634008547
107
+ hash: 4418294225310938873
108
108
  segments:
109
109
  - 0
110
110
  version: "0"