pigeon 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe60fefdf244226cba49f98d611d682b597e0e97
4
- data.tar.gz: ff19d75c7b9d3eca0583517638d3938f5c26be3f
3
+ metadata.gz: 12d96b87babc1f6813e8ff15527562f5ac0e2dd5
4
+ data.tar.gz: 9caccf40e73318db4c32bd07e860463343707c28
5
5
  SHA512:
6
- metadata.gz: 395592cdbc29b7ce23bc1fe5ef3b0223579bf7ef891a916f6b980ad1d41870e8fd1f47ad481ceb8fb67cc53c2deb85080e3ada0d44f07b8ec138cfeeb0fc6cab
7
- data.tar.gz: ab203b42d262f0f31e8f025c31e6c5326999b9660b05e8ef3a7474d58cda078e9dd3a479d6b08e3390aa059e98ee346989856ac1a8cae601779e74d1c01fdaaa
6
+ metadata.gz: 2c7a14327b778fe864519f99dc8147e3a06cd3a5b9a4bee703b6d8e247770eb91ebb65418008032dd96d9900b7366dd3518a9dcdc23b2ce7325c8510d7d108d8
7
+ data.tar.gz: ba1e0b601da14733fac4d5bb14cfc45701752f172c82eb5fe43c9a01728760c109df4a4574a1258d53c4caefe4f08c3d401b1ac1ad9d085a043638d03a53abbe
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
@@ -18,6 +18,8 @@ module Pigeon::Support
18
18
  daemon_pid = fork do
19
19
  begin
20
20
  yield
21
+ rescue SystemExit
22
+ # Forced exit from supervisor process
21
23
  rescue Object => e
22
24
  if (logger)
23
25
  logger.error("Terminated with Exception: [#{e.class}] #{e}")
@@ -50,7 +52,7 @@ module Pigeon::Support
50
52
  pid, status = Process.wait2(daemon_pid)
51
53
 
52
54
  if (interrupted)
53
- logger.info("Supervisor #{Process.pid} received termination signal, shut down child #{daemon_pid}")
55
+ logger.info("Supervisor #{Process.pid} received termination signal, shut down child #{daemon_pid}.")
54
56
  end
55
57
 
56
58
  # A non-zero exit status indicates some sort of error, so the
@@ -74,7 +76,7 @@ module Pigeon::Support
74
76
  relaunch = false
75
77
  end
76
78
  else
77
- logger.info("Terminated normally")
79
+ logger.info("Terminated normally.")
78
80
  end
79
81
  end
80
82
  end
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: pigeon 1.0.1 ruby lib
5
+ # stub: pigeon 1.0.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "pigeon"
9
- s.version = "1.0.1"
9
+ s.version = "1.0.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["tadman"]
14
- s.date = "2015-04-13"
14
+ s.date = "2015-04-15"
15
15
  s.description = "Pigeon is a simple way to get started building an EventMachine engine that's intended to run as a background job."
16
16
  s.email = "github@tadman.ca"
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pigeon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - tadman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-13 00:00:00.000000000 Z
11
+ date: 2015-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine