fastlane_core 0.16.2 → 0.17.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 +4 -4
- data/lib/fastlane_core/helper.rb +17 -0
- data/lib/fastlane_core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 124a2c938d14a3e2c6826b473a5b2ef04ca52c5b
|
|
4
|
+
data.tar.gz: afbfc237d1c3e6de1408e854942d85ef7800f9d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69f1e77298973701d6ea2298be31a4ea2c0c372650a79800b7a0b130f88ea147925378913eafcb3543b5df9d32801e8c866ad2f2d1f978bad3aaf73732ae569a
|
|
7
|
+
data.tar.gz: 7aad3aa916e47b8c697fd29fd5221af0b05a1a6db787d0d56e208bef8efe7cef128d74358679f5d775736b3b0e65035bd690fa27e71cc83988591e0dc2d9f28c
|
data/lib/fastlane_core/helper.rb
CHANGED
|
@@ -77,6 +77,9 @@ module FastlaneCore
|
|
|
77
77
|
end
|
|
78
78
|
# rubocop:enable Style/PredicateName
|
|
79
79
|
|
|
80
|
+
# All Xcode Related things
|
|
81
|
+
#
|
|
82
|
+
|
|
80
83
|
# @return the full path to the Xcode developer tools of the currently
|
|
81
84
|
# running system
|
|
82
85
|
def self.xcode_path
|
|
@@ -84,6 +87,20 @@ module FastlaneCore
|
|
|
84
87
|
`xcode-select -p`.delete("\n") + "/"
|
|
85
88
|
end
|
|
86
89
|
|
|
90
|
+
# @return The version of the currently used Xcode installation (e.g. "7.0")
|
|
91
|
+
def self.xcode_version
|
|
92
|
+
return @xcode_version if @xcode_version
|
|
93
|
+
|
|
94
|
+
begin
|
|
95
|
+
output = `DEVELOPER_DIR='' "#{xcode_path}/usr/bin/xcodebuild" -version`
|
|
96
|
+
@xcode_version = output.split("\n").first.split(' ')[1]
|
|
97
|
+
rescue => ex
|
|
98
|
+
Helper.log.error ex
|
|
99
|
+
Helper.log.error "Error detecting currently used Xcode installation".red
|
|
100
|
+
end
|
|
101
|
+
@xcode_version
|
|
102
|
+
end
|
|
103
|
+
|
|
87
104
|
# @return the full path to the iTMSTransporter executable
|
|
88
105
|
def self.transporter_path
|
|
89
106
|
return '' unless self.is_mac? # so tests work on Linx too
|
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.17.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-09-
|
|
11
|
+
date: 2015-09-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|