proj4rb 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README +1 -7
  2. data/ext/extconf.rb +9 -4
  3. data/rakefile.rb +2 -2
  4. metadata +7 -7
data/README CHANGED
@@ -85,7 +85,7 @@ examples.
85
85
  Note that these lists rquire version 449 or later of the Proj.4 C library.
86
86
 
87
87
  ==Installation
88
- To intsall the gem simply type:
88
+ To install the gem simply type:
89
89
  gem install proj4rb
90
90
 
91
91
  ==Compiling
@@ -149,12 +149,6 @@ If you are using MingW/msys, then:
149
149
  The result is a proj4_ruby.so file which can be package into a GEM or
150
150
  copied to the ruby/site-lib directory.
151
151
 
152
- ==TODO
153
- - Completely cross-platform build system (mkrf?)
154
-
155
- ==Changes since the last version
156
- - Improved build system
157
-
158
152
  ==License
159
153
  Proj4rb is released under the MIT license.
160
154
 
data/ext/extconf.rb CHANGED
@@ -1,8 +1,13 @@
1
1
  require 'mkmf'
2
2
 
3
- # help with compiling on Mac OS X
4
- $CFLAGS += " -I/sw/include"
5
- $LDFLAGS += " -L/sw/lib"
3
+ dir_config('proj')
4
+
5
+ if not have_header('proj_api.h')
6
+ raise('Cannot find proj_api.h header')
7
+ end
8
+
9
+ if not have_library('proj', 'pj_init')
10
+ raise('Cannot find proj4 library')
11
+ end
6
12
 
7
- have_library 'proj', 'pj_init'
8
13
  create_makefile 'proj4_ruby'
data/rakefile.rb CHANGED
@@ -37,7 +37,7 @@ FILES = FileList[
37
37
  # Default GEM Specification
38
38
  default_spec = Gem::Specification::new do |s|
39
39
  s.name = 'proj4rb'
40
- s.version = "0.3.0"
40
+ s.version = "0.3.1"
41
41
  s.summary = "Ruby bindings for the Proj.4 Carthographic Projection library"
42
42
  s.description = <<-EOF
43
43
  Proj4rb is a ruby binding for the Proj.4 Carthographic Projection library, that supports conversions between a very large number of geographic coordinate systems and datums.
@@ -63,7 +63,7 @@ end
63
63
 
64
64
  desc "Package the library as a gem"
65
65
  Rake::GemPackageTask.new(default_spec) do |pkg|
66
- pkg.need_zip = true
66
+ # pkg.need_zip = true
67
67
  pkg.need_tar = true
68
68
  end
69
69
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proj4rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guilhem Vellut
@@ -9,11 +9,11 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-08-21 00:00:00 -06:00
12
+ date: 2009-12-24 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
16
- description: Proj4rb is a ruby binding for the Proj.4 Carthographic Projection library, that supports conversions between a very large number of geographic coordinate systems and datums.
16
+ description: " Proj4rb is a ruby binding for the Proj.4 Carthographic Projection library, that supports conversions between a very large number of geographic coordinate systems and datums.\n"
17
17
  email: guilhem.vellut@gmail.com
18
18
  executables: []
19
19
 
@@ -57,15 +57,15 @@ files:
57
57
  - example/list-units.rb
58
58
  - example/version.rb
59
59
  - ext/extconf.rb
60
- - ext/mingw
61
60
  - ext/projrb.c
62
- - ext/vc
63
61
  - ext/mingw/rakefile.rb
64
62
  - ext/vc/proj4_ruby.sln
65
63
  - ext/vc/proj4_ruby.vcproj
66
64
  - lib/proj4.rb
67
65
  has_rdoc: true
68
66
  homepage: http://proj4rb.rubyforge.org/
67
+ licenses: []
68
+
69
69
  post_install_message:
70
70
  rdoc_options:
71
71
  - --main
@@ -87,9 +87,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - Proj.4 C library
89
89
  rubyforge_project: proj4rb
90
- rubygems_version: 1.2.0
90
+ rubygems_version: 1.3.5
91
91
  signing_key:
92
- specification_version: 2
92
+ specification_version: 3
93
93
  summary: Ruby bindings for the Proj.4 Carthographic Projection library
94
94
  test_files:
95
95
  - test/test_constants.rb