Skip to content

Commit 81c6365

Browse files
committed
Merge pull request #7 from zhm/upgrade-sources
Upgrade sources and fix compilation errors on ruby 2.2.1
2 parents a1cd42d + 607f364 commit 81c6365

13 files changed

Lines changed: 3027 additions & 1307 deletions

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ rvm:
33
- 1.9.2
44
- 1.9.3
55
- 2.1.5
6+
- 2.2.1
67
before_install:
78
- sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable -y
89
- sudo apt-get update

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1+
## v1.0.0
2+
* Regenerated bindings using GDAL 1.10.1 sources and SWIG 3.0.5
3+
* Patch for ruby 2.2.1 (Thanks @aleksejleonov and @johnjohndoe) (Issue #5)
4+
* Fix symbol conflicts when requiring both `gdal-ruby/gdal` and `gdal-ruby/ogr` with `get_driver_by_name` and other functions (Issue #2)
5+
* Since the symbol conflicts are now fixed, `gdal`, `ogr`, `osr` and `gdalconst` are now `require`'d be default (Issue #2)
6+
17
## v0.0.7
28
* Fix for building on ruby versions where `$CXXFLAGS` isn't defined

ext/gdal-ruby/gdal/extconf.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
require 'mkmf'
22

3+
# see https://github.com/zhm/gdal-ruby/issues/5
4+
require_relative '../ruby-2.2-patch'
5+
36
raise 'gdal-config not found.' if `which gdal-config`.empty?
47

58
dir_config 'gdal',

0 commit comments

Comments
 (0)