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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 434077da7467bab17f22eb59bc69017a8d8c52986cbc2aa85206e577635919aa
4
- data.tar.gz: e0cc87b65eb47012f85e8b0a458744641ee08d5dba5f08d95490b5e2efafb8f1
3
+ metadata.gz: 54f8b4d6d73daff6c831a808bc40a50f82552841063a719dcdc27025d554e70f
4
+ data.tar.gz: e3f0674c2cd901ca1cced8063be506b2a918c236aa90f98814c12cdc6fafe6a5
5
5
  SHA512:
6
- metadata.gz: 1d27744edc8bda9880770cd2a630c0e95c74e5f9937ab4d8b6ac7bc959ae1334bb74fae6277e5a2d03c104f0446607e339b95de92094042fc890b1fa3c57dc8a
7
- data.tar.gz: 53165e4eaab20842e9a884a263953ac41d75291e7952db2049ae75e14762a5230aee1a262beb7c44054680fe8ca5d2b0f81a00208bc07c73dca727614005dbbe
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
- if production_dependency_names.include?(dependency.name)
112
- [{ production: true }]
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 production_dependency_names
289
- @production_dependency_names ||=
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.45
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-03 00:00:00.000000000 Z
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.45
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.45
26
+ version: 0.111.46
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement