gym 1.11.2 → 1.11.3

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: a846a91d18c9438a085308b5abd680fd209bcf00
4
- data.tar.gz: ae142a4ea1be0be25a1d8284b97099acfd4ed029
3
+ metadata.gz: 2f226031a19caaa7535c9409733077bbb3f32f34
4
+ data.tar.gz: 2647fb3f57747d9c22033469cf2a684e137d7fd9
5
5
  SHA512:
6
- metadata.gz: e0df24666cc18fa0a03e264863afc8717c605ff9feb0449abdef43de8953118fd7762bcd13a0b2a6f16641582f239a9d47a0a91f8c75f1104c816eeb704d3d3c
7
- data.tar.gz: 022b893183cb29cfa096f253d89f267bbfcae3b162627118ab9d19a6ca881586e6696b53afd223feedb9d4310b12d40aa95e4d146ade8708a1890235beb7fa36
6
+ metadata.gz: 96968a787951af173945406495100d1f22a2a6c55ffb4fdbcaf91703cf352ec4d60027ac3f4669cc37e6ab642c7cae6e4354caadf7189a19aaedbc1c48e71d01
7
+ data.tar.gz: 96a8c25a8b710d2f17edbe9b58b4a8f029a2b0cb40b27f35623b6d01d753a1926019fcebbd7dbf9aeb2a6f3c471b9e4b84fb13805b3f1e6b80e932683795abaf
@@ -6,7 +6,7 @@ module Gym
6
6
  # @param [String] The output of the errored build
7
7
  # This method should raise an exception in any case, as the return code indicated a failed build
8
8
  def handle_build_error(output)
9
- # The order of the handling below is import
9
+ # The order of the handling below is important
10
10
  case output
11
11
  when /Your build settings specify a provisioning profile with the UUID/
12
12
  print "Invalid code signing settings"
@@ -50,6 +50,7 @@ module Gym
50
50
  print "For more information visit this stackoverflow answer:"
51
51
  print "https://stackoverflow.com/a/17031697/445598"
52
52
  end
53
+ print_full_log_path
53
54
  UI.user_error!("Error building the application - see the log above")
54
55
  end
55
56
 
@@ -91,6 +92,7 @@ module Gym
91
92
  print "Unfortunately the new Xcode export API is unstable and causes problems on some projects"
92
93
  print "You can temporary use the :use_legacy_build_api option to get the build to work again"
93
94
  end
95
+ print_full_log_path
94
96
  UI.user_error!("Error packaging up the application")
95
97
  end
96
98
 
@@ -120,6 +122,13 @@ module Gym
120
122
  def print(text)
121
123
  UI.error text
122
124
  end
125
+
126
+ def print_full_log_path
127
+ return if Gym.config[:disable_xcpretty]
128
+ log_path = Gym::BuildCommandGenerator.xcodebuild_log_path
129
+ UI.error("📋 For a more detailed error log, check the full log at:")
130
+ UI.error("📋 #{log_path}")
131
+ end
123
132
  end
124
133
  end
125
134
  end
@@ -161,6 +161,17 @@ module Gym
161
161
  end
162
162
  hash[:teamID] = Gym.config[:export_team_id] if Gym.config[:export_team_id]
163
163
 
164
+ UI.important("Generated plist file with the following values:")
165
+ UI.command_output("-----------------------------------------")
166
+ UI.command_output(JSON.pretty_generate(hash))
167
+ UI.command_output("-----------------------------------------")
168
+ if $verbose
169
+ UI.message("This results in the following plist file:")
170
+ UI.command_output("-----------------------------------------")
171
+ UI.command_output(hash.to_plist)
172
+ UI.command_output("-----------------------------------------")
173
+ end
174
+
164
175
  hash.to_plist
165
176
  end
166
177
 
@@ -3,7 +3,11 @@ module Gym
3
3
  def work(options)
4
4
  Gym.config = options
5
5
 
6
- FastlaneCore::PrintTable.print_values(config: Gym.config,
6
+ # Also print out the path to the used Xcode installation
7
+ # We go 2 folders up, to not show "Contents/Developer/"
8
+ values = Gym.config.values(ask: false)
9
+ values[:xcode_path] = File.expand_path("../..", FastlaneCore::Helper.xcode_path)
10
+ FastlaneCore::PrintTable.print_values(config: values,
7
11
  hide_keys: [],
8
12
  title: "Summary for gym #{Gym::VERSION}")
9
13
 
@@ -1,4 +1,4 @@
1
1
  module Gym
2
- VERSION = "1.11.2"
2
+ VERSION = "1.11.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: 1.11.2
4
+ version: 1.11.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: 2016-10-12 00:00:00.000000000 Z
11
+ date: 2016-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core
@@ -302,7 +302,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
302
302
  version: '0'
303
303
  requirements: []
304
304
  rubyforge_project:
305
- rubygems_version: 2.6.6
305
+ rubygems_version: 2.2.2
306
306
  signing_key:
307
307
  specification_version: 4
308
308
  summary: Building your iOS apps has never been easier