fastlane_core 0.5.1 → 0.5.2

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: b9425243f408182d96a9222a3056e86f5e3f7dc9
4
- data.tar.gz: c5d2e4497ea98f22b76c3d23464a699a6e31ddae
3
+ metadata.gz: 5c7558dcc162c851329311ec25d8157718a58487
4
+ data.tar.gz: 4bb9549d6060d3518f835955b0f725b6bdc581be
5
5
  SHA512:
6
- metadata.gz: 784144f205c122a180d2d2b7740e3186ab2e6f4be874cacb3de972e0232ff4fc69c5a163d7dcd4c504bbb2044f36a017fd9ef591fb87329a0d12a0dcf2b1da45
7
- data.tar.gz: 6c8c54272e67c54318fa1df309a16b6d7b0bf083155643889db647e96ad2fdc559b3923e3a9de55e0c1a09fca5717effe9430ae4a6ad93e09c45910ace17bbc6
6
+ metadata.gz: ee70b2aac81876ea582d9ede3ac183267c077d46c20dc4710b0e6b66e3631d28501377ae1a3072f58f193dcc20a8b3a13e96d77c48471aa2216da18733d6e1fe
7
+ data.tar.gz: c9f8d64c2c2bd22a687611a5113d0ff389523cdd11b8e863b6834200c1caac6ef8d16ee52c2835ba077c50b6df252939ff3edcefe859c2eb43285de91c032780
@@ -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 OS.mac?
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 OS.mac? # so tests work on Linx too
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",
@@ -1,3 +1,3 @@
1
1
  module FastlaneCore
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause