ffi-gdal 1.0.0.beta9 → 1.0.0.beta10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fdaa59a5ef4022ef21872fc621c9f5ff872b07d40334dc002f4802aae99ec4ba
4
- data.tar.gz: bcb79fc1ef548adb1b3d32cca73e0762d3b4cbee3bd068fe03fe65d9cf886807
3
+ metadata.gz: 659c94d48e012adfd48d62dc168b1ac0a16a6275d022d7ed4f799ffab7074d6c
4
+ data.tar.gz: 52069e3dc0bddb8a6b60b6a257fa8d33bf69831af98e5f4c7a37a2b88f528fe6
5
5
  SHA512:
6
- metadata.gz: 9b20b80ea7995d46e3f9cab97f54c558d3810aea8903a27a44446d05be713b51b6e6ca9dfd57ccb72771cabd28ee560a4ac78e13fd9628c5009d5c6b650c11a6
7
- data.tar.gz: f75a07f4a6139a59d022c59de617629d248b45ea79e3de3916f39066ae1a5e4999851d1ddfad146f80b81c35eef1e691a043315a5ac5686fa9b199a013630376
6
+ metadata.gz: df7d823f92a3e4ce6fef0b660736b719f1e3989f5c89d76b20af5256f7269ee142ad0c6ff1ea5fb78386a945a312e43e7115248379860816a12ca550036edcca
7
+ data.tar.gz: 5851ec8e10e7497b797a64542de4612ad1e22109dfcc4855a1752f49d4ec4d619e812e680469eddecc91b37e0b0760edde1e5368be7778229b3d10eef039c595
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.4.1
1
+ 2.6.3
data/History.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  Format for this file derived from [http://keepachangelog.com](http://keepachangelog.com).
4
4
 
5
+ ## 1.0.0.beta10 / 2019-08-28
6
+
7
+ ### Bug Fixes
8
+
9
+ * [DEV-7980] Ensure `OGR::Feature#field_as_string` returns a UTF-8 encoded String.
10
+
5
11
  ## 1.0.0.beta9 / 2018-03-26
6
12
 
7
13
  ### Bug Fixes
data/README.md CHANGED
@@ -6,6 +6,11 @@ Ruby wrapper around GDAL, using FFI, along with some helper methods.
6
6
  Installation
7
7
  ------------
8
8
 
9
+ For Ubuntu you need to install libgdal-dev via:
10
+
11
+ sudo apt-get install libgdal-dev
12
+
13
+
9
14
  Add this line to your application's Gemfile:
10
15
 
11
16
  gem 'ffi-gdal'
data/ffi-gdal.gemspec CHANGED
@@ -24,12 +24,12 @@ Gem::Specification.new do |spec|
24
24
  spec.add_dependency 'narray', '~> 0.6.0'
25
25
  spec.add_dependency 'numo-narray'
26
26
 
27
- spec.add_development_dependency 'bundler', '~> 1.6'
27
+ spec.add_development_dependency 'bundler'
28
28
  spec.add_development_dependency 'byebug'
29
29
  spec.add_development_dependency 'fakefs'
30
30
  spec.add_development_dependency 'rake'
31
31
  spec.add_development_dependency 'rspec', '~> 3.0'
32
32
  spec.add_development_dependency 'rubocop'
33
33
  spec.add_development_dependency 'rubocop-checkstyle_formatter'
34
- spec.add_development_dependency 'simplecov', '~> 0.9.0'
34
+ spec.add_development_dependency 'simplecov', '~> 0.9'
35
35
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module FFI
4
4
  module GDAL
5
- VERSION = '1.0.0.beta9'
5
+ VERSION = '1.0.0.beta10'
6
6
  end
7
7
  end
data/lib/ogr/feature.rb CHANGED
@@ -339,7 +339,7 @@ module OGR
339
339
  # @param index [Fixnum]
340
340
  # @return [String]
341
341
  def field_as_string(index)
342
- FFI::OGR::API.OGR_F_GetFieldAsString(@c_pointer, index)
342
+ FFI::OGR::API.OGR_F_GetFieldAsString(@c_pointer, index).force_encoding(Encoding::UTF_8)
343
343
  end
344
344
 
345
345
  # @param index [Fixnum]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-gdal
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta9
4
+ version: 1.0.0.beta10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Loveless
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-26 00:00:00.000000000 Z
11
+ date: 2019-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -84,16 +84,16 @@ dependencies:
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '1.6'
89
+ version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: '1.6'
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: byebug
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 0.9.0
187
+ version: '0.9'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 0.9.0
194
+ version: '0.9'
195
195
  description:
196
196
  email:
197
197
  - steve@agrian.com
@@ -543,8 +543,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
543
543
  - !ruby/object:Gem::Version
544
544
  version: 1.3.1
545
545
  requirements: []
546
- rubyforge_project:
547
- rubygems_version: 2.7.6
546
+ rubygems_version: 3.0.3
548
547
  signing_key:
549
548
  specification_version: 4
550
549
  summary: FFI wrapper for GDAL/OGR.