apigeoloc 1.0.1 → 1.0.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 +4 -4
- data/.gitignore +1 -0
- data/apigeoloc.gemspec +1 -1
- data/lib/apigeoloc/cli.rb +0 -14
- data/lib/apigeoloc/matcher.rb +0 -2
- data/lib/apigeoloc/requester.rb +0 -2
- data/lib/apigeoloc/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 13e55336e4ac9664025eb77bd4408212ec4485e9
|
|
4
|
+
data.tar.gz: b10dd4bd85edce27c4de7d728966697bc8e0c909
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8822806e1f613e99e10bba44f126279e1d87b8e4f32ed9b7ebe9914b50f2ec25230b6fd35e96d114ad1050bfe79a0c8d86bab6f82f23dd386fb49a3afaf988a6
|
|
7
|
+
data.tar.gz: ad0b995f26bfd40764aa7f2844194d629f880bec7ce23743c9bc64ca456bff7e850e550c49fe1e5d3d1b2d6441d68e42b3fde0636712f776864e64f3c08c10f9
|
data/.gitignore
CHANGED
data/apigeoloc.gemspec
CHANGED
|
@@ -39,7 +39,7 @@ Gem::Specification.new do |s|
|
|
|
39
39
|
s.email = 'rdelaplace@vente-privee.com'
|
|
40
40
|
s.license = 'Apache-2.0'
|
|
41
41
|
|
|
42
|
-
s.summary = 'Tool to request
|
|
42
|
+
s.summary = 'Tool to request an api to match a network with a location.'
|
|
43
43
|
s.description = 'APIGeoloc is a simple tool to get location from a subnet.'
|
|
44
44
|
s.homepage = 'https://github.com/vp-noc/apigeoloc.git'
|
|
45
45
|
|
data/lib/apigeoloc/cli.rb
CHANGED
|
@@ -35,13 +35,6 @@ module APIGeoloc
|
|
|
35
35
|
desc: 'Http headers used with the request (comma separated). ' \
|
|
36
36
|
'<key>:<value>[,<key>:<value>[,...]]'
|
|
37
37
|
)
|
|
38
|
-
option(
|
|
39
|
-
:data,
|
|
40
|
-
aliases: ['-d'],
|
|
41
|
-
desc: 'Set of data sent with the request. ' \
|
|
42
|
-
'May be of type www_form or json.' \
|
|
43
|
-
'If no specific data type is detected, www_form is used.'
|
|
44
|
-
)
|
|
45
38
|
option(
|
|
46
39
|
:user,
|
|
47
40
|
aliases: ['-u'],
|
|
@@ -66,13 +59,6 @@ module APIGeoloc
|
|
|
66
59
|
default: false,
|
|
67
60
|
desc: 'No Check certificates.'
|
|
68
61
|
)
|
|
69
|
-
option(
|
|
70
|
-
:quiet,
|
|
71
|
-
aliases: ['-q'],
|
|
72
|
-
type: :boolean,
|
|
73
|
-
default: false,
|
|
74
|
-
desc: 'Silently do the job'
|
|
75
|
-
)
|
|
76
62
|
option(
|
|
77
63
|
:simulation,
|
|
78
64
|
aliases: ['-s'],
|
data/lib/apigeoloc/matcher.rb
CHANGED
data/lib/apigeoloc/requester.rb
CHANGED
data/lib/apigeoloc/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: apigeoloc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Richard Delaplace
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-07-
|
|
11
|
+
date: 2017-07-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -181,5 +181,5 @@ rubyforge_project:
|
|
|
181
181
|
rubygems_version: 2.5.2
|
|
182
182
|
signing_key:
|
|
183
183
|
specification_version: 4
|
|
184
|
-
summary: Tool to request
|
|
184
|
+
summary: Tool to request an api to match a network with a location.
|
|
185
185
|
test_files: []
|