From 4af40d40f2aa595631212a4112b450a5a2af1e42 Mon Sep 17 00:00:00 2001 From: Paul Cantrell Date: Tue, 28 Mar 2017 10:19:04 -0500 Subject: [PATCH 1/3] Fixed Swift 3.1 deprecations in example project --- .../GithubBrowser/Source/UI/RepositoryViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples/GithubBrowser/Source/UI/RepositoryViewController.swift b/Examples/GithubBrowser/Source/UI/RepositoryViewController.swift index 6e000ef9..c362967a 100644 --- a/Examples/GithubBrowser/Source/UI/RepositoryViewController.swift +++ b/Examples/GithubBrowser/Source/UI/RepositoryViewController.swift @@ -162,7 +162,7 @@ class RepositoryViewController: UIViewController, ResourceObserver { starButton?.isEnabled = false let rotation = CABasicAnimation(keyPath: "transform.rotation.z") rotation.fromValue = 0 - rotation.toValue = 2 * M_PI + rotation.toValue = 2 * Double.pi rotation.duration = 1.6 rotation.repeatCount = Float.infinity starIcon?.layer.add(rotation, forKey: "loadingIndicator") @@ -171,7 +171,7 @@ class RepositoryViewController: UIViewController, ResourceObserver { @objc private func stopStarRequestAnimation() { starButton?.isEnabled = true let stopRotation = CASpringAnimation(keyPath: "transform.rotation.z") - stopRotation.toValue = -M_PI * 2 / 5 + stopRotation.toValue = -Double.pi * 2 / 5 stopRotation.damping = 6 stopRotation.duration = stopRotation.settlingDuration starIcon?.layer.add(stopRotation, forKey: "loadingIndicator") From 2d35f1b96a8624c6ac1425c878b54fe158967317 Mon Sep 17 00:00:00 2001 From: Paul Cantrell Date: Tue, 28 Mar 2017 10:16:46 -0500 Subject: [PATCH 2/3] Bumped dependencies --- Cartfile.resolved | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cartfile.resolved b/Cartfile.resolved index 3fc59b36..d30829e3 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1,4 +1,4 @@ -github "Alamofire/Alamofire" "4.3.0" -github "Quick/Nimble" "v6.0.1" +github "Alamofire/Alamofire" "4.4.0" +github "Quick/Nimble" "v6.1.0" github "pcantrell/Nocilla" "bd7ec7caa0576f08c00bbbf993a9204f93be16e3" github "pcantrell/Quick" "1c2c4056049e52d25fc48171ab62ab9d33821b47" From cd2ac9817e320fd220e1f70b70de3e59e0ce349c Mon Sep 17 00:00:00 2001 From: Paul Cantrell Date: Tue, 28 Mar 2017 10:17:04 -0500 Subject: [PATCH 3/3] 1.1.1 --- Examples/GithubBrowser/Podfile.lock | 6 +++--- Siesta.podspec | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Examples/GithubBrowser/Podfile.lock b/Examples/GithubBrowser/Podfile.lock index 28cbae57..8c744e61 100644 --- a/Examples/GithubBrowser/Podfile.lock +++ b/Examples/GithubBrowser/Podfile.lock @@ -1,6 +1,6 @@ PODS: - - Siesta/Core (1.1.0) - - Siesta/UI (1.1.0): + - Siesta/Core (1.1.1) + - Siesta/UI (1.1.1): - Siesta/Core - SwiftyJSON (3.1.4) @@ -13,7 +13,7 @@ EXTERNAL SOURCES: :path: "../.." SPEC CHECKSUMS: - Siesta: 44209f906276125106ea37f16f1f37019856e514 + Siesta: 7ca19669c09d36d430872469692e4878acb8a638 SwiftyJSON: c2842d878f95482ffceec5709abc3d05680c0220 PODFILE CHECKSUM: 185541f66e3c53d1269ded59a72f9c99e6a2d105 diff --git a/Siesta.podspec b/Siesta.podspec index 652b9899..2dcb3f2f 100644 --- a/Siesta.podspec +++ b/Siesta.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Siesta" - s.version = "1.1.0" + s.version = "1.1.1" s.summary = "Swift REST client library" s.description = <<-DESC @@ -69,7 +69,7 @@ Pod::Spec.new do |s| s.ios.deployment_target = "8.0" s.osx.deployment_target = "10.11" - s.source = { :git => "https://github.com/bustoutsolutions/siesta.git", :tag => "1.1.0" } + s.source = { :git => "https://github.com/bustoutsolutions/siesta.git", :tag => "1.1.1" } s.subspec "Core" do |s| s.source_files = "Source/Siesta/**/*"