iplocate 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/Gemfile.lock +26 -22
- data/README.md +2 -0
- data/iplocate.gemspec +2 -2
- data/lib/iplocate/version.rb +1 -1
- metadata +9 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c88137c69099f631544f177d312bb89a004dbb2adb7fb8f07ca6e2e2e15be613
|
|
4
|
+
data.tar.gz: ae3ec730ca72d9d449f38315fd6cc66c5d7863388526d78721a405515c462621
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e389c5256f5047b858c6e76f3c9540e25d7dec63ba8ca6297408851e539851837e5c9ce32ebc165355de7b499c3fa0ce0b04c7ce9efc3be457f8f3ebded1581
|
|
7
|
+
data.tar.gz: 6d36bbcd7203a0159bd804993fe86fb725a49643de69c41538397c7de92271cb8ad54b907c02afd686f8a38ffc80dd7040d2ba867b0f9a6d9a1d4f42150cfd82
|
data/Gemfile.lock
CHANGED
|
@@ -1,41 +1,44 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
iplocate (1.0.
|
|
5
|
-
activesupport (
|
|
4
|
+
iplocate (1.0.2)
|
|
5
|
+
activesupport (>= 5)
|
|
6
6
|
ipaddress (~> 0.8)
|
|
7
7
|
rest-client (~> 2.0)
|
|
8
8
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
activesupport (
|
|
12
|
+
activesupport (6.0.2.2)
|
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
14
|
-
i18n (
|
|
14
|
+
i18n (>= 0.7, < 2)
|
|
15
15
|
minitest (~> 5.1)
|
|
16
16
|
tzinfo (~> 1.1)
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
zeitwerk (~> 2.2)
|
|
18
|
+
addressable (2.7.0)
|
|
19
|
+
public_suffix (>= 2.0.2, < 5.0)
|
|
20
|
+
concurrent-ruby (1.1.6)
|
|
20
21
|
crack (0.4.3)
|
|
21
22
|
safe_yaml (~> 1.0.0)
|
|
22
23
|
diff-lcs (1.3)
|
|
23
|
-
domain_name (0.5.
|
|
24
|
+
domain_name (0.5.20190701)
|
|
24
25
|
unf (>= 0.0.5, < 1.0.0)
|
|
25
|
-
hashdiff (0.
|
|
26
|
+
hashdiff (1.0.1)
|
|
27
|
+
http-accept (1.7.0)
|
|
26
28
|
http-cookie (1.0.3)
|
|
27
29
|
domain_name (~> 0.5)
|
|
28
|
-
i18n (
|
|
30
|
+
i18n (1.8.2)
|
|
29
31
|
concurrent-ruby (~> 1.0)
|
|
30
32
|
ipaddress (0.8.3)
|
|
31
|
-
mime-types (3.1)
|
|
33
|
+
mime-types (3.3.1)
|
|
32
34
|
mime-types-data (~> 3.2015)
|
|
33
|
-
mime-types-data (3.
|
|
34
|
-
minitest (5.
|
|
35
|
+
mime-types-data (3.2020.0425)
|
|
36
|
+
minitest (5.14.0)
|
|
35
37
|
netrc (0.11.0)
|
|
36
|
-
public_suffix (
|
|
38
|
+
public_suffix (4.0.4)
|
|
37
39
|
rake (10.5.0)
|
|
38
|
-
rest-client (2.0
|
|
40
|
+
rest-client (2.1.0)
|
|
41
|
+
http-accept (>= 1.7.0, < 2.0)
|
|
39
42
|
http-cookie (>= 1.0.2, < 2.0)
|
|
40
43
|
mime-types (>= 1.16, < 4.0)
|
|
41
44
|
netrc (~> 0.8)
|
|
@@ -52,17 +55,18 @@ GEM
|
|
|
52
55
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
53
56
|
rspec-support (~> 3.7.0)
|
|
54
57
|
rspec-support (3.7.0)
|
|
55
|
-
safe_yaml (1.0.
|
|
58
|
+
safe_yaml (1.0.5)
|
|
56
59
|
thread_safe (0.3.6)
|
|
57
|
-
tzinfo (1.2.
|
|
60
|
+
tzinfo (1.2.7)
|
|
58
61
|
thread_safe (~> 0.1)
|
|
59
62
|
unf (0.1.4)
|
|
60
63
|
unf_ext
|
|
61
|
-
unf_ext (0.0.7.
|
|
62
|
-
webmock (3.
|
|
64
|
+
unf_ext (0.0.7.7)
|
|
65
|
+
webmock (3.8.3)
|
|
63
66
|
addressable (>= 2.3.6)
|
|
64
67
|
crack (>= 0.3.2)
|
|
65
|
-
hashdiff
|
|
68
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
|
69
|
+
zeitwerk (2.3.0)
|
|
66
70
|
|
|
67
71
|
PLATFORMS
|
|
68
72
|
ruby
|
|
@@ -72,7 +76,7 @@ DEPENDENCIES
|
|
|
72
76
|
iplocate!
|
|
73
77
|
rake (~> 10.0)
|
|
74
78
|
rspec (~> 3.0)
|
|
75
|
-
webmock (~> 3.
|
|
79
|
+
webmock (~> 3.5)
|
|
76
80
|
|
|
77
81
|
BUNDLED WITH
|
|
78
|
-
1.
|
|
82
|
+
1.17.3
|
data/README.md
CHANGED
|
@@ -4,6 +4,8 @@ Find geolocation data from IP addresses (e.g. city, country, timezone) using the
|
|
|
4
4
|
|
|
5
5
|
IPLocate.io provides 1,500 free requests per day. For higher plans, check out [the website](https://www.iplocate.io)
|
|
6
6
|
|
|
7
|
+
[](https://badge.fury.io/rb/iplocate)
|
|
8
|
+
|
|
7
9
|
## Installation
|
|
8
10
|
|
|
9
11
|
Add this line to your application's Gemfile:
|
data/iplocate.gemspec
CHANGED
|
@@ -23,10 +23,10 @@ Gem::Specification.new do |spec|
|
|
|
23
23
|
|
|
24
24
|
spec.add_dependency "rest-client", "~> 2.0"
|
|
25
25
|
spec.add_dependency "ipaddress", "~> 0.8"
|
|
26
|
-
spec.add_dependency "activesupport", "
|
|
26
|
+
spec.add_dependency "activesupport", ">= 5"
|
|
27
27
|
|
|
28
28
|
spec.add_development_dependency "bundler", "~> 1.16"
|
|
29
29
|
spec.add_development_dependency "rake", "~> 10.0"
|
|
30
30
|
spec.add_development_dependency "rspec", "~> 3.0"
|
|
31
|
-
spec.add_development_dependency "webmock", "~> 3.
|
|
31
|
+
spec.add_development_dependency "webmock", "~> 3.5"
|
|
32
32
|
end
|
data/lib/iplocate/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: iplocate
|
|
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
|
- Tally Tarik
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-04-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|
|
@@ -42,16 +42,16 @@ dependencies:
|
|
|
42
42
|
name: activesupport
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- - "
|
|
45
|
+
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '5
|
|
47
|
+
version: '5'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- - "
|
|
52
|
+
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '5
|
|
54
|
+
version: '5'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: bundler
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -100,14 +100,14 @@ dependencies:
|
|
|
100
100
|
requirements:
|
|
101
101
|
- - "~>"
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: '3.
|
|
103
|
+
version: '3.5'
|
|
104
104
|
type: :development
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
108
|
- - "~>"
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: '3.
|
|
110
|
+
version: '3.5'
|
|
111
111
|
description: Find geolocation data from IP addresses (e.g. city, country, timezone)
|
|
112
112
|
using the IPLocate.io API
|
|
113
113
|
email:
|
|
@@ -148,8 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
148
148
|
- !ruby/object:Gem::Version
|
|
149
149
|
version: '0'
|
|
150
150
|
requirements: []
|
|
151
|
-
|
|
152
|
-
rubygems_version: 2.7.2
|
|
151
|
+
rubygems_version: 3.0.3
|
|
153
152
|
signing_key:
|
|
154
153
|
specification_version: 4
|
|
155
154
|
summary: Find geolocation data from IP addresses
|