Skip to content

Commit

Permalink
update apollo version
Browse files Browse the repository at this point in the history
  • Loading branch information
OhKanghoon committed Jan 3, 2022
1 parent 9552274 commit 33d6fe4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 53 deletions.
53 changes: 4 additions & 49 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,8 @@
"repositoryURL": "https://github.com/apollographql/apollo-ios.git",
"state": {
"branch": null,
"revision": "5db23797be9211db2e5b67068a600eb2842360b3",
"version": "0.44.0"
}
},
{
"package": "InflectorKit",
"repositoryURL": "https://github.com/apollographql/InflectorKit",
"state": {
"branch": null,
"revision": "b1d0099abe36facd198113633f502889842906af",
"version": "0.0.2"
}
},
{
"package": "PathKit",
"repositoryURL": "https://github.com/kylef/PathKit.git",
"state": {
"branch": null,
"revision": "73f8e9dca9b7a3078cb79128217dc8f2e585a511",
"version": "1.0.0"
"revision": "d93568fb58f3eed95c2a0068d830a39a6e9d6c97",
"version": "0.50.0"
}
},
{
Expand All @@ -37,40 +19,13 @@
"version": "6.2.0"
}
},
{
"package": "Spectre",
"repositoryURL": "https://github.com/kylef/Spectre.git",
"state": {
"branch": null,
"revision": "f717bbce0e19f0129fc001b2b6bed43b70fd8b87",
"version": "0.9.1"
}
},
{
"package": "SQLite.swift",
"repositoryURL": "https://github.com/stephencelis/SQLite.swift.git",
"state": {
"branch": null,
"revision": "0a9893ec030501a3956bee572d6b4fdd3ae158a1",
"version": "0.12.2"
}
},
{
"package": "Starscream",
"repositoryURL": "https://github.com/daltoniam/Starscream",
"state": {
"branch": null,
"revision": "df8d82047f6654d8e4b655d1b1525c64e1059d21",
"version": "4.0.4"
}
},
{
"package": "Stencil",
"repositoryURL": "https://github.com/stencilproject/Stencil.git",
"state": {
"branch": null,
"revision": "94197b3adbbf926348ad8765476a158aa4e54f8a",
"version": "0.14.0"
"revision": "60a65015f6402b7c34b9a924f755ca0a73afeeaa",
"version": "0.13.1"
}
}
]
Expand Down
12 changes: 9 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.1
// swift-tools-version:5.3

import PackageDescription

Expand All @@ -11,11 +11,17 @@ let package = Package(
.library(name: "RxApolloClient", targets: ["RxApolloClient"])
],
dependencies: [
.package(url: "https://github.com/apollographql/apollo-ios.git", .upToNextMajor(from: "0.44.0")),
.package(url: "https://github.com/apollographql/apollo-ios.git", .upToNextMajor(from: "0.50.0")),
.package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "6.0.0")),
],
targets: [
.target(name: "RxApolloClient", dependencies: ["Apollo", "RxSwift"])
.target(
name: "RxApolloClient",
dependencies: [
.product(name: "Apollo", package: "apollo-ios"),
.product(name: "RxSwift", package: "RxSwift"),
]
)
],
swiftLanguageVersions: [.v5]
)
6 changes: 5 additions & 1 deletion RxApolloClient.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/OhKanghoon/RxApolloClient.git', :tag => s.version.to_s }

s.swift_version = '5.0'

s.ios.deployment_target = '12.0'
s.osx.deployment_target = '10.14'
s.tvos.deployment_target = '12.0'
s.watchos.deployment_target = '5.0'

s.source_files = 'Sources/**/*.{swift,h,m}'

s.dependency 'RxSwift', '~> 6.0'
s.dependency 'Apollo', '~> 0.44.0'
s.dependency 'Apollo', '~> 0.50.0'
end

0 comments on commit 33d6fe4

Please sign in to comment.