osakana 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/osakana/version.rb +1 -1
- data/lib/osakana/website.rb +7 -1
- data/osakana.gemspec +2 -1
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 434f89723284d0761a2fd4bd18c7e657631f55276c1d656606ce7abb959665a3
|
4
|
+
data.tar.gz: d83d90d1c149dfda966fe62566577affadd66d580ef8bc25d503ef064330925a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e75652d9b5e40d75ff2c9d8dc9686ac85d2072c35f3c1bdf3625f904f00ce463a862a8ee6a8cb1439bec0be73e54791bc63179ce152f75c062d21af75a654b7
|
7
|
+
data.tar.gz: 0a1954f1dbb74691b9885f19ef779d544f92c2289182a431c3515634f86c1c3176aa3fdd37ce6e8446d9c13dfdbfb398a7d404d2eec0d7eb4d368e9719af7bb7
|
data/lib/osakana/version.rb
CHANGED
data/lib/osakana/website.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "date"
|
4
|
+
require "kokki"
|
4
5
|
|
5
6
|
module Osakana
|
6
7
|
class Website
|
@@ -31,7 +32,12 @@ module Osakana
|
|
31
32
|
end
|
32
33
|
|
33
34
|
def summary
|
34
|
-
@summary ||=
|
35
|
+
@summary ||=
|
36
|
+
[].tap do |out|
|
37
|
+
out << "#{domain}, #{ipv4} #{Kokki.flagize(ipv4)} (date: #{date})"
|
38
|
+
rescue Kokki::InvalidInputError => _
|
39
|
+
out << "#{domain}, #{ipv4} (date: #{date})"
|
40
|
+
end.first
|
35
41
|
end
|
36
42
|
|
37
43
|
def vt_link
|
data/osakana.gemspec
CHANGED
@@ -32,7 +32,8 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_development_dependency "webmock", "~> 3.5"
|
33
33
|
|
34
34
|
spec.add_dependency "censu", "~> 0.2"
|
35
|
-
spec.add_dependency "http", "~> 4.
|
35
|
+
spec.add_dependency "http", "~> 4.1"
|
36
|
+
spec.add_dependency "kokki", "~> 0.1"
|
36
37
|
spec.add_dependency "robtex", "~> 0.1"
|
37
38
|
spec.add_dependency "securitytrails", "~> 0.1"
|
38
39
|
spec.add_dependency "slack-incoming-webhooks", "~> 0.2"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: osakana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
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-03-
|
11
|
+
date: 2019-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -114,14 +114,28 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '4.
|
117
|
+
version: '4.1'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '4.
|
124
|
+
version: '4.1'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: kokki
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0.1'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0.1'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: robtex
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|