daemonite 0.1 → 0.1.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -5
  3. data/daemonite.gemspec +3 -3
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9035bd4b47554cc494ad4d131f55a98f29658470
4
- data.tar.gz: 2fb54ca71a405695d5cc5f2bf42ba883e52d03f8
3
+ metadata.gz: 83c22b4354294d6ab1d4ba786f449b4d4b1455bd
4
+ data.tar.gz: 5faa5bd5b52029c79832f2d824d68c1eea9b6d47
5
5
  SHA512:
6
- metadata.gz: f18d348471836f7043264ba26cd5c963e463a6f150a4e1fc2d803d3fc89ba3aba45d7a6835e21bb90e43a4a05441ba1b81c33077ba6573a9bb654fbba6a17635
7
- data.tar.gz: b04555a09ad5d52484d307cdf555c4e9a35bf762977a58325339a68f372678b4c1c52b979876cd27f0e90f8dc53de80b85ce6d1e36bdfbff5459a2b9da805583
6
+ metadata.gz: f19be74ff69ea90a0e9f795f9992e55af3f0153162957ccb292939bfc908b3dbad5d0b73ae045a21f5ac40566aa42fbaf8b00cf90f6cb6412b8f0b162b7a21a5
7
+ data.tar.gz: 32366eda543ccbc3b256a39913ffd3adb7852d904c256f2a14c49cc67f3eacc9fb3c5afae5b7eb8ec09b4cc4ec670f15bcee07e1c1dcf3254ea0511bb759e6f9
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Damonite
1
+ # Daemonite
2
2
 
3
3
  Copyright (C) 2004-2018 Jürgen "eTM" Mangler <juergen.mangler@gmail.com>
4
4
 
@@ -11,9 +11,15 @@ details.
11
11
  ## Introduction
12
12
 
13
13
  Deamonite is just syntactic sugar around Process.daemon and argparse, which are
14
- part of standard ruby. An it only works on Linux because it runs 'ps ax'. I
15
- know, thats clumsy and doesn't run on windows. Please contribute a better
16
- solution if you have to.
14
+ part of standard ruby. And it gives you a simple loop. And it only works on
15
+ *nix because it runs 'ps ax' (that rhymes). I know, thats clumsy and I'm a lazy
16
+ git. Please contribute a better solution if you have to.
17
+
18
+ ## Why
19
+
20
+ After I reused similar code in about 20 projects I had make it into a gem.
21
+ Sorry. Probably much better code out there does the same, but I am too lazy to
22
+ search for it. Sorry.
17
23
 
18
24
  ## Usage
19
25
 
@@ -32,7 +38,8 @@ end.loop!
32
38
 
33
39
  Everything inside the #new block is executed once. Everything inside the #run
34
40
  block is executed periodically. So make sure to include sleep to not bog down
35
- your CPU. #loop! finally starts a periodical loop.
41
+ your CPU. Or not - listen to network connections. #loop! finally starts the
42
+ contents of #run sequentially.
36
43
 
37
44
  In order to override options, or provide your own options at start:
38
45
 
@@ -1,11 +1,11 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "daemonite"
3
- s.version = "0.1"
3
+ s.version = "0.1.1"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
- s.summary = "Daemonite - Process.daemon and argparse wrapper."
6
+ s.summary = "Daemonite - Process.daemon and argparse wrapper for loopies."
7
7
 
8
- s.description = "Daemonite - Process.daemon and argparse wrapper."
8
+ s.description = "Daemonite - Process.daemon and argparse wrapper for loopies."
9
9
 
10
10
  s.files = Dir['{example/**/*,lib/*}'] + %w(COPYING Changelog Rakefile daemonite.gemspec README.md AUTHORS TODO)
11
11
  s.require_path = 'lib'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daemonite
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -10,7 +10,7 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2018-04-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Daemonite - Process.daemon and argparse wrapper.
13
+ description: Daemonite - Process.daemon and argparse wrapper for loopies.
14
14
  email: juergen.mangler@gmail.com
15
15
  executables: []
16
16
  extensions: []
@@ -48,5 +48,5 @@ rubyforge_project:
48
48
  rubygems_version: 2.6.6
49
49
  signing_key:
50
50
  specification_version: 4
51
- summary: Daemonite - Process.daemon and argparse wrapper.
51
+ summary: Daemonite - Process.daemon and argparse wrapper for loopies.
52
52
  test_files: []