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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d38ba8def56c2d0272eef7ffd15ed6209dd4061
4
- data.tar.gz: 03d5d875a7535932521ce752e08c6aa0d9491a29
3
+ metadata.gz: 72ab251cce55026b8950a9022e034fbc42a173bd
4
+ data.tar.gz: 2a5cc37c91b72758f39cd2162314d77180c4a989
5
5
  SHA512:
6
- metadata.gz: c5e9e2424878e6db5285889ef765ac22ecb9fb27425a31d13fc403300965239a89dbb44e6811b9641766c95ef10e003c5efe5272db2686dd361fb6cf7bc5d0b8
7
- data.tar.gz: 9da196a3b7dcac8f2ca1c99203c8f81f569f962b2b5955cb6a4864a0c7c5b1004f550bb3a6aca50e55442cde2a72cd2b31d64d8791016e9df501e7e3b9c62d36
6
+ metadata.gz: c1ab4c22f2fb38d6b60fe371ee3883c331a612e4c5aae3a289b2e33204192dd6c0fb9100bcc7ae810c16cc1dc7bd39b62c22a6c17957c5182f8340e432101cc0
7
+ data.tar.gz: 7befdf103c2b8bf1370910a4fad0f0e3d3d2b26a01b79abe5e153673bdaed9651c95b51115ba44399555de9fd3513139cf4be8b64c61d5e3504480cd32f3f0f5
@@ -19,7 +19,7 @@ languages([
19
19
  # scheme "SchemeName"
20
20
 
21
21
  # Where should the resulting screenshots be stored?
22
- # screenshots_path "./screenshots"
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 leat iOS 9"
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 '#############################################################'
@@ -1,4 +1,4 @@
1
1
  module Snapshot
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  DESCRIPTION = "Automate taking localized screenshots of your iOS app on every device"
4
4
  end
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.3
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-25 00:00:00.000000000 Z
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.6
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