rgeo-shapefile 0.4.1 → 0.4.2

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
  SHA1:
3
- metadata.gz: bb0962585cf3d5624a5c53e9d869775beede18b3
4
- data.tar.gz: 218d5b330c5d6dfdadb62792f3994a45753c271b
3
+ metadata.gz: c3b9a0c37b88f284130fcad065605334f94a615d
4
+ data.tar.gz: f2ddb4b6d442892fdb82f6a51f511f21b0689874
5
5
  SHA512:
6
- metadata.gz: 213ca8c1174c4d3e5113794b57b53469df2fe26728f62e6103627a31a82e190b68cd0cabe312e7793c00f8a69dd06097ae9f8d78c8062580bef8c5575967441b
7
- data.tar.gz: b5e0078ef7480c7d9dd3b65f0ab3d3f8431aa54d51cb9214b99270fb102c6c12bdaa0c1002b1bcbdce62969acbe8520c6c8c445b4e8ada5e5fa394a89fb35b58
6
+ metadata.gz: 5411bb7774fec9d55af7508add5f660987d43ce8a33e3ff7ecfe4f471edff05eaf6f92fad60506718d095f43229f244d1ba7f0bc6d09bf95934011589544ffb1
7
+ data.tar.gz: dbb682a801cfaf9ea648e751c72af59511c65f6c8fd3784d6d6210c1fde24176d97058637fc67aaa18098a00e1bff3608332ca1dad06c0ba4471c19b7a330c17
data/History.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.4.2 / 2017-1-31
2
+
3
+ * Require ruby 2.1
4
+ * Handle non-string path objects in Reader #20
5
+
1
6
  ### 0.4.1 / 2015-2-8
2
7
 
3
8
  * Fix homepage in gemspec
@@ -173,7 +173,7 @@ module RGeo
173
173
  # block. You should use Reader::open instead.
174
174
 
175
175
  def initialize(path_, opts_ = {}) # :nodoc:
176
- path_ = path_.sub(/\.shp$/, "")
176
+ path_ = path_.to_s.sub(/\.shp$/, "")
177
177
  @base_path = path_
178
178
  @opened = true
179
179
  @main_file = ::File.open(path_ + ".shp", "rb:ascii-8bit")
@@ -1,5 +1,5 @@
1
1
  module RGeo
2
2
  module Shapefile
3
- VERSION = "0.4.1".freeze
3
+ VERSION = "0.4.2".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgeo-shapefile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-02-09 00:00:00.000000000 Z
12
+ date: 2017-01-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rgeo
@@ -73,14 +73,14 @@ dependencies:
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '10.3'
76
+ version: '12.0'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '10.3'
83
+ version: '12.0'
84
84
  description: RGeo is a geospatial data library for Ruby. RGeo::Shapefile is an optional
85
85
  RGeo module for reading the ESRI shapefile format, a common file format for geospatial
86
86
  datasets.
@@ -110,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
110
  requirements:
111
111
  - - ">="
112
112
  - !ruby/object:Gem::Version
113
- version: 2.0.0
113
+ version: 2.1.0
114
114
  required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - ">="
@@ -118,9 +118,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  version: '0'
119
119
  requirements: []
120
120
  rubyforge_project:
121
- rubygems_version: 2.5.2
121
+ rubygems_version: 2.6.8
122
122
  signing_key:
123
123
  specification_version: 4
124
124
  summary: An RGeo module for reading ESRI shapefiles.
125
125
  test_files: []
126
- has_rdoc: