bushpig 0.1.4 → 0.1.5

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
  SHA256:
3
- metadata.gz: 4c75a2936af84505177c5cd6f439e8e0a482eaf2f186e984b40272131af09abc
4
- data.tar.gz: 05575e010e390a949969d649d9e66c46011c95e84ad9940cbe051c8fd1b2c19d
3
+ metadata.gz: 07f2121ce3806939cd41665f3829d2b7d181e31ad371626bb91e99d4eb251dbe
4
+ data.tar.gz: 9936ecfd5202819dc9f8cd4f2e73f1f49a0361784fe172ed55a1811a330eb9b3
5
5
  SHA512:
6
- metadata.gz: 23d1ed290ad2df8c4ba1f17099cc7c858bccce7052b64779009e938707c40f70050003e44b24cba20086c757f26bddd41f1141841c566f4f44ec2074df649b17
7
- data.tar.gz: 51b8ab6e67249f1a703103af8405f07e3871d42bb1a7c10c42326fdf73542c8fa05f3b027ec59f5328d11d3b31ce512eef09d54ce18e9ccb845a3e18f8ceb42f
6
+ metadata.gz: 9f47000a9e2edb39989880da0c5c2b3b104f9ce165648c1c4494a8c12286e6aa3371a4c26fdb93d10f4c76dca2acd58536966ad882249f1c23f935e88e13376b
7
+ data.tar.gz: daef3436de8188a5fc413154acf365733073d1f5a2cbe3c3fe373b6001a9b1e612670f714d7ca7220a22f28f24fff33fca0f34d5b8348750c4c23c324265d14b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bushpig (0.1.4)
4
+ bushpig (0.1.5)
5
5
  connection_pool (~> 2.2)
6
6
  json (>= 1.8)
7
7
  redis (~> 3.3)
data/gemset.nix CHANGED
@@ -186,7 +186,7 @@
186
186
  path = ./.;
187
187
  type = "path";
188
188
  };
189
- version = "0.1.4";
189
+ version = "0.1.5";
190
190
  };
191
191
  coderay = {
192
192
  groups = ["default" "development"];
@@ -19,10 +19,16 @@ module Bushpig
19
19
  puts 'INT received, shutdown flagged'
20
20
  @done = true
21
21
  end
22
+ Signal.trap('TERM') do
23
+ reset_signals
24
+ puts 'TERM received, shutdown flagged'
25
+ @done = true
26
+ end
22
27
  end
23
28
 
24
29
  def reset_signals
25
30
  Signal.trap('INT', 'DEFAULT')
31
+ Signal.trap('TERM', 'DEFAULT')
26
32
  end
27
33
 
28
34
  def serve(queue)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bushpig
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bushpig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shaun Sharples