dependabot-python 0.98.19 → 0.98.20

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: f440844cfa09bb25c9d674290a4da8bbbadb4be1c83c3ed140047a6063eea533
4
- data.tar.gz: 0e8c5b8173b67f5ea300a7dec1f8a1e4515498f71d985906b2bef44426c4ef36
3
+ metadata.gz: f82010c9278c24bfcfa894e2eb3c95c030b68bcdd844eaf5edd0b3e39a4349b6
4
+ data.tar.gz: 64a9ee89068002ded0cd6182386058bf3cf31044296f7a80012be58c1112b134
5
5
  SHA512:
6
- metadata.gz: 8961fa161070ff3d79c7a7e61588c2b73681c80aee91b1bd4fd16c5041068a3699b1f6114b5c311af2d296334d0aa3cd8b169559c57e1649e739de5413f7a82a
7
- data.tar.gz: e8e8d69945370638ecd79d0e9acb552b8970fcd926d1b0e37c46ed2b618e975d0f6ef7de03660187bc4acb61426f1ed03116f6e9e5e727ed5967f06d6d8adc53
6
+ metadata.gz: 18b5d0196e453fe5181381761b36a757c92bbf124ca90ad8e41dd6c3a7a418534162dcfcd8f5a4d7fdf8b1ca3aeeba9e306002831cf8822c8a55c4c8acea402e
7
+ data.tar.gz: 788d1b0684eff52abd1a7c7c92355e4bd4e30571440369ceb29f59617655eaae4f11f84a5c486b4d17ce1ceb05e0f729a5b3da857b508413ff037b93350dc359
@@ -334,8 +334,9 @@ module Dependabot
334
334
  def unredact_git_credentials_in_compiled_file(filename)
335
335
  compiled_name = filename.gsub(/\.in$/, ".txt")
336
336
  original_content = dependency_files.
337
- find { |f| f.name == compiled_name }.
338
- content
337
+ find { |f| f.name == compiled_name }&.content ||
338
+ dependency_files.
339
+ find { |f| f.name == filename }.conten
339
340
 
340
341
  updated_content = File.read(compiled_name)
341
342
  new_content = updated_content
@@ -123,8 +123,9 @@ module Dependabot
123
123
  def unredact_git_credentials_in_compiled_file(filename)
124
124
  compiled_name = filename.gsub(/\.in$/, ".txt")
125
125
  original_content = dependency_files.
126
- find { |f| f.name == compiled_name }.
127
- content
126
+ find { |f| f.name == compiled_name }&.content ||
127
+ dependency_files.
128
+ find { |f| f.name == filename }.content
128
129
 
129
130
  updated_content = File.read(compiled_name)
130
131
  new_content = updated_content
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-python
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.98.19
4
+ version: 0.98.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.98.19
19
+ version: 0.98.20
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.98.19
26
+ version: 0.98.20
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement