bibliothecary 0.14.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bibliothecary/parsers/dub.rb +5 -0
- data/lib/bibliothecary/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: 503d92831beea6d895ffa71988660250ca17d939
|
4
|
+
data.tar.gz: d3e6a6d3025c289efd78f2f55720aa0b179062c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a62dd70d17c2b7ca5d2ec13c0370a32b584dcc5af0d2fd111535f438536d63337a8826afebbc7d10be129513c48710ff617e4322be13524f4b2b1898fd0222ea
|
7
|
+
data.tar.gz: dcdeb33cf447f31689d4c652ea3e94bdd9cf49713dd8a119d2419c23316c5110c31b1d5ba62a8f6cd5f58809b80206c78bc1f8a9d61d578bd82a985f142117ce
|
@@ -17,6 +17,11 @@ module Bibliothecary
|
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
20
|
+
def self.analyse(folder_path, file_list)
|
21
|
+
[analyse_json(folder_path, file_list),
|
22
|
+
analyse_sdl(folder_path, file_list)]
|
23
|
+
end
|
24
|
+
|
20
25
|
def self.analyse_json(folder_path, file_list)
|
21
26
|
path = file_list.find{|path| path.gsub(folder_path, '').gsub(/^\//, '').match(/^dub\.json$/) }
|
22
27
|
return unless path
|