hanami-events-cloud_pubsub 0.2.6 → 0.2.7

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: 88120cf9f817872c49197ae567f89522ea1f4b2a
4
- data.tar.gz: 758ef846e83c6fc98167d57935035746126b9cec
3
+ metadata.gz: 8a3c8ea846c5154143e15a46bae8a72ce2dce257
4
+ data.tar.gz: b7e1b25df8bfa80f9eb9350bc05f5ab9a55466df
5
5
  SHA512:
6
- metadata.gz: 9e303a3232233768644db08dfc82b71dff839240c983c0f097d778b514a8613331116baa6906ddc9cf8ccb0146b8278f698e63c055b8b900ea1fb05b52cd5190
7
- data.tar.gz: 7daa16544379cbf1a72d05bd8eb558285899c102fbf0fe99302a80629678daaa3d56acda34030830aac9339c6663c9a37e3aa4f8085c9c05083c5a6733a00d0e
6
+ metadata.gz: 22072306159eeb805f46bf9984e6d318dcface8e644afb9be2b166ebe8a40eec5bea662612d4eff5a8526517bb27bec94b0e9ca7ead16f7ecc432d755eb99d05
7
+ data.tar.gz: a9ff82d5b8c0119fad8f42e7e009f46aa0fdd0bb2dcfd8a8129d0feabc33c0cd7bc2829ea9f64fd7c07604941a7e7fd04c68d600b14b979ff59ab9267a8bea97
data/Gemfile.lock CHANGED
@@ -9,7 +9,7 @@ GIT
9
9
  PATH
10
10
  remote: .
11
11
  specs:
12
- hanami-events-cloud_pubsub (0.2.6)
12
+ hanami-events-cloud_pubsub (0.2.7)
13
13
  dry-configurable (~> 0.7.0)
14
14
  google-cloud-pubsub (~> 0.30.2)
15
15
  hanami-cli (~> 0.2.0)
@@ -109,9 +109,10 @@ module Hanami
109
109
  end
110
110
 
111
111
  def setup_signal_handlers
112
- Signal.trap('TSTP') { @event_queue << runner.method(:pause) }
113
112
  Signal.trap('TTIN') { @event_queue << runner.method(:print_debug_info) }
114
113
  Signal.trap('INT') { @event_queue << method(:shutdown) }
114
+ Signal.trap('TERM') { @event_queue << method(:shutdown) }
115
+ Signal.trap('TSTP') { @event_queue << runner.method(:shutdown) }
115
116
  end
116
117
 
117
118
  def shutdown
@@ -3,7 +3,7 @@
3
3
  module Hanami
4
4
  module Events
5
5
  module CloudPubsub
6
- VERSION = '0.2.6'
6
+ VERSION = '0.2.7'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-events-cloud_pubsub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Ker-Seymer