worlddb-models 2.3.6 → 2.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7cdc7afd447376a342d4b4ea93ea858e6c829ae
4
- data.tar.gz: 672aeefd998320de9704745b0b1d5f698371643a
3
+ metadata.gz: 1421fc103b49781772838fb992b327f1337068b6
4
+ data.tar.gz: 366f00babdd2a082d845864355a39d4dc15e9e11
5
5
  SHA512:
6
- metadata.gz: f4cf361ef831ce7791e8237202277100c083374c97d512376faf9e009bf9d163490b71ffcf37dd040f9c7b06ae3daf12a11ef255d4aa35a92477d0e6af42db59
7
- data.tar.gz: 7efa3c6b89017030de74a8b71a748aa8981d286d97bc5d1e6c771e5ba49ba59938bc17ed55639f172d465dff0af020580bc27d7406b3a6406df9125aabf0e583
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
- title: city.title,
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.title }
30
+ country: city.country.name }
31
31
  data
32
32
  end
33
33
 
@@ -18,7 +18,7 @@ module WorldDb::Model
18
18
 
19
19
  ## todo: add tags too??
20
20
  data = { key: country.key,
21
- title: country.title,
21
+ name: country.name,
22
22
  code: country.code,
23
23
  pop: country.pop,
24
24
  area: country.area,
@@ -4,8 +4,8 @@ module WorldDb
4
4
 
5
5
  # sync version w/ sport.db n friends - why? why not?
6
6
  MAJOR = 2 ## todo: namespace inside version or something - why? why not??
7
- MINOR = 3
8
- PATCH = 6
7
+ MINOR = 4
8
+ PATCH = 0
9
9
  VERSION = [MAJOR,MINOR,PATCH].join('.')
10
10
 
11
11
  def self.version
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.3.6
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-30 00:00:00.000000000 Z
11
+ date: 2017-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: props