anticuado 0.2.13 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/anticuado/ios/carthage.rb +14 -3
- data/lib/anticuado/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8c8697b62518725b1d8381f550bfec2a3318506
|
4
|
+
data.tar.gz: 642a4b8d2250620d86e358a8c2a00288dec532c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f2e1192452cdcd813c26d0f4b5364988feebb663f5122e2f9bcadd571881fdaa2e57d7b615d843af4570908fceaa2052b50a16e478e57908b8d66e5306096f1
|
7
|
+
data.tar.gz: b6584b5526cad230dd91baff4ca82f2bdd3ccb788c51ae5cdd4561aa192b7660fbcaa9de54514849f2f764394b9689bfefdbe9e31eecf3f631f1f786283a7ffb
|
@@ -23,13 +23,24 @@ module Anticuado
|
|
23
23
|
return [] if index.nil?
|
24
24
|
|
25
25
|
array[index + 1..array.size].map do |library|
|
26
|
-
versions = library.split(/[\s|"]/)
|
27
|
-
|
26
|
+
versions = library.split(/[\s|"]/)
|
27
|
+
if versions[8] =~ /Latest/
|
28
|
+
# e.g. ["RxSwift", "", "4.1.0", "", "->", "", "4.1.2", "", "(Latest:", "", "4.1.2", ")"]
|
29
|
+
{
|
30
|
+
library_name: versions[0],
|
31
|
+
current_version: versions[2],
|
32
|
+
available_version: versions[6],
|
33
|
+
latest_version: versions[10]
|
34
|
+
}
|
35
|
+
else
|
36
|
+
# e.g. ["Result", "", "2.0.0", "", "->", "", "2.1.3"]
|
37
|
+
{
|
28
38
|
library_name: versions[0],
|
29
39
|
current_version: versions[2],
|
30
40
|
available_version: versions[6],
|
31
41
|
latest_version: versions[6]
|
32
|
-
|
42
|
+
}
|
43
|
+
end
|
33
44
|
end
|
34
45
|
end
|
35
46
|
end # class Carthage
|
data/lib/anticuado/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anticuado
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kazuaki MATSUO
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|