dependabot-swift 0.229.0 → 0.231.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/swift/file_fetcher.rb +5 -4
- data/lib/dependabot/swift/file_parser/dependency_parser.rb +1 -0
- data/lib/dependabot/swift/file_parser/manifest_parser.rb +1 -0
- data/lib/dependabot/swift/file_parser.rb +3 -2
- data/lib/dependabot/swift/file_updater/lockfile_updater.rb +1 -0
- data/lib/dependabot/swift/file_updater/manifest_updater.rb +1 -0
- data/lib/dependabot/swift/file_updater/requirement_replacer.rb +1 -0
- data/lib/dependabot/swift/file_updater.rb +3 -2
- data/lib/dependabot/swift/metadata_finder.rb +3 -2
- data/lib/dependabot/swift/native_requirement.rb +3 -2
- data/lib/dependabot/swift/requirement.rb +3 -2
- data/lib/dependabot/swift/update_checker/requirements_updater.rb +1 -0
- data/lib/dependabot/swift/update_checker/version_resolver.rb +1 -0
- data/lib/dependabot/swift/update_checker.rb +5 -4
- data/lib/dependabot/swift/version.rb +3 -2
- data/lib/dependabot/swift.rb +5 -4
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43ac2841da97338c872d4665d9f056d457c53c473679f68350072ce38c9b005e
|
4
|
+
data.tar.gz: 51dac56928bc7c7e3f9933270f92a587d6eded2f79ffdb49b46feea817b3e7da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2d021d07cecbe084d70a047920d3e4387b0dc7997ac9862f80c2af903f90ba3a0cfe79722bdd8ccae633fc11c5e6a4c0678fa3d900feb63ab335a38d3b59693
|
7
|
+
data.tar.gz: 8b603bfa94725d368790413cf0fc7e7fabacbbb7a344da147f721aa2a36da625f4dbdaf201b728423b598d190899d1253f0c47a4eee80befc9605aaa192d50c5
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: false
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require "dependabot/file_fetchers"
|
@@ -38,13 +39,13 @@ module Dependabot
|
|
38
39
|
def check_required_files_present
|
39
40
|
return if package_manifest
|
40
41
|
|
41
|
-
path = Pathname.new(File.join(directory, "Package.swift"))
|
42
|
-
|
42
|
+
path = Pathname.new(File.join(directory, "Package.swift"))
|
43
|
+
.cleanpath.to_path
|
43
44
|
raise Dependabot::DependencyFileNotFound, path
|
44
45
|
end
|
45
46
|
end
|
46
47
|
end
|
47
48
|
end
|
48
49
|
|
49
|
-
Dependabot::FileFetchers
|
50
|
-
register("swift", Dependabot::Swift::FileFetcher)
|
50
|
+
Dependabot::FileFetchers
|
51
|
+
.register("swift", Dependabot::Swift::FileFetcher)
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: false
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require "dependabot/dependency"
|
@@ -57,5 +58,5 @@ module Dependabot
|
|
57
58
|
end
|
58
59
|
end
|
59
60
|
|
60
|
-
Dependabot::FileParsers
|
61
|
-
register("swift", Dependabot::Swift::FileParser)
|
61
|
+
Dependabot::FileParsers
|
62
|
+
.register("swift", Dependabot::Swift::FileParser)
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: false
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require "dependabot/file_updaters"
|
@@ -75,5 +76,5 @@ module Dependabot
|
|
75
76
|
end
|
76
77
|
end
|
77
78
|
|
78
|
-
Dependabot::FileUpdaters
|
79
|
-
register("swift", Dependabot::Swift::FileUpdater)
|
79
|
+
Dependabot::FileUpdaters
|
80
|
+
.register("swift", Dependabot::Swift::FileUpdater)
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: false
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require "dependabot/metadata_finders"
|
@@ -34,5 +35,5 @@ module Dependabot
|
|
34
35
|
end
|
35
36
|
end
|
36
37
|
|
37
|
-
Dependabot::MetadataFinders
|
38
|
-
register("swift", Dependabot::Swift::MetadataFinder)
|
38
|
+
Dependabot::MetadataFinders
|
39
|
+
.register("swift", Dependabot::Swift::MetadataFinder)
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: false
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require "dependabot/utils"
|
@@ -158,5 +159,5 @@ module Dependabot
|
|
158
159
|
end
|
159
160
|
end
|
160
161
|
|
161
|
-
Dependabot::Utils
|
162
|
-
register_requirement_class("swift", Dependabot::Swift::Requirement)
|
162
|
+
Dependabot::Utils
|
163
|
+
.register_requirement_class("swift", Dependabot::Swift::Requirement)
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: false
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require "dependabot/utils"
|
@@ -25,5 +26,5 @@ module Dependabot
|
|
25
26
|
end
|
26
27
|
end
|
27
28
|
|
28
|
-
Dependabot::Utils
|
29
|
-
register_requirement_class("swift", Dependabot::Swift::Requirement)
|
29
|
+
Dependabot::Utils
|
30
|
+
.register_requirement_class("swift", Dependabot::Swift::Requirement)
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: false
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require "dependabot/update_checkers"
|
@@ -158,12 +159,12 @@ module Dependabot
|
|
158
159
|
def filter_lower_tags(tags_array)
|
159
160
|
return tags_array unless current_version
|
160
161
|
|
161
|
-
tags_array
|
162
|
-
select { |tag| tag.fetch(:version) > current_version }
|
162
|
+
tags_array
|
163
|
+
.select { |tag| tag.fetch(:version) > current_version }
|
163
164
|
end
|
164
165
|
end
|
165
166
|
end
|
166
167
|
end
|
167
168
|
|
168
|
-
Dependabot::UpdateCheckers
|
169
|
-
register("swift", Dependabot::Swift::UpdateChecker)
|
169
|
+
Dependabot::UpdateCheckers
|
170
|
+
.register("swift", Dependabot::Swift::UpdateChecker)
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: false
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
module Dependabot
|
@@ -7,5 +8,5 @@ module Dependabot
|
|
7
8
|
end
|
8
9
|
end
|
9
10
|
|
10
|
-
Dependabot::Utils
|
11
|
-
register_version_class("swift", Dependabot::Swift::Version)
|
11
|
+
Dependabot::Utils
|
12
|
+
.register_version_class("swift", Dependabot::Swift::Version)
|
data/lib/dependabot/swift.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: false
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
# These all need to be required so the various classes can be registered in a
|
@@ -11,12 +12,12 @@ require "dependabot/swift/requirement"
|
|
11
12
|
require "dependabot/swift/version"
|
12
13
|
|
13
14
|
require "dependabot/pull_request_creator/labeler"
|
14
|
-
Dependabot::PullRequestCreator::Labeler
|
15
|
-
register_label_details("swift", name: "swift_package_manager", colour: "F05138")
|
15
|
+
Dependabot::PullRequestCreator::Labeler
|
16
|
+
.register_label_details("swift", name: "swift_package_manager", colour: "F05138")
|
16
17
|
|
17
18
|
require "dependabot/dependency"
|
18
|
-
Dependabot::Dependency
|
19
|
-
register_production_check("swift", ->(_) { true })
|
19
|
+
Dependabot::Dependency
|
20
|
+
.register_production_check("swift", ->(_) { true })
|
20
21
|
|
21
22
|
require "dependabot/utils"
|
22
23
|
Dependabot::Utils.register_always_clone("swift")
|
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.
|
4
|
+
version: 0.231.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-
|
11
|
+
date: 2023-09-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.
|
19
|
+
version: 0.231.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.
|
26
|
+
version: 0.231.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,6 +136,20 @@ dependencies:
|
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 1.19.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rubocop-sorbet
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 0.7.3
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 0.7.3
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
154
|
name: stackprof
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -207,7 +221,7 @@ licenses:
|
|
207
221
|
- Nonstandard
|
208
222
|
metadata:
|
209
223
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
210
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
224
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.231.0
|
211
225
|
post_install_message:
|
212
226
|
rdoc_options: []
|
213
227
|
require_paths:
|