charta 0.1.17 → 0.1.18

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: 3bdf87fdffb17cf24b38fb76b86d84593bc3f6ca0d0d3e8ffcf5df3d76d3db1f
4
- data.tar.gz: bda9a9fd027f0bfdb514a7de6e92429977dc55e5fe7db38c27f6a59a871df875
3
+ metadata.gz: 305d47070fc660134d7a4bed344db7efb555c9729a30e771af105a263c6aee01
4
+ data.tar.gz: 4cfab59ae1d9f4034eb066bcf05e3a4c49b117604879e3e1e282a50e2c234f64
5
5
  SHA512:
6
- metadata.gz: a808aff9f3da978cd293d0084e9c2a61c7a414fe259ca71821ed195afc50f57e99b7d352e0651723dfa7379d70881dfbf01c4d2959e5602c121e94a78bf14b90
7
- data.tar.gz: 54a3e3e081602b978bd4b60d9c8bbbf894d22e14b501715f34278ba48c4ee76489b29b92f2f51419ccb311cd046f9871865240565385b6f5848a63a2b257b09c
6
+ metadata.gz: 7cc82941e2062fa2309c294dc02b912528faf4a4893b34ee4a719a62ecd77422a1ff97d7c0255246dc4b9b014b2839bff6f7169e38d4be78cbb883d83352c26d
7
+ data.tar.gz: 2193fbd5aa27ddca33cbd4ef3257168d2c567d1b8e4eb3def8ae2bcaed05e22aaeb82e8f6a17640955a7d92ff38835ab2d41a4f7f1e8dd01193db9fdab8dc31d
@@ -224,7 +224,8 @@ module Charta
224
224
 
225
225
  def intersection(other)
226
226
  other_geometry = Charta.new_geometry(other).transform(srid)
227
- feature.intersection(other_geometry.feature)
227
+
228
+ Charta.new_geometry(feature.intersection(other_geometry.feature))
228
229
  end
229
230
 
230
231
  def intersects?(other)
@@ -1,3 +1,3 @@
1
1
  module Charta
2
- VERSION = '0.1.17'.freeze
2
+ VERSION = '0.1.18'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: charta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brice TEXIER
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-08 00:00:00.000000000 Z
11
+ date: 2020-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri