mapwkt 1.0.0 → 1.0.1

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.
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