simple_geolocator 2.0.1 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +16 -0
- data/bin/simplegeo +10 -8
- metadata +10 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a9106aac2ce57777f1c422558582891340a7b60c4939cd38754a26255e7f06f2
|
4
|
+
data.tar.gz: ff801044b8771c1fad50f361dfde46d24a2679bc0c5ef6c31ea7d92ad318e044
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4fad9940bac4f3cdf86ad451798147add3edd7fec164777454309bb391e0d5793bba6ae5d3b1a6cbcb13abbff21f41cbd340608fca7c629379f52fa2a41f92a
|
7
|
+
data.tar.gz: ac8d247771d5d6078745aa26e89d47a220cdd21a3e1dd893938d0025c7aed2b7895f5d7fa10955c89954a0246c26d2d6fec1e39b9daf94280328f16c56bfd2bf
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
## Version 2
|
3
|
+
### Version 2.0.6
|
4
|
+
* Update Oj to version 3.11
|
5
|
+
|
6
|
+
### Version 2.0.5
|
7
|
+
* Update Oj to version 3.10
|
8
|
+
|
9
|
+
### Version 2.0.4
|
10
|
+
* Update Oj to version 3.9
|
11
|
+
|
12
|
+
### Version 2.0.3
|
13
|
+
* Update Oj to version 3.8
|
14
|
+
|
15
|
+
### Version 2.0.2
|
16
|
+
* Update Rainbow to version 3, use its new refinements in CLI
|
17
|
+
* Update Oj to version 3.7
|
18
|
+
|
3
19
|
### Version 2.0.1
|
4
20
|
* Update StringUtility to version 3
|
5
21
|
|
data/bin/simplegeo
CHANGED
@@ -4,10 +4,12 @@
|
|
4
4
|
path = File.expand_path('../lib', __FILE__)
|
5
5
|
$LOAD_PATH.unshift(path)
|
6
6
|
|
7
|
-
require 'rainbow'
|
7
|
+
require 'rainbow/refinement'
|
8
8
|
require 'string-utility'
|
9
9
|
require_relative '../lib/simple_geolocator'
|
10
10
|
|
11
|
+
using Rainbow
|
12
|
+
|
11
13
|
if ARGV.empty?
|
12
14
|
fail 'You must provide an IP.'
|
13
15
|
end
|
@@ -26,10 +28,10 @@ mobile = response.mobile?
|
|
26
28
|
proxy = response.proxy?
|
27
29
|
|
28
30
|
puts "Here is the data for #{ip}:"
|
29
|
-
puts
|
30
|
-
puts
|
31
|
-
puts
|
32
|
-
puts
|
33
|
-
puts
|
34
|
-
puts
|
35
|
-
puts
|
31
|
+
puts "ISP: #{isp}".color(StringUtility.random_color_six)
|
32
|
+
puts "Organization: #{org}".color(StringUtility.random_color_six)
|
33
|
+
puts "Timezone: #{timezone}".color(StringUtility.random_color_six)
|
34
|
+
puts "Location: #{city}, #{region}, #{country}, #{zip}".color(StringUtility.random_color_six)
|
35
|
+
puts "Exact location: #{ll.left}, #{ll.right}".color(StringUtility.random_color_six)
|
36
|
+
puts 'They are using a mobile connection.'.color(StringUtility.random_color_six) if mobile
|
37
|
+
puts 'They are using a proxy.'.color(StringUtility.random_color_six) if proxy
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_geolocator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eli Foster
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rainbow
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: string-utility
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '3.11'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '3.11'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: data_types
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,7 +98,7 @@ licenses:
|
|
98
98
|
- MIT
|
99
99
|
metadata:
|
100
100
|
issue_tracker: https://github.com/elifoster/simple_geolocator/issues
|
101
|
-
post_install_message:
|
101
|
+
post_install_message:
|
102
102
|
rdoc_options: []
|
103
103
|
require_paths:
|
104
104
|
- lib
|
@@ -113,9 +113,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '0'
|
115
115
|
requirements: []
|
116
|
-
|
117
|
-
|
118
|
-
signing_key:
|
116
|
+
rubygems_version: 3.2.3
|
117
|
+
signing_key:
|
119
118
|
specification_version: 4
|
120
119
|
summary: A Ruby gem for easily using the IP-API.com API to perform IP geolocation.
|
121
120
|
test_files: []
|