worlddb-models 2.3.6 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/worlddb/serializers/city.rb +3 -3
- data/lib/worlddb/serializers/country.rb +1 -1
- data/lib/worlddb/version.rb +2 -2
- 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: 1421fc103b49781772838fb992b327f1337068b6
|
4
|
+
data.tar.gz: 366f00babdd2a082d845864355a39d4dc15e9e11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69424bc52b13e0644a8ce4225d2870f34ec9602c6d67e992df08e614b675589600245bc67b1b56e2f0b98ae7002abd88552b28ab80affac2c8cc80ce73f4d0f7
|
7
|
+
data.tar.gz: e4506a2bdb80122243e319129a278bd0fd9430b31c06aa20bdb930df681299b6c0d2dab2cda31757037eac9601e527e7fe571a7c07f08c437d2ede5231c6b514
|
@@ -19,15 +19,15 @@ module WorldDb::Model
|
|
19
19
|
## add virtual column like kind for metro, metro|city, city, district
|
20
20
|
|
21
21
|
## todo add region.title if present
|
22
|
+
## todo add metro.name if available - why? why not??
|
22
23
|
|
23
24
|
data = { key: city.key,
|
24
|
-
|
25
|
+
name: city.name,
|
25
26
|
code: city.code,
|
26
27
|
pop: city.pop,
|
27
|
-
popm: city.popm,
|
28
28
|
area: city.area,
|
29
29
|
synonyms: city.synonyms,
|
30
|
-
country: city.country.
|
30
|
+
country: city.country.name }
|
31
31
|
data
|
32
32
|
end
|
33
33
|
|
data/lib/worlddb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: worlddb-models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gerald Bauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: props
|