Skip to content

Commit

Permalink
Merge pull request #50 from futuredapp/develop
Browse files Browse the repository at this point in the history
Release v1.0.0
  • Loading branch information
mkj-is authored Feb 13, 2020
2 parents 3c7f328 + 73756c0 commit f3d8334
Show file tree
Hide file tree
Showing 55 changed files with 1,108 additions and 1,276 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @futuredapp/ios
19 changes: 19 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Swift

on:
pull_request:
branches:
- develop
- master

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Build
run: swift build
- name: Run tests
run: swift test
1 change: 1 addition & 0 deletions Documentation/Architecture.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Documentation/Endpoints.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 24 additions & 31 deletions FTAPIKit.podspec
Original file line number Diff line number Diff line change
@@ -1,36 +1,29 @@
Pod::Spec.new do |s|
s.name = "FTAPIKit"
s.version = "0.6.0"
s.summary = "Declarative, generic REST API framework using URLSession and Codable"
s.description = <<-DESC
Protocol-oriented REST API library for communication with REST API.
APIEndpoint protocols allow description of the API access points
and the requests/responses codable types. APIAdapter handles execution
of calls to this endpoints.
s.name = "FTAPIKit"
s.version = "1.0.0"
s.summary = "Declarative, generic and protocol-orented REST API framework using URLSession and Codable"
s.description = <<-DESC
Protocol-oriented framework for communication with REST APIs.
Endpoint protocols describe the API resource access points
and the requests/responses codable types. Server protocol describes web services
and enables the user to call endoints in a type-safe manner.
DESC
s.homepage = "https://github.com/futuredapp/FTAPIKit"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Matěj Kašpar Jirásek" => "[email protected]" }
s.social_media_url = "https://twitter.com/Futuredapps"
s.default_subspec = 'Core'
s.swift_version = "5.0"
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.10"
s.watchos.deployment_target = "2.0"
s.tvos.deployment_target = "9.0"
s.source = { :git => "https://github.com/futuredapp/FTAPIKit.git", :tag => s.version.to_s }
s.homepage = "https://github.com/futuredapp/FTAPIKit"
s.license = { type: "MIT", file: "LICENSE" }
s.author = { "Matěj Kašpar Jirásek": "[email protected]" }
s.social_media_url = "https://twitter.com/Futuredapps"

s.subspec 'Core' do |ss|
ss.source_files = "Sources/FTAPIKit/*"
ss.framework = "Foundation"
ss.ios.framework = "MobileCoreServices"
ss.tvos.framework = "MobileCoreServices"
ss.watchos.framework = "MobileCoreServices"
end
s.source = { git: "https://github.com/futuredapp/FTAPIKit.git", tag: s.version.to_s }
s.source_files = "Sources/FTAPIKit/*"

s.subspec 'PromiseKit' do |ss|
ss.source_files = Dir['Sources/FTAPIKitPromiseKit/*']
ss.dependency 'PromiseKit', '~> 6.0'
ss.dependency 'FTAPIKit/Core'
end
s.framework = "Foundation"
s.ios.framework = "MobileCoreServices"
s.tvos.framework = "MobileCoreServices"
s.watchos.framework = "MobileCoreServices"

s.swift_version = "5.0"
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.10"
s.watchos.deployment_target = "2.0"
s.tvos.deployment_target = "9.0"
end
13 changes: 2 additions & 11 deletions 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.1

import PackageDescription

Expand All @@ -7,21 +7,12 @@ let package = Package(
products: [
.library(
name: "FTAPIKit",
targets: ["FTAPIKit"]),
.library(
name: "FTAPIKitPromiseKit",
targets: ["FTAPIKitPromiseKit"])
],
dependencies: [
.package(url: "https://github.com/mxcl/PromiseKit.git", from: "6.8.4")
targets: ["FTAPIKit"])
],
targets: [
.target(
name: "FTAPIKit",
dependencies: []),
.target(
name: "FTAPIKitPromiseKit",
dependencies: ["FTAPIKit", "PromiseKit"]),
.testTarget(
name: "FTAPIKitTests",
dependencies: ["FTAPIKit"])
Expand Down
Loading

0 comments on commit f3d8334

Please sign in to comment.