ine-places 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 589c99d78955451aaba4995cd9e2fd344d5e3db014156281d26d568828d78109
|
4
|
+
data.tar.gz: be8088bbd469ac33efe82c96c98aebf2a1ac8cc2f83d2d73ddc48242cfcde403
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f04620c3ac73d1d6752d1acb43ed04725769edd6ba7fab53f13149cd75fa9caed0b6c8e9051921a3b518b63dfc6de14ab6f3a2cdac9e30a5135e3fbe1164e88
|
7
|
+
data.tar.gz: '074794e2e65bd71e2ee5568f01b04601c19e85d0f28688b9103659aef247ebc39357cfa32c71ade993566856e7b1b3b7fa7da0b5e8d7e0cc3da0bce2683fe4ee'
|
@@ -2,7 +2,7 @@ class INE::Places::AutonomousRegionsCollection
|
|
2
2
|
include Singleton
|
3
3
|
|
4
4
|
def self.records
|
5
|
-
@records ||= CSV.read("#{INE::Places::ROOT}/data/autonomous_regions.csv", headers: true).map do |raw_data|
|
5
|
+
@records ||= CSV.read("#{INE::Places::ROOT}/data/autonomous_regions.csv", headers: true, encoding: 'utf-8').map do |raw_data|
|
6
6
|
build_from_raw_data(raw_data)
|
7
7
|
end.sort_by(&:slug)
|
8
8
|
end
|
@@ -2,7 +2,7 @@ class INE::Places::PlacesCollection
|
|
2
2
|
include Singleton
|
3
3
|
|
4
4
|
def self.records
|
5
|
-
@records ||= CSV.read("#{INE::Places::ROOT}/data/places.csv", headers: true).map do |raw_data|
|
5
|
+
@records ||= CSV.read("#{INE::Places::ROOT}/data/places.csv", headers: true, encoding: 'utf-8').map do |raw_data|
|
6
6
|
build_from_raw_data(raw_data)
|
7
7
|
end.sort_by(&:slug)
|
8
8
|
end
|
@@ -2,7 +2,7 @@ class INE::Places::ProvincesCollection
|
|
2
2
|
include Singleton
|
3
3
|
|
4
4
|
def self.records
|
5
|
-
@records ||= CSV.read("#{INE::Places::ROOT}/data/provinces.csv", headers: true).map do |raw_data|
|
5
|
+
@records ||= CSV.read("#{INE::Places::ROOT}/data/provinces.csv", headers: true, encoding: 'utf-8').map do |raw_data|
|
6
6
|
build_from_raw_data(raw_data)
|
7
7
|
end.sort_by(&:slug)
|
8
8
|
end
|
data/lib/ine/places/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ine-places
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fernando Blat
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: zeitwerk
|