Skip to content

Commit

Permalink
vk-turf-update: bumped Turf dependency to stable version; added -pre …
Browse files Browse the repository at this point in the history
…podspec for consistency between releases. (#761)
  • Loading branch information
Udumft committed Nov 4, 2022
1 parent 1b7165c commit a39f13c
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github "raphaelmor/Polyline" ~> 5.0
github "mapbox/turf-swift" ~> 2.4
github "mapbox/turf-swift" ~> 2.6.1
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github "AliSoftware/OHHTTPStubs" "9.1.0"
github "mapbox/mapbox-events-ios" "v0.10.14"
github "mapbox/turf-swift" "v2.5.0"
github "mapbox/turf-swift" "v2.6.1"
github "raphaelmor/Polyline" "v5.1.0"
51 changes: 51 additions & 0 deletions MapboxDirections-pre.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
Pod::Spec.new do |s|

# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

s.name = "MapboxDirections-pre"
s.version = "2.8.0-rc.1"
s.summary = "Mapbox Directions API wrapper for Swift."

s.description = <<-DESC
MapboxDirections makes it easy to connect your iOS, macOS, tvOS, or watchOS application to the Mapbox Directions API. Quickly get driving, cycling, or walking directions, whether the trip is nonstop or it has multiple stopping points, all using a simple interface reminiscent of MapKit’s `MKDirections` API. The Mapbox Directions API is powered by the OSRM routing engine and open data from the OpenStreetMap project.
DESC

s.homepage = "https://www.mapbox.com/navigation/"
s.documentation_url = "https://docs.mapbox.com/ios/api/directions/"

# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

s.license = { :type => "ISC", :file => "LICENSE.md" }

# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

s.author = { "Mapbox" => "[email protected]" }
s.social_media_url = "https://twitter.com/mapbox"

# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

# When using multiple platforms
s.ios.deployment_target = "12.0"
s.osx.deployment_target = "10.14"
s.watchos.deployment_target = "5.0"
s.tvos.deployment_target = "12.0"


# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

s.source = { :git => "https://github.com/mapbox/mapbox-directions-swift.git", :tag => "v#{s.version.to_s}" }

# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

s.source_files = ["Sources/MapboxDirections", "Sources/MapboxDirections/*/*"]

# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

s.requires_arc = true
s.module_name = "MapboxDirections"
s.swift_version = "5.5"

s.dependency "Polyline", "~> 5.0"
s.dependency "Turf", "~> 2.6.1"

end
2 changes: 1 addition & 1 deletion MapboxDirections.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ Pod::Spec.new do |s|
s.swift_version = "5.5"

s.dependency "Polyline", "~> 5.0"
s.dependency "Turf", "~> 2.4"
s.dependency "Turf", "~> 2.6.1"

end
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"repositoryURL": "https://github.com/mapbox/turf-swift.git",
"state": {
"branch": null,
"revision": "dbc07b0a298d642414d3abec59c9eaba1fb3367f",
"version": "2.5.0"
"revision": "87b5b37108ba9f37f0885b586d8f6355d8240dd8",
"version": "2.6.1"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let package = Package(
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(url: "https://github.com/raphaelmor/Polyline.git", from: "5.0.2"),
.package(name: "Turf", url: "https://github.com/mapbox/turf-swift.git", from: "2.4.0"),
.package(name: "Turf", url: "https://github.com/mapbox/turf-swift.git", from: "2.6.1"),
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.0"),
.package(url: "https://github.com/AliSoftware/OHHTTPStubs", from: "9.1.0")
],
Expand Down

0 comments on commit a39f13c

Please sign in to comment.