dependabot-swift 0.238.0 → 0.240.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: 392c09319d0983f4eded71b3fc26207aec7153680c34f32c55d46b2f2cd292ab
4
- data.tar.gz: be016d2a34db3216d44fe25fbdc65e4bbdfad71cea9f111f7afc8122d6d66f91
3
+ metadata.gz: 92cf4a3110c8e8e01bcfea7c642ff8954640a02e50a1ecbd692b6b853b0049bb
4
+ data.tar.gz: d578f74eadaff07b55191963c98e028294c7711820fa35e05f0273d8eb3656a5
5
5
  SHA512:
6
- metadata.gz: 077a4f40b61fcf90d7d005c6e87a39643cdad07da4496255ff3bc2f902ce3d9990ec1e3af0afc776773f768571bbb83aae07a186fbf3c4ac0b5e1ef2a80ceeac
7
- data.tar.gz: 3d72a53aca160c7f6cbd67203dd4b6f0ccdfd85295ca7f9cfd5b005a79ea4d55b89249f2642299909c86f5a4cf1dae22ddb150c04bc517e802aab669bc6b110b
6
+ metadata.gz: 3f321abe0c35b58a9151b0376aad769d7be1742c830e411591f3d55b190323180cc2e618d4a4ff71c4d50c64cc4652d6df66a032f0107e2075835df29778d714
7
+ data.tar.gz: 870317e60b595b59682ce122b8e4e634446b350ffe78f305f6529ece3866d23d10be65146261ecbb8cd93ff4c25c1a777353353402bd5184e35ff59ad830da77
@@ -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
@@ -1,14 +1,19 @@
1
1
  # typed: true
2
2
  # frozen_string_literal: true
3
3
 
4
+ require "sorbet-runtime"
5
+
6
+ require "dependabot/requirement"
4
7
  require "dependabot/utils"
5
8
 
6
9
  module Dependabot
7
10
  module Swift
8
- class Requirement < Gem::Requirement
11
+ class Requirement < Dependabot::Requirement
12
+ extend T::Sig
9
13
  # For consistency with other languages, we define a requirements array.
10
14
  # Swift doesn't have an `OR` separator for requirements, so it
11
15
  # always contains a single element.
16
+ sig { override.params(requirement_string: T.nilable(String)).returns(T::Array[Requirement]) }
12
17
  def self.requirements_array(requirement_string)
13
18
  [new(requirement_string)]
14
19
  end
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.238.0
4
+ version: 0.240.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-07 00:00:00.000000000 Z
11
+ date: 2024-01-12 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.238.0
19
+ version: 0.240.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.238.0
26
+ version: 0.240.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.57.2
117
+ version: 1.58.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 1.57.2
124
+ version: 1.58.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rubocop-performance
127
127
  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.238.0
252
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.240.0
239
253
  post_install_message:
240
254
  rdoc_options: []
241
255
  require_paths: