fastlane 2.82.0.beta.20180214010002 → 2.82.0.beta.20180215010002

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d9125c9b1d1fa5d2874ad6ae8c42b2be39f72cdb
4
- data.tar.gz: 5558129b36653ea39f777e591517896b15b74833
3
+ metadata.gz: 935452664f9757cf2e835362cf9f9aede76db394
4
+ data.tar.gz: c794c55221115b462996398dcbcccf898f0a4fc1
5
5
  SHA512:
6
- metadata.gz: 3fb24ec48c9ed47265ccfa37eac59e581b2a8ca4c074748b9cf5d363b94ce833ee4e6a82003ebdaa743bb79603646ef6404501229f5cada4098d62e918461f90
7
- data.tar.gz: e791258a5a6de8dd675099121d7d4d161b755e7fc7440cf18b3c261f0bb4193bb124ae4cb999f8be9d259151c1b645ef674ce38d22be311d9727d083bde588e6
6
+ metadata.gz: 1a738d9f17cd8fc989de3d6320a6122ecd95291107e34dc57aa6fc86fb5616844e22f3663c05693083f2087b8461257097a63aaafd6d172fad8485dc7670fa60
7
+ data.tar.gz: 48f77ca59d14eb9d6b49dadc02769db54459a3361187494f9f4d27e809c67da32b415a59d841ebb3b931f345fbc697366cb93183bb23b83ca67f21fab4eaf02e
@@ -84,29 +84,27 @@ Here a few links to get started:
84
84
  - Create a new UI Test target in your Xcode project ([top part of this article](https://krausefx.com/blog/run-xcode-7-ui-tests-from-the-command-line))
85
85
  - Run `fastlane snapshot init` in your project folder
86
86
  - Add the ./SnapshotHelper.swift to your UI Test target (You can move the file anywhere you want)
87
- - **Note:** if you're using Xcode 8, add the ./SnapshotHelperXcode8.swift to your UI Test target
88
- - (Objective C only) add the bridging header to your test class.
89
- - `#import "MYUITests-Swift.h"`
90
- - The bridging header is named after your test target with -Swift.h appended.
87
+ - (Xcode 8 only) add the ./SnapshotHelperXcode8.swift to your UI Test target
88
+ - (Objective C only) add the bridging header to your test class:
89
+ - `#import "MYUITests-Swift.h"`
90
+ (The bridging header is named after your test target with `-Swift.h` appended.)
91
91
  - In your UI Test class, click the `Record` button on the bottom left and record your interaction
92
92
  - To take a snapshot, call the following between interactions
93
- - Swift: `snapshot("01LoginScreen")`
94
- - Objective C: `[Snapshot snapshot:@"01LoginScreen" timeWaitingForIdle:10];`
95
- - Add the following code to your `setUp()` method
96
-
97
- **Swift**
98
- ```swift
99
- let app = XCUIApplication()
100
- setupSnapshot(app)
101
- app.launch()
102
- ```
103
-
104
- **Objective C**
105
- ```objective-c
106
- XCUIApplication *app = [[XCUIApplication alloc] init];
107
- [Snapshot setupSnapshot:app];
108
- [app launch];
109
- ```
93
+ - Swift: `snapshot("01LoginScreen")`
94
+ - Objective C: `[Snapshot snapshot:@"01LoginScreen" timeWaitingForIdle:10];`
95
+ - Add the following code to your `setUp()` method:
96
+ - Swift:
97
+ ```swift
98
+ let app = XCUIApplication()
99
+ setupSnapshot(app)
100
+ app.launch()
101
+ ```
102
+ - Objective C:
103
+ ```objective-c
104
+ XCUIApplication *app = [[XCUIApplication alloc] init];
105
+ [Snapshot setupSnapshot:app];
106
+ [app launch];
107
+ ```
110
108
 
111
109
  _Make sure you only have one `launch` call in your test class, as Xcode adds one automatically on new test files._
112
110
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.82.0.beta.20180214010002'.freeze
2
+ VERSION = '2.82.0.beta.20180215010002'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
@@ -128,19 +128,24 @@ module Gym
128
128
  # Compress and move the dsym file
129
129
  containing_directory = File.expand_path("..", PackageCommandGenerator.dsym_path)
130
130
  bcsymbolmaps_directory = File.expand_path("../../BCSymbolMaps", PackageCommandGenerator.dsym_path)
131
-
132
131
  available_dsyms = Dir.glob("#{containing_directory}/*.dSYM")
132
+
133
+ if Dir.exist?(bcsymbolmaps_directory)
134
+ UI.message("Mapping dSYM(s) using generated BCSymbolMaps") unless Gym.config[:silent]
135
+ available_dsyms.each do |dsym|
136
+ command = []
137
+ command << "dsymutil"
138
+ command << "--symbol-map #{bcsymbolmaps_directory.shellescape}"
139
+ command << dsym.shellescape
140
+ Helper.backticks(command.join(" "), print: !Gym.config[:silent])
141
+ end
142
+ end
143
+
133
144
  UI.message("Compressing #{available_dsyms.count} dSYM(s)") unless Gym.config[:silent]
134
145
 
135
146
  output_path = File.expand_path(File.join(Gym.config[:output_directory], Gym.config[:output_name] + ".app.dSYM.zip"))
136
147
  command = "cd '#{containing_directory}' && zip -r '#{output_path}' *.dSYM"
137
148
  Helper.backticks(command, print: !Gym.config[:silent])
138
- if Dir.exist?(bcsymbolmaps_directory)
139
- available_bcsymbolmaps = Dir.glob("#{bcsymbolmaps_directory}/*.bcsymbolmap")
140
- UI.message("Compressing #{available_bcsymbolmaps.count} bcsymbolmap(s)") unless Gym.config[:silent]
141
- command = "cd '#{bcsymbolmaps_directory}' && zip -rg '#{output_path}' *.bcsymbolmap"
142
- Helper.backticks(command, print: !Gym.config[:silent])
143
- end
144
149
  puts("") # new line
145
150
 
146
151
  UI.success("Successfully exported and compressed dSYM file")
@@ -51,8 +51,8 @@ module Match
51
51
  return out_array.map { |x| x.split(/=+/) if x.include?("=") }
52
52
  .compact
53
53
  .map { |k, v| [openssl_keys_to_readable_keys.fetch(k, k), v] }
54
- .append([openssl_keys_to_readable_keys.fetch("notBefore"), cert.not_before])
55
- .append([openssl_keys_to_readable_keys.fetch("notAfter"), cert.not_after])
54
+ .push([openssl_keys_to_readable_keys.fetch("notBefore"), cert.not_before])
55
+ .push([openssl_keys_to_readable_keys.fetch("notAfter"), cert.not_after])
56
56
  rescue => ex
57
57
  UI.error(ex)
58
58
  return {}
@@ -25,6 +25,7 @@ module PEM
25
25
  description: "If the current certificate is active for less than this number of days, generate a new one. Default value is 30 days",
26
26
  default_value: 30,
27
27
  is_string: false,
28
+ type: Integer,
28
29
  verify_block: proc do |value|
29
30
  UI.user_error!("Value of active_days_limit must be a positive integer or left blank") unless value.kind_of?(Integer) && value > 0
30
31
  end),
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.82.0.beta.20180214010002
4
+ version: 2.82.0.beta.20180215010002
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Halligon
@@ -25,7 +25,7 @@ authors:
25
25
  autorequire:
26
26
  bindir: bin
27
27
  cert_chain: []
28
- date: 2018-02-14 00:00:00.000000000 Z
28
+ date: 2018-02-15 00:00:00.000000000 Z
29
29
  dependencies:
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: slack-notifier