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: 9db3ee920f25cfc7b7ca450d1a0dd3eea284fdea5e1245cd6242011542c4d7cc
4
- data.tar.gz: c20102defb8d8b198227a923ce82bb29df23c1b41c83e94a221f552b9b82512e
3
+ metadata.gz: 589c99d78955451aaba4995cd9e2fd344d5e3db014156281d26d568828d78109
4
+ data.tar.gz: be8088bbd469ac33efe82c96c98aebf2a1ac8cc2f83d2d73ddc48242cfcde403
5
5
  SHA512:
6
- metadata.gz: 5f24379da611c4d94ede31b8c504498d42c7c8a90f0372d66ebfa7d89a8c09bce9c07a0ca2abe15bb794c9e044284508e2a165f7ed9839222ab8d4fff14a5c9a
7
- data.tar.gz: 769b34bb2076f570fd763a6c1fd739efdf9a66b4cb07db216dfeadfba68873658800148a1cd6cda9f6dc152c8cf6b94ecb7febdfc56bb914a917fbe1675bf860
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
@@ -1,5 +1,5 @@
1
1
  module INE
2
2
  module Places
3
- VERSION = "0.5.0"
3
+ VERSION = "0.6.0"
4
4
  end
5
5
  end
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.5.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-05-31 00:00:00.000000000 Z
11
+ date: 2019-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zeitwerk