gym 0.7.2 → 0.7.3

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: 20b57827e5de078e86401d1867c668fe9390b557
4
- data.tar.gz: 8eca8aee75b07d6bf969aaee25ce5a7000a1c86a
3
+ metadata.gz: 25a0c276cb7bb55e43694d92fdce428f7ff52f44
4
+ data.tar.gz: f9d499b6462100ac77d67c975b876657f503ae1e
5
5
  SHA512:
6
- metadata.gz: 53315e6154c24d70a7f0ec29e96e1c94a7579cd29fef375d7b1d240548d36ed2ee9d151c1e8e662e0536cb6f66b2896a8dcb8a9dbc606fb32ce2ac29599effba
7
- data.tar.gz: a06538659f17631a9f31447ee413966f4ac151535c10901d7cfe0cc9223b3d3805f8767ddbea80601a5941ead8c85cbb0e209a8bac19231a40246cb0003ca762
6
+ metadata.gz: f5d6cb51091f440de37d0be201aef484219e9d073150178d3849dcc1f19939205402edb941df2a69a12a3a0a7b03b5dc6796daf45dc447c919cfa7605a7d1a19
7
+ data.tar.gz: a3fa04d5df5fcc3e5ca2d58526fbd3e713a11f948536b88221c1671b56960e9818f47ddc0143875851d658f511a54b58867ef695d02c7c5cf8ad8bc5ad45d1f0
data/README.md CHANGED
@@ -133,6 +133,7 @@ To pass boolean parameters make sure to use `gym` like this:
133
133
 
134
134
  gym --include_bitcode true --include_symbols true
135
135
 
136
+ To access the raw `xcodebuild` output open `~/Library/Logs/gym`
136
137
 
137
138
  # Gymfile
138
139
 
@@ -132,7 +132,7 @@ module Gym
132
132
  # Is it an iOS device or a Mac?
133
133
  def self.detect_platform
134
134
  return if Gym.config[:destination]
135
- platform = Gym.project.build_settings(key: "PLATFORM_DISPLAY_NAME") || "iOS" # either `iOS` or `OS X`
135
+ platform = Gym.project.mac? ? "OS X" : "iOS" # either `iOS` or `OS X`
136
136
 
137
137
  Gym.config[:destination] = "generic/platform=#{platform}"
138
138
  end
@@ -63,7 +63,15 @@ module Gym
63
63
  end
64
64
 
65
65
  def pipe
66
- ["| xcpretty"]
66
+ ["| tee '#{xcodebuild_log_path}' | xcpretty"]
67
+ end
68
+
69
+ def xcodebuild_log_path
70
+ file_name = "#{Gym.project.app_name}-#{Gym.config[:scheme]}.log"
71
+ containing = File.expand_path("~/Library/Logs/gym")
72
+ FileUtils.mkdir_p(containing)
73
+
74
+ return File.join(containing, file_name)
67
75
  end
68
76
 
69
77
  # The path to set the Derived Data to
@@ -3,7 +3,7 @@ module Gym
3
3
  class PackageCommandGeneratorXcode7
4
4
  class << self
5
5
  def generate
6
- print_legacy_information
6
+ print_legacy_information unless Helper.fastlane_enabled?
7
7
 
8
8
  parts = ["/usr/bin/xcrun xcodebuild -exportArchive"]
9
9
  parts += options
data/lib/gym/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Gym
2
- VERSION = "0.7.2"
2
+ VERSION = "0.7.3"
3
3
  DESCRIPTION = "Building your iOS apps has never been easier"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gym
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
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-21 00:00:00.000000000 Z
11
+ date: 2015-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core