gdal 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: cbe3949d5d329cbb960ba5f80e351eba5223ddbb
4
- data.tar.gz: ef77c42b8428fdaf5053847402e38f011f84dfe5
3
+ metadata.gz: adf6ca7ec898c0788ef32fb41c86e02411ece7be
4
+ data.tar.gz: a05c414f390743bc212188114d5fbd085c543049
5
5
  SHA512:
6
- metadata.gz: 1752d05e237b76c02e29632688b71310d89fcbf3771af1bd3d8384baf380ea269265bab2c829b1bde560e7d46e51c9b4ae659d768dfdb76587b659a38252178e
7
- data.tar.gz: 6e5ecaa4579d476599b632c3ff27026f916a792999fb6b2b3cd7651a04b29993021e5e1a74002d56dada43433a5d4316b8e4f6781a3a279bc034fc9c298fbaed
6
+ metadata.gz: f7b02e7987450fe2db33006c06942d405394755e57c15a0c2ff028c5bd7ff90efc206d972b59a5112d6ca038c66afc3184e517a2d1d733081b34d816c3556be5
7
+ data.tar.gz: 14b50ccc8e7f15155d708f0fb78bae8ff66e12d7c6ecb534fbf1106da1558bde3b65da02cb6f5339ca29c9411ec150be0c3ee11b61a5236b540bea7aab3386b9
@@ -1,8 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.8.7
4
3
  - 1.9.2
5
4
  - 1.9.3
5
+ - 2.1.5
6
+ - 2.2.1
6
7
  before_install:
7
8
  - sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable -y
8
9
  - sudo apt-get update
@@ -12,6 +12,9 @@ pkg_config 'gdal'
12
12
 
13
13
  $libs = append_library $libs, 'gdal'
14
14
 
15
+ # earlier versions of ruby do not define $CXXFLAGS
16
+ $CXXFLAGS = CONFIG["CXXFLAGS"] unless defined?($CXXFLAGS)
17
+
15
18
  $CFLAGS << ' -Wno-format-security'
16
19
  $CXXFLAGS << ' -Wno-format-security'
17
20
 
@@ -12,6 +12,9 @@ pkg_config 'gdal'
12
12
 
13
13
  $libs = append_library $libs, 'gdal'
14
14
 
15
+ # earlier versions of ruby do not define $CXXFLAGS
16
+ $CXXFLAGS = CONFIG["CXXFLAGS"] unless defined?($CXXFLAGS)
17
+
15
18
  $CFLAGS << ' -Wno-format-security'
16
19
  $CXXFLAGS << ' -Wno-format-security'
17
20
 
@@ -2,8 +2,6 @@ require 'mkmf'
2
2
 
3
3
  raise 'gdal-config not found.' if `which gdal-config`.empty?
4
4
 
5
- raise 'gdal-config not found.' if `which gdal-config`.empty?
6
-
7
5
  dir_config 'gdal',
8
6
  `gdal-config --cflags`.split(' ')[0].gsub(/-I/, ''),
9
7
  `gdal-config --libs`.split(' ')[0].gsub(/-L/, '')
@@ -14,6 +12,9 @@ pkg_config 'gdal'
14
12
 
15
13
  $libs = append_library $libs, 'gdal'
16
14
 
15
+ # earlier versions of ruby do not define $CXXFLAGS
16
+ $CXXFLAGS = CONFIG["CXXFLAGS"] unless defined?($CXXFLAGS)
17
+
17
18
  $CFLAGS << ' -Wno-format-security'
18
19
  $CXXFLAGS << ' -Wno-format-security'
19
20
 
@@ -12,6 +12,9 @@ pkg_config 'gdal'
12
12
 
13
13
  $libs = append_library $libs, 'gdal'
14
14
 
15
+ # earlier versions of ruby do not define $CXXFLAGS
16
+ $CXXFLAGS = CONFIG["CXXFLAGS"] unless defined?($CXXFLAGS)
17
+
15
18
  $CFLAGS << ' -Wno-format-security'
16
19
  $CXXFLAGS << ' -Wno-format-security'
17
20
 
@@ -1,5 +1,5 @@
1
1
  module Gdal
2
2
  module Ruby
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdal
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
  - Zac McCormick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-09 00:00:00.000000000 Z
11
+ date: 2015-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake