dependabot-bundler 0.111.45 → 0.111.46
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/bundler/file_parser.rb +5 -8
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54f8b4d6d73daff6c831a808bc40a50f82552841063a719dcdc27025d554e70f
|
4
|
+
data.tar.gz: e3f0674c2cd901ca1cced8063be506b2a918c236aa90f98814c12cdc6fafe6a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9de90d3a74840c240fea2da98abf23865ec11caa8f7ad5b2ed10ddbd864cb49cccda9b1e27832b30d1bfdb9033e6ca14e8e6920a012af98a581981ec333d8659
|
7
|
+
data.tar.gz: 817d418d2c0bdf39f25e911c09eeee243903540fc9d4995a4b255391f43ae39b3aed755fa9941cc17175087602c64592ee839762fc65083327ca7a82fbcffadd
|
@@ -107,12 +107,9 @@ module Dependabot
|
|
107
107
|
version: dependency_version(dependency.name)&.to_s,
|
108
108
|
requirements: [],
|
109
109
|
package_manager: "bundler",
|
110
|
-
subdependency_metadata:
|
111
|
-
|
112
|
-
|
113
|
-
else
|
114
|
-
[{ production: false }]
|
115
|
-
end
|
110
|
+
subdependency_metadata: [{
|
111
|
+
production: production_dep_names.include?(dependency.name)
|
112
|
+
}]
|
116
113
|
)
|
117
114
|
end
|
118
115
|
|
@@ -285,8 +282,8 @@ module Dependabot
|
|
285
282
|
::Bundler::LockfileParser.new(sanitized_lockfile_content)
|
286
283
|
end
|
287
284
|
|
288
|
-
def
|
289
|
-
@
|
285
|
+
def production_dep_names
|
286
|
+
@production_dep_names ||=
|
290
287
|
(gemfile_dependencies + gemspec_dependencies).dependencies.
|
291
288
|
select { |dep| production?(dep) }.
|
292
289
|
flat_map { |dep| expanded_dependency_names(dep) }.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.111.
|
4
|
+
version: 0.111.46
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dependabot-common
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.111.
|
19
|
+
version: 0.111.46
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.111.
|
26
|
+
version: 0.111.46
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|