fastlane 2.32.1 → 2.33.0.beta.20170519010039

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: cabeb08595d49196d1865678dda78beab1f5c024
4
- data.tar.gz: fed8d92e4ebe20549217e334af3e04667ef0ad0e
3
+ metadata.gz: 19ec74be8a4fd5f9df2f14901dfd62412ab3379b
4
+ data.tar.gz: 8db25a920512b13291ece7a7b36672385ea009a2
5
5
  SHA512:
6
- metadata.gz: f3641ee57f96525bd12760ebb36c94f4a48d60f6492e4669326486890608f765c0feeb77fb5659a757ae7556090fbae636f1505422fe947e83b8660e084854a5
7
- data.tar.gz: ca31f7662a7b7ec663ea4e06db9fb205f4e9b02e9fcf15d297101c89be44c9016bed32a188d2596bbeab670d057312dcc921940fc388b0759a185fcf12a46cb5
6
+ metadata.gz: 56e22beaba26f1da2d11f07fb159ec4d20c3318a79bbf152ae00e15aa0e2b305f3e57892966017a19a726f45c9af64143b3b23967918e326c1c3f026bdb28038
7
+ data.tar.gz: 953120b04eaba5ee902eef7c7af275ae3c84d442ca0a2c70ac74bac400543526fbed55fd06975b8860e9170b1461be570ed9c95561d42f424713f8b5b5b2780f
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.32.1'.freeze
2
+ VERSION = '2.33.0.beta.20170519010039'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
@@ -15,20 +15,9 @@ module FastlaneCore
15
15
  end
16
16
  end
17
17
 
18
- def includes_method_missing?
19
- return false if backtrace.nil? || backtrace[1].nil?
20
- second_frame = backtrace[1]
21
- second_frame.include?('method_missing') && second_frame.include?('ui.rb')
22
- end
23
-
24
18
  def trim_backtrace(method_name: nil)
25
19
  if caused_by_calling_ui_method?(method_name: method_name)
26
- if includes_method_missing?
27
- drop_count = 2
28
- else
29
- drop_count = 1
30
- end
31
- backtrace.drop(drop_count)
20
+ backtrace.drop(2)
32
21
  else
33
22
  backtrace
34
23
  end
@@ -107,10 +107,6 @@ module FastlaneCore
107
107
  not_implemented(__method__)
108
108
  end
109
109
 
110
- #####################################################
111
- # @!group Abort helper methods
112
- #####################################################
113
-
114
110
  # Pass an exception to this method to exit the program
115
111
  # using the given exception
116
112
  # Use this method instead of user_error! if this error is
@@ -162,18 +158,6 @@ module FastlaneCore
162
158
  raise FastlaneTestFailure.new, error_message
163
159
  end
164
160
 
165
- # Use this method to exit the program because of terminal state
166
- # that is neither the fault of fastlane, nor a problem with the
167
- # user's input. Using this method instead of user_error! will
168
- # avoid tracking this outcome as a fastlane failure.
169
- #
170
- # e.g. tests ran successfully, but no screenshots were found
171
- #
172
- # This will show the message, but hide the full stack trace.
173
- def abort_with_message!(message)
174
- raise FastlaneCommonException.new, message
175
- end
176
-
177
161
  #####################################################
178
162
  # @!group Helpers
179
163
  #####################################################
@@ -38,7 +38,7 @@ require 'fastlane_core/ui/errors/fastlane_exception'
38
38
  require 'fastlane_core/ui/errors/fastlane_error'
39
39
  require 'fastlane_core/ui/errors/fastlane_crash'
40
40
  require 'fastlane_core/ui/errors/fastlane_shell_error'
41
- require 'fastlane_core/ui/errors/fastlane_common_error'
41
+ require 'fastlane_core/ui/errors/fastlane_not_counted_error'
42
42
 
43
43
  # Third Party code
44
44
  require 'colored'
@@ -292,7 +292,7 @@ module Screengrab
292
292
  # success based on whether there are more screenshots there than when we started.
293
293
  if starting_screenshot_count == ending_screenshot_count
294
294
  UI.error "Make sure you've used Screengrab.screenshot() in your tests and that your expected tests are being run."
295
- UI.abort_with_message! "No screenshots were detected 📷❌"
295
+ UI.user_error! "No screenshots were detected 📷❌"
296
296
  end
297
297
 
298
298
  ending_screenshot_count - starting_screenshot_count
@@ -6,14 +6,8 @@ module Snapshot
6
6
  # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7
7
 
8
8
  sure = true if FastlaneCore::Env.truthy?("SNAPSHOT_FORCE_DELETE") || force
9
- begin
10
- sure = UI.confirm("Are you sure? All your simulators will be DELETED and new ones will be created!") unless sure
11
- rescue => e
12
- UI.user_error!("Please make sure to pass the `--force` option to reset simulators when running in non-interactive mode") unless UI.interactive?
13
- raise e
14
- end
15
-
16
- UI.abort_with_message!("User cancelled action") unless sure
9
+ sure = UI.confirm("Are you sure? All your simulators will be DELETED and new ones will be created!") unless sure
10
+ UI.user_error!("User cancelled action") unless sure
17
11
 
18
12
  devices.each do |device|
19
13
  _, name, id = device
@@ -39,8 +39,8 @@ module Spaceship
39
39
  end
40
40
 
41
41
  def self.interactive?
42
- if Object.const_defined?("FastlaneCore") && FastlaneCore.const_defined?("UI")
43
- return FastlaneCore::UI.interactive?
42
+ if Object.const_defined?("FastlaneCore") && FastlaneCore.const_defined?("Helper")
43
+ return FastlaneCore::Helper.interactive?
44
44
  end
45
45
  return true
46
46
  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.32.1
4
+ version: 2.33.0.beta.20170519010039
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -1108,10 +1108,10 @@ files:
1108
1108
  - fastlane_core/lib/fastlane_core/swag.rb
1109
1109
  - fastlane_core/lib/fastlane_core/tool_collector.rb
1110
1110
  - fastlane_core/lib/fastlane_core/ui/disable_colors.rb
1111
- - fastlane_core/lib/fastlane_core/ui/errors/fastlane_common_error.rb
1112
1111
  - fastlane_core/lib/fastlane_core/ui/errors/fastlane_crash.rb
1113
1112
  - fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb
1114
1113
  - fastlane_core/lib/fastlane_core/ui/errors/fastlane_exception.rb
1114
+ - fastlane_core/lib/fastlane_core/ui/errors/fastlane_not_counted_error.rb
1115
1115
  - fastlane_core/lib/fastlane_core/ui/errors/fastlane_shell_error.rb
1116
1116
  - fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb
1117
1117
  - fastlane_core/lib/fastlane_core/ui/github_issue_inspector_reporter.rb
@@ -1367,23 +1367,23 @@ metadata:
1367
1367
  post_install_message:
1368
1368
  rdoc_options: []
1369
1369
  require_paths:
1370
- - cert/lib
1371
- - credentials_manager/lib
1372
- - deliver/lib
1370
+ - scan/lib
1371
+ - spaceship/lib
1372
+ - screengrab/lib
1373
1373
  - fastlane/lib
1374
+ - credentials_manager/lib
1375
+ - sigh/lib
1376
+ - match/lib
1377
+ - pilot/lib
1374
1378
  - fastlane_core/lib
1375
- - frameit/lib
1376
1379
  - gym/lib
1377
- - match/lib
1380
+ - supply/lib
1378
1381
  - pem/lib
1379
- - pilot/lib
1382
+ - frameit/lib
1380
1383
  - produce/lib
1381
- - scan/lib
1382
- - screengrab/lib
1383
- - sigh/lib
1384
+ - deliver/lib
1385
+ - cert/lib
1384
1386
  - snapshot/lib
1385
- - spaceship/lib
1386
- - supply/lib
1387
1387
  required_ruby_version: !ruby/object:Gem::Requirement
1388
1388
  requirements:
1389
1389
  - - ">="
@@ -1391,15 +1391,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
1391
1391
  version: 2.0.0
1392
1392
  required_rubygems_version: !ruby/object:Gem::Requirement
1393
1393
  requirements:
1394
- - - ">="
1394
+ - - ">"
1395
1395
  - !ruby/object:Gem::Version
1396
- version: '0'
1396
+ version: 1.3.1
1397
1397
  requirements: []
1398
1398
  rubyforge_project:
1399
- rubygems_version: 2.5.2
1399
+ rubygems_version: 2.4.5.2
1400
1400
  signing_key:
1401
1401
  specification_version: 4
1402
1402
  summary: The easiest way to automate beta deployments and releases for your iOS and
1403
1403
  Android apps
1404
1404
  test_files: []
1405
- has_rdoc: