fastlane_core 0.24.0 → 0.25.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: 3fc353f7ff8006b846e53a363f92ae0600b0b133
4
- data.tar.gz: 5e44f5ca91bf919d579b7d2ec8d9ee0da8579be7
3
+ metadata.gz: 632df23c1b5ee11262e205510d7b05ccf023ec4b
4
+ data.tar.gz: b0dd7fd7fb129398fb850fbd8c1f51bc6b740abb
5
5
  SHA512:
6
- metadata.gz: e6782f05a6fa2152dd7d7b639d2d2aca60cdcba02e082ab7e51115a9f3ddeda43197c90c9a67799e10aff5e89c4a8ebb59f2ac87203606573e2ae0d4759b0cb0
7
- data.tar.gz: c9d41b59baaaeceb41a28617c1c5e1bd50b8128653980d3e93c955b5c3da5544a1484ce92b644fbb633d3bd3d42be2b7d4c10db7f514f349619f75d1e5f1f9b1
6
+ metadata.gz: 333f118f3185ecf5ed2a19834cc08682326ee4e01b34aadf3c6d91b00a15191abf56f534d30398fd687b2c6ced633b4b1b6d169dafe4edb83fa4fcfaf5e8de2e
7
+ data.tar.gz: 66ecb64e25d0f399b6739fd0f7a32052aaa1b7ff5a4b22ed71729c6daa21b6fa40edc4012a559adac745fc9055fef3a5ee69da191dfc5143c4373ea4548242e1
@@ -66,7 +66,11 @@ module FastlaneCore
66
66
  end
67
67
 
68
68
  def clear_display
69
- system("clear") unless Helper.ci?
69
+ return if Helper.ci?
70
+
71
+ if Helper.iterm?
72
+ system("clear")
73
+ end
70
74
  end
71
75
  end
72
76
  end
@@ -32,6 +32,23 @@ module FastlaneCore
32
32
  puts "-------------------------------------------------------------------------------------------".yellow
33
33
  end
34
34
 
35
+ # Ask the user politely if they want to send crash reports
36
+ def ask_during_setup
37
+ return if enabled?
38
+
39
+ puts "-------------------------------------------------------------------------------------------".yellow
40
+ puts "😃 Do you want to enable crash reporting when fastlane experiences a problem?".yellow
41
+ puts "👍 This makes resolving issues much easier and helps improving fastlane".yellow
42
+ puts "🔒 The reports might contain personal data, but will be stored securely on getsentry.com".yellow
43
+ puts "✨ Once crash reporting is enabled, you have much cleaner output when something goes wrong".yellow
44
+ puts "🙊 More information about privacy: https://github.com/KrauseFx/fastlane/releases/tag/1.33.3".yellow
45
+ puts "🌴 You can always enable crash reports at a later point using `fastlane enable_crash_reporting`".yellow
46
+ puts "-------------------------------------------------------------------------------------------".yellow
47
+ if agree("Do you want to enable crash reporting? (y/n) ", true)
48
+ enable
49
+ end
50
+ end
51
+
35
52
  def handle_crash(ex)
36
53
  unless enabled?
37
54
  show_message
@@ -77,6 +77,16 @@ module FastlaneCore
77
77
  end
78
78
  # rubocop:enable Style/PredicateName
79
79
 
80
+ # Does the user use the Mac stock terminal
81
+ def self.mac_stock_terminal?
82
+ !!ENV["TERM_PROGRAM_VERSION"]
83
+ end
84
+
85
+ # Does the user use iTerm?
86
+ def self.iterm?
87
+ !!ENV["ITERM_SESSION_ID"]
88
+ end
89
+
80
90
  # All Xcode Related things
81
91
  #
82
92
 
@@ -53,6 +53,10 @@ module FastlaneCore
53
53
  puts "# It is recommended to use the latest version.".green
54
54
  puts "# Update using 'sudo gem update #{gem_name.downcase}'.".green
55
55
  puts "# To see what's new, open https://github.com/KrauseFx/#{gem_name}/releases.".green
56
+ if Random.rand(5) == 1
57
+ puts '#######################################################################'.green
58
+ puts "# Run `sudo gem cleanup` from time to time to speed up fastlane".green
59
+ end
56
60
  puts '#######################################################################'.green
57
61
  end
58
62
 
@@ -1,3 +1,3 @@
1
1
  module FastlaneCore
2
- VERSION = "0.24.0"
2
+ VERSION = "0.25.0"
3
3
  end
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.24.0
4
+ version: 0.25.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-10-18 00:00:00.000000000 Z
11
+ date: 2015-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -403,7 +403,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
403
403
  version: '0'
404
404
  requirements: []
405
405
  rubyforge_project:
406
- rubygems_version: 2.4.6
406
+ rubygems_version: 2.4.8
407
407
  signing_key:
408
408
  specification_version: 4
409
409
  summary: Contains all shared code/dependencies of the fastlane.tools