simple_mapnik 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 606d7bb053ce8d471f71f8d37763e932dbd3b292
4
- data.tar.gz: 86b8767e26a6d7fa0f59873776a20ef951afa9e1
3
+ metadata.gz: e3bac1cf65172485cb196a24cb4de17837b490a9
4
+ data.tar.gz: 4270881ff21de67f96d30031307e6149d6df3d31
5
5
  SHA512:
6
- metadata.gz: 2f51f5b63d46d1f1d6626d2657aa5eb74b1bced00e7e9fd6281336bea38fa88e158a41aef72f61b4502fe9e375c36b5a6379e8e4ab356562bd3a6135478e3143
7
- data.tar.gz: 1847a6420707c81f291553c8812cc36e588c98ce4f3d76d9b8a55a621d6c288b90e22675d86bbb0ce14d73d0ec323c61399b985ac6f16d71000ced5f2e653a91
6
+ metadata.gz: 2ff3378643d4a667e47fff439cfb326b5431f810c596c7a0651542f7ebc6ef56bc2faf52f0b3bcad3cbbd5d85c35bf0ac21bab7f5cccf75e74d1f8581c36d526
7
+ data.tar.gz: 37afcc08cae861fe93a354a8c5f620238cdad3818bf29f6610168ef68d8f0d113a3ab60171c33e7b5b0f6fd067f9b8dda38bb53310d675b1f4a7f7f4d4cc2f58
@@ -22,7 +22,11 @@ module SimpleMapnik
22
22
  end
23
23
 
24
24
  def config_file
25
- File.expand_path('../../config/mapnik.yml', File.dirname(__FILE__))
25
+ if defined?(Rails) && Rails.root
26
+ File.join(Rails.root, 'config/mapnik.yml')
27
+ else
28
+ File.expand_path('../../config/mapnik.yml', File.dirname(__FILE__))
29
+ end
26
30
  end
27
31
 
28
32
  def srs
@@ -89,7 +93,6 @@ module SimpleMapnik
89
93
  xml.PolygonSymbolizer(fill: polygon_fill_color)
90
94
  xml.LineSymbolizer(
91
95
  stroke: line_stroke_color,
92
- smooth: '1.0',
93
96
  :'stroke-width' => line_stroke_width)
94
97
  end
95
98
  end
@@ -1,3 +1,3 @@
1
1
  module SimpleMapnik
2
- VERSION = '0.0.6'.freeze
2
+ VERSION = '0.0.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_mapnik
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eliot Jordan