Skip to content

Commit

Permalink
omg
Browse files Browse the repository at this point in the history
  • Loading branch information
czechboy0 committed Oct 4, 2015
1 parent a0a77cc commit d080c05
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BuildaUtils.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "BuildaUtils"
s.version = "0.1.6"
s.version = "0.1.7"
s.summary = "Shared utilities for the Buildasaur and XcodeServerSDK projects."

s.description = <<-DESC
Expand Down
2 changes: 2 additions & 0 deletions BuildaUtils.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
3A81BB6C1B5A7D9B004732CD /* Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A81BB691B5A7D9B004732CD /* Extensions.swift */; };
3A81BB6D1B5A7D9B004732CD /* Script.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A81BB6A1B5A7D9B004732CD /* Script.swift */; };
3A81BB6E1B5A7D9B004732CD /* TimeUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A81BB6B1B5A7D9B004732CD /* TimeUtils.swift */; };
3A9109B61BC1A80500C2AECA /* Availability.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A0FF5A91BBFFD4900FB8051 /* Availability.swift */; };
3AC722031BB5F8090005FF4B /* HTTPUtilsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AC722021BB5F8090005FF4B /* HTTPUtilsTests.swift */; settings = {ASSET_TAGS = (); }; };
3ACBADC81B5A904700204457 /* BuildaUtilsiOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 3ACBADC71B5A904700204457 /* BuildaUtilsiOS.h */; settings = {ATTRIBUTES = (Public, ); }; };
3ACBADCD1B5A904C00204457 /* ContainerExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A5C29851B5A8AA80037C486 /* ContainerExtensions.swift */; };
Expand Down Expand Up @@ -389,6 +390,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
3A9109B61BC1A80500C2AECA /* Availability.swift in Sources */,
3A6D4B801B7897130032C53F /* ContainerExtensions.swift in Sources */,
3A6D4B811B7897130032C53F /* Errors.swift in Sources */,
3A6D4B821B7897130032C53F /* Extensions.swift in Sources */,
Expand Down
5 changes: 4 additions & 1 deletion BuildaUtils/Availability.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ public func == (a:AvailabilityCheckState, b:AvailabilityCheckState) -> Bool {
switch(a,b) {
case (.Unchecked, .Unchecked) : return true
case (.Checking, .Checking) : return true
case (.Failed(let fa), .Failed(let fb)) : return (fa as? NSError) == (fb as? NSError)
case (.Failed(let fa), .Failed(let fb)) :
let nsA = (fa as? NSError)
let nsB = (fb as? NSError)
return nsA == nsB
case (.Succeeded, .Succeeded) : return true
default: return false
}
Expand Down

0 comments on commit d080c05

Please sign in to comment.