tonystone / geofeatures2

A lightweight, high performance geometry library in Swift.
Apache License 2.0
19 stars 4 forks source link

Updated for Xcode 11.2 and Swift 5.1.2 #196

Closed eswiss closed 4 years ago

eswiss commented 4 years ago

Updated my Xcode to version 11.2 and Swift to 5.1.2. Fixed one bug and removed the word "public" where not needed. Changed the "hashvalue" parameter to the "hash" function in several places. Updated several unit tests. Added the Gemfile.lock file to the .gitignore file.

codecov[bot] commented 4 years ago

Codecov Report

Merging #196 into master will decrease coverage by 0.41%. The diff coverage is 64.54%.

@@            Coverage Diff             @@
##           master     #196      +/-   ##
==========================================
- Coverage   98.71%   98.29%   -0.42%     
==========================================
  Files          85       86       +1     
  Lines        8781     9140     +359     
==========================================
+ Hits         8668     8984     +316     
- Misses        113      156      +43
Impacted Files Coverage Δ
Sources/GeoFeatures/CoordinateCollectionType.swift 100% <ø> (ø) :arrow_up:
...rces/GeoFeaturesQuartz/CGContext+GeoFeatures.swift 100% <ø> (ø) :arrow_up:
Tests/GeoFeaturesTests/TokenizerTests.swift 97.43% <0%> (-2.57%) :arrow_down:
...eaturesTests/CoordinateSystem+CartesianTests.swift 80% <0%> (-8.89%) :arrow_down:
...aturesTests/CoordinateSystem+GeographicTests.swift 80% <0%> (-8.89%) :arrow_down:
Sources/GeoFeatures/WKTReader.swift 99.23% <0%> (-0.77%) :arrow_down:
...rces/GeoFeatures/CoordinateSystem+Geographic.swift 100% <100%> (ø) :arrow_up:
...urces/GeoFeatures/CoordinateSystem+Cartesian.swift 100% <100%> (ø) :arrow_up:
Sources/GeoFeatures/Floating.swift 100% <100%> (ø) :arrow_up:
...artzTests/GeoFeatures+PathRepresentableTests.swift 100% <100%> (ø) :arrow_up:
... and 20 more