maxminddb 0.1.13 → 0.1.14
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/CHANGELOG.md +4 -0
- data/lib/maxminddb/result/location.rb +4 -0
- data/lib/maxminddb/version.rb +1 -1
- data/spec/maxminddb/result/location_spec.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 19d1e58b79d3beb9ed5bd74ffdf5da41d62f5be4
|
|
4
|
+
data.tar.gz: d8e3f6acbc575111367caf90d73c0d3549061084
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 46d7fa5b3bd159eeae83360bff4dfe86ebfdbb1da2de64690d0a47a019437f6aee2464af7b6d4a88a11f79ed1253d1b3a0038ea9a4102ca242d31b5e3682f5fb
|
|
7
|
+
data.tar.gz: '028ee475caa88471dcd6bdbf35e7e66b75c6ae179e209d030d90c788c02413f41cf9900e89b4252500e070270e4a9531b8a945cfb7f80a25c27ee28c3f363cc9'
|
data/CHANGELOG.md
CHANGED
data/lib/maxminddb/version.rb
CHANGED
|
@@ -9,13 +9,15 @@ describe MaxMindDB::Result::Location do
|
|
|
9
9
|
"latitude"=>37.419200000000004,
|
|
10
10
|
"longitude"=>-122.0574,
|
|
11
11
|
"metro_code"=>"807",
|
|
12
|
-
"time_zone"=>"America/Los_Angeles"
|
|
12
|
+
"time_zone"=>"America/Los_Angeles",
|
|
13
|
+
"accuracy_radius"=>1000
|
|
13
14
|
} }
|
|
14
15
|
|
|
15
16
|
its(:latitude) { should eq(37.419200000000004) }
|
|
16
17
|
its(:longitude) { should eq(-122.0574) }
|
|
17
18
|
its(:metro_code) { should eq("807") }
|
|
18
19
|
its(:time_zone) { should eq("America/Los_Angeles") }
|
|
20
|
+
its(:accuracy_radius) { should eq(1000) }
|
|
19
21
|
end
|
|
20
22
|
|
|
21
23
|
context "without a result" do
|
|
@@ -25,5 +27,6 @@ describe MaxMindDB::Result::Location do
|
|
|
25
27
|
its(:longitude) { should be_nil }
|
|
26
28
|
its(:metro_code) { should be_nil }
|
|
27
29
|
its(:time_zone) { should be_nil }
|
|
30
|
+
its(:accuracy_radius) { should be_nil }
|
|
28
31
|
end
|
|
29
32
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: maxminddb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- yhirose
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-07-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|