ace-eye 0.6.4 → 0.6.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
  SHA1:
3
- metadata.gz: c4d8c99104efffae767e2edb44b6f1413a036037
4
- data.tar.gz: 00d8ac5e9563620d175283e7473d9d2b982bfb16
3
+ metadata.gz: c64f4e8b43b0c273b76e0b926225c20d4aa1dfae
4
+ data.tar.gz: c5e263f7702c1fabd9653d5fc8ee562c384a7da4
5
5
  SHA512:
6
- metadata.gz: 1fae32093dceebf1c7e4f75fdf5b2dc42e5920336989d02c059e42b08544842cda1d1f6d11a32c19ec7990f10fd83f60025a9d4b175f66af73b452b571d9bc8f
7
- data.tar.gz: e7c09a473d1762765f3a2b11d0afce81af029a62a54c5f18e29b90572eb01c8a600a27cdc4ec605a216a755dc5d5c9f1ae5326d4b723df8afe697c2eeb6aa407
6
+ metadata.gz: 272f97ff5226c0e83133a527c51833b9d8b2c5a110f95706b715520e0d50969f45b39a551ccf3ef3b7f497b68d2ab1a9103b89b6f6d022d406afadbd5add694e
7
+ data.tar.gz: 56c08b1bd4b24864fe65d5a5f2d50e7034b64a2fbc3b054a8b449baa24628b1b29c8884df1c1931cf9fa0c8a6781f09c59faf9af0f125acd5a9abda7d53cc15a
data/lib/eye.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Eye
2
- VERSION = "0.6.4"
2
+ VERSION = "0.6.5"
3
3
  ABOUT = "Eye v#{VERSION} (c) 2012-2014 @kostya"
4
4
  PROCLINE = "eye monitoring v#{VERSION}"
5
5
 
@@ -1,6 +1,10 @@
1
1
  module Eye::Process::Notify
2
2
 
3
- trap_exit :notify_died
3
+ def self.included(base)
4
+ base.class_eval do
5
+ trap_exit :notify_died
6
+ end
7
+ end
4
8
 
5
9
  # notify to user:
6
10
  # 1) process crashed by itself, and we restart it [:info]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ace-eye
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Makarchev