jake-scripts 1.8.5 → 1.8.6

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
  SHA1:
3
- metadata.gz: 39558a39b97276df33df585ce9d6caaffc127204
4
- data.tar.gz: 6b3d87aebbeca49e6364bdeae097f64702c043af
3
+ metadata.gz: 5329c48339008231a8d862cabde34f6014b5a5b2
4
+ data.tar.gz: ea1c5e0b23f1af98a463ee9c467b9ea8db25fc5a
5
5
  SHA512:
6
- metadata.gz: 20f83ea0c7fedbdb418fbd9207acd0c0b2c6632e403cf847b0bbb099874e41dd87f376954c11d1cb3866645098aa0975387014bc00c428461247f90f7a49adef
7
- data.tar.gz: e769d1ac8cd3ebdb6d2dd194907823ac76b4e089382cf00b15b0026df398497acf0f61be94b314f906c75cc84d2a4c934091c75a83a224b21d338e959cff8594
6
+ metadata.gz: a2d14f1f4f2ad0bff964ece56af8bf7f75af647b74f7bb866b6f6865941ba0cfd26a09451b090e3f93fe17f4dabc5cae60a9ecc85a062039303f6314da6e0955
7
+ data.tar.gz: 020a2d784b365b9662be5748ac1039a4bdce78ea7165239799ced5dbcced0d77dafe2b870ac604b1a04618d551a88263c9499b0fbd8426bb370e05e54b49f56c
data/exe/netgeo CHANGED
@@ -16,7 +16,7 @@ require 'socket'
16
16
 
17
17
  def netutil
18
18
  opts = Slop.parse do |o|
19
- o.banner = 'Usage: netgeo [flag] [option]'
19
+ o.banner = 'Usage: netgeo [flag]'
20
20
 
21
21
  # Gets WAN address
22
22
  o.on '-w', '--wan', 'Returns WAN IP' do
@@ -26,7 +26,7 @@ def netutil
26
26
  end
27
27
 
28
28
  # Gets LAN(s)
29
- o.on '-l', '--lan', 'Returns LAN(s) IP(s)' do
29
+ o.on '-l', '--lan', 'Returns LAN IP(s)' do
30
30
  lans = Socket.ip_address_list.select{|intf| intf.ipv4_private?}.map { |intf| intf.ip_address }
31
31
  puts lans.join(', ')
32
32
  end
@@ -73,7 +73,7 @@ def netutil
73
73
  o.separator '[all] [ip] [city] [region] [country] [zip] [isp]'
74
74
  o.separator 'Example: netgeo -s ip,city,isp 8.8.8.8'
75
75
  o.array '-s', '[options] [ip address]', 'Specific Geodata'
76
- o.on '-h', '--help', 'version 1.0.0' do
76
+ o.on '-h', '--help', 'version 1.0.2' do
77
77
  puts o
78
78
  exit
79
79
  end
@@ -1,5 +1,5 @@
1
1
  module Jake
2
2
  module Scripts
3
- VERSION = "1.8.5"
3
+ VERSION = "1.8.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jake-scripts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.5
4
+ version: 1.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Meyer