dependabot-python 0.105.7 → 0.105.8

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: bb6088336fb1382c69afa73a0334809c519751a100a7703ce356680cc46c8fd6
4
- data.tar.gz: a2a8d779c32a64a568d683b1bf9c31150b0da36dd2cf016674a4872d2170b24b
3
+ metadata.gz: 4ac644bb9390210428ab8825de27c211735c5a289d8813248bc38bfccd062896
4
+ data.tar.gz: ebd8dae48357efee40e94154d7635f6e12bfbde52cbf73c61d96b8b9413de733
5
5
  SHA512:
6
- metadata.gz: 8582804165cf688e129d4f61b0eda1503515712a229b233dd3b09e200e2a2ad3519613235ac712ca2f3ef64024e5c4fbed99f18d1bdfdc47fd02b3279460bd31
7
- data.tar.gz: 1f61e3f3bd87182b458cb2dcbbb15795647945fe89a471c2c3ea9b06e7e758975c78df9268c1ce4ed637ce7f446331d55ae4b767863fdeb2d9fdcb90ad17f607
6
+ metadata.gz: 9197e406d6eb57dd03688fcbdba61db7902265a5f8b720deae4b6837fc72af5db0136499c43b456d0df8ab9e4611cdcac875de86603567554b7bc9bfd0ad6682
7
+ data.tar.gz: de367f68c7f405b3be82939614654c6559367ebf8991780d12355739064da7a0a814609445e5e3eae5e71694598d9d00dcddc8d3becd38ede8b58f5e27dae208
@@ -307,9 +307,8 @@ module Dependabot
307
307
  return file.content unless file.name.end_with?(".in")
308
308
 
309
309
  req = dependency.requirements.find { |r| r[:file] == file.name }
310
- return file.content unless req
311
310
 
312
- unless req.fetch(:requirement)
311
+ unless req&.fetch(:requirement)
313
312
  return file.content + "\n#{dependency.name} #{updated_req}"
314
313
  end
315
314
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-python
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.105.7
4
+ version: 0.105.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-18 00:00:00.000000000 Z
11
+ date: 2019-04-19 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.105.7
19
+ version: 0.105.8
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.105.7
26
+ version: 0.105.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement