osakana 0.1.0 → 0.1.1

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: e5ea11ceb6e38c5052b03e962c782cfb605a3dde60589bcc1c3b6b1ff733735d
4
- data.tar.gz: 41a688d31fbca126797691766647bd9788bfc749bdabb65488f8b69b23a77623
3
+ metadata.gz: 303bb2d4c36f7b3ebb54d28cf028a4ce4bdd009b11e97e33b1f062647bf88f9c
4
+ data.tar.gz: cc6aab40337c4b4e9387aaf485f347e3cce8c90f37940eed21ba5033f6247068
5
5
  SHA512:
6
- metadata.gz: 12bf56dd596c3dab85c8d03b0cc10a06b2d38ee4b72bfbf68e13180d9e3d197eede62f96e48a7e06423f884c64ff7ff9fecd1a95c2b4e7f196e952f50b5b938a
7
- data.tar.gz: 6d369800ad13c6eb83f133ddf2fc1b0f72e9ac794913de6997fe4ae57b5bd65212455e20254dd0b165aff6e00bbd72683eae535a057bceb2235a419e2a8090af
6
+ metadata.gz: 1d07344dc2e5d7360e5e3f3232c9be654b0a08c8bc272e3a87f02f79a4d6b46b5d1e2930a87c3977916815fd71ed7cb5862f78ac9bf7d4004855369900af07cf
7
+ data.tar.gz: f6088f5e39d04d8a5e308751f2a56b81108e1eead76cb8fec07e1ff456c6188ea5befc94b0d8d8573a812afe442a4535ffc6ba2e46bca0d3847a55492f2e0ce9
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Osakana
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
@@ -24,6 +24,7 @@ module Osakana
24
24
  res = @robtex.ip(ipv4)
25
25
  active = res.dig("act")
26
26
  next unless active
27
+ next if active.empty?
27
28
 
28
29
  out << active.first.dig("o")
29
30
  end.first || "N/A"
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.1.0
4
+ version: 0.1.1
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-01-22 00:00:00.000000000 Z
11
+ date: 2019-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler