gym 0.7.3 → 0.8.0

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: 25a0c276cb7bb55e43694d92fdce428f7ff52f44
4
- data.tar.gz: f9d499b6462100ac77d67c975b876657f503ae1e
3
+ metadata.gz: 099aa893503965b03f44b2ea03f2b3c6d224a0b4
4
+ data.tar.gz: 3e8b6067bf33fe938ae50bb7eaed8da969c9420e
5
5
  SHA512:
6
- metadata.gz: f5d6cb51091f440de37d0be201aef484219e9d073150178d3849dcc1f19939205402edb941df2a69a12a3a0a7b03b5dc6796daf45dc447c919cfa7605a7d1a19
7
- data.tar.gz: a3fa04d5df5fcc3e5ca2d58526fbd3e713a11f948536b88221c1671b56960e9818f47ddc0143875851d658f511a54b58867ef695d02c7c5cf8ad8bc5ad45d1f0
6
+ metadata.gz: 059f7b33d13250aec59a2dcbe18c65b58a20e0519acb87a908a14d97a23c787153901bfbd485fb57ac2c67df239747f9ff1d0d2fe71926c4cc4ddf4730df648f
7
+ data.tar.gz: 298d860fac3afc21dcf38ca238c43901f42039f284d00aa519b9a8bbdff4a3ae94a9f9c535ee7e40675c0422af9974bfe99032c6635f52068ab47eaa73f5fa4b
@@ -68,7 +68,7 @@ module Gym
68
68
 
69
69
  def xcodebuild_log_path
70
70
  file_name = "#{Gym.project.app_name}-#{Gym.config[:scheme]}.log"
71
- containing = File.expand_path("~/Library/Logs/gym")
71
+ containing = File.expand_path(Gym.config[:buildlog_path])
72
72
  FileUtils.mkdir_p(containing)
73
73
 
74
74
  return File.join(containing, file_name)
@@ -24,8 +24,6 @@ module Gym
24
24
  generator.dsym_path
25
25
  end
26
26
 
27
- private
28
-
29
27
  # The generator we need to use for the currently used Xcode version
30
28
  def generator
31
29
  if Xcode.pre_7? or Gym.config[:use_legacy_build_api]
@@ -38,7 +38,7 @@ module Gym
38
38
  path = Dir[File.join(temporary_output_path, "*.ipa")].last
39
39
 
40
40
  @ipa_path = File.join(temporary_output_path, "#{Gym.config[:output_name]}.ipa")
41
- FileUtils.mv(path, @ipa_path) if File.expand_path(path) != File.expand_path(@ipa_path)
41
+ FileUtils.mv(path, @ipa_path) if File.expand_path(path).downcase != File.expand_path(@ipa_path).downcase
42
42
  end
43
43
  @ipa_path
44
44
  end
data/lib/gym/manager.rb CHANGED
@@ -17,6 +17,11 @@ module Gym
17
17
  rows << ["Workspace", config[:workspace]] if config[:workspace]
18
18
  rows << ["Scheme", config[:scheme]] if config[:scheme]
19
19
  rows << ["Configuration", config[:configuration]] if config[:configuration]
20
+
21
+ if PackageCommandGenerator.generator == PackageCommandGeneratorXcode7
22
+ rows << ["Export Method", config[:export_method]]
23
+ end
24
+
20
25
  rows << ["Archive Path", config[:archive_path]] if config[:archive_path]
21
26
  rows << ["Platform", Gym.project.ios? ? "iOS" : "Mac"]
22
27
  rows << ["Xcode Path", Xcode.xcode_path.gsub("/Contents/Developer", "")]
data/lib/gym/options.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  require "fastlane_core"
2
2
  require "credentials_manager"
3
3
 
4
- # rubocop:disable Metrics/AbcSize
5
4
  module Gym
6
5
  class Options
7
6
  def self.available_options
@@ -63,6 +62,11 @@ module Gym
63
62
  verify_block: proc do |value|
64
63
  value.gsub!(".ipa", "")
65
64
  end),
65
+ FastlaneCore::ConfigItem.new(key: :buildlog_path,
66
+ short_option: "-l",
67
+ env_name: "GYM_BUILDLOG_PATH",
68
+ description: "The directory were to store the build log",
69
+ default_value: "~/Library/Logs/gym"),
66
70
  FastlaneCore::ConfigItem.new(key: :sdk,
67
71
  short_option: "-k",
68
72
  env_name: "GYM_SDK",
@@ -147,4 +151,3 @@ module Gym
147
151
  end
148
152
  end
149
153
  end
150
- # rubocop:enable Metrics/AbcSize
data/lib/gym/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Gym
2
- VERSION = "0.7.3"
2
+ VERSION = "0.8.0"
3
3
  DESCRIPTION = "Building your iOS apps has never been easier"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gym
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause