geonames_rails 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,9 +46,9 @@ class CreateGeonamesTables < ActiveRecord::Migration
46
46
  # [1] name : name of geographical point (utf8) varchar(200)
47
47
  t.string :name, :null => false
48
48
  # [2] asciiname : name of geographical point in plain ascii characters, varchar(200)
49
- t.string :asciiname
49
+ t.string :ascii_name
50
50
  # [3] alternatenames : alternatenames, comma separated varchar(4000)
51
- t.text :alternatenames
51
+ t.text :alternate_name
52
52
  # [4] latitude : latitude in decimal degrees (wgs84)
53
53
  t.decimal :latitude, :precision => 14, :scale => 8, :null => false
54
54
  # [5] longitude : longitude in decimal degrees (wgs84)
@@ -35,8 +35,8 @@ module GeonamesRails
35
35
  city.country_id = country.id
36
36
 
37
37
  city.attributes = city_mapping.slice(:name,
38
- :asciiname,
39
- :alternatenames,
38
+ :ascii_name,
39
+ :alternate_name,
40
40
  :latitude,
41
41
  :longitude,
42
42
  :country_iso_code_two_letters,
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 5
9
- version: 0.1.5
8
+ - 6
9
+ version: 0.1.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Marius Andra