fastlane_core 0.5.1 → 0.5.2
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 +4 -4
- data/lib/fastlane_core/helper.rb +7 -2
- data/lib/fastlane_core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c7558dcc162c851329311ec25d8157718a58487
|
4
|
+
data.tar.gz: 4bb9549d6060d3518f835955b0f725b6bdc581be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee70b2aac81876ea582d9ede3ac183267c077d46c20dc4710b0e6b66e3631d28501377ae1a3072f58f193dcc20a8b3a13e96d77c48471aa2216da18733d6e1fe
|
7
|
+
data.tar.gz: c9f8d64c2c2bd22a687611a5113d0ff389523cdd11b8e863b6834200c1caac6ef8d16ee52c2835ba077c50b6df252939ff3edcefe859c2eb43285de91c032780
|
data/lib/fastlane_core/helper.rb
CHANGED
@@ -62,13 +62,18 @@ module FastlaneCore
|
|
62
62
|
# @return the full path to the Xcode developer tools of the currently
|
63
63
|
# running system
|
64
64
|
def self.xcode_path
|
65
|
-
return "" if self.is_test? and not
|
65
|
+
return "" if self.is_test? and not self.is_mac?
|
66
66
|
`xcode-select -p`.gsub("\n", '') + "/"
|
67
67
|
end
|
68
68
|
|
69
|
+
# Is the currently running computer a Mac?
|
70
|
+
def self.is_mac?
|
71
|
+
(/darwin/ =~ RUBY_PLATFORM) != nil
|
72
|
+
end
|
73
|
+
|
69
74
|
# @return the full path to the iTMSTransporter executable
|
70
75
|
def self.transporter_path
|
71
|
-
return '' unless
|
76
|
+
return '' unless self.is_mac? # so tests work on Linx too
|
72
77
|
|
73
78
|
[
|
74
79
|
"../Applications/Application Loader.app/Contents/MacOS/itms/bin/iTMSTransporter",
|