From 8e85fdd7ce7675680f6117210a5e8aa2f0ade561 Mon Sep 17 00:00:00 2001 From: dannylewis-sheffield Date: Fri, 20 Jan 2017 13:24:16 +0000 Subject: [PATCH 1/4] Updated version --- JSONWebToken.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JSONWebToken.podspec b/JSONWebToken.podspec index 9dce369..2bf5306 100644 --- a/JSONWebToken.podspec +++ b/JSONWebToken.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'JSONWebToken' - spec.version = '2.1.0' + spec.version = '2.1.1' spec.summary = 'Swift library for JSON Web Tokens (JWT).' spec.homepage = 'https://github.com/kylef/JSONWebToken.swift' spec.license = { :type => 'BSD', :file => 'LICENSE' } From 2e045299a6751b677c17295025515648779b016a Mon Sep 17 00:00:00 2001 From: dannylewis-sheffield Date: Fri, 20 Jan 2017 13:28:51 +0000 Subject: [PATCH 2/4] Imported Foundation and CryptoSwift --- Sources/ClaimSet.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/ClaimSet.swift b/Sources/ClaimSet.swift index 2be08ca..a746ab4 100644 --- a/Sources/ClaimSet.swift +++ b/Sources/ClaimSet.swift @@ -1,3 +1,6 @@ +import Foundation +import CryptoSwift + public struct ClaimSet { var claims: [String: Any] From cc3871585ec1608137ed185e21957c0358008406 Mon Sep 17 00:00:00 2001 From: dannylewis-sheffield Date: Fri, 20 Jan 2017 13:30:01 +0000 Subject: [PATCH 3/4] Imported Foundation and CryptoSwift --- Sources/Encode.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/Encode.swift b/Sources/Encode.swift index 04f4109..6ac88c1 100644 --- a/Sources/Encode.swift +++ b/Sources/Encode.swift @@ -1,3 +1,6 @@ +import Foundation +import CryptoSwift + /*** Encode a set of claims - parameter claims: The set of claims - parameter algorithm: The algorithm to sign the payload with From ef5841186c821522f0ae7fba8a0603ed3ac883a2 Mon Sep 17 00:00:00 2001 From: dannylewis-sheffield Date: Fri, 20 Jan 2017 13:43:08 +0000 Subject: [PATCH 4/4] Removed CryptoSwift --- Sources/ClaimSet.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Sources/ClaimSet.swift b/Sources/ClaimSet.swift index a746ab4..7626498 100644 --- a/Sources/ClaimSet.swift +++ b/Sources/ClaimSet.swift @@ -1,5 +1,4 @@ import Foundation -import CryptoSwift public struct ClaimSet { var claims: [String: Any]