ios_android_toolbox 0.0.19 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
@@ -39,7 +39,12 @@ module IosAndroidToolbox
|
|
39
39
|
files = IosVersionController.find_project_info << AndroidVersionController.find_project_info
|
40
40
|
files.flatten!
|
41
41
|
|
42
|
-
|
42
|
+
if files.length == 1
|
43
|
+
version_file = files.first
|
44
|
+
elsif files.length > 1
|
45
|
+
# Heuristic: choose shorted string path
|
46
|
+
version_file = files.sort { |a,b| a.length <=> b.length }[0]
|
47
|
+
end
|
43
48
|
end
|
44
49
|
version_file
|
45
50
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ios_android_toolbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 55
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 20
|
10
|
+
version: 0.0.20
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Igor Sales
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-03-
|
18
|
+
date: 2013-03-08 00:00:00 Z
|
19
19
|
dependencies: []
|
20
20
|
|
21
21
|
description: ""
|