Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit c9e4534

Browse files
authored
Merge pull request #10 from gigisommo/maintain-compatibility
Maintain compatibility
2 parents 34060e8 + 2c67b09 commit c9e4534

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ osx_image: xcode11.1
1010
language: swift
1111

1212
script:
13-
- travis_wait bundle exec pod install --repo-update --project-directory=Example
13+
- travis_wait 30 bundle exec pod install --repo-update --project-directory=Example
1414
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/AutomationTools.xcworkspace -scheme AutomationTools-Example ONLY_ACTIVE_ARCH=NO -destination 'platform=iOS Simulator,OS=13.1,name=iPhone 11'
1515
- bundle exec pod lib lint --allow-warnings

AutomationTools.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'AutomationTools'
3-
s.version = '5.0.0'
3+
s.version = '4.1.0'
44
s.summary = 'iOS UI test framework and guidelines'
55
s.homepage = 'https://github.com/justeat/AutomationTools'
66
s.license = { :type => 'Apache 2.0', :file => 'LICENSE' }

AutomationTools/Classes/HostApp/AutomationBridge.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ import Foundation
2525
return configuration(withPrefix: "AUTOMATION")
2626
}
2727

28-
// MARK: Private
29-
30-
private func launchArgumentsContain(_ launchArgument: String) -> Bool {
28+
public func launchArgumentsContain(_ launchArgument: String) -> Bool {
3129
return ProcessInfo.processInfo.arguments.contains(launchArgument)
3230
}
33-
31+
32+
// MARK: Private
33+
3434
private func configuration(withPrefix prefix: String) -> NSMutableDictionary? {
3535
let prefixToRemove = "\(prefix)_"
3636
let arguments = ProcessInfo.processInfo.arguments.filter { $0.hasPrefix(prefixToRemove) }

Example/Podfile.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PODS:
2-
- AutomationTools/Core (2.0.0)
3-
- AutomationTools/HostApp (2.0.0)
2+
- AutomationTools/Core (4.1.0)
3+
- AutomationTools/HostApp (4.1.0)
44

55
DEPENDENCIES:
66
- AutomationTools/Core (from `../`)
@@ -11,7 +11,7 @@ EXTERNAL SOURCES:
1111
:path: "../"
1212

1313
SPEC CHECKSUMS:
14-
AutomationTools: 0179b76de6310f604a7dad1a9dfe9547f516043c
14+
AutomationTools: 3f655a5435a481606b50ea506602180c4dac6c4f
1515

1616
PODFILE CHECKSUM: 92dc065c8304485c4f74b34f7e3f06210caf3167
1717

0 commit comments

Comments
 (0)