procemon 1.0.3 → 1.0.4

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 +5 -13
  2. data/VERSION +1 -1
  3. data/lib/procemon/process.rb +16 -0
  4. metadata +16 -16
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MWVhYmYyNWI1MjlkZGU1NTE0Mjc3NWExMzM2M2NiNzY4YzRlMGYxZQ==
5
- data.tar.gz: !binary |-
6
- NTIxNzIxNjQwY2E5MWRiYTE5Njc4YTlkMDJiMWQxN2MwNmE2OTgxMw==
2
+ SHA1:
3
+ metadata.gz: e0d06d8224746a3860eb983ccd968b08302098ce
4
+ data.tar.gz: 15e0b3344d37a0ada16ce2f73766ae08f286fc6a
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- YjUwNjQzZTVkYzE4NTQwMDRmMThkOTc2N2U0NTFhYmM3YWEwYjYxZDU3YTNh
10
- NDQ1ZGIxZDIyZWEyYjNmYTEzZDVjNWIxNmE0NTYwNjY0YzI0NWQwNTA0MDY4
11
- NzFlNDFlNjkxNGRlYjgwOWQxMWI2NzMyMjFiY2ZkMGY5ZGYwZTc=
12
- data.tar.gz: !binary |-
13
- NmFjZjA5YjkyYzJkOGU0ZTQxYTUxZTAwMTEzZjIwMmVkMTQxOTViMmY4ZWJh
14
- NGY4Y2Y5MjI1MjE4YjBiYTk3NDljYWE4NTg3MzQ3MTNjMzVjNDdkNGE2MTY0
15
- ZGQ2MzM1YjYzZDk1YjRjNDBlNDc0Mzc0YWZlY2JiMTJiOGRlYmE=
6
+ metadata.gz: f1e15cec34425a8cd11d1df4f97f5b8fa5435b2d71201befaa495783f480fdeea59f666db406c7a180536b2c75726e6d7fb2fab6b05684506642a971353a1194
7
+ data.tar.gz: 7ae3ec0505ca243feb0fcaabdf4b1123cc08615912fd9a0e1513c363c3702f2416fa2910855b2962882ef6654726c3bd56d203e957efeda57e2e39dedaedffeb
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
@@ -0,0 +1,16 @@
1
+ module Process
2
+
3
+ def self.daemonize
4
+ File.create Application.pid,'a+'
5
+ File.create Application.log,'a+'
6
+ File.create Application.daemon_stderr,'a+'
7
+ Daemon.start fork,
8
+ Application.pid,
9
+ Application.log,
10
+ Application.daemon_stderr
11
+ end
12
+ def self.stop
13
+ Daemon.stop
14
+ end
15
+
16
+ end
metadata CHANGED
@@ -1,73 +1,73 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: procemon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Luzsi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-27 00:00:00.000000000 Z
11
+ date: 2014-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sourcerer
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: loader
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: mpatch
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bindless
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description: ! 'This is a collection of my Ruby Procs in the adventure of becoming
70
- the best! In short this provides extra tools in Application configs, argumens processing,daemonise,eval,
69
+ description: 'This is a collection of my Ruby Procs in the adventure of becoming the
70
+ best! In short this provides extra tools in Application configs, argumens processing,daemonise,eval,
71
71
  getting source of a block,method,process and work with it, or even fuse them into
72
72
  a new proc , require relative files, or directories, string to duck parsing, system
73
73
  tmp_dir using, meta-programing stuffs,(async stuffs went to different project),
@@ -102,6 +102,7 @@ files:
102
102
  - lib/procemon/function/name.rb
103
103
  - lib/procemon/function/port.rb
104
104
  - lib/procemon/function/tmp_dir.rb
105
+ - lib/procemon/process.rb
105
106
  - procemon.gemspec
106
107
  - scripts/doc_gen.rb
107
108
  - scripts/test.txt
@@ -119,17 +120,17 @@ require_paths:
119
120
  - lib
120
121
  required_ruby_version: !ruby/object:Gem::Requirement
121
122
  requirements:
122
- - - ! '>='
123
+ - - ">="
123
124
  - !ruby/object:Gem::Version
124
125
  version: '0'
125
126
  required_rubygems_version: !ruby/object:Gem::Requirement
126
127
  requirements:
127
- - - ! '>='
128
+ - - ">="
128
129
  - !ruby/object:Gem::Version
129
130
  version: '0'
130
131
  requirements: []
131
132
  rubyforge_project:
132
- rubygems_version: 2.2.1
133
+ rubygems_version: 2.2.2
133
134
  signing_key:
134
135
  specification_version: 4
135
136
  summary: Gotta catch em all!
@@ -138,4 +139,3 @@ test_files:
138
139
  - test/lab.rb
139
140
  - test/prototype/class_field.rb
140
141
  - test/test.rb
141
- has_rdoc: