gym 0.8.2 → 0.8.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: 689d73c313fb9f055dbdf4e17f6ce021607f7011
4
- data.tar.gz: 309c39a87b32563a8f0de9f80c986bb88e9b67ba
3
+ metadata.gz: d95a04c8200d6dccd3d5b889f439d8f4b3bde0c8
4
+ data.tar.gz: 95221c2bfaf2d089c6b03158ab6ac7da52adf48c
5
5
  SHA512:
6
- metadata.gz: 2bb6a9803bdd19bda320dca0fd1522941f4b930b60f770cd7a2ee8b818ce4169a637105939eccf55139173e037d83a72c715a75e6fb1805bb954df83c4caa8c3
7
- data.tar.gz: c7252695e59fdb113e6d871765a6a7b6594c208627aa60463b5fd3d560f4fafc9155bc6a8b69ea2d79e3c759190579fc6f68acda3a3756f6429beac400873ada
6
+ metadata.gz: b3cfe7931424668a90f077de8cdcbb55af01f6dbf1abf558fb46a67458e76c942db0eb276e0ef1e5d9e5edc7e4b6fd96eae7a4a42f34b387a50f6a20bf3582ff
7
+ data.tar.gz: 784b7f5747ad838bc11e9024c144576054c0f125453c09a919ea359456de5c0df06a0f4d4e73f04bfd77337730e6ae5d83562c69f8057174f80657db115f391c
@@ -24,6 +24,8 @@ module Gym
24
24
  config.load_configuration_file(Gym.gymfile_name)
25
25
  end
26
26
 
27
+ config[:use_legacy_build_api] = true if Xcode.pre_7?
28
+
27
29
  detect_scheme
28
30
  detect_platform # we can only do that *after* we have the scheme
29
31
  detect_configuration
@@ -26,7 +26,7 @@ module Gym
26
26
 
27
27
  # The generator we need to use for the currently used Xcode version
28
28
  def generator
29
- if Xcode.pre_7? or Gym.config[:use_legacy_build_api]
29
+ if Gym.config[:use_legacy_build_api]
30
30
  PackageCommandGeneratorLegacy
31
31
  else
32
32
  PackageCommandGeneratorXcode7
data/lib/gym/runner.rb CHANGED
@@ -57,14 +57,14 @@ module Gym
57
57
  #####################################################
58
58
 
59
59
  def clear_old_files
60
- return unless Xcode.pre_7?
60
+ return unless Gym.config[:use_legacy_build_api]
61
61
  if File.exist?(PackageCommandGenerator.ipa_path)
62
62
  File.delete(PackageCommandGenerator.ipa_path)
63
63
  end
64
64
  end
65
65
 
66
66
  def fix_package
67
- return unless Xcode.pre_7?
67
+ return unless Gym.config[:use_legacy_build_api]
68
68
  Gym::XcodebuildFixes.swift_library_fix
69
69
  Gym::XcodebuildFixes.watchkit_fix
70
70
  end
@@ -149,7 +149,7 @@ module Gym
149
149
  private
150
150
 
151
151
  def find_archive_path
152
- if Xcode.pre_7?
152
+ if Gym.config[:use_legacy_build_api]
153
153
  BuildCommandGenerator.archive_path
154
154
  else
155
155
  Dir.glob(File.join(BuildCommandGenerator.build_path, "*.ipa")).last
data/lib/gym/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Gym
2
- VERSION = "0.8.2"
2
+ VERSION = "0.8.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.8.2
4
+ version: 0.8.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-23 00:00:00.000000000 Z
11
+ date: 2015-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core
@@ -268,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
268
268
  version: '0'
269
269
  requirements: []
270
270
  rubyforge_project:
271
- rubygems_version: 2.4.5
271
+ rubygems_version: 2.4.6
272
272
  signing_key:
273
273
  specification_version: 4
274
274
  summary: Building your iOS apps has never been easier