Skip to content

Commit 98e16a5

Browse files
committed
v++, fix for triggerconditions
1 parent d5b2d8a commit 98e16a5

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

Podfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
use_frameworks!
33

44
def utils
5-
pod 'BuildaUtils', '~> 0.3.2'
5+
pod 'BuildaUtils', '~> 0.3.2'
66
end
77

88
def tests
9-
pod 'DVR', :git => "https://github.com/czechboy0/DVR.git", :tag => "v0.0.5-czechboy0"
10-
# pod 'Nimble', '~> 3.1.0'
9+
pod 'DVR', :git => "https://github.com/czechboy0/DVR.git", :tag => "v0.0.5-czechboy0"
10+
# pod 'Nimble', '~> 3.1.0'
1111
pod 'Nimble', :git => "https://github.com/Quick/Nimble.git", :commit => "b9256b0bdecc4ef1f659b7663dcd3aab6f43fb5f"
1212
end
1313

1414
target 'XcodeServerSDK' do
15-
utils
15+
utils
1616
end
1717

1818
target 'XcodeServerSDKTests' do
19-
utils
20-
tests
19+
utils
20+
tests
2121
end

XcodeServerSDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "XcodeServerSDK"
4-
s.version = "0.7.0"
4+
s.version = "0.7.1"
55
s.summary = "Access Xcode Server API with native Swift objects."
66

77
s.homepage = "https://github.com/czechboy0/XcodeServerSDK"

XcodeServerSDK/Server Entities/TriggerConditions.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ public class TriggerConditions : XcodeServerEntity {
5252
self.onAnalyzerWarnings = try json.boolForKey("onAnalyzerWarnings")
5353
self.onBuildErrors = try json.boolForKey("onBuildErrors")
5454
self.onFailingTests = try json.boolForKey("onFailingTests")
55-
self.onInternalErrors = try? json.boolForKey("onInternalErrors") ?? false
55+
56+
//not present in Xcode 8 anymore, make it optional & default to false
57+
let internalErrors = try? json.boolForKey("onInternalErrors")
58+
self.onInternalErrors = internalErrors ?? false
5659
self.onSuccess = try json.boolForKey("onSuccess")
5760
self.onWarnings = try json.boolForKey("onWarnings")
5861

0 commit comments

Comments
 (0)