gym 1.10.0 → 1.11.0

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: 3aa13efb7f20e58904e222dec34cca8f65350f26
4
- data.tar.gz: dc0ebdf3f6e4b276e04d7f5252becb1f6f59699b
3
+ metadata.gz: de5fbb2eae60f76dc801afcd99a06f4949164dc0
4
+ data.tar.gz: ad4af4cce29666b8ae94914b1cdfa8bdb8f2370d
5
5
  SHA512:
6
- metadata.gz: c3becf6c82b015683bead10ca50772cf28c840e9f4275953d5a397151544440634094665a12117ffebb7cebbd6d4c4e69f50deaee7280f31047617568b617e84
7
- data.tar.gz: c2a00723dcf72bac88afd0dc29e234dc31c908371a64eee84e284c4a2a744463372b917d5523b34f0162fc612f6831c2349ac363969af651a14b258465e8dfa2
6
+ metadata.gz: 0dff28c405e6a1f1283508a6023993b43af7c025aa41a2800aef424a0a5491e5fca7e7f15b59d10a96f2d298e4aeb8ae898bb601c5b58bb8990b156f5d76a28e
7
+ data.tar.gz: 738c1a9cfb54b8e2263f6afba88f2756e08e91c76258fd07715644f31d74da3d057f988017d977575178b26e26c1263761a7a6d8eb4902a59056d2a32c9d312b
@@ -43,8 +43,16 @@ fi
43
43
 
44
44
  if which rbenv > /dev/null; then
45
45
  echo "rbenv detected, removing env variables"
46
+
47
+ # Cause rbenv to use system ruby. Lasts only for the scope of this
48
+ # session which will normally just be this script.
49
+ rbenv shell system
50
+
46
51
  unset RUBYLIB
47
52
  unset RUBYOPT
53
+ unset _ORIGINAL_GEM_PATH
54
+ unset BUNDLE_BIN_PATH
55
+ unset BUNDLE_GEMFILE
48
56
  unset GEM_HOME
49
57
  unset GEM_PATH
50
58
  fi
@@ -54,4 +62,4 @@ fi
54
62
  # rvm info >> /tmp/env.wrapper
55
63
 
56
64
  set -x # echoes commands
57
- xcodebuild "$@" # calls xcodebuild with all the arguments passed to this
65
+ xcodebuild "$@" # calls xcodebuild with all the arguments passed to this
@@ -34,7 +34,9 @@ module Gym
34
34
  # Helper Methods
35
35
 
36
36
  def self.detect_provisioning_profile
37
- unless Gym.config[:provisioning_profile_path]
37
+ if Gym.config[:provisioning_profile_path].nil?
38
+ return unless Gym.config[:use_legacy_build_api] # we only want to auto-detect the profile when using the legacy build API
39
+
38
40
  Dir.chdir(File.expand_path("..", Gym.project.path)) do
39
41
  profiles = Dir["*.mobileprovision"]
40
42
  if profiles.count == 1
@@ -127,7 +127,7 @@ module Gym
127
127
  # Reads options from hash
128
128
  hash = normalize_export_options(Gym.config[:export_options])
129
129
  else
130
- # Reads optoins from file
130
+ # Reads options from file
131
131
  hash = Plist.parse_xml(Gym.config[:export_options])
132
132
  # Convert keys to symbols
133
133
  hash = keys_to_symbols(hash)
@@ -167,8 +167,9 @@ module Gym
167
167
  def print_legacy_information
168
168
  return if Gym.config[:provisioning_profile_path].to_s.length == 0
169
169
 
170
- UI.error "You're using Xcode 7, the `provisioning_profile_path` value will be ignored"
170
+ UI.error "You're using Xcode 7 or above, the `provisioning_profile_path` value will be ignored"
171
171
  UI.error "Please follow the Code Signing Guide: https://codesigning.guide (for match) or https://docs.fastlane.tools/codesigning/GettingStarted/"
172
+ UI.error "This is just a warning, gym will continue running just as expected, but the parameter will be ignored"
172
173
  end
173
174
  end
174
175
  end
data/lib/gym/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Gym
2
- VERSION = "1.10.0"
2
+ VERSION = "1.11.0"
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.10.0
4
+ version: 1.11.0
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-09-22 00:00:00.000000000 Z
11
+ date: 2016-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.52.0
19
+ version: 0.52.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 1.0.0
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.52.0
29
+ version: 0.52.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.0
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 0.2.1
39
+ version: 0.2.3
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 0.2.1
46
+ version: 0.2.3
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: terminal-table
49
49
  requirement: !ruby/object:Gem::Requirement