fushin 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fushin/monitor.rb +5 -3
- data/lib/fushin/posts/post.rb +1 -1
- data/lib/fushin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 348de497e974915f34c1f7749b53f3e87924958c91fd7a461a61114902bd938a
|
4
|
+
data.tar.gz: 59cb5d481a3bfe11c21eacee2bdb78ab374ad77963d7f05ed4ee3ae509757e45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3375de38841cac652e4b6025e5b23a014e7b613f6ddc6d41843075cf1ddd76588f42739fe6694f36f40e137f6b6e502a38fab709f4f488b6a2f17797c56bacf2
|
7
|
+
data.tar.gz: bd65a2f36dcd75a494a6d4b6ba5d0a126d1856bc6824eab347f72180e035c4a2abd99bfee80ca23e5e13ab2cd57345998ca0bcaae62ceab2778234e7da4e40e5
|
data/lib/fushin/monitor.rb
CHANGED
@@ -18,10 +18,12 @@ module Fushin
|
|
18
18
|
end.flatten
|
19
19
|
attachements << { text: "IoC is not found." } if attachements.empty?
|
20
20
|
Notifier.notify("#{item.title} (#{item.link})", attachements)
|
21
|
-
|
22
|
-
Cache.save(item.link, true)
|
23
21
|
rescue StandardError => e
|
24
|
-
|
22
|
+
attachements = []
|
23
|
+
attachements << { text: "#{e.class} (#{e}) is happened during processing." }
|
24
|
+
Notifier.notify("#{item.title} (#{item.link})", attachements)
|
25
|
+
ensure
|
26
|
+
Cache.save(item.link, true)
|
25
27
|
end
|
26
28
|
end
|
27
29
|
|
data/lib/fushin/posts/post.rb
CHANGED
data/lib/fushin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fushin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manabu Niseki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|