dependabot-nuget 0.224.0 → 0.226.0

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: 9462e051921aa449f71f84e54606809b91b88d8a41ed165497979d57b505e1f4
4
- data.tar.gz: f3d12e802fe46bddba5413e832c930d50fea80694d40f05ba37b0a227659d262
3
+ metadata.gz: c782028fa7f19ea72cf177bbf9021c9cade96e42fe288b476cb04523c27cfb3f
4
+ data.tar.gz: 2ba7925dce1aab72071422bf497638b797ba80dc498428e0966cea220452b56f
5
5
  SHA512:
6
- metadata.gz: 596ca99ae1ce1efc5ecf4e1f8e6313e9ec5a141223c917843616118c115cf6c77e44e7077a4a8b53845c23d4930fa55cd3c4ae4dd1efd612af114692e245e4d0
7
- data.tar.gz: 551f513d1a6ac501fae1b63df8f3e7b2d1f9ccb6043d96be93e303daee99b3910468f739a7af1392eee16d418e0f8c8185016cb1444c35a280cd032e25773b5c
6
+ metadata.gz: 18a03738c76335278f9779ca5e6365a667587c590f1f9b5f4c73c4db1a42f03ec4138a45308e5d95cc6b7b0e98f00f35bb008f02a91ac750b200cc1b59281982
7
+ data.tar.gz: 0b990645d59adca53fbdfa440cab24c543f0ef74b73029524095cd5e45f4f6f6c2ce3fe9ca15ab10e1026a3df1d7d2fc341eb0c5cdf6238a7d94392ffee7bdf7
@@ -103,11 +103,12 @@ module Dependabot
103
103
  # rubocop:enable Metrics/PerceivedComplexity
104
104
 
105
105
  def directory_build_files
106
- return @directory_build_files if @directory_build_files_checked
106
+ @directory_build_files ||= fetch_directory_build_files
107
+ end
107
108
 
108
- @directory_build_files_checked = true
109
+ def fetch_directory_build_files
109
110
  attempted_paths = []
110
- @directory_build_files = []
111
+ directory_build_files = []
111
112
 
112
113
  # Don't need to insert "." here, because Directory.Build.props files
113
114
  # can only be used by project files (not packages.config ones)
@@ -131,11 +132,11 @@ module Dependabot
131
132
 
132
133
  attempted_paths << path
133
134
  file = fetch_file_if_present(path)
134
- @directory_build_files << file if file
135
+ directory_build_files << file if file
135
136
  end
136
137
  end
137
138
 
138
- @directory_build_files
139
+ directory_build_files
139
140
  end
140
141
 
141
142
  def possible_build_file_paths(base)
@@ -242,17 +243,21 @@ module Dependabot
242
243
  end
243
244
 
244
245
  def global_json
245
- @global_json ||= fetch_file_if_present("global.json")
246
+ return @global_json if defined?(@global_json)
247
+
248
+ @global_json = fetch_file_if_present("global.json")
246
249
  end
247
250
 
248
251
  def dotnet_tools_json
249
- @dotnet_tools_json ||= fetch_file_if_present(".config/dotnet-tools.json")
250
- rescue Dependabot::DependencyFileNotFound
251
- nil
252
+ return @dotnet_tools_json if defined?(@dotnet_tools_json)
253
+
254
+ @dotnet_tools_json = fetch_file_if_present(".config/dotnet-tools.json")
252
255
  end
253
256
 
254
257
  def packages_props
255
- @packages_props ||= fetch_file_if_present("Packages.props")
258
+ return @packages_props if defined?(@packages_props)
259
+
260
+ @packages_props = fetch_file_if_present("Packages.props")
256
261
  end
257
262
 
258
263
  def imported_property_files
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-nuget
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.224.0
4
+ version: 0.226.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-27 00:00:00.000000000 Z
11
+ date: 2023-08-11 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.224.0
19
+ version: 0.226.0
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.224.0
26
+ version: 0.226.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 1.17.1
131
+ version: 1.18.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 1.17.1
138
+ version: 1.18.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: stackprof
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -213,7 +213,7 @@ licenses:
213
213
  - Nonstandard
214
214
  metadata:
215
215
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
216
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.224.0
216
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.226.0
217
217
  post_install_message:
218
218
  rdoc_options: []
219
219
  require_paths: