oye 0.1.6 → 0.1.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
  SHA256:
3
- metadata.gz: 7935458962c14a5f63b8f797c1dcd683ba0f36a1ae22fef2f0172f4208050685
4
- data.tar.gz: cbd7fe1517e17d8a788aa0019941f3e7faf64151a1937bb8717109cbfcdd80a7
3
+ metadata.gz: 72649c178dd1644eb71bdb4f72f804ab8c4c190c6106736da15d876607adb285
4
+ data.tar.gz: 70c2d64e214075672aa155e2dff7629198bbb23fe30f51efcfabae643f67ab13
5
5
  SHA512:
6
- metadata.gz: 596b27d020a8f96623718ffe04e17dbe83da95b2f9af28e3504dfb58f5076dab3cd6e9183fabcd6f26d1e6e12cfdd76558fd657094ac4d52fc2fbee251590715
7
- data.tar.gz: 97d61ce5860418155b40d2d07938d2a99fccf1db3c6492cbc2710d0afe23da63be040abfbd00139602d9bb2828eb5c7b5c05ec45e3ee980fd7249c0c284e49bc
6
+ metadata.gz: d678648a0024307aa4695bbea4ae47ae82833637b8faabd8be2ec0ba67240ca4137b005619bdfdfdab7de8f67c70b572ea9e0a5dda14760bc90a8297af6cad6d
7
+ data.tar.gz: 47767c6ee7bb5fda3fe58aef52c015c971e611de65cf140623d48b8b19350b77adbb3f252d5a1d7abcbf6552352b05239aeb7cc83dda981540869a22c79c5f12
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oye (0.1.6)
4
+ oye (0.1.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/oye/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Oye
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
data/lib/oye.rb CHANGED
@@ -98,7 +98,7 @@ module Oye
98
98
  def monitor
99
99
  %w(TERM INT).each do |signal|
100
100
  trap(signal) do
101
- stop
101
+ stop_oye
102
102
  FileUtils.rm_f(oye_pidfile)
103
103
  exit
104
104
  end
@@ -263,8 +263,8 @@ module Oye
263
263
  exit
264
264
  end
265
265
 
266
- def stop
267
- Process.kill oye_pid
266
+ def stop_oye
267
+ Process.kill 'TERM', oye_pid
268
268
  end
269
269
 
270
270
  # TODO implement
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oye
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - sergioro