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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25a0c276cb7bb55e43694d92fdce428f7ff52f44
|
4
|
+
data.tar.gz: f9d499b6462100ac77d67c975b876657f503ae1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5d6cb51091f440de37d0be201aef484219e9d073150178d3849dcc1f19939205402edb941df2a69a12a3a0a7b03b5dc6796daf45dc447c919cfa7605a7d1a19
|
7
|
+
data.tar.gz: a3fa04d5df5fcc3e5ca2d58526fbd3e713a11f948536b88221c1671b56960e9818f47ddc0143875851d658f511a54b58867ef695d02c7c5cf8ad8bc5ad45d1f0
|
data/README.md
CHANGED
data/lib/gym/detect_values.rb
CHANGED
@@ -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.
|
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
|
data/lib/gym/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2015-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane_core
|