fastlane_core 0.26.1 → 0.26.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63ba0fbf8f973429f9b3bb6eee45d4e85c5be330
|
4
|
+
data.tar.gz: d4f0ce50e4db6e7ef5ecce028959e1dbcad71060
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a3b28cadc036908f8833ed8f17f992edbc02128ccf33dd2da15056fe66bc6c7112b6bd735432b0bbbe49c64ba2ab2364fb5dcded27c64b68193cc375e3d0114
|
7
|
+
data.tar.gz: 0a4fda46830e9b9f64a90636e6d48887d8b6b61a206d39a05ebc13587fca0452b1b535efaca531c7a80ba9ef88eae51f39bf9efedb7c456714e8dd702a722593
|
@@ -8,9 +8,9 @@ module FastlaneCore
|
|
8
8
|
|
9
9
|
def enable
|
10
10
|
File.write(file_path, "1")
|
11
|
-
puts "Successfully enabled crash reporting
|
12
|
-
puts "This will only send
|
13
|
-
puts "Thanks for
|
11
|
+
puts "Successfully enabled crash reporting.".green
|
12
|
+
puts "This will only send a stack trace for installed gems to Sentry.".green
|
13
|
+
puts "Thanks for improving fastlane!".green
|
14
14
|
end
|
15
15
|
|
16
16
|
def disable
|
@@ -24,10 +24,10 @@ module FastlaneCore
|
|
24
24
|
|
25
25
|
def show_message
|
26
26
|
puts "-------------------------------------------------------------------------------------------".yellow
|
27
|
-
puts "😨 An error occured. Please enable crash reports using `fastlane enable_crash_reporting
|
28
|
-
puts "👍 This makes resolving issues much easier and helps
|
29
|
-
puts "🔒 The reports
|
30
|
-
puts "✨ Once crash reporting is enabled, you
|
27
|
+
puts "😨 An error occured. Please enable crash reports using `fastlane enable_crash_reporting`.".yellow
|
28
|
+
puts "👍 This makes resolving issues much easier and helps improve fastlane.".yellow
|
29
|
+
puts "🔒 The reports will be stored securely on getsentry.com.".yellow
|
30
|
+
puts "✨ Once crash reporting is enabled, you get a clean output when something goes wrong.".yellow
|
31
31
|
puts "🙊 More information about privacy: https://github.com/KrauseFx/fastlane/releases/tag/1.33.3".yellow
|
32
32
|
puts "-------------------------------------------------------------------------------------------".yellow
|
33
33
|
end
|
@@ -37,12 +37,12 @@ module FastlaneCore
|
|
37
37
|
return if enabled?
|
38
38
|
|
39
39
|
puts "-------------------------------------------------------------------------------------------".yellow
|
40
|
-
puts "😃
|
41
|
-
puts "👍 This makes resolving issues much easier and helps
|
42
|
-
puts "🔒 The reports
|
43
|
-
puts "✨ Once crash reporting is enabled, you
|
40
|
+
puts "😃 Enable crash reporting when fastlane experiences a problem?".yellow
|
41
|
+
puts "👍 This makes resolving issues much easier and helps improve fastlane.".yellow
|
42
|
+
puts "🔒 The reports will be stored securely on getsentry.com".yellow
|
43
|
+
puts "✨ Once crash reporting is enabled, you get a clean output when something goes wrong".yellow
|
44
44
|
puts "🙊 More information about privacy: https://github.com/KrauseFx/fastlane/releases/tag/1.33.3".yellow
|
45
|
-
puts "🌴 You can always
|
45
|
+
puts "🌴 You can always disable crash reports at anytime `fastlane disable_crash_reporting`".yellow
|
46
46
|
puts "-------------------------------------------------------------------------------------------".yellow
|
47
47
|
if agree("Do you want to enable crash reporting? (y/n) ", true)
|
48
48
|
enable
|
@@ -78,9 +78,9 @@ module FastlaneCore
|
|
78
78
|
crash = Raven.capture_exception(ex)
|
79
79
|
path = "/tmp/sentry_#{crash.id}.json"
|
80
80
|
File.write(path, JSON.pretty_generate(crash.to_hash))
|
81
|
-
puts "Successfully submitted crash report. If this is a problem with one of the tools
|
81
|
+
puts "Successfully submitted a crash report. If this is a problem with one of the tools specifically,".yellow
|
82
82
|
puts "please submit an issue on GitHub and attach the following number to it: '#{crash.id}'".yellow
|
83
|
-
puts "
|
83
|
+
puts "The crash report has been stored locally '#{path}'".yellow
|
84
84
|
rescue => ex
|
85
85
|
Helper.log.debug ex # We don't want crash reporting to cause crash
|
86
86
|
end
|
data/lib/fastlane_core/helper.rb
CHANGED
@@ -4,6 +4,8 @@ module FastlaneCore
|
|
4
4
|
module Helper
|
5
5
|
# Logging happens using this method
|
6
6
|
def self.log
|
7
|
+
$stdout.sync = true
|
8
|
+
|
7
9
|
if is_test?
|
8
10
|
@@log ||= Logger.new(nil) # don't show any logs when running tests
|
9
11
|
else
|
@@ -51,7 +53,7 @@ module FastlaneCore
|
|
51
53
|
# @return [boolean] true if building in a known CI environment
|
52
54
|
def self.ci?
|
53
55
|
# Check for Jenkins, Travis CI, ... environment variables
|
54
|
-
['JENKINS_URL', 'TRAVIS', 'CIRCLECI', 'CI'].each do |current|
|
56
|
+
['JENKINS_URL', 'TRAVIS', 'CIRCLECI', 'CI', 'TEAMCITY_VERSION', 'GO_PIPELINE_NAME', 'bamboo_buildKey'].each do |current|
|
55
57
|
return true if ENV.key?(current)
|
56
58
|
end
|
57
59
|
return false
|
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.26.
|
4
|
+
version: 0.26.2
|
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-
|
11
|
+
date: 2015-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -362,7 +362,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
362
362
|
version: '0'
|
363
363
|
requirements: []
|
364
364
|
rubyforge_project:
|
365
|
-
rubygems_version: 2.4.
|
365
|
+
rubygems_version: 2.4.6
|
366
366
|
signing_key:
|
367
367
|
specification_version: 4
|
368
368
|
summary: Contains all shared code/dependencies of the fastlane.tools
|