geojson2image 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: 10a0c985cc6e9ec4211dda4079cd6ab98bbae613
4
- data.tar.gz: 879b94bbd992f4e9afc8ab610da4ffe7ebf2a2b5
3
+ metadata.gz: 869a6ee505c2bfc4d2e11f74058260f1f04f2ad6
4
+ data.tar.gz: 61ca037b25096bbe65f48ee08f4e871d5a1f3dba
5
5
  SHA512:
6
- metadata.gz: 6c14bf961d9d68118aa823aefe8279feba446ec10cc6b21ace2b499965b5af08e2322a5cd029c103f68f9c8b5460b06cedf0c7a7ae6ed760f099aa5cfa216eca
7
- data.tar.gz: '07954750d03205222ac7122d51c2e262c18315f4516603e6e1751c84d7014e748d0717b8c112ee0d9cd50507daba440287e39069cbf9fe99ee0a69e7a1ae2279'
6
+ metadata.gz: a555567cfbf41468cfb5b00ba0de420522b5fb9eaed393dbfa9527a9a4732a17b1b3cd226458a816688d175286a9b4d58598d930dec6506abe71cba4daaa2257
7
+ data.tar.gz: 918a91049e936dc9eb1f7d41fa652465c68640de2a4155b8db1b2e4c3e96b5b6d42f5f7f0158825215bf791bb8efad6ddb336b652db25ec17d2d3a2f879ad50b
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.name = "geojson2image"
8
8
  spec.version = Geojson2image::VERSION
9
9
  spec.authors = ["Bryce Johnston"]
10
- spec.email = ["bjohnston@cropquest.com"]
10
+ spec.email = ["bryce@agdeveloper.com"]
11
11
 
12
12
  spec.summary = %q{Ruby library for generating images from GeoJSON}
13
13
  spec.description = %q{Ruby library for generating images from GeoJSON}
@@ -198,13 +198,13 @@ module Geojson2image
198
198
 
199
199
  when 'Polygon'
200
200
  if !properties.nil?
201
- if properties.key?('fill_color')
201
+ if properties.key?('fill_color') && !properties['fill_color'].nil?
202
202
  @convert.fill(properties['fill_color'])
203
203
  end
204
- if properties.key?('stroke_color')
204
+ if properties.key?('stroke_color') && !properties['stroke_color'].nil?
205
205
  @convert.stroke(properties['stroke_color'])
206
206
  end
207
- if properties.key?('stroke_width')
207
+ if properties.key?('stroke_width') && !properties['stroke_width'].nil?
208
208
  @convert.strokewidth(properties['stroke_width'])
209
209
  end
210
210
  end
@@ -1,3 +1,3 @@
1
1
  module Geojson2image
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geojson2image
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryce Johnston
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-02 00:00:00.000000000 Z
11
+ date: 2017-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj
@@ -82,7 +82,7 @@ dependencies:
82
82
  version: '3.0'
83
83
  description: Ruby library for generating images from GeoJSON
84
84
  email:
85
- - bjohnston@cropquest.com
85
+ - bryce@agdeveloper.com
86
86
  executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []