bibliothecary 5.6.2 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -2
- data/lib/bibliothecary/parsers/carthage.rb +1 -1
- data/lib/bibliothecary/parsers/clojars.rb +1 -1
- data/lib/bibliothecary/parsers/cran.rb +1 -1
- data/lib/bibliothecary/parsers/hex.rb +2 -2
- data/lib/bibliothecary/parsers/maven.rb +1 -1
- data/lib/bibliothecary/parsers/nuget.rb +4 -4
- data/lib/bibliothecary/parsers/swift_pm.rb +1 -1
- data/lib/bibliothecary/version.rb +1 -1
- data/lib/sdl_parser.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 935cbd8787482396ccc60336f384f873e3a8b00776f90c65d6371d210ed4db62
|
4
|
+
data.tar.gz: e44a452c0d267f0be2be07fd283819fc920dd6e6ec72f1e571373bbccc2edd65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 120b368ed812d188291666c23a3611ac9e6e6448aa7acd65f207148db2ed585664f3e649f92f6803858d6c89dc823a9c291178e2a39381f737dafe317a0e43a9
|
7
|
+
data.tar.gz: 2a8afdf930ef8b387682c67580428744040e1e5b5deab1dfc4737c256d3dc06515b0b3aeb4af25160b523ac7583c76d343445cf86383820dada6fa9eb6d56985
|
data/.travis.yml
CHANGED
@@ -25,7 +25,7 @@ module Bibliothecary
|
|
25
25
|
json.map do |name, version|
|
26
26
|
{
|
27
27
|
name: name,
|
28
|
-
|
28
|
+
requirement: version,
|
29
29
|
type: "runtime"
|
30
30
|
}
|
31
31
|
end
|
@@ -38,7 +38,7 @@ module Bibliothecary
|
|
38
38
|
json.map do |name, info|
|
39
39
|
{
|
40
40
|
name: name,
|
41
|
-
|
41
|
+
requirement: info['version'],
|
42
42
|
type: "runtime"
|
43
43
|
}
|
44
44
|
end
|
@@ -52,7 +52,7 @@ module Bibliothecary
|
|
52
52
|
manifest.packages.locate('package').map do |dependency|
|
53
53
|
{
|
54
54
|
name: dependency.id,
|
55
|
-
|
55
|
+
requirement: dependency.version,
|
56
56
|
type: 'runtime'
|
57
57
|
}
|
58
58
|
end
|
@@ -65,7 +65,7 @@ module Bibliothecary
|
|
65
65
|
packages = manifest.locate('ItemGroup/PackageReference').map do |dependency|
|
66
66
|
{
|
67
67
|
name: dependency.Include,
|
68
|
-
|
68
|
+
requirement: dependency.Version,
|
69
69
|
type: 'runtime'
|
70
70
|
}
|
71
71
|
end
|
@@ -79,7 +79,7 @@ module Bibliothecary
|
|
79
79
|
manifest.package.metadata.dependencies.locate('dependency').map do |dependency|
|
80
80
|
{
|
81
81
|
name: dependency.id,
|
82
|
-
|
82
|
+
requirement: dependency.attributes[:version] || '*',
|
83
83
|
type: 'runtime'
|
84
84
|
}
|
85
85
|
end
|
@@ -93,7 +93,7 @@ module Bibliothecary
|
|
93
93
|
packages = lines.select { |line| package_version_re.match(line) }.map { |line| package_version_re.match(line) }.map do |match|
|
94
94
|
{
|
95
95
|
name: match[:name].strip,
|
96
|
-
|
96
|
+
requirement: match[:version],
|
97
97
|
type: 'runtime'
|
98
98
|
}
|
99
99
|
end
|
data/lib/sdl_parser.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bibliothecary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 6.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Nesbitt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: toml-rb
|