rgeo-geojson 2.1.0 → 2.1.1

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: 31e3acae0a1cc1b8b417a6e66a03ea7b162cc598f6a48dfaf73a93535d13bbd9
4
- data.tar.gz: 31eb694d0d74d5fb8d41b6c6d1b07017ec71aefd080678a27565b60bb037e29b
3
+ metadata.gz: ea734285d614e1301d41808430a05d9dbb4e8552159b037ea653556e88fd79e3
4
+ data.tar.gz: 7561c7640b2a74b82bb4f20a1995f641071fd698eb2cee50e77395c3209b9bdf
5
5
  SHA512:
6
- metadata.gz: 181c8f3958610b3df6f6c830af066590b438fd3955cdd9cdfe7c80a00791a7038d9db37c711412380f4fd11a8f56b308c7fb7c50cfbc7b2c8bd3988dc680d90a
7
- data.tar.gz: f3d13428ed86ee87c6850626df4cc6146170f89b163d47d3db8226f03b21096fd40badafb178e59205418daf354e1f5d549776a382c22f2145c7a69ae65d1d63
6
+ metadata.gz: a67279b3edd9290fb455b8ffde0fa0b5f0207f938fc805c0d2caa53a71b895bb1fb09ef990a9b98786be9cc343a65c16107745193d7be934efe619341b4909c9
7
+ data.tar.gz: 4775eacc655a9cd60c927644c483e0ac522b5e94dcbb36ca2867168ba97bc1fa59a24c7fbcf364d5933b0105cbc4112982b7322da1160a6f67804755875eefd2
data/History.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 2.1.1 / 2018-11-27
2
+
3
+ * Freeze strings
4
+
5
+
1
6
  ### 2.1.0 / 2018-11-27
2
7
 
3
8
  * Allow rgeo 2.0
@@ -1 +1,3 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "rgeo/geo_json"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "rgeo"
2
4
  require "rgeo/geo_json/version"
3
5
  require "rgeo/geo_json/entities"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RGeo
2
4
  module GeoJSON
3
5
  # This object encapsulates encoding and decoding settings (principally
@@ -193,7 +195,7 @@ module RGeo
193
195
 
194
196
  def decode_point_coords(point_coords)
195
197
  return unless point_coords.is_a?(Array)
196
- @geo_factory.point(*(point_coords[0...@num_coordinates].map(&:to_f))) rescue nil
198
+ @geo_factory.point(*point_coords[0...@num_coordinates].map(&:to_f)) rescue nil
197
199
  end
198
200
 
199
201
  def decode_line_string_coords(line_coords)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RGeo
2
4
  module GeoJSON
3
5
  # This is a GeoJSON wrapper entity that corresponds to the GeoJSON
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RGeo
2
4
  module GeoJSON
3
5
  class << self
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RGeo
2
4
  module GeoJSON
3
- VERSION = "2.1.0".freeze
5
+ VERSION = "2.1.1"
4
6
  end
5
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgeo-geojson
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma