Skip to content

Commit

Permalink
Merge pull request #110 from dbsystel/develop
Browse files Browse the repository at this point in the history
Release 3.0
  • Loading branch information
lightsprint09 authored Jan 11, 2022
2 parents 245034c + e204e62 commit 57a7e4b
Show file tree
Hide file tree
Showing 51 changed files with 833 additions and 1,124 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
on: push
name: Build
jobs:
test:
name: Build
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Build and test
run: swift test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ xcuserdata/
## Other
*.moved-aside
*.xcuserstate
.DS_Store

## Obj-C/Swift specific
*.hmap
Expand Down
40 changes: 0 additions & 40 deletions .travis.yml

This file was deleted.

689 changes: 0 additions & 689 deletions DBNetworkStack.xcodeproj/project.pbxproj

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions DBNetworkStack.xcworkspace/contents.xcworkspacedata

This file was deleted.

This file was deleted.

This file was deleted.

25 changes: 0 additions & 25 deletions JSONExample.playground/Contents.swift

This file was deleted.

4 changes: 0 additions & 4 deletions JSONExample.playground/contents.xcplayground

This file was deleted.

2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.0
// swift-tools-version:5.5
//
// Package.swift
//
Expand Down
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
[![Build Status](https://travis-ci.org/dbsystel/DBNetworkStack.svg?branch=develop)](https://travis-ci.org/dbsystel/DBNetworkStack)
[![codebeat badge](https://codebeat.co/badges/e438e768-249d-4e9f-8dd8-32928537740e)](https://codebeat.co/projects/github-com-dbsystel-dbnetworkstack-develop)
[![codecov](https://codecov.io/gh/dbsystel/DBNetworkStack/branch/develop/graph/badge.svg)](https://codecov.io/gh/dbsystel/DBNetworkStack)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![Swift Package Manager compatible](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager)
[![Version](https://img.shields.io/cocoapods/v/DBNetworkStack.svg?style=flat)](http://cocoapods.org/pods/DBNetworkStack)

| | Main Features |
| --------- | ------------------------------ |
Expand Down Expand Up @@ -95,23 +93,22 @@ The following table shows all the protocols and their default implementations.
| -------------------------------- | ---------------------- |
| ```RetryNetworkService``` | Retrys requests after a given delay when an error meets given criteria. |
| ```ModifyRequestNetworkService``` | Modify matching requests. Can be used to add auth tokens or API Keys |
| ```NetworkServiceMock``` | Mocks a NetworkService. Can be use during unit tests |

## Requirements

- iOS 9.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+
- Xcode 10.2+
- Swift 5.0

## Installation

### Carthage
### Swift Package Manager

[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
[SPM](https://swift.org/package-manager/) is integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.

Specify the following in your `Cartfile`:
Specify the following in your `Package.swift`:

```ogdl
github "dbsystel/dbnetworkstack" ~> 2.0
```swift
.package(url: "https://github.com/dbsystel/DBNetworkStack", from: "2.1.0"),
```

## Contributing
Expand Down
21 changes: 0 additions & 21 deletions SimpleDemo.playground/Contents.swift

This file was deleted.

4 changes: 0 additions & 4 deletions SimpleDemo.playground/contents.xcplayground

This file was deleted.

34 changes: 0 additions & 34 deletions Source/DBNetworkStack.h

This file was deleted.

Loading

0 comments on commit 57a7e4b

Please sign in to comment.