Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
updated for Xcode 7 Beta 4
Browse files Browse the repository at this point in the history
  • Loading branch information
dduan committed Jul 21, 2015
1 parent 80cdb8f commit 5503d1c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Binary file modified Docs/QuickStart.zip
Binary file not shown.
12 changes: 5 additions & 7 deletions Just/Just.swift
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,8 @@ public struct CaseInsensitiveDictionary<Key: Hashable, Value>: CollectionType, D
private var _data:[Key: Value] = [:]
private var _keyMap: [String: Key] = [:]

typealias Element = (Key, Value)
typealias Index = DictionaryIndex<Key, Value>
public typealias Element = (Key, Value)
public typealias Index = DictionaryIndex<Key, Value>
public var startIndex: Index
public var endIndex: Index

Expand Down Expand Up @@ -572,11 +572,9 @@ public class Just: NSObject, NSURLSessionDelegate {


func makeTask(request:NSURLRequest, configuration: TaskConfiguration) -> NSURLSessionDataTask? {
if let task = session.dataTaskWithRequest(request) {
taskConfigs[task.taskIdentifier] = configuration
return task
}
return nil
let task = session.dataTaskWithRequest(request)
taskConfigs[task.taskIdentifier] = configuration
return task
}

func synthesizeMultipartBody(data:[String:AnyObject], files:[String:HTTPFile]) -> NSData? {
Expand Down
2 changes: 1 addition & 1 deletion JustTests/JustSpecs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
//

import Just
import Quick
import Nimble
import Quick

class JustSpec: QuickSpec {
override func spec() {
Expand Down

0 comments on commit 5503d1c

Please sign in to comment.