clockwork 2.0.1 → 2.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: 8b02d894da4c82ef8a9799121d77b83390b0a27f
4
- data.tar.gz: 7f70396d6f476bf30e3c8f7b1e82c66da165afb5
3
+ metadata.gz: 28995c167b599267520fc42d5c489da9cf3ea3a7
4
+ data.tar.gz: c185ef12635ae8fcaaf300edb133adf86e3d9ac6
5
5
  SHA512:
6
- metadata.gz: 12574d7a801709ee5bc6d0215eab7c1c7fe8cfe227f641bee7a8d01c2f805eb6b5043b6ad052f5e4f97c12734b0ad575c8095b163a4ce39075c4dcda92f06aa6
7
- data.tar.gz: 1bb1cea7c8346e9dcf98b76d582c5a54802fe1769ab1065fb8aaa1396767fb627040b7a9486daad52036bdc05eb6d3debfd15761a8fa500ba2e488a3379825df
6
+ metadata.gz: 6311c6f7d6dd160c2b5beb6cad59c87c571d7ec50e54bb50e3c8cbb656ae2fb756168a404d143ed699772c334ab2323681202509cbb9d740f954ce23bca61725
7
+ data.tar.gz: c4c3b8f20fdc6da06dc73ea4f0de9ab798dfb2e8e7716777952c51bbf9a3c88fb6df5841e979ac180dbb1d4f326f3bdc78ecd7bf5e13a487fce250f3a79809ec
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "clockwork"
3
- s.version = "2.0.1"
3
+ s.version = "2.0.2"
4
4
 
5
5
  s.authors = ["Adam Wiggins", "tomykaira"]
6
6
  s.license = 'MIT'
@@ -66,7 +66,7 @@ module Clockwork
66
66
 
67
67
  sig_read, sig_write = IO.pipe
68
68
 
69
- %w[INT TERM HUP].each do |sig|
69
+ (%w[INT TERM HUP] & Signal.list.keys).each do |sig|
70
70
  trap sig do
71
71
  sig_write.puts(sig)
72
72
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clockwork
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Wiggins
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-02-15 00:00:00.000000000 Z
12
+ date: 2017-03-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: tzinfo