dependabot-swift 0.239.0 → 0.241.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: 2d21a5d0b6235e3ce9000736df122309f326261ec5bca9e570ba3b2413b40b32
4
- data.tar.gz: d7b20041b184d8aff817bf0b2f1b7899d11ad24aea1fb8456b0aca7095c58758
3
+ metadata.gz: 85804e6b81f3c5ec81b636bf93e1f0d2f3ce05c84d73e68aa7bc976f8e819dc8
4
+ data.tar.gz: 5df51db76489bda987c27fe10746fe5137868b033ef6e8126c916111a3f8445c
5
5
  SHA512:
6
- metadata.gz: e4adfffd9da58273ce3214fc103c29a35a9d2fccd583e91e9ec3d390b3754c132b887769e9da301ba5c1abd1d267d34783f16bfe88a0d407b4e4b4c3d40b6950
7
- data.tar.gz: 96c4ef5a49177e99be852f3225a923674897d4f28de455a3a8f311e781df3ed6c5980f763f2ca4e2971ee48687bd65f2fd5251b1c8ee8f87dabc68b8828c746a
6
+ metadata.gz: d055e7fc8ccec2d8bdee9d9837c622a56d02b863dff26c37e1ea03eb7875ba6f10df21c6967d150565c952861bc2a3c0b01d5b167eafd3da032a3f40a36e23e5
7
+ data.tar.gz: 3fbeb08158e075fbc159f95a6bf809215dc6ba891c699721ba9454ea56def307a8b949b0b471d9f279ed4332deddabcd4473dae4c59e7fc1c56d9ef0f4fd8bb7
@@ -21,8 +21,6 @@ module Dependabot
21
21
 
22
22
  sig { override.returns(T::Array[DependencyFile]) }
23
23
  def fetch_files
24
- check_required_files_present
25
-
26
24
  fetched_files = []
27
25
  fetched_files << package_manifest
28
26
  fetched_files << package_resolved if package_resolved
@@ -40,14 +38,6 @@ module Dependabot
40
38
 
41
39
  @package_resolved = fetch_file_if_present("Package.resolved")
42
40
  end
43
-
44
- def check_required_files_present
45
- return if package_manifest
46
-
47
- path = Pathname.new(File.join(directory, "Package.swift"))
48
- .cleanpath.to_path
49
- raise Dependabot::DependencyFileNotFound, path
50
- end
51
41
  end
52
42
  end
53
43
  end
@@ -24,7 +24,7 @@ module Dependabot
24
24
  def find_source_from_git_url
25
25
  info = dependency.source_details
26
26
 
27
- url = info[:url] || info.fetch("url")
27
+ url = info&.fetch(:url, nil) || info&.fetch("url")
28
28
  Source.from_url(url)
29
29
  end
30
30
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-swift
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.239.0
4
+ version: 0.241.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-12-28 00:00:00.000000000 Z
11
+ date: 2024-01-18 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.239.0
19
+ version: 0.241.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.239.0
26
+ version: 0.241.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -206,6 +206,20 @@ dependencies:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
208
  version: '3.18'
209
+ - !ruby/object:Gem::Dependency
210
+ name: webrick
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '1.7'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '1.7'
209
223
  description: Dependabot-Swift provides support for bumping Swift packages via Dependabot.
210
224
  If you want support for multiple package managers, you probably want the meta-gem
211
225
  dependabot-omnibus.
@@ -235,7 +249,7 @@ licenses:
235
249
  - Nonstandard
236
250
  metadata:
237
251
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
238
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.239.0
252
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.241.0
239
253
  post_install_message:
240
254
  rdoc_options: []
241
255
  require_paths: