fastlane 1.43.0 → 1.44.0

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: 95994f49466294aa1e7ef950d47a5a9788e59617
4
- data.tar.gz: d6adab25fe8157c89a419147fbd77ba2c91c740e
3
+ metadata.gz: 454f1499e121f0653fd4d7775fd6486b76fe0bbf
4
+ data.tar.gz: dabb9f88154401cc6902d71944490049a0e51fac
5
5
  SHA512:
6
- metadata.gz: ea9c34530dd8289efae9ee733ba0f0d59286956088bf058564c8371cb1108cf41ff7bf64f06b0fef1e0d129ae29758f64179b2abaa8d5e3be509c87950b39f3c
7
- data.tar.gz: 80aad4ac9589e98c826a0ac1382f8a026fab6550d8259e495dc967c55e6321780c9a4af1581c6149cf8f0dfe051dd978fa29fede661ae943b2aa26c63b00f038
6
+ metadata.gz: 85d47d73ddb2bb3feaaebe2b085a7caea8980a105e48132941936c5c1d4c41684456ec470bb634321846f90a9b26eb594af2186e3d9eb460f13d6f92008b03bb
7
+ data.tar.gz: 8f7c16a3374af3a570bfe3d834401487fb65ed2a9422dba075e33791d0f97a83298bac86bec450c3d7479d881b8630634ba9f50e5259c9cd56262e6a8503d920
@@ -6,6 +6,9 @@ apple_id "[[APPLE_ID]]" # Your Apple email address
6
6
  # team_name "Felix Krause"
7
7
  # team_id "Q2CBPJ58CA"
8
8
 
9
+ # To select a team for iTunes Connect use
10
+ # itc_team_name "Company Name"
11
+ # itc_team_id "18742801
9
12
 
10
13
  # you can even provide different app identifiers, Apple IDs and team names per lane:
11
14
  # https://github.com/KrauseFx/fastlane/blob/master/docs/Appfile.md
@@ -1,8 +1,9 @@
1
1
  module Fastlane
2
2
  module Actions
3
3
  class ClearDerivedDataAction < Action
4
- def self.run(params)
5
- path = File.expand_path("~/Library/Developer/Xcode/DerivedData")
4
+ def self.run(options)
5
+ path = File.expand_path(options[:derived_data_path])
6
+ Helper.log.info "Derived Data path located at: #{path}"
6
7
  FileUtils.rm_rf(path) if File.directory?(path)
7
8
  Helper.log.info "Successfully cleared Derived Data ♻️".green
8
9
  end
@@ -16,11 +17,16 @@ module Fastlane
16
17
  end
17
18
 
18
19
  def self.details
19
- "Deletes the Derived Data from '~/Library/Developer/Xcode/DerivedData'"
20
+ "Deletes the Derived Data from '~/Library/Developer/Xcode/DerivedData' or a supplied path"
20
21
  end
21
22
 
22
23
  def self.available_options
23
- []
24
+ [
25
+ FastlaneCore::ConfigItem.new(key: :derived_data_path,
26
+ env_name: "DERIVED_DATA_PATH",
27
+ description: "Custom path for derivedData",
28
+ default_value: "~/Library/Developer/Xcode/DerivedData")
29
+ ]
24
30
  end
25
31
 
26
32
  def self.output
@@ -124,7 +124,7 @@ module Fastlane
124
124
  description: "The path to your project file (Not the workspace). If you have only one, this is optional",
125
125
  optional: true,
126
126
  verify_block: proc do |value|
127
- raise "Please pass the path to the project, not the workspace".red if value.include? "workspace"
127
+ raise "Please pass the path to the project, not the workspace".red if value.end_with? ".xcworkspace"
128
128
  raise "Could not find Xcode project".red unless File.exist?(value)
129
129
  end),
130
130
  FastlaneCore::ConfigItem.new(key: :force,
@@ -58,7 +58,7 @@ module Fastlane
58
58
  description: "optional, you must specify the path to your main Xcode project if it is not in the project root directory",
59
59
  optional: true,
60
60
  verify_block: proc do |value|
61
- raise "Please pass the path to the project, not the workspace".red if value.include? "workspace"
61
+ raise "Please pass the path to the project, not the workspace".red if value.end_with? ".xcworkspace"
62
62
  raise "Could not find Xcode project".red if !File.exist?(value) and !Helper.is_test?
63
63
  end)
64
64
  ]
@@ -59,7 +59,7 @@ module Fastlane
59
59
  description: "optional, you must specify the path to your main Xcode project if it is not in the project root directory",
60
60
  optional: true,
61
61
  verify_block: proc do |value|
62
- raise "Please pass the path to the project, not the workspace".red if value.include? "workspace"
62
+ raise "Please pass the path to the project, not the workspace".red if value.end_with? ".xcworkspace"
63
63
  raise "Could not find Xcode project at path '#{File.expand_path(value)}'".red if !File.exist?(value) and !Helper.is_test?
64
64
  end)
65
65
  ]
@@ -123,7 +123,7 @@ module Fastlane
123
123
  description: "The path to your project file (Not the workspace). If you have only one, this is optional",
124
124
  optional: true,
125
125
  verify_block: proc do |value|
126
- raise "Please pass the path to the project, not the workspace".red if value.include? "workspace"
126
+ raise "Please pass the path to the project, not the workspace".red if value.end_with? ".xcworkspace"
127
127
  raise "Could not find Xcode project".red unless File.exist?(value)
128
128
  end),
129
129
  FastlaneCore::ConfigItem.new(key: :force,
@@ -61,7 +61,7 @@ module Fastlane
61
61
  description: "optional, you must specify the path to your main Xcode project if it is not in the project root directory",
62
62
  optional: true,
63
63
  verify_block: proc do |value|
64
- raise "Please pass the path to the project, not the workspace".red if value.include? "workspace"
64
+ raise "Please pass the path to the project, not the workspace".red if value.end_with? ".xcworkspace"
65
65
  raise "Could not find Xcode project".red if !File.exist?(value) and !Helper.is_test?
66
66
  end)
67
67
  ]
@@ -104,7 +104,7 @@ module Fastlane
104
104
  env_name: "FL_VERSION_NUMBER_PROJECT",
105
105
  description: "optional, you must specify the path to your main Xcode project if it is not in the project root directory",
106
106
  verify_block: proc do |value|
107
- raise "Please pass the path to the project, not the workspace".red if value.include? "workspace"
107
+ raise "Please pass the path to the project, not the workspace".red if value.end_with? ".xcworkspace"
108
108
  raise "Could not find Xcode project".red unless File.exist?(value)
109
109
  end,
110
110
  optional: true)
@@ -54,7 +54,7 @@ module Fastlane
54
54
  description: "Path to your Xcode project",
55
55
  optional: true,
56
56
  verify_block: proc do |value|
57
- raise "Please pass the path to the project, not the workspace".red if value.include? "workspace"
57
+ raise "Please pass the path to the project, not the workspace".red if value.end_with? ".xcworkspace"
58
58
  raise "Could not find Xcode project".red unless File.exist?(value)
59
59
  end),
60
60
  FastlaneCore::ConfigItem.new(key: :plist_path,
@@ -26,8 +26,7 @@ module Fastlane
26
26
  IO.popen(command, err: [:child, :out]) do |io|
27
27
  io.sync = true
28
28
  io.each do |line|
29
- next unless log
30
- Helper.log.info ['[SHELL]', line.strip].join(': ')
29
+ Helper.log.info ['[SHELL]', line.strip].join(': ') if log
31
30
  result << line
32
31
  end
33
32
  io.close
@@ -36,7 +35,9 @@ module Fastlane
36
35
 
37
36
  if exit_status != 0
38
37
  # this will also append the output to the exception
39
- raise "Exit status of command '#{command}' was #{exit_status} instead of 0. \n#{result}"
38
+ message = "Exit status of command '#{command}' was #{exit_status} instead of 0."
39
+ message += "\n#{result}" if log
40
+ raise message.red
40
41
  end
41
42
  end
42
43
 
@@ -1,3 +1,3 @@
1
1
  module Fastlane
2
- VERSION = '1.43.0'
2
+ VERSION = '1.44.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.43.0
4
+ version: 1.44.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: 2015-12-02 00:00:00.000000000 Z
11
+ date: 2015-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: krausefx-shenzhen
@@ -148,7 +148,7 @@ dependencies:
148
148
  requirements:
149
149
  - - ">="
150
150
  - !ruby/object:Gem::Version
151
- version: 0.26.6
151
+ version: 0.27.0
152
152
  - - "<"
153
153
  - !ruby/object:Gem::Version
154
154
  version: 1.0.0
@@ -158,7 +158,7 @@ dependencies:
158
158
  requirements:
159
159
  - - ">="
160
160
  - !ruby/object:Gem::Version
161
- version: 0.26.6
161
+ version: 0.27.0
162
162
  - - "<"
163
163
  - !ruby/object:Gem::Version
164
164
  version: 1.0.0
@@ -168,7 +168,7 @@ dependencies:
168
168
  requirements:
169
169
  - - ">="
170
170
  - !ruby/object:Gem::Version
171
- version: 0.11.0
171
+ version: 0.12.0
172
172
  - - "<"
173
173
  - !ruby/object:Gem::Version
174
174
  version: 1.0.0
@@ -178,7 +178,7 @@ dependencies:
178
178
  requirements:
179
179
  - - ">="
180
180
  - !ruby/object:Gem::Version
181
- version: 0.11.0
181
+ version: 0.12.0
182
182
  - - "<"
183
183
  - !ruby/object:Gem::Version
184
184
  version: 1.0.0
@@ -188,7 +188,7 @@ dependencies:
188
188
  requirements:
189
189
  - - ">="
190
190
  - !ruby/object:Gem::Version
191
- version: 0.14.2
191
+ version: 0.15.0
192
192
  - - "<"
193
193
  - !ruby/object:Gem::Version
194
194
  version: 1.0.0
@@ -198,7 +198,7 @@ dependencies:
198
198
  requirements:
199
199
  - - ">="
200
200
  - !ruby/object:Gem::Version
201
- version: 0.14.2
201
+ version: 0.15.0
202
202
  - - "<"
203
203
  - !ruby/object:Gem::Version
204
204
  version: 1.0.0
@@ -288,7 +288,7 @@ dependencies:
288
288
  requirements:
289
289
  - - ">="
290
290
  - !ruby/object:Gem::Version
291
- version: 1.2.3
291
+ version: 1.2.5
292
292
  - - "<"
293
293
  - !ruby/object:Gem::Version
294
294
  version: 2.0.0
@@ -298,7 +298,7 @@ dependencies:
298
298
  requirements:
299
299
  - - ">="
300
300
  - !ruby/object:Gem::Version
301
- version: 1.2.3
301
+ version: 1.2.5
302
302
  - - "<"
303
303
  - !ruby/object:Gem::Version
304
304
  version: 2.0.0
@@ -727,7 +727,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
727
727
  version: '0'
728
728
  requirements: []
729
729
  rubyforge_project:
730
- rubygems_version: 2.4.0
730
+ rubygems_version: 2.2.2
731
731
  signing_key:
732
732
  specification_version: 4
733
733
  summary: Connect all iOS deployment tools into one streamlined workflow