snapshot 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/SnapfileTemplate +1 -1
- data/lib/assets/SnapshotHelper.swift +2 -2
- data/lib/snapshot/dependency_checker.rb +3 -1
- data/lib/snapshot/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72ab251cce55026b8950a9022e034fbc42a173bd
|
4
|
+
data.tar.gz: 2a5cc37c91b72758f39cd2162314d77180c4a989
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1ab4c22f2fb38d6b60fe371ee3883c331a612e4c5aae3a289b2e33204192dd6c0fb9100bcc7ae810c16cc1dc7bd39b62c22a6c17957c5182f8340e432101cc0
|
7
|
+
data.tar.gz: 7befdf103c2b8bf1370910a4fad0f0e3d3d2b26a01b79abe5e153673bdaed9651c95b51115ba44399555de9fd3513139cf4be8b64c61d5e3504480cd32f3f0f5
|
data/lib/assets/SnapfileTemplate
CHANGED
@@ -19,7 +19,7 @@ languages([
|
|
19
19
|
# scheme "SchemeName"
|
20
20
|
|
21
21
|
# Where should the resulting screenshots be stored?
|
22
|
-
#
|
22
|
+
# output_directory "./screenshots"
|
23
23
|
|
24
24
|
# clear_previous_screenshots # remove the '#' to clear all previously generated screenshots before creating new ones
|
25
25
|
|
@@ -18,7 +18,7 @@ func setLanguage(app: XCUIApplication)
|
|
18
18
|
do {
|
19
19
|
let locale = try NSString(contentsOfFile: path, encoding: NSUTF8StringEncoding) as String
|
20
20
|
deviceLanguage = locale
|
21
|
-
app.launchArguments = ["-AppleLanguages", "(\(locale))"]
|
21
|
+
app.launchArguments = ["-AppleLanguages", "(\(locale))", "-AppleLocale", "\"\(locale)\"","-ui_testing"]
|
22
22
|
} catch {
|
23
23
|
print("Couldn't detect/set language...")
|
24
24
|
}
|
@@ -47,4 +47,4 @@ func waitForLoadingIndicatorToDisappear()
|
|
47
47
|
sleep(1)
|
48
48
|
print("Number of Elements in Status Bar: \(query.count)... waiting for status bar to disappear")
|
49
49
|
}
|
50
|
-
}
|
50
|
+
}
|
@@ -1,6 +1,8 @@
|
|
1
1
|
module Snapshot
|
2
2
|
class DependencyChecker
|
3
3
|
def self.check_dependencies
|
4
|
+
return if Helper.test?
|
5
|
+
|
4
6
|
self.check_xcode_select
|
5
7
|
self.check_simctl
|
6
8
|
end
|
@@ -18,7 +20,7 @@ module Snapshot
|
|
18
20
|
if Snapshot::LatestIosVersion.version.to_f < 9 # to_f is bad, but should be good enough
|
19
21
|
Helper.log.fatal '#############################################################'
|
20
22
|
Helper.log.fatal "# Your xcode-select Xcode version is below 9.0"
|
21
|
-
Helper.log.fatal "# To use snapshot 1.0 and above you need at
|
23
|
+
Helper.log.fatal "# To use snapshot 1.0 and above you need at least iOS 9"
|
22
24
|
Helper.log.fatal "# Set the path to the Xcode version that supports UI Tests"
|
23
25
|
Helper.log.fatal "# or downgrade to versions older than snapshot 1.0"
|
24
26
|
Helper.log.fatal '#############################################################'
|
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.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastimage
|
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
247
|
version: '0'
|
248
248
|
requirements: []
|
249
249
|
rubyforge_project:
|
250
|
-
rubygems_version: 2.4.
|
250
|
+
rubygems_version: 2.4.8
|
251
251
|
signing_key:
|
252
252
|
specification_version: 4
|
253
253
|
summary: Automate taking localized screenshots of your iOS app on every device
|