Skip to content

Commit

Permalink
Release 1.0.1 (#4)
Browse files Browse the repository at this point in the history
* remove old documentation, fix an old view file name

* add tests for automated testing, updated readme, actually fix relative path of images

* url encode images, add release- branches to actions

* clean up example code, add import checks, updates swift tools version to 5.2

* add initial support for adding own custom data and documentation on using, removal of ios device name to remove dependency of uikit

* clean completion handlers, fix tests for preload and signedstatus methods, add optional parameter to preload method to avoid url cache

* add MIT license, update documentation on properties and methods, add additional error handling and definition

* fix readme header

* add support for coocapods and carthage
  • Loading branch information
timothymorse authored Oct 1, 2020
1 parent ca4cffe commit 386a987
Show file tree
Hide file tree
Showing 20 changed files with 639 additions and 298 deletions.
27 changes: 26 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
## OS X Finder
.DS_Store

## Build generated
build/
DerivedData

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata

## Other
*.xccheckout
*.moved-aside
*.xcuserstate
*.xcscmblueprint
/.build
/Packages
/*.xcodeproj
xcuserdata/
PactSafe.xcscheme

# Carthage
Carthage/Build
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 PactSafe, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
7 changes: 2 additions & 5 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.2
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -12,10 +12,7 @@ let package = Package(
name: "PactSafe",
targets: ["PactSafe"])
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
dependencies: [],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
Expand Down
13 changes: 13 additions & 0 deletions PactSafe.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Pod::Spec.new do |spec|
spec.name = "PactSafe"
spec.version = "1.0.1"
spec.summary = "The PactSafe SDK makes for easier integration of PactSafe into your Swift project."
spec.homepage = "https://github.com/pactsafe/pactsafe-ios-sdk"
spec.license = { :type => "MIT", :file => "LICENSE" }
spec.author = { "Tim Morse" => "[email protected]" }
spec.platform = :ios, "10.0"
spec.source = { :git => "https://github.com/pactsafe/pactsafe-ios-sdk.git", :tag => spec.version }
spec.source_files = "Sources/PactSafe/*.swift"
spec.swift_version = "5.0"
spec.ios.framework = 'UIKit'
end
Loading

0 comments on commit 386a987

Please sign in to comment.