Skip to content

Commit

Permalink
Merge pull request #106 from bustoutsolutions/1.0-beta.10
Browse files Browse the repository at this point in the history
1.0-beta.10
  • Loading branch information
pcantrell authored Aug 28, 2016
2 parents a723619 + 5831bd2 commit 6536f66
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Examples/GithubBrowser/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PODS:
- Siesta/Core (1.0-beta.9)
- Siesta/UI (1.0-beta.9):
- Siesta/Core (1.0-beta.10)
- Siesta/UI (1.0-beta.10):
- Siesta/Core
- SwiftyJSON (2.3.2)

Expand All @@ -13,7 +13,7 @@ EXTERNAL SOURCES:
:path: "../.."

SPEC CHECKSUMS:
Siesta: 6405fa1f80105e1614c42a37dcd79806f99bf23c
Siesta: 5c62c4b4483048ce7a022b8a4cb5cd9021bc5475
SwiftyJSON: 04ccea08915aa0109039157c7974cf0298da292a

PODFILE CHECKSUM: 185541f66e3c53d1269ded59a72f9c99e6a2d105
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ Siesta requires Swift 2.0, so make sure you have [Xcode 7](https://developer.app

In your `Podfile`:

pod 'Siesta', '1.0-beta.9'
pod 'Siesta', '>=1.0-beta.10'

(If you use `>=`, make sure CocoaPods downloads the right version. Due to a [bug in CocoaPods](https://github.com/CocoaPods/CocoaPods/issues/5718), it does not work properly with prerelease version numbers and may pick up the wrong version.)
(If you use `>=`, make sure CocoaPods downloads the right version. Due to a [bug in CocoaPods](https://github.com/CocoaPods/CocoaPods/issues/5718) fixed only recently, it does not work properly with prerelease version numbers.)

If you want to use Alamofire as your networking provider instead of `NSURLSession`:

Expand All @@ -140,7 +140,7 @@ If you want to use Alamofire as your networking provider instead of `NSURLSessio

In your `Cartfile`:

github "bustoutsolutions/siesta" "1.0-beta.9"
github "bustoutsolutions/siesta" "1.0-beta.10"

Follow the [Carthage instructions](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application) to add `Siesta.framework` to your project.

Expand Down
4 changes: 2 additions & 2 deletions Siesta.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "Siesta"
s.version = "1.0-beta.9"
s.version = "1.0-beta.10"
s.summary = "Swift REST client library"

s.description = <<-DESC
Expand Down Expand Up @@ -70,7 +70,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.0-beta.9" }
s.source = { :git => "https://github.com/bustoutsolutions/siesta.git", :tag => "1.0-beta.10" }

s.subspec "Core" do |s|
s.source_files = "Source/Siesta/**/*"
Expand Down
14 changes: 14 additions & 0 deletions Source/Siesta/Support/Ω_Deprecations.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,17 @@ extension ResponseContentTransformer
processor: processor)
}
}

extension Configuration
{
@available(*, deprecated=0.99, renamed="decorateRequests")
public mutating func beforeStartingRequest(callback: (Resource, Request) -> Void)
{
decorateRequests
{
res, req in
callback(res, req)
return req
}
}
}

0 comments on commit 6536f66

Please sign in to comment.