gym 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gym/detect_values.rb +2 -1
- data/lib/gym/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67fa64bb46887d328e855da779b6e96ef7bccfa2
|
4
|
+
data.tar.gz: 3e7a04c87dcf6678c4a87b773b504d980fccf46c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da8823afe4ecdbb06eaddfda96584ddb12db54d24976fc8fa4fedaf860e28118f40c44ef9d5ae7b874622019fa377bd5ada472b3b5b92610aa428fa1fa4c97de
|
7
|
+
data.tar.gz: 75cceace6cffcea7503d7481af3a8e595e66a595d7356a5336c36ecd79d7886430f532480c8b3cabfab20d00a8481c99315e1f68d4b968ee614f4275885ba0eb
|
data/lib/gym/detect_values.rb
CHANGED
@@ -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
|
data/lib/gym/version.rb
CHANGED