simple_mapnik 0.0.2 → 0.0.3

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: 82dc0814ab72fdcf1ba19ebd95ce9af85ea85797
4
- data.tar.gz: ed90badb5cd37ff4e964f1d2bb734170d223f694
3
+ metadata.gz: 7542a228ce898502c94c2750ff0373a1eb71a16e
4
+ data.tar.gz: ea21a17adb9a0ec0c918f45b5f9c9b63db3c8ba4
5
5
  SHA512:
6
- metadata.gz: 43ad84c9f1295934f9965bd788def6022edf9086708026923f2c38d21936b7d40cbde795259ecc29c98568b39d14a842b8607e9078cfe58a46816847a629552d
7
- data.tar.gz: 96c049bf4a8aa0c3637afa688ff1ba7a4589c85ab343d6e65bfa1911c749b2d20b73dd64e57abb41d9ad82228be205627d3c14fc225ade87b634d80889fa5b97
6
+ metadata.gz: 36cdf2707bf4dd05c69551f30f8ed5e70d9d78da7e33ffcabc185fbf748374e71a8cc94325048e6a8d837690420ebfea8db05472c57e596f99a20ce7e967a3b7
7
+ data.tar.gz: 319756c54ecaa107fe25f6eb942f03ed43235bc1593dc3c8912551b58e9e6b0057fa0690d882b15ea4e788d4c489e13db532ae36304ae93d7bed76625993f785
@@ -1,3 +1,3 @@
1
1
  module SimpleMapnik
2
- VERSION = '0.0.2'.freeze
2
+ VERSION = '0.0.3'.freeze
3
3
  end
data/lib/simple_mapnik.rb CHANGED
@@ -10,7 +10,8 @@ module SimpleMapnik
10
10
 
11
11
  module FFI
12
12
  def self.find_lib(lib)
13
- File.expand_path File.join('.', "#{lib}.#{::FFI::Platform::LIBSUFFIX}")
13
+ gem_root = Gem::Specification.find_by_name('simple_mapnik').gem_dir
14
+ File.expand_path File.join(gem_root, "#{lib}.#{::FFI::Platform::LIBSUFFIX}")
14
15
  end
15
16
 
16
17
  def self.mapnik_c_api_path
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.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eliot Jordan