anticuado 0.2.6 → 0.2.7
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 +4 -4
- data/lib/anticuado/elixir/hex.rb +1 -2
- data/lib/anticuado/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: aa56769afe844ad1f7511f0df22e7d84ae3b2880
|
|
4
|
+
data.tar.gz: d5f5deb4acbcd3701629656e655c60ea71b3acce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 73ce068e19dbe7d2df487bd70dfe8a55d179afb68cf2045997399a97995d0c565be8de2e8d95c34d62377199e632a6e032e8e03e575bfa6d6fc871bd51a66d1e
|
|
7
|
+
data.tar.gz: e2b79b4f7cadd44fa7a2b26c8104bd7e843f3187cff1491cdf4d66c7cd43cb13e70415934ca3a602a6b30ba71740f060d2ab57d18b907ecef2f673d1bb37356b
|
data/lib/anticuado/elixir/hex.rb
CHANGED
|
@@ -24,8 +24,7 @@ module Anticuado
|
|
|
24
24
|
# If target project have no outdated data, then return blank array such as `[]`
|
|
25
25
|
def self.format(outdated)
|
|
26
26
|
array = outdated.split(/\R/).map(&:strip)
|
|
27
|
-
index = array.find_index(
|
|
28
|
-
index = array.find_index { |line| line.scan(/\ADependency\s+Current\s+Latest\s+Requirement\z/) != [] }
|
|
27
|
+
index = array.find_index { |line| line.scan(/\ADependency\s+Current\s+/) != [] }
|
|
29
28
|
|
|
30
29
|
return [] if index.nil?
|
|
31
30
|
|
data/lib/anticuado/version.rb
CHANGED