fastlane_core 0.57.2 → 0.58.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: a9111a44e82777e52e9ab71926aa30528acf8ec9
|
4
|
+
data.tar.gz: 1bf2ccc80d35e4f0e93df592fb76849531b63dcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa02097ca3225f7cb3945ab1ef7fa0303219660a3822d57a4844c4ceabe2f2c54854e902cb8b6a17f363ddca06b55d274fcac86b4f6ed93dcc754f714f149ae2
|
7
|
+
data.tar.gz: 4c816b7e139a815323f8b961b6e86dbbb84adc2f24b3db5e855d5c19ecfe49528e3059c8ae9e7e0a9a523cfadf74b7e35751af2d04d7caf1db0502d2fb8e39c2
|
data/lib/fastlane_core.rb
CHANGED
@@ -37,4 +37,12 @@ require 'fastlane_core/ui/fastlane_runner' # monkey patch
|
|
37
37
|
|
38
38
|
module FastlaneCore
|
39
39
|
ROOT = Pathname.new(File.expand_path('../..', __FILE__))
|
40
|
+
|
41
|
+
# A directory that's being used to user-wide fastlane configs
|
42
|
+
# This directory is also used for the bundled fastlane
|
43
|
+
def self.fastlane_user_dir
|
44
|
+
path = File.expand_path(File.join("~", ".fastlane"))
|
45
|
+
FileUtils.mkdir_p(path) unless File.directory?(path)
|
46
|
+
return path
|
47
|
+
end
|
40
48
|
end
|
@@ -185,6 +185,11 @@ module FastlaneCore
|
|
185
185
|
all.each(&:reset)
|
186
186
|
end
|
187
187
|
|
188
|
+
def reset_all_by_version(os_version: nil)
|
189
|
+
return false unless os_version
|
190
|
+
all.select { |device| device.os_version == os_version }.each(&:reset)
|
191
|
+
end
|
192
|
+
|
188
193
|
# Reset simulator by UDID or name and OS version
|
189
194
|
# Latter is useful when combined with -destination option of xcodebuild
|
190
195
|
def reset(udid: nil, name: nil, os_version: nil)
|
@@ -129,10 +129,16 @@ module FastlaneCore
|
|
129
129
|
end
|
130
130
|
|
131
131
|
def did_show_message?
|
132
|
-
|
133
|
-
|
134
|
-
File.
|
135
|
-
|
132
|
+
file_name = ".did_show_opt_info"
|
133
|
+
|
134
|
+
legacy_path = File.join(File.expand_path('~'), file_name)
|
135
|
+
new_path = File.join(FastlaneCore.fastlane_user_dir, file_name)
|
136
|
+
did_show = File.exist?(new_path) || File.exist?(legacy_path)
|
137
|
+
|
138
|
+
return did_show if did_show
|
139
|
+
|
140
|
+
File.write(new_path, '1')
|
141
|
+
false
|
136
142
|
end
|
137
143
|
|
138
144
|
def determine_version(name)
|
@@ -166,7 +166,7 @@ module Commander
|
|
166
166
|
inspector.search_exception(message_or_error, delegate)
|
167
167
|
end
|
168
168
|
rescue => ex
|
169
|
-
FastlaneCore::UI.error("Error finding relevant GitHub issues: #{ex}")
|
169
|
+
FastlaneCore::UI.error("Error finding relevant GitHub issues: #{ex}") if $verbose
|
170
170
|
end
|
171
171
|
end
|
172
172
|
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.
|
4
|
+
version: 0.58.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-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -420,7 +420,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
420
420
|
version: '0'
|
421
421
|
requirements: []
|
422
422
|
rubyforge_project:
|
423
|
-
rubygems_version: 2.
|
423
|
+
rubygems_version: 2.6.6
|
424
424
|
signing_key:
|
425
425
|
specification_version: 4
|
426
426
|
summary: Contains all shared code/dependencies of the fastlane.tools
|