gym 0.3.0 → 0.3.1

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: bf26634ab793249948b9e36f367550963d0b07c9
4
- data.tar.gz: 40851f4916c70e076a92bbc1fa50381f50319a90
3
+ metadata.gz: 67fa64bb46887d328e855da779b6e96ef7bccfa2
4
+ data.tar.gz: 3e7a04c87dcf6678c4a87b773b504d980fccf46c
5
5
  SHA512:
6
- metadata.gz: e91d31c0692ca53442ecf995b0c2c98628fdf2c108752d83a82013c084effc38792866c3cd6efba15aafc86406c4b11237dc344bec74f62957a098b86adbb782
7
- data.tar.gz: 3a0bececf832ad42db19978cfa2b78d29393ee89dd823677056bc58435523664dfd9dbd82c1fe82ea938119ad628a82a45cf4d730f6c0c6af4676251aff51bf6
6
+ metadata.gz: da8823afe4ecdbb06eaddfda96584ddb12db54d24976fc8fa4fedaf860e28118f40c44ef9d5ae7b874622019fa377bd5ada472b3b5b92610aa428fa1fa4c97de
7
+ data.tar.gz: 75cceace6cffcea7503d7481af3a8e595e66a595d7356a5336c36ecd79d7886430f532480c8b3cabfab20d00a8481c99315e1f68d4b968ee614f4275885ba0eb
@@ -129,6 +129,8 @@ module Gym
129
129
  def self.detect_configuration
130
130
  config = Gym.config
131
131
  configurations = Gym.project.configurations
132
+ return if configurations.count == 0 # this is an optional value anyway
133
+
132
134
  if config[:configuration]
133
135
  # Verify the configuration is available
134
136
  unless configurations.include?(config[:configuration])
@@ -142,7 +144,6 @@ module Gym
142
144
  config[:configuration] ||= "Release" if configurations.include?("Release")
143
145
 
144
146
  return if config[:configuration].to_s.length > 0
145
- return if configurations.count == 0 # this is an optional value anyway
146
147
 
147
148
  if configurations.count == 1
148
149
  config[:configuration] = configurations.last
@@ -1,4 +1,4 @@
1
1
  module Gym
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
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.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause