Skip to content

Commit

Permalink
HOTFIX: It's just embarrassing at this point. I'd forgotten to make '…
Browse files Browse the repository at this point in the history
…resolve(_:)' and 'reject(_:)' public on Promise. Fixed.
  • Loading branch information
jakeHawkenGeocaching committed Oct 23, 2017
1 parent 0d2f42f commit d25d9cc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Concurrency.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Concurrency'
s.version = '1.0.3'
s.version = '1.0.4'
s.summary = 'A small toolkit for handling concurrency in Swift.'

s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion Concurrency/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.3</string>
<string>1.0.4</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
Expand Down
4 changes: 2 additions & 2 deletions Source/Promise.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ public class Promise<T> {

public init() {}

func resolve(_ val: T) {
public func resolve(_ val: T) {
future.resolve(val)
}

func reject(_ err: Error) {
public func reject(_ err: Error) {
future.reject(err)
}

Expand Down

0 comments on commit d25d9cc

Please sign in to comment.