daemonchild 0.0.1 → 0.0.2

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/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
- === 0.0.0
1
+ === 0.0.2
2
2
 
3
- * No official relases yet. Come back soon
3
+ * Update docs and clean up structural parts of the gem.
4
+
5
+ === 0.0.1
6
+
7
+ * First release.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- == LICENSE:
1
+ == LICENSE
2
2
 
3
3
  (The MIT License)
4
4
 
data/README CHANGED
@@ -5,22 +5,44 @@ Ruby.
5
5
 
6
6
  * http://github.com/jro/daemonchild
7
7
 
8
- == FEATURES/PROBLEMS:
8
+ Having written a few daemons in the past using the 'daemons' gem, I've
9
+ always found it to be a bit to heavy-weight for me. You can write a
10
+ great, stable daemon based on it, but I've longed for something that
11
+ felt more Unix-ey. Does one thing, and (hopefully) does it well: turn
12
+ your ruby script into a daemon. This project is my attempt at that.
9
13
 
10
- * There aren't a lot. It should just turn the running script into a
14
+ == FEATURES
15
+
16
+ * There aren't many. It should just turn the running script into a
11
17
  daemon. From there it's all on you.
12
18
 
13
- == SYNOPSIS:
19
+ == SYNOPSIS
14
20
 
15
21
  require 'DaemonChild'
16
22
 
17
23
  DaemonChild.spawn
18
24
  <insert your code here>
19
25
 
20
- == INSTALL:
26
+ == INSTALL
21
27
 
22
28
  * gem install daemonchild
23
29
 
30
+ == TODO
31
+
32
+ Use the examples/ as a basis for tests
33
+
34
+ == KNOWN ISSUES
35
+
36
+ None (yet)!
37
+
38
+ == OTHER OPTIONS
39
+
40
+ In case DaemonChild doesn't fit your needs, here are some other
41
+ options:
42
+
43
+ * http://daemons.rubyforge.org/
44
+ * http://github.com/TwP/servolux
45
+
24
46
  == LICENSE
25
47
 
26
48
  (The MIT License)
@@ -7,7 +7,7 @@
7
7
  # Daemonize was written by Travis Whitton and is based on Perl's
8
8
  # Proc::Daemonize, which was written by Earl Hood.
9
9
  #
10
- # Based on the Unix Programmer FAQ which is currently available
10
+ # Also based on the Unix Programmer FAQ which is currently available
11
11
  # http://www.faqs.org/faqs/unix-faq/programmer/faq/
12
12
  # (and other places I'm sure)
13
13
 
@@ -1,5 +1,5 @@
1
1
  require "test/unit"
2
- require "daemonchild"
2
+ require "lib/daemonchild.rb"
3
3
 
4
4
  class TestDaemonChild < Test::Unit::TestCase
5
5
  # i want to write tests I really do
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daemonchild
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ hash: 27
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 2
10
+ version: 0.0.2
5
11
  platform: ruby
6
12
  authors:
7
13
  - Jason Rohwedder
@@ -9,7 +15,7 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2010-09-04 00:00:00 -05:00
18
+ date: 2010-09-05 00:00:00 -05:00
13
19
  default_executable:
14
20
  dependencies: []
15
21
 
@@ -29,6 +35,7 @@ files:
29
35
  - lib/daemonchild.rb
30
36
  - LICENSE
31
37
  - README
38
+ - test/test_daemonchild.rb
32
39
  has_rdoc: true
33
40
  homepage: http://github.com/jro/daemonchild
34
41
  licenses: []
@@ -44,21 +51,27 @@ rdoc_options:
44
51
  require_paths:
45
52
  - lib
46
53
  required_ruby_version: !ruby/object:Gem::Requirement
54
+ none: false
47
55
  requirements:
48
56
  - - ">="
49
57
  - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 0
50
61
  version: "0"
51
- version:
52
62
  required_rubygems_version: !ruby/object:Gem::Requirement
63
+ none: false
53
64
  requirements:
54
65
  - - ">="
55
66
  - !ruby/object:Gem::Version
67
+ hash: 3
68
+ segments:
69
+ - 0
56
70
  version: "0"
57
- version:
58
71
  requirements: []
59
72
 
60
73
  rubyforge_project:
61
- rubygems_version: 1.3.5
74
+ rubygems_version: 1.3.7
62
75
  signing_key:
63
76
  specification_version: 3
64
77
  summary: A stripped down and straightforward way to write daemons in Ruby.