snapshot 1.4.4 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/SnapshotHelper.swift +4 -2
- data/lib/snapshot/options.rb +6 -0
- data/lib/snapshot/test_command_generator.rb +1 -1
- data/lib/snapshot/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 465b8c37379a1a9a76a3ba13cadb954806c6e7bf
|
4
|
+
data.tar.gz: 73b36f1256f379ee0ff430d5054b92cf9f74adf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dbd182b3e65ed03cc67d4aaa841804d8c066c05dbfd2acadc36ad329aeef01565895f07cecddd77f36c0a060e97bd61ccfed54aa780df913bf70f1609208463
|
7
|
+
data.tar.gz: 19451dc63532cc4d2ffaadf9db19c3b36484fb398440fcd8a9230ee5601d85fa557fbb6af65ca0d29c11704689162e0a4d923ed297ab67f5105e051f44883f63
|
@@ -74,8 +74,10 @@ class Snapshot: NSObject {
|
|
74
74
|
|
75
75
|
class func waitForLoadingIndicatorToDisappear() {
|
76
76
|
let query = XCUIApplication().statusBars.childrenMatchingType(.Other).elementBoundByIndex(1).childrenMatchingType(.Other)
|
77
|
-
|
78
|
-
|
77
|
+
|
78
|
+
let expectedCount = ((UIDevice.currentDevice().userInterfaceIdiom == .Pad) ? 5 : 4)
|
79
|
+
|
80
|
+
while (query.count > UInt(expectedCount)) {
|
79
81
|
sleep(1)
|
80
82
|
print("Number of Elements in Status Bar: \(query.count)... waiting for status bar to disappear")
|
81
83
|
}
|
data/lib/snapshot/options.rb
CHANGED
@@ -105,6 +105,12 @@ module Snapshot
|
|
105
105
|
env_name: "SNAPSHOT_CONFIGURATION",
|
106
106
|
description: "The configuration to use when building the app. Defaults to 'Release'",
|
107
107
|
optional: true),
|
108
|
+
FastlaneCore::ConfigItem.new(key: :xcpretty_args,
|
109
|
+
short_option: "-x",
|
110
|
+
env_name: "SNAPSHOT_XCPRETTY_ARGS",
|
111
|
+
description: "Additional xcpretty arguments",
|
112
|
+
is_string: true,
|
113
|
+
optional: true),
|
108
114
|
FastlaneCore::ConfigItem.new(key: :sdk,
|
109
115
|
short_option: "-k",
|
110
116
|
env_name: "SNAPSHOT_SDK",
|
data/lib/snapshot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snapshot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastimage
|
@@ -176,14 +176,14 @@ dependencies:
|
|
176
176
|
requirements:
|
177
177
|
- - "~>"
|
178
178
|
- !ruby/object:Gem::Version
|
179
|
-
version:
|
179
|
+
version: 0.35.1
|
180
180
|
type: :development
|
181
181
|
prerelease: false
|
182
182
|
version_requirements: !ruby/object:Gem::Requirement
|
183
183
|
requirements:
|
184
184
|
- - "~>"
|
185
185
|
- !ruby/object:Gem::Version
|
186
|
-
version:
|
186
|
+
version: 0.35.1
|
187
187
|
- !ruby/object:Gem::Dependency
|
188
188
|
name: webmock
|
189
189
|
requirement: !ruby/object:Gem::Requirement
|