Skip to content

Commit

Permalink
Merge pull request #4 from uhooi/hotfix/fix_cocoapods
Browse files Browse the repository at this point in the history
Hotfix/fix cocoapods
  • Loading branch information
uhooi authored Aug 1, 2021
2 parents ad84b5e + a781a87 commit 61377ea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![CI](https://github.com/uhooi/swift-http-client/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/uhooi/swift-http-client/actions/workflows/main.yml)
[![Release](https://img.shields.io/github/v/release/uhooi/swift-http-client)](https://github.com/uhooi/swift-http-client/releases/latest)
[![CocoaPods Version](https://img.shields.io/cocoapods/v/UHIHTTPClient.svg)](https://cocoapods.org/pods/UHIHTTPClient)
[![License](https://img.shields.io/github/license/uhooi/swift-http-client)](https://github.com/uhooi/swift-http-client/blob/main/LICENSE)
[![Twitter](https://img.shields.io/twitter/follow/the_uhooi?style=social)](https://twitter.com/the_uhooi)

Expand All @@ -24,7 +25,7 @@ You can add this package to `Package.swift`, include it in your target dependenc
```swift
let package = Package(
dependencies: [
.package(url: "https://github.com/uhooi/swift-http-client", .upToNextMajor(from: "0.1.1")),
.package(url: "https://github.com/uhooi/swift-http-client", .upToNextMajor(from: "0.2.1")),
],
targets: [
.target(
Expand All @@ -41,7 +42,11 @@ See [documentation](https://developer.apple.com/documentation/swift_packages/add

### CocoaPods

TBD
This library is available through [CocoaPods](https://cocoapods.org). To install it, simply add the following line to your `Podfile`:

```ruby
pod 'UHIHTTPClient', '~> 0.2.1'
```

### Carthage

Expand Down
4 changes: 2 additions & 2 deletions HTTPClient.podspec → UHIHTTPClient.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'HTTPClient'
spec.version = '0.1.1'
spec.name = 'UHIHTTPClient'
spec.version = '0.2.1'
spec.license = { :type => 'MIT', :file => 'LICENSE' }
spec.summary = 'Communicate via HTTP easily in Swift.'
spec.homepage = 'https://github.com/uhooi/swift-http-client'
Expand Down

0 comments on commit 61377ea

Please sign in to comment.