check_and_notify 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: bf6124daf46f2509ec637d3b62db98d10d08063d60fc68c62f77f47aa0b484df
4
- data.tar.gz: c8e1df0bc22fae0d171bdeaac87306e82b021b5a5275c2b71e9b3052f5de9abd
3
+ metadata.gz: 4781ad4cf42ec4bb243b2e8c842e59c34aa4a9b2cbb14be72bc841b0a194f470
4
+ data.tar.gz: e636f349fa05cda70a2705486620d53e4de70d7310480eaad969cdedf447808c
5
5
  SHA512:
6
- metadata.gz: 28dd249217c6d0a2743868d9ba7faaa1eca3d888a513ebd7dddf0ed753280bc9869c3e367ae71b4f52c2a54d36295002d1ae863a42e6664037ff93c11df7ac84
7
- data.tar.gz: 4be1b3a88dfcafc34e0687d3f76cf2ca40f3c452da601d995c513c50c14b50c3f840a521edfb41190a6dea34f58fd90d89f2b0290a32e5e71daa2bda9ac7649c
6
+ metadata.gz: 8233faa0c2ec047b0205619954ecf717c28a4d41a08fca93e1878b4364595e960746a69cb66a4fb262b4701708ee45bb7d9f06cc6a19ab38af464790c0daebc4
7
+ data.tar.gz: 867f5b01a034e307225445fab30943c48669acedde2e4045bb5c0f33cf3912046969456ccd4144280346a4811040cec3ebb5c8eebe56aa5d7ef21576012e9b85
@@ -1,3 +1,3 @@
1
1
  module CheckAndNotify
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
@@ -25,7 +25,11 @@ module CheckAndNotify
25
25
  check_after_one_minute_callbacks[callback_index]
26
26
  end
27
27
 
28
- result = callback.call
28
+ begin
29
+ result = callback.call
30
+ rescue LocalJumpError => e
31
+ end
32
+
29
33
  Notifiers::Slack.notify(result) if result
30
34
  end
31
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: check_and_notify
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
  - Neil Marion dela Cruz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-23 00:00:00.000000000 Z
11
+ date: 2019-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport