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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9b054713d283fb6cd0a07d9a0c7a4076d06b2547
4
- data.tar.gz: 0383894749511c97d291916575b5ca846c96f3cb
3
+ metadata.gz: 124a2c938d14a3e2c6826b473a5b2ef04ca52c5b
4
+ data.tar.gz: afbfc237d1c3e6de1408e854942d85ef7800f9d3
5
5
  SHA512:
6
- metadata.gz: 80385bdb808979f26e1db646b2464ef29b846190177af415df06623a733dba6022e759929b470fe8f6e7efe866aaf5909dcd01855499601642fa5d0365475e2d
7
- data.tar.gz: 8ac1593148c79b9b6953b418afcd5f4e991596e5a608f8584c4b3cf35bede77e2465e089e1de87a72156874eaf73552a8cd4de84f11ed5d7f73b9bdfcf985563
6
+ metadata.gz: 69f1e77298973701d6ea2298be31a4ea2c0c372650a79800b7a0b130f88ea147925378913eafcb3543b5df9d32801e8c866ad2f2d1f978bad3aaf73732ae569a
7
+ data.tar.gz: 7aad3aa916e47b8c697fd29fd5221af0b05a1a6db787d0d56e208bef8efe7cef128d74358679f5d775736b3b0e65035bd690fa27e71cc83988591e0dc2d9f28c
@@ -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
@@ -1,3 +1,3 @@
1
1
  module FastlaneCore
2
- VERSION = "0.16.2"
2
+ VERSION = "0.17.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.16.2
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-15 00:00:00.000000000 Z
11
+ date: 2015-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json