Skip to content

Commit

Permalink
Merge branch 'release/1.3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
duemunk committed Jul 11, 2015
2 parents 7536a4d + 99d540b commit 3800ef8
Show file tree
Hide file tree
Showing 4 changed files with 942 additions and 746 deletions.
4 changes: 2 additions & 2 deletions Async.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Pod::Spec.new do |s|
s.name = "Async"
s.version = "1.2.1"
s.version = "1.3.0"
s.summary = "Syntactic sugar in Swift for asynchronous dispatches in Grand Central Dispatch"
s.homepage = "https://github.com/duemunk/Async"
s.license = { :type => "MIT" }
s.authors = { "Tobias Due Munk" => "[email protected]" }

s.osx.deployment_target = "10.10"
s.ios.deployment_target = "8.0"
s.source = { :git => "https://github.com/duemunk/Async.git", :tag => "1.2.1"}
s.source = { :git => "https://github.com/duemunk/Async.git", :tag => "1.3.0"}
s.source_files = "Async.{h,swift}"
s.requires_arc = true
end
4 changes: 2 additions & 2 deletions Async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public extension Async { // Static methods
static func background(#after: Double, block: dispatch_block_t) -> Async {
return Async.after(after, block: block, inQueue: GCD.backgroundQueue())
}
static func customQueue(#after: Double, queue: dispatch_queue_t, block: dispatch_block_t) -> Async {
static func customQueue(queue: dispatch_queue_t, after: Double, block: dispatch_block_t) -> Async {
return Async.after(after, block: block, inQueue: queue)
}
}
Expand Down Expand Up @@ -208,7 +208,7 @@ public extension Async {
func background(#after: Double, block: dispatch_block_t) -> Async {
return self.after(after, block: block, runInQueue: GCD.backgroundQueue())
}
func customQueue(#after: Double, queue: dispatch_queue_t, block: dispatch_block_t) -> Async {
func customQueue(queue: dispatch_queue_t, after: Double, block: dispatch_block_t) -> Async {
return self.after(after, block: block, runInQueue: queue)
}

Expand Down
Loading

0 comments on commit 3800ef8

Please sign in to comment.