Skip to content

Commit

Permalink
Merge pull request #14 from hainayanda/fix/update-username
Browse files Browse the repository at this point in the history
Update username
  • Loading branch information
hainayanda authored Jul 21, 2021
2 parents 1e2b692 + b1265e2 commit 40b5342
Show file tree
Hide file tree
Showing 11 changed files with 326 additions and 322 deletions.
10 changes: 5 additions & 5 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PODS:
- Ergo (1.0.2)
- iONess (2.0.0):
- Ergo (~> 1.0.2)
- Ergo (1.0.3)
- iONess (2.0.1):
- Ergo (~> 1.0.3)
- Nimble (9.2.0)
- Quick (4.0.0)

Expand All @@ -21,8 +21,8 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
Ergo: a2c4c019153adc9b75c9186626abc9aa02bdb817
iONess: 611a8b7ae94aec1b658bc371bcd1a7b854255a36
Ergo: bbcbda05426bdeaee21fa572f2567f765d151396
iONess: e5d30b91e9f9c4fbecb21969ee3d7ce6ba244f33
Nimble: 4f4a345c80b503b3ea13606a4f98405974ee4d0b
Quick: 6473349e43b9271a8d43839d9ba1c442ed1b7ac4

Expand Down
16 changes: 8 additions & 8 deletions Example/Pods/Ergo/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Example/Pods/Local Podspecs/iONess.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

568 changes: 286 additions & 282 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Example/Pods/Target Support Files/Ergo/Ergo-Info.plist

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Example/Pods/Target Support Files/iONess/iONess-Info.plist

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
},
{
"package": "Ergo",
"repositoryURL": "https://github.com/nayanda1/Ergo.git",
"repositoryURL": "https://github.com/hainayanda/Ergo.git",
"state": {
"branch": null,
"revision": "8d49aa2737becd4a93b9b371410a3ebae7007d81",
"version": "1.0.2"
"revision": "4ffc0fe9a8d258f71707a3526c2b716c2860b007",
"version": "1.0.3"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let package = Package(
)
],
dependencies: [
.package(url: "https://github.com/nayanda1/Ergo.git", from: "1.0.2"),
.package(url: "https://github.com/hainayanda/Ergo.git", from: "1.0.3"),
.package(url: "https://github.com/Quick/Quick.git", from: "4.0.0"),
.package(url: "https://github.com/Quick/Nimble.git", from: "9.2.0")
],
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# iONess

iONess (iOS Network Session) is HTTP Request Helper for the iOS platform used by Home Credit Indonesia iOS App. It using [Ergo](https://github.com/nayanda1/Ergo) as a concurrent helper and promise pipelining.
iONess (iOS Network Session) is HTTP Request Helper for the iOS platform used by Home Credit Indonesia iOS App. It using [Ergo](https://github.com/hainayanda/Ergo) as a concurrent helper and promise pipelining.

![build](https://github.com/oss-homecredit-id/iONess/workflows/build/badge.svg)
![test](https://github.com/oss-homecredit-id/iONess/workflows/test/badge.svg)
Expand Down Expand Up @@ -33,7 +33,7 @@ iONess is available through [CocoaPods](https://cocoapods.org). To install it, s
for iOS 10 or higher

```ruby
pod 'iONess', '~> 2.0.0'
pod 'iONess', '~> 2.0'
```

or for iOS 8 or higher
Expand All @@ -46,16 +46,16 @@ pod 'iONess', '~> 1.2.5'

- Add it using xcode menu **File > Swift Package > Add Package Dependency**
- Add **https://github.com/oss-homecredit-id/iONess.git** as Swift Package url
- Set rules at **version**, with **Up to Next Major** option and put **2.0.0** as its version for iOS 10 or higher or **1.2.5** for iOS 8 or higher
- Set rules at **version**, with **Up to Next Major** option and put **2.0.1** as its version for iOS 10 or higher or **1.2.5** for iOS 8 or higher
- Click next and wait

### Swift Package Manager from Package.swift

Add as your target dependency in **Package.swift**. Use **2.0.0** as its version for iOS 10 or higher or **1.2.5** for iOS 8 or higher
Add as your target dependency in **Package.swift**. Use **2.0.1** as its version for iOS 10 or higher or **1.2.5** for iOS 8 or higher

```swift
dependencies: [
.package(url: "https://github.com/oss-homecredit-id/iONess.git", .upToNextMajor(from: "2.0.0"))
.package(url: "https://github.com/oss-homecredit-id/iONess.git", .upToNextMajor(from: "2.0.1"))
]
```

Expand All @@ -71,7 +71,7 @@ Use it in your target as `iONess`
## Contributor

- Home Credit Indonesia, iOS Teams
- nayanda, nayanda1@outlook.com
- nayanda, hainayanda@outlook.com

## License

Expand Down Expand Up @@ -101,7 +101,7 @@ Ness.default
```

When data `dataRequest()` is called, it will always execute the request right away no matter it have completion or not.
`dataRequest()` actually returning `Promise` object from [Ergo](https://github.com/nayanda1/Ergo) so you could always do everything you can do with `Ergo Promise`:
`dataRequest()` actually returning `Promise` object from [Ergo](https://github.com/hainayanda/Ergo) so you could always do everything you can do with `Ergo Promise`:

```swift
Ness.default
Expand All @@ -116,7 +116,7 @@ Ness.default
}
```

You could always check [Ergo here](https://github.com/nayanda1/Ergo) about what its promise can do.
You could always check [Ergo here](https://github.com/hainayanda/Ergo) about what its promise can do.

### Create Request

Expand Down Expand Up @@ -282,7 +282,7 @@ you can cancel the request using `drop()` function:
requestPromise.drop()
```

since the promise is based on the [Ergo](https://github.com/nayanda1/Ergo) Promise, it contains the result of the request if it already finished and an error if the error occurs:
since the promise is based on the [Ergo](https://github.com/hainayanda/Ergo) Promise, it contains the result of the request if it already finished and an error if the error occurs:

```swift
// will be nil if the request is not finished yet or if the error occurs
Expand Down
6 changes: 3 additions & 3 deletions iONess.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'iONess'
s.version = '2.0.0'
s.version = '2.0.1'
s.summary = 'iOS Network Session'

# This description is used to generate tags and improve search results.
Expand All @@ -24,7 +24,7 @@ Pod::Spec.new do |s|
s.homepage = 'https://github.com/oss-homecredit-id/iONess'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'nayanda' => 'nayanda1@outlook.com' }
s.author = { 'nayanda' => 'hainayanda@outlook.com' }
s.source = { :git => 'https://github.com/oss-homecredit-id/iONess.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

Expand All @@ -39,6 +39,6 @@ Pod::Spec.new do |s|
# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
s.dependency 'Ergo', '~> 1.0.2'
s.dependency 'Ergo', '~> 1.0.3'
s.swift_version = '5.1'
end

0 comments on commit 40b5342

Please sign in to comment.