urlhaus_monitor 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75302864cc798a6416eb7555f623d2f4fdfaed0e6b4c84699d389f7fea4b507c
4
- data.tar.gz: ee06d211fe279b4e94bf00e61efe41855ce6e84284404e3c12485fee636a7f82
3
+ metadata.gz: 9ab425ef3c7c6341ab00025e91db261402152de32f40ed8319dbc9c5b778b8aa
4
+ data.tar.gz: 5d9454d6e9d4f0954349e156ace71404868e82cd49eb256e158a519c610a7ff8
5
5
  SHA512:
6
- metadata.gz: ba1d9cb86ca0e123f3e64458d769b7916dfa1ad5cfef8126c6c757504e4412dd5048b09b93f8e0600b2551ed9cb3d785009914e33708b1f93f6804acf95c4800
7
- data.tar.gz: ce75f0beaca133ce632659b90c007ee449446f7f70e43cdc604cdfc7ee90b950246bb3ebbf82eab36f85dd8c7165a40bdee67ab523081b12d8adc1c193ae784d
6
+ metadata.gz: 4eb9f0cb240b7bb7c6a8c83e4b991e31bcba56dae16f71263f6741beb8002dec773caf33def7f4292ba5ff05594dd5e60c56550c1604fbca316dbb1590276bd5
7
+ data.tar.gz: 7515d9d4ce506dfd504c1918837739b2ee02aaae3279bdb75a834b79181d95a89a3091fc801c5fd4431a5a7edcf7f79212e7838cb59ea0df78652f13e7f2a624
data/README.md CHANGED
@@ -9,11 +9,12 @@ A monitoring tool for [URLhaus](https://urlhaus.abuse.ch/) feeds.
9
9
 
10
10
  - URLhaus feeds lookup by AS number, country code and TLD.
11
11
  - Slack notification.
12
+ - Caching.
12
13
 
13
14
  ## Installation
14
15
 
15
16
  ```bash
16
- $ gem install urlhaus_monitor
17
+ gem install urlhaus_monitor
17
18
  ```
18
19
 
19
20
  ## Usage
@@ -39,15 +40,11 @@ Please set the following environmental variables for enabling Slack notification
39
40
  ## Screenshots
40
41
 
41
42
  ```bash
42
- $ urlhaus_monitor lookup_by_tld jp
43
+ urlhaus_monitor lookup_by_tld jp
43
44
  ```
44
45
 
45
- ![img](./screenshots/example.png)
46
+ ![image](./screenshots/example.png)
46
47
 
47
48
  ## License
48
49
 
49
50
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
50
-
51
- ```
52
-
53
- ```
@@ -12,9 +12,6 @@ module URLhausMonitor
12
12
  slack.post title, attachments: attachments
13
13
  else
14
14
  puts title
15
- attachments.each do |attachment|
16
- puts attachment.dig(:title_link)
17
- end
18
15
  end
19
16
  end
20
17
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module URLhausMonitor
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: urlhaus_monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
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-05-23 00:00:00.000000000 Z
11
+ date: 2019-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler