mmangino-shapelib 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/extconf.rb +1 -1
- data/main.c +6 -1
- data/shapelib.gemspec +2 -2
- data/shpplus.c +6 -1
- metadata +2 -2
data/extconf.rb
CHANGED
@@ -2,6 +2,6 @@
|
|
2
2
|
require 'mkmf'
|
3
3
|
|
4
4
|
dir_config('shapelib')
|
5
|
-
have_header('shapefil.h') or raise 'shapefil.h not found'
|
5
|
+
have_header('shapefil.h') or have_header('libshp/shapefil.h') or raise 'shapefil.h not found'
|
6
6
|
have_library('shp') or raise 'libshp not found'
|
7
7
|
create_makefile('shapelib')
|
data/main.c
CHANGED
data/shapelib.gemspec
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = %q{shapelib}
|
3
|
-
s.version = "0.6.
|
3
|
+
s.version = "0.6.2"
|
4
4
|
s.files = %w{depend extconf.rb Interface.html Interface.rd libtest.rb main.c README.txt sfcode.h sflist.h shapelib.gemspec shpplus.c shpplus.h spcode.h splist.h spwkt.h style.css valconv.h zsample1.rb ztest1.rb lib/shapelib.rb lib/shape_lib/shape.rb}
|
5
5
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
6
6
|
s.authors = ["prasinos@users.sourceforge.net", "Mike Mangino"]
|
7
|
-
s.date = %q{2008-
|
7
|
+
s.date = %q{2008-12-30}
|
8
8
|
s.description = %q{== DESCRIPTION: A ruby wrapper around the shapefile library}
|
9
9
|
s.email = %q{mmangino@elevatedrails.com}
|
10
10
|
s.has_rdoc = false
|
data/shpplus.c
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
#include <stdlib.h>
|
2
2
|
#include <ctype.h>
|
3
3
|
#include <string.h>
|
4
|
-
#
|
4
|
+
#if defined(HAVE_SHAPEFIL_H)
|
5
|
+
#include <shapefil.h>
|
6
|
+
#endif
|
7
|
+
#if defined(HAVE_LIBSHP_SHAPEFIL_H)
|
8
|
+
#include <libshp/shapefil.h>
|
9
|
+
#endif
|
5
10
|
#include <ruby.h>
|
6
11
|
#include "shpplus.h"
|
7
12
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mmangino-shapelib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- prasinos@users.sourceforge.net
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2008-
|
13
|
+
date: 2008-12-30 00:00:00 -08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|