citysdk 0.1.1.3 → 0.1.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/citysdk.rb +1 -1
  2. data/lib/citysdk/importer.rb +2 -2
  3. metadata +1 -1
data/lib/citysdk.rb CHANGED
@@ -4,6 +4,6 @@ require 'citysdk/file_reader.rb'
4
4
  require 'citysdk/importer.rb'
5
5
 
6
6
  module CitySDK
7
- VERSION = "0.1.1.3"
7
+ VERSION = "0.1.1.4"
8
8
  end
9
9
 
@@ -218,8 +218,8 @@ module CitySDK
218
218
  @filereader.content.each do |rec|
219
219
  row = rec[:properties]
220
220
 
221
- pc = row[@params[:postcode]]
222
- hn = row[@params[:housenumber]]
221
+ pc = row[@params[:postcode]].to_s
222
+ hn = row[@params[:housenumber]].to_s
223
223
  qres = {}
224
224
  if not (pc.empty? or hn.empty?)
225
225
  pc = pc.downcase.gsub(/[^a-z0-9]/,'')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: citysdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.3
4
+ version: 0.1.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: