mapwkt 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mapwkt/wkt/line_string.rb +1 -1
  2. metadata +3 -2
@@ -35,7 +35,7 @@ class MapWKT::Geometry::LineString < MapWKT::Geometry
35
35
  # Returns a new LineString with the same geographic Points as this LineString.
36
36
  def dup
37
37
  points = self.points.map(&:dup)
38
- LineString(*points).tap {|ls| ls.close! if self.closed? }
38
+ LineString.new(*points).tap {|ls| ls.close! if self.closed? }
39
39
  end
40
40
 
41
41
  # Returns a new LineString containing the given Points.
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mapwkt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jesse Sielaff
9
+ - Marc Lipovsky
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2013-02-11 00:00:00.000000000 Z
13
+ date: 2013-02-20 00:00:00.000000000 Z
13
14
  dependencies: []
14
15
  description: .
15
16
  email: jesse.sielaff@gmail.com