fastlane 2.30.2 → 2.31.0.beta.20170512010054

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: aa87a292e82422b8fc3ff9a95f2141fe7759c508
4
- data.tar.gz: 65b8e2e2624b35c97a8d03899738737b85e304f8
3
+ metadata.gz: 4251f7ff9b325c4b4ed5f415d230a37ced150b90
4
+ data.tar.gz: 4509c43ca2933dbbfdb7dd0c2e5eeae5ee809024
5
5
  SHA512:
6
- metadata.gz: cc2d9409e2bcdbcd71283abf5e01b6be124d30340ed8230936139af5aed247c4741b4153cffe4ac04b0fcca2ccde37172a67a9761ab0096f6b5b1b4e62807d6b
7
- data.tar.gz: 2e62b4c2fea4f88ae5b8456912daf1420a57eb59262e7d61a37a79e7e6f5bd011cfec4d0211486d7475c020e25c350502921d7924b3d02ae25c66d1d48136bcd
6
+ metadata.gz: 7b837fd3c4c14fc9a39ebbd0ae3090b62425a867435484f0cfbb8700391be0a1c3da92fadab27c14f5d7077bc0d42ffbb747cb256c34ced74faf29b7608effde
7
+ data.tar.gz: 223ff8bcfd4f3975ff07d2ea18441926d0152ea4503700272ec24440e1f4d92263b24b207984366f622a5fcb1679bf697ad24ab85646ac2a790666ebf217ba7e
@@ -252,14 +252,12 @@ module Fastlane
252
252
  class_ref.run(arguments)
253
253
  end
254
254
  end
255
- rescue \
256
- FastlaneCore::Interface::FastlaneBuildFailure, # build_failure!
257
- FastlaneCore::Interface::FastlaneTestFailure => e # test_failure!
258
- raise e
259
255
  rescue FastlaneCore::Interface::FastlaneError => e # user_error!
260
256
  FastlaneCore::CrashReporter.report_crash(type: :user_error, exception: e, action: method_sym)
261
257
  collector.did_raise_error(method_sym)
262
258
  raise e
259
+ rescue FastlaneCore::Interface::FastlaneTestFailure => e # test_failure!
260
+ raise e
263
261
  rescue Exception => e # rubocop:disable Lint/RescueException
264
262
  # high chance this is actually FastlaneCore::Interface::FastlaneCrash, but can be anything else
265
263
  # Catches all exceptions, since some plugins might use system exits to get out
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.30.2'.freeze
2
+ VERSION = '2.31.0.beta.20170512010054'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
@@ -68,8 +68,6 @@ module FastlaneCore
68
68
 
69
69
  def save_file(payload: "{}")
70
70
  File.write(crash_report_path, payload)
71
- rescue
72
- UI.message("fastlane failed to write the crash report to #{crash_report_path}.")
73
71
  end
74
72
 
75
73
  def send_report(payload: "{}")
@@ -70,10 +70,6 @@ module Commander
70
70
  FastlaneCore::CrashReporter.report_crash(type: :option_parser, exception: e, action: @program[:name])
71
71
  abort e.to_s
72
72
  end
73
- rescue \
74
- FastlaneCore::Interface::FastlaneBuildFailure, # build_failure!
75
- FastlaneCore::Interface::FastlaneTestFailure => e # test_failure!
76
- display_user_error!(e, e.to_s)
77
73
  rescue FastlaneCore::Interface::FastlaneError => e # user_error!
78
74
  collector.did_raise_error(@program[:name])
79
75
  show_github_issues(e.message) if e.show_github_issues
@@ -87,6 +83,8 @@ module Commander
87
83
  puts ""
88
84
  FastlaneCore::CrashReporter.report_crash(type: :system, exception: e, action: @program[:name])
89
85
  raise e
86
+ rescue FastlaneCore::Interface::FastlaneTestFailure => e # test_failure!
87
+ display_user_error!(e, e.to_s)
90
88
  rescue Faraday::SSLError => e # SSL issues are very common
91
89
  handle_ssl_error!(e)
92
90
  rescue Faraday::ConnectionFailed => e
@@ -126,10 +126,6 @@ module FastlaneCore
126
126
  end
127
127
  end
128
128
 
129
- # raised from build_failure!
130
- class FastlaneBuildFailure < FastlaneError
131
- end
132
-
133
129
  # raised from test_failure!
134
130
  class FastlaneTestFailure < StandardError
135
131
  end
@@ -154,16 +150,6 @@ module FastlaneCore
154
150
  raise FastlaneError.new(options), error_message.to_s
155
151
  end
156
152
 
157
- # Use this method to exit the program because of a build failure
158
- # that's caused by the source code of the user. Example for this
159
- # is that gym will fail when the code doesn't compile or because
160
- # settings for the project are incorrect.
161
- # By using this method we'll have more accurate results about
162
- # fastlane failures
163
- def build_failure!(error_message, options = {})
164
- raise FastlaneBuildFailure.new(options), error_message.to_s
165
- end
166
-
167
153
  # Use this method to exit the program because of a test failure
168
154
  # that's caused by the source code of the user. Example for this
169
155
  # is that scan will fail when the tests fail.
@@ -55,7 +55,7 @@ module Gym
55
55
  print_xcode_path_instructions
56
56
  print_xcode_version
57
57
  raise_legacy_build_api_error(output) if Gym.config[:use_legacy_build_api]
58
- UI.build_failure!("Error building the application - see the log above", error_info: output)
58
+ UI.user_error!("Error building the application - see the log above", error_info: output)
59
59
  end
60
60
 
61
61
  # @param [Array] The output of the errored build (line by line)
@@ -86,7 +86,7 @@ module Gym
86
86
  print "provisioning profile and code signing identity."
87
87
  end
88
88
  print_full_log_path
89
- UI.build_failure!("Error packaging up the application", error_info: output)
89
+ UI.user_error!("Error packaging up the application", error_info: output)
90
90
  end
91
91
 
92
92
  def handle_empty_archive
@@ -96,7 +96,7 @@ module Gym
96
96
  print "Also, make sure to have a valid code signing identity and provisioning profile installed"
97
97
  print "Follow this guide to setup code signing https://docs.fastlane.tools/codesigning/GettingStarted/"
98
98
  print "If your intention was only to export an ipa be sure to provide a valid archive at the archive path."
99
- UI.build_failure!("Archive invalid")
99
+ UI.user_error!("Archive invalid")
100
100
  end
101
101
 
102
102
  def find_standard_output_path(output)
@@ -110,7 +110,7 @@ module Gym
110
110
  UI.error("and was removed with Xcode 8.3")
111
111
  UI.error("Please update your Fastfile to include the export_method too")
112
112
  UI.error("more information about how to migrate away: https://github.com/fastlane/fastlane/releases/tag/2.24.0")
113
- UI.build_failure!("Build failed. Please remove the `use_legacy_build_api` option in your Fastfile and try again", error_info: output)
113
+ UI.user_error!("Build failed. Please remove the `use_legacy_build_api` option in your Fastfile and try again", error_info: output)
114
114
  end
115
115
 
116
116
  private
@@ -287,7 +287,7 @@ module Spaceship
287
287
 
288
288
  # look up the app_id by the bundle_id
289
289
  if bundle_id
290
- app = Spaceship::App.set_client(client).find(bundle_id)
290
+ app = Spaceship::App.find(bundle_id)
291
291
  raise "Could not find app with bundle id '#{bundle_id}'" unless app
292
292
  app_id = app.app_id
293
293
  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.30.2
4
+ version: 2.31.0.beta.20170512010054
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -1361,23 +1361,23 @@ metadata:
1361
1361
  post_install_message:
1362
1362
  rdoc_options: []
1363
1363
  require_paths:
1364
- - cert/lib
1365
- - credentials_manager/lib
1366
- - deliver/lib
1367
- - fastlane/lib
1368
- - fastlane_core/lib
1369
- - frameit/lib
1370
- - gym/lib
1364
+ - sigh/lib
1365
+ - scan/lib
1366
+ - supply/lib
1371
1367
  - match/lib
1372
- - pem/lib
1368
+ - snapshot/lib
1369
+ - spaceship/lib
1370
+ - fastlane_core/lib
1373
1371
  - pilot/lib
1372
+ - gym/lib
1373
+ - deliver/lib
1374
1374
  - produce/lib
1375
- - scan/lib
1375
+ - fastlane/lib
1376
+ - credentials_manager/lib
1376
1377
  - screengrab/lib
1377
- - sigh/lib
1378
- - snapshot/lib
1379
- - spaceship/lib
1380
- - supply/lib
1378
+ - pem/lib
1379
+ - cert/lib
1380
+ - frameit/lib
1381
1381
  required_ruby_version: !ruby/object:Gem::Requirement
1382
1382
  requirements:
1383
1383
  - - ">="
@@ -1385,15 +1385,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
1385
1385
  version: 2.0.0
1386
1386
  required_rubygems_version: !ruby/object:Gem::Requirement
1387
1387
  requirements:
1388
- - - ">="
1388
+ - - ">"
1389
1389
  - !ruby/object:Gem::Version
1390
- version: '0'
1390
+ version: 1.3.1
1391
1391
  requirements: []
1392
1392
  rubyforge_project:
1393
- rubygems_version: 2.5.2
1393
+ rubygems_version: 2.4.5.2
1394
1394
  signing_key:
1395
1395
  specification_version: 4
1396
1396
  summary: The easiest way to automate beta deployments and releases for your iOS and
1397
1397
  Android apps
1398
1398
  test_files: []
1399
- has_rdoc: