bibliothecary 1.2.1 → 1.3.0
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/bower.rb +2 -0
- data/lib/bibliothecary/parsers/cargo.rb +4 -0
- data/lib/bibliothecary/parsers/carthage.rb +6 -0
- data/lib/bibliothecary/parsers/clojars.rb +2 -0
- data/lib/bibliothecary/parsers/cocoapods.rb +8 -0
- data/lib/bibliothecary/parsers/cpan.rb +4 -0
- data/lib/bibliothecary/parsers/cran.rb +2 -0
- data/lib/bibliothecary/parsers/dub.rb +4 -0
- data/lib/bibliothecary/parsers/elm.rb +4 -0
- data/lib/bibliothecary/parsers/go.rb +8 -0
- data/lib/bibliothecary/parsers/hex.rb +4 -0
- data/lib/bibliothecary/parsers/julia.rb +2 -0
- data/lib/bibliothecary/parsers/maven.rb +6 -1
- data/lib/bibliothecary/parsers/meteor.rb +2 -0
- data/lib/bibliothecary/parsers/npm.rb +4 -0
- data/lib/bibliothecary/parsers/nuget.rb +10 -0
- data/lib/bibliothecary/parsers/packagist.rb +4 -0
- data/lib/bibliothecary/parsers/pub.rb +4 -0
- data/lib/bibliothecary/parsers/pypi.rb +4 -0
- data/lib/bibliothecary/parsers/rubygems.rb +6 -0
- data/lib/bibliothecary/parsers/shard.rb +4 -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: b22a07fed08f7fe243deba0cc2b934c89237d2f9
|
4
|
+
data.tar.gz: 9c61ead979d1ec09960b0a2c940244bc1fe1902f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f11469de73959ce7cb4824655e9006129c2aa686b18819057d736add2177e81796b5ed594391f4610ef08892b8847a11a073b7afda28a858dbcdfb4192e104f0
|
7
|
+
data.tar.gz: 5b2fbb352fdc07288ae97196a3e8380bdd204fea02be8a874a421608d80375435962da82a79e3aca7a4c7cd5816f814c528e98f43b39da04fdaa27c4bad45bd4
|
@@ -34,6 +34,8 @@ module Bibliothecary
|
|
34
34
|
dependencies: parse_manifest(manifest)
|
35
35
|
}
|
36
36
|
end
|
37
|
+
rescue
|
38
|
+
[]
|
37
39
|
end
|
38
40
|
|
39
41
|
def self.parse_manifest(manifest)
|
@@ -59,6 +61,8 @@ module Bibliothecary
|
|
59
61
|
dependencies: parse_lockfile(manifest)
|
60
62
|
}
|
61
63
|
end
|
64
|
+
rescue
|
65
|
+
[]
|
62
66
|
end
|
63
67
|
|
64
68
|
def self.parse_lockfile(manifest)
|
@@ -34,6 +34,8 @@ module Bibliothecary
|
|
34
34
|
path: path,
|
35
35
|
dependencies: manifest.dependencies
|
36
36
|
}
|
37
|
+
rescue
|
38
|
+
[]
|
37
39
|
end
|
38
40
|
|
39
41
|
def self.analyse_cartfile_private(folder_path, file_list)
|
@@ -47,6 +49,8 @@ module Bibliothecary
|
|
47
49
|
path: path,
|
48
50
|
dependencies: manifest.dependencies
|
49
51
|
}
|
52
|
+
rescue
|
53
|
+
[]
|
50
54
|
end
|
51
55
|
|
52
56
|
def self.analyse_cartfile_resolved(folder_path, file_list)
|
@@ -60,6 +64,8 @@ module Bibliothecary
|
|
60
64
|
path: path,
|
61
65
|
dependencies: manifest.dependencies
|
62
66
|
}
|
67
|
+
rescue
|
68
|
+
[]
|
63
69
|
end
|
64
70
|
|
65
71
|
def self.parse_cartfile(manifest)
|
@@ -48,6 +48,8 @@ module Bibliothecary
|
|
48
48
|
path: path,
|
49
49
|
dependencies: parse_manifest(manifest)
|
50
50
|
}
|
51
|
+
rescue
|
52
|
+
[]
|
51
53
|
end
|
52
54
|
|
53
55
|
def self.analyse_podspec(folder_path, file_list)
|
@@ -63,6 +65,8 @@ module Bibliothecary
|
|
63
65
|
dependencies: parse_manifest(manifest)
|
64
66
|
}
|
65
67
|
end
|
68
|
+
rescue
|
69
|
+
[]
|
66
70
|
end
|
67
71
|
|
68
72
|
def self.analyse_podspec_json(folder_path, file_list)
|
@@ -78,6 +82,8 @@ module Bibliothecary
|
|
78
82
|
dependencies: parse_json_manifest(manifest)
|
79
83
|
}
|
80
84
|
end
|
85
|
+
rescue
|
86
|
+
[]
|
81
87
|
end
|
82
88
|
|
83
89
|
def self.analyse_podfile_lock(folder_path, file_list)
|
@@ -91,6 +97,8 @@ module Bibliothecary
|
|
91
97
|
path: path,
|
92
98
|
dependencies: parse_podfile_lock(manifest)
|
93
99
|
}
|
100
|
+
rescue
|
101
|
+
[]
|
94
102
|
end
|
95
103
|
|
96
104
|
def self.parse_podfile_lock(manifest)
|
@@ -34,6 +34,8 @@ module Bibliothecary
|
|
34
34
|
path: path,
|
35
35
|
dependencies: parse_json_manifest(manifest)
|
36
36
|
}
|
37
|
+
rescue
|
38
|
+
[]
|
37
39
|
end
|
38
40
|
|
39
41
|
def self.analyse_yaml(folder_path, file_list)
|
@@ -47,6 +49,8 @@ module Bibliothecary
|
|
47
49
|
path: path,
|
48
50
|
dependencies: parse_yaml_manifest(manifest)
|
49
51
|
}
|
52
|
+
rescue
|
53
|
+
[]
|
50
54
|
end
|
51
55
|
|
52
56
|
def self.parse_json_manifest(manifest)
|
@@ -33,6 +33,8 @@ module Bibliothecary
|
|
33
33
|
path: path,
|
34
34
|
dependencies: parse_manifest(manifest)
|
35
35
|
}
|
36
|
+
rescue
|
37
|
+
[]
|
36
38
|
end
|
37
39
|
|
38
40
|
def self.analyse_sdl(folder_path, file_list)
|
@@ -46,6 +48,8 @@ module Bibliothecary
|
|
46
48
|
path: path,
|
47
49
|
dependencies: parse_sdl_manifest(manifest)
|
48
50
|
}
|
51
|
+
rescue
|
52
|
+
[]
|
49
53
|
end
|
50
54
|
|
51
55
|
def self.parse_manifest(manifest)
|
@@ -33,6 +33,8 @@ module Bibliothecary
|
|
33
33
|
path: path,
|
34
34
|
dependencies: parse_json_manifest(manifest)
|
35
35
|
}
|
36
|
+
rescue
|
37
|
+
[]
|
36
38
|
end
|
37
39
|
|
38
40
|
def self.analyse_json_lock(folder_path, file_list)
|
@@ -46,6 +48,8 @@ module Bibliothecary
|
|
46
48
|
path: path,
|
47
49
|
dependencies: parse_json_lock(manifest)
|
48
50
|
}
|
51
|
+
rescue
|
52
|
+
[]
|
49
53
|
end
|
50
54
|
|
51
55
|
def self.parse_json_manifest(manifest)
|
@@ -42,6 +42,8 @@ module Bibliothecary
|
|
42
42
|
path: path,
|
43
43
|
dependencies: parse_godep_json(manifest)
|
44
44
|
}
|
45
|
+
rescue
|
46
|
+
[]
|
45
47
|
end
|
46
48
|
|
47
49
|
def self.analyse_gb_manifest(folder_path, file_list)
|
@@ -55,6 +57,8 @@ module Bibliothecary
|
|
55
57
|
path: path,
|
56
58
|
dependencies: parse_gb_manifest(manifest)
|
57
59
|
}
|
60
|
+
rescue
|
61
|
+
[]
|
58
62
|
end
|
59
63
|
|
60
64
|
def self.analyse_glide_yaml(folder_path, file_list)
|
@@ -68,6 +72,8 @@ module Bibliothecary
|
|
68
72
|
path: path,
|
69
73
|
dependencies: parse_glide_yaml(manifest)
|
70
74
|
}
|
75
|
+
rescue
|
76
|
+
[]
|
71
77
|
end
|
72
78
|
|
73
79
|
def self.analyse_glide_lockfile(folder_path, file_list)
|
@@ -81,6 +87,8 @@ module Bibliothecary
|
|
81
87
|
path: path,
|
82
88
|
dependencies: parse_glide_lockfile(manifest)
|
83
89
|
}
|
90
|
+
rescue
|
91
|
+
[]
|
84
92
|
end
|
85
93
|
|
86
94
|
def self.parse_godep_json(manifest)
|
@@ -40,6 +40,8 @@ module Bibliothecary
|
|
40
40
|
dependencies: parse_pom_manifest(manifest)
|
41
41
|
}
|
42
42
|
end
|
43
|
+
rescue
|
44
|
+
[]
|
43
45
|
end
|
44
46
|
|
45
47
|
def self.analyse_ivy(folder_path, file_list)
|
@@ -55,6 +57,8 @@ module Bibliothecary
|
|
55
57
|
dependencies: parse_ivy_manifest(manifest)
|
56
58
|
}
|
57
59
|
end
|
60
|
+
rescue
|
61
|
+
[]
|
58
62
|
end
|
59
63
|
|
60
64
|
def self.analyse_gradle(folder_path, file_list)
|
@@ -70,6 +74,8 @@ module Bibliothecary
|
|
70
74
|
dependencies: parse_gradle(manifest)
|
71
75
|
}
|
72
76
|
end
|
77
|
+
rescue
|
78
|
+
[]
|
73
79
|
end
|
74
80
|
|
75
81
|
def self.parse_ivy_manifest(manifest)
|
@@ -85,7 +91,6 @@ module Bibliothecary
|
|
85
91
|
|
86
92
|
def self.parse_pom_manifest(manifest)
|
87
93
|
manifest.project.dependencies.locate('dependency').map do |dependency|
|
88
|
-
|
89
94
|
{
|
90
95
|
name: "#{extract_pom_dep_info(manifest, dependency, 'groupId')}:#{extract_pom_dep_info(manifest, dependency, 'artifactId')}",
|
91
96
|
requirement: extract_pom_dep_info(manifest, dependency, 'version'),
|
@@ -32,6 +32,8 @@ module Bibliothecary
|
|
32
32
|
path: path,
|
33
33
|
dependencies: parse_manifest(manifest)
|
34
34
|
}
|
35
|
+
rescue
|
36
|
+
[]
|
35
37
|
end
|
36
38
|
|
37
39
|
def self.analyse_shrinkwrap(folder_path, file_list)
|
@@ -45,6 +47,8 @@ module Bibliothecary
|
|
45
47
|
path: path,
|
46
48
|
dependencies: parse_shrinkwrap(manifest)
|
47
49
|
}
|
50
|
+
rescue
|
51
|
+
[]
|
48
52
|
end
|
49
53
|
|
50
54
|
def self.parse_shrinkwrap(manifest)
|
@@ -47,6 +47,8 @@ module Bibliothecary
|
|
47
47
|
dependencies: parse_project_json(manifest)
|
48
48
|
}
|
49
49
|
end
|
50
|
+
rescue
|
51
|
+
[]
|
50
52
|
end
|
51
53
|
|
52
54
|
def self.analyse_project_lock_json(folder_path, file_list)
|
@@ -62,6 +64,8 @@ module Bibliothecary
|
|
62
64
|
dependencies: parse_project_lock_json(manifest)
|
63
65
|
}
|
64
66
|
end
|
67
|
+
rescue
|
68
|
+
[]
|
65
69
|
end
|
66
70
|
|
67
71
|
def self.analyse_packages_config(folder_path, file_list)
|
@@ -77,6 +81,8 @@ module Bibliothecary
|
|
77
81
|
dependencies: parse_packages_config(manifest)
|
78
82
|
}
|
79
83
|
end
|
84
|
+
rescue
|
85
|
+
[]
|
80
86
|
end
|
81
87
|
|
82
88
|
def self.analyse_nuspec(folder_path, file_list)
|
@@ -92,6 +98,8 @@ module Bibliothecary
|
|
92
98
|
dependencies: parse_nuspec(manifest)
|
93
99
|
}
|
94
100
|
end
|
101
|
+
rescue
|
102
|
+
[]
|
95
103
|
end
|
96
104
|
|
97
105
|
def self.analyse_paket_lock(folder_path, file_list)
|
@@ -106,6 +114,8 @@ module Bibliothecary
|
|
106
114
|
dependencies: parse_paket_lock(lines)
|
107
115
|
}
|
108
116
|
end
|
117
|
+
rescue
|
118
|
+
[]
|
109
119
|
end
|
110
120
|
|
111
121
|
def self.parse_project_json(manifest)
|
@@ -32,6 +32,8 @@ module Bibliothecary
|
|
32
32
|
path: path,
|
33
33
|
dependencies: parse_manifest(manifest)
|
34
34
|
}
|
35
|
+
rescue
|
36
|
+
[]
|
35
37
|
end
|
36
38
|
|
37
39
|
def self.analyse_composer_lock(folder_path, file_list)
|
@@ -45,6 +47,8 @@ module Bibliothecary
|
|
45
47
|
path: path,
|
46
48
|
dependencies: parse_lockfile(manifest)
|
47
49
|
}
|
50
|
+
rescue
|
51
|
+
[]
|
48
52
|
end
|
49
53
|
|
50
54
|
def self.parse_lockfile(manifest)
|
@@ -34,6 +34,8 @@ module Bibliothecary
|
|
34
34
|
path: path,
|
35
35
|
dependencies: parse_yaml_manifest(manifest)
|
36
36
|
}
|
37
|
+
rescue
|
38
|
+
[]
|
37
39
|
end
|
38
40
|
|
39
41
|
def self.analyse_lockfile(folder_path, file_list)
|
@@ -47,6 +49,8 @@ module Bibliothecary
|
|
47
49
|
path: path,
|
48
50
|
dependencies: parse_yaml_lockfile(manifest)
|
49
51
|
}
|
52
|
+
rescue
|
53
|
+
[]
|
50
54
|
end
|
51
55
|
|
52
56
|
def self.parse_yaml_manifest(manifest)
|
@@ -38,6 +38,8 @@ module Bibliothecary
|
|
38
38
|
dependencies: parse_requirements_txt(manifest)
|
39
39
|
}
|
40
40
|
end
|
41
|
+
rescue
|
42
|
+
[]
|
41
43
|
end
|
42
44
|
|
43
45
|
def self.analyse_setup_py(folder_path, file_list)
|
@@ -53,6 +55,8 @@ module Bibliothecary
|
|
53
55
|
dependencies: parse_setup_py(manifest)
|
54
56
|
}
|
55
57
|
end
|
58
|
+
rescue
|
59
|
+
[]
|
56
60
|
end
|
57
61
|
|
58
62
|
def self.parse_setup_py(manifest)
|
@@ -40,6 +40,8 @@ module Bibliothecary
|
|
40
40
|
path: path,
|
41
41
|
dependencies: parse_manifest(manifest)
|
42
42
|
}
|
43
|
+
rescue
|
44
|
+
[]
|
43
45
|
end
|
44
46
|
|
45
47
|
def self.analyse_gemspec(folder_path, file_list)
|
@@ -55,6 +57,8 @@ module Bibliothecary
|
|
55
57
|
dependencies: parse_manifest(manifest)
|
56
58
|
}
|
57
59
|
end
|
60
|
+
rescue
|
61
|
+
[]
|
58
62
|
end
|
59
63
|
|
60
64
|
def self.analyse_gemfile_lock(folder_path, file_list)
|
@@ -68,6 +72,8 @@ module Bibliothecary
|
|
68
72
|
path: path,
|
69
73
|
dependencies: parse_gemfile_lock(manifest)
|
70
74
|
}
|
75
|
+
rescue
|
76
|
+
[]
|
71
77
|
end
|
72
78
|
|
73
79
|
def self.parse_gemfile_lock(manifest)
|
@@ -33,6 +33,8 @@ module Bibliothecary
|
|
33
33
|
path: path,
|
34
34
|
dependencies: parse_yaml_manifest(manifest)
|
35
35
|
}
|
36
|
+
rescue
|
37
|
+
[]
|
36
38
|
end
|
37
39
|
|
38
40
|
def self.analyse_yaml_lockfile(folder_path, file_list)
|
@@ -46,6 +48,8 @@ module Bibliothecary
|
|
46
48
|
path: path,
|
47
49
|
dependencies: parse_yaml_lockfile(manifest)
|
48
50
|
}
|
51
|
+
rescue
|
52
|
+
[]
|
49
53
|
end
|
50
54
|
|
51
55
|
def self.parse_yaml_lockfile(manifest)
|