fastlane_core 0.48.3 → 0.49.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90bf6fabf15e87e84b57df467e81a6d543ccbb84
|
4
|
+
data.tar.gz: 9668ab74de0e5586166b77dff6ecbfad10ec1652
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9c3a37a0bc79fceaaf04de1c6db591db520a45e582387f4c194d1f58a15b259e16d8e11efaf2a36e51dac106407a5012018905a85f8d516db6bb4ff149e584c
|
7
|
+
data.tar.gz: 31bb21abba8cbce4f4879b95a9015d31912c108c8cf06e016b00347579aa64993b1360f38b280777169c958117ac76fc4905bfa02d0d116858b3467c9aa3e486
|
@@ -40,7 +40,7 @@ module Commander
|
|
40
40
|
abort e.to_s
|
41
41
|
rescue FastlaneCore::Interface::FastlaneError => e # user_error!
|
42
42
|
collector.did_raise_error(@program[:name])
|
43
|
-
show_github_issues(e.message)
|
43
|
+
show_github_issues(e.message) if e.show_github_issues
|
44
44
|
display_user_error!(e, e.message)
|
45
45
|
rescue => e # high chance this is actually FastlaneCore::Interface::FastlaneCrash, but can be anything else
|
46
46
|
collector.did_crash(@program[:name])
|
@@ -117,6 +117,11 @@ module FastlaneCore
|
|
117
117
|
|
118
118
|
# raised from user_error!
|
119
119
|
class FastlaneError < StandardError
|
120
|
+
attr_reader :show_github_issues
|
121
|
+
|
122
|
+
def initialize(show_github_issues: true)
|
123
|
+
@show_github_issues = show_github_issues
|
124
|
+
end
|
120
125
|
end
|
121
126
|
|
122
127
|
# Pass an exception to this method to exit the program
|
@@ -135,8 +140,9 @@ module FastlaneCore
|
|
135
140
|
# stack trace
|
136
141
|
# Basically this should be used when you actively catch the error
|
137
142
|
# and want to show a nice error message to the user
|
138
|
-
def user_error!(error_message)
|
139
|
-
|
143
|
+
def user_error!(error_message, options = {})
|
144
|
+
options = { show_github_issues: true }.merge(options)
|
145
|
+
raise FastlaneError.new(show_github_issues: options[:show_github_issues]), error_message.to_s
|
140
146
|
end
|
141
147
|
|
142
148
|
#####################################################
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.49.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: 2016-
|
11
|
+
date: 2016-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -408,7 +408,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
408
408
|
version: '0'
|
409
409
|
requirements: []
|
410
410
|
rubyforge_project:
|
411
|
-
rubygems_version: 2.
|
411
|
+
rubygems_version: 2.6.6
|
412
412
|
signing_key:
|
413
413
|
specification_version: 4
|
414
414
|
summary: Contains all shared code/dependencies of the fastlane.tools
|