ip_lookup 1.0.8 → 1.1.0
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/README.md +1 -1
- data/lib/{ip-lookup.rb → ip_lookup.rb} +0 -0
- data/lib/ip_lookup/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fa5e7ff8053216bab3b111d02bf910ef281ba71c8a8abed3c6727810a47b7c5e
|
|
4
|
+
data.tar.gz: 68939591bbaaac10a9dee2bbb7c5ded2d1df946e4317734c88882c4403c251a7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0af25c457c827ea5424ac13aaee00902636e97d169e1f18264452e0873c7c54f247e05fec9d6d448d5f6cc8d4bb997d1a6a1cdb345274e734a39f8d01af99965
|
|
7
|
+
data.tar.gz: 3876a9eebabc872ae120833b480986465c7fb37a3116d334ae9d9bfef63e93a3f98ada1888f68fb028caef0378d8b8c8560a0aa7479c1d762e48f590fcf54dc5
|
data/README.md
CHANGED
|
@@ -40,7 +40,7 @@ IPLookup.DB.update update_period: 30, update_uri: "http://path_to_database_GeoLi
|
|
|
40
40
|
### Usage
|
|
41
41
|
|
|
42
42
|
```ruby
|
|
43
|
-
ip_lookup = IPLookup.new
|
|
43
|
+
ip_lookup = IPLookup.new("213.61.214.178"), silent_exceptions: false
|
|
44
44
|
|
|
45
45
|
ip_lookup.country
|
|
46
46
|
# => "de"
|
|
File without changes
|
data/lib/ip_lookup/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ip_lookup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ole Richter
|
|
@@ -152,7 +152,7 @@ files:
|
|
|
152
152
|
- README.md
|
|
153
153
|
- Rakefile
|
|
154
154
|
- ext/ip_lookup/extconf.rb
|
|
155
|
-
- lib/
|
|
155
|
+
- lib/ip_lookup.rb
|
|
156
156
|
- lib/ip_lookup/db.rb
|
|
157
157
|
- lib/ip_lookup/defaults.rb
|
|
158
158
|
- lib/ip_lookup/errors.rb
|