geojson2image 0.1.1 → 0.1.2

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: 33173d33967cf8a5a9bb42290c4c3b6f65dc44fa
4
- data.tar.gz: bd0ed61c9c47f5240d61ac389ec08abed9313a9f
3
+ metadata.gz: d40200b7b088eb199a4bb7b808be316ef1ee1368
4
+ data.tar.gz: cf980e8be571e348a5b8baadbf4651fc9b0d914d
5
5
  SHA512:
6
- metadata.gz: 2f0bfc47273445945432cb3a903ad5c6e91d9e6987f4c5823c051870215efe781a15e7ec2f93fed7ef2d8d6b7874ddd8ec489f57354486cd7d0e60043de6e5a0
7
- data.tar.gz: 4c005b627609e0c84feaed9314b5047d14fbabadccdc92661ed12b3ee894120c135614624626e1b3f5c7da18f46992d8dc8b7cf6ea30fe890b9d47d5dac01963
6
+ metadata.gz: 13a47ca37708b7ea69b8fd3fed399b4f23566d878d941333efca027d627c612986a36516bb43170aa7137512d862ad6b67192204b7ca55c66370d3a2015cb139
7
+ data.tar.gz: 9be62042fd8e937930277a11e26e179a8bbf14eeb4c513404e3e0b89aab71bcb6fdd575acbd5a266f03bed45393851a2061dc2e1dbade9ad421e0bf9907aa3b2
data/README.md CHANGED
@@ -43,14 +43,19 @@ g2i = Geojson2image::Convert.new(
43
43
  g2i.to_image
44
44
  ```
45
45
 
46
- ### Example Output
46
+ **Example Output**
47
+
47
48
  ![Example Output](example/example_output.jpg?raw=true "Example Output")
48
49
 
49
50
  ### Stroke and Fill Color Options
50
51
 
51
- These options can be globally set when initializing a
52
- new Geojson2image::Convert object, or you can override them by adding properties to
53
- your GeoJSON that include the desired stroke and fill options per feature. Example:
52
+ Valid color values are defined in the ImageMagick Color Names Reference:
53
+ https://www.imagemagick.org/script/color.php
54
+
55
+ Stroke and fill color options can be globally set when initializing a
56
+ new Geojson2image::Convert object, or you can override them by adding
57
+ properties to your GeoJSON that include the desired stroke and fill options per
58
+ feature. Example:
54
59
 
55
60
  ```json
56
61
  "properties": {
@@ -59,9 +64,9 @@ your GeoJSON that include the desired stroke and fill options per feature. Examp
59
64
  "stoke_width": "3",
60
65
  },
61
66
  ```
67
+ **Example Output**
62
68
 
63
- Valid color values are defined in the ImageMagick Color Names Reference:
64
- https://www.imagemagick.org/script/color.php
69
+ ![Example Output](example/fill_options_example.jpg?raw=true "Fill Options Example Output")
65
70
 
66
71
  ## Development
67
72
 
Binary file
@@ -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 = ["johnstonbrc@gmail.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}
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.add_dependency "oj", "~> 2.18"
24
+ spec.add_dependency "oj", "~> 3.0"
25
25
  spec.add_dependency "mini_magick", "~> 4.6.0"
26
26
  spec.add_development_dependency "bundler", "~> 1.13"
27
27
  spec.add_development_dependency "rake", "~> 10.0"
@@ -1,3 +1,3 @@
1
1
  module Geojson2image
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
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.1
4
+ version: 0.1.2
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-02-02 00:00:00.000000000 Z
11
+ date: 2017-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.18'
19
+ version: '3.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.18'
26
+ version: '3.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mini_magick
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +82,7 @@ dependencies:
82
82
  version: '3.0'
83
83
  description: Ruby library for generating images from GeoJSON
84
84
  email:
85
- - johnstonbrc@gmail.com
85
+ - bryce@agdeveloper.com
86
86
  executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
@@ -97,6 +97,7 @@ files:
97
97
  - bin/console
98
98
  - bin/setup
99
99
  - example/example_output.jpg
100
+ - example/fill_options_example.jpg
100
101
  - geojson2image.gemspec
101
102
  - lib/geojson2image.rb
102
103
  - lib/geojson2image/version.rb
@@ -120,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
121
  version: '0'
121
122
  requirements: []
122
123
  rubyforge_project:
123
- rubygems_version: 2.5.2
124
+ rubygems_version: 2.6.8
124
125
  signing_key:
125
126
  specification_version: 4
126
127
  summary: Ruby library for generating images from GeoJSON