angael 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Angael
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -32,6 +32,8 @@ module Angael
32
32
  @pid = fork_child do
33
33
  __info("Started")
34
34
 
35
+ @pid = $$
36
+
35
37
  if respond_to?(:after_fork)
36
38
  __debug("Running after fork callback")
37
39
  after_fork
@@ -133,6 +135,12 @@ module Angael
133
135
  @stopping
134
136
  end
135
137
 
138
+ def inspect
139
+ "#<JobWorker:#{object_id} @pid=#{pid}>"
140
+ end
141
+
142
+
143
+
136
144
  #########
137
145
  private #
138
146
  #########
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: angael
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.2
5
+ version: 0.1.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paul Cortens