gdal 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cbe3949d5d329cbb960ba5f80e351eba5223ddbb
4
+ data.tar.gz: ef77c42b8428fdaf5053847402e38f011f84dfe5
5
+ SHA512:
6
+ metadata.gz: 1752d05e237b76c02e29632688b71310d89fcbf3771af1bd3d8384baf380ea269265bab2c829b1bde560e7d46e51c9b4ae659d768dfdb76587b659a38252178e
7
+ data.tar.gz: 6e5ecaa4579d476599b632c3ff27026f916a792999fb6b2b3cd7651a04b29993021e5e1a74002d56dada43433a5d4316b8e4f6781a3a279bc034fc9c298fbaed
@@ -0,0 +1,12 @@
1
+ all: build
2
+
3
+ build:
4
+ bundle exec rake
5
+
6
+ test:
7
+ rm -rf tmp && bundle exec rake
8
+
9
+ clean:
10
+ rm -rf tmp
11
+
12
+ .PHONY: build clean test
data/README.md CHANGED
@@ -37,6 +37,19 @@ And then execute:
37
37
  Or install it yourself as:
38
38
 
39
39
  $ gem install gdal
40
+
41
+ Installing on Mac using The Framework way GDAL :
42
+
43
+ - Download and install GDAL Complete dmg from [kyngchaos](http://www.kyngchaos.com/software/frameworks).
44
+
45
+ - Export path ` export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH ` in your bash or zsh profile
46
+
47
+ - Verify the installation ` gdal-config --version `
48
+
49
+ - Install the gem using:
50
+
51
+ ` $ gem install gdal -- --with-gdal-lib=/Library/Frameworks/GDAL.framework/unix/lib --with-gdal-includes=/Library/Frameworks/GDAL.framework/Versions/Current/Headers/ `
52
+
40
53
 
41
54
  ## Usage
42
55
 
@@ -12,5 +12,8 @@ pkg_config 'gdal'
12
12
 
13
13
  $libs = append_library $libs, 'gdal'
14
14
 
15
+ $CFLAGS << ' -Wno-format-security'
16
+ $CXXFLAGS << ' -Wno-format-security'
17
+
15
18
  create_makefile 'gdal-ruby/gdal'
16
19
 
@@ -12,4 +12,7 @@ pkg_config 'gdal'
12
12
 
13
13
  $libs = append_library $libs, 'gdal'
14
14
 
15
+ $CFLAGS << ' -Wno-format-security'
16
+ $CXXFLAGS << ' -Wno-format-security'
17
+
15
18
  create_makefile('gdal-ruby/gdalconst')
@@ -14,4 +14,7 @@ pkg_config 'gdal'
14
14
 
15
15
  $libs = append_library $libs, 'gdal'
16
16
 
17
+ $CFLAGS << ' -Wno-format-security'
18
+ $CXXFLAGS << ' -Wno-format-security'
19
+
17
20
  create_makefile('gdal-ruby/ogr')
@@ -12,4 +12,7 @@ pkg_config 'gdal'
12
12
 
13
13
  $libs = append_library $libs, 'gdal'
14
14
 
15
+ $CFLAGS << ' -Wno-format-security'
16
+ $CXXFLAGS << ' -Wno-format-security'
17
+
15
18
  create_makefile('gdal-ruby/osr')
@@ -1,5 +1,5 @@
1
1
  module Gdal
2
2
  module Ruby
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
@@ -1,4 +1,4 @@
1
- require 'gdal/ogr'
1
+ require 'gdal-ruby/ogr'
2
2
 
3
3
  describe "Gdal" do
4
4
  it "converts WKT to GeoJSON" do
metadata CHANGED
@@ -1,62 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
5
- prerelease:
4
+ version: 0.0.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Zac McCormick
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-08-17 00:00:00.000000000 Z
11
+ date: 2015-02-09 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake-compiler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rspec
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  description: GDAL/OGR bindings for ruby
@@ -70,10 +63,11 @@ extensions:
70
63
  - ext/gdal-ruby/osr/extconf.rb
71
64
  extra_rdoc_files: []
72
65
  files:
73
- - .gitignore
74
- - .travis.yml
66
+ - ".gitignore"
67
+ - ".travis.yml"
75
68
  - Gemfile
76
69
  - LICENSE
70
+ - Makefile
77
71
  - README.md
78
72
  - Rakefile
79
73
  - ext/gdal-ruby/LICENSE
@@ -91,27 +85,26 @@ files:
91
85
  - spec/gdal_spec.rb
92
86
  homepage: https://github.com/zhm/gdal-ruby
93
87
  licenses: []
88
+ metadata: {}
94
89
  post_install_message:
95
90
  rdoc_options: []
96
91
  require_paths:
97
92
  - lib
98
93
  required_ruby_version: !ruby/object:Gem::Requirement
99
- none: false
100
94
  requirements:
101
- - - ! '>='
95
+ - - ">="
102
96
  - !ruby/object:Gem::Version
103
97
  version: '0'
104
98
  required_rubygems_version: !ruby/object:Gem::Requirement
105
- none: false
106
99
  requirements:
107
- - - ! '>='
100
+ - - ">="
108
101
  - !ruby/object:Gem::Version
109
102
  version: '0'
110
103
  requirements: []
111
104
  rubyforge_project:
112
- rubygems_version: 1.8.23
105
+ rubygems_version: 2.4.2
113
106
  signing_key:
114
- specification_version: 3
107
+ specification_version: 4
115
108
  summary: GDAL/OGR bindings for ruby. Currently contains native extensions for GDAL
116
109
  1.9.1
117
110
  test_files: