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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '0609518668ff2779883e9191014e5c92d276aec8'
4
- data.tar.gz: 192d84ff647088e45d843645bbeda02b2eb464a6
3
+ metadata.gz: a8c8697b62518725b1d8381f550bfec2a3318506
4
+ data.tar.gz: 642a4b8d2250620d86e358a8c2a00288dec532c6
5
5
  SHA512:
6
- metadata.gz: ea636dc1dd30ff5aa0eba95ccf5c7cf507ef0bc637b565cb19aeec5d68339e6b4e42a3bdc6aa8c7584d1209138a897028ac54af545e795e23fe7231acefcaf60
7
- data.tar.gz: bab8a04f8ca1483f9ce8c8715377683ed0fd9b667f9dc24035bf5685cd0782eda7b744ca2674ce4ad6dc8a9e411456e717eefa0290d3c52205939d626a6e7e21
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|"]/) # e.g. ["Result", "", "2.0.0", "", "->", "", "2.1.3"]
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
@@ -1,3 +1,3 @@
1
1
  module Anticuado
2
- VERSION = "0.2.13"
2
+ VERSION = "0.2.14"
3
3
  end
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.13
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: 2017-07-10 00:00:00.000000000 Z
11
+ date: 2018-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler