dependabot-pub 0.237.0 → 0.239.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: d3996df184e645eb823e344e71e60ca1f29fc90180834eb5cc02082ec0e58b27
4
- data.tar.gz: 36fac6cd7ba5072efd8e3212f7ec3a5198e6b6a1d3550ff8fb58cc7efbe2cbc4
3
+ metadata.gz: 27c545d7cbbee279a3be39328875de74645d283257f144eb0322be46899a819b
4
+ data.tar.gz: cbd7a64fc8877de379708619cc7f94f8c837e06e2f3137dd28b7ebdcba7ddd13
5
5
  SHA512:
6
- metadata.gz: 1507d854bec1cf0f39cc3749581af91fe01c7ff29c15f3d0307685d74a1c7d1e91e20fd0a466806f031abd87c8600e52e79722f523541b76182385252680616e
7
- data.tar.gz: 18f20f5629091b60e035dfc1d7d506e3e952a4d035d111da6a0a533f6fe84edfe3bb9a1e2134093ee9aaeab7e7851ff2aefaf33948744f117a8c0df1b0dab6f1
6
+ metadata.gz: 976733d47811afd159ba88b8035642c3ebbe99f0a5e002959a21d4ea287392a26b988b73dade8afd9ba53715c755cd8d968ea8e0f1fd3c1d8578183734260753
7
+ data.tar.gz: 238308a5411664ea47dd365b5fb8b514b33ebcf8885408e2571a6dd8987013b8994ce5251717d201a6f9014cd6bc9ea128ca1446a114cadb564cac78a6dc600f
@@ -6,12 +6,17 @@
6
6
 
7
7
  ###################################################################
8
8
 
9
+ require "sorbet-runtime"
10
+
11
+ require "dependabot/requirement"
9
12
  require "dependabot/utils"
10
13
  require "dependabot/pub/version"
11
14
 
12
15
  module Dependabot
13
16
  module Pub
14
- class Requirement < Gem::Requirement
17
+ class Requirement < Dependabot::Requirement
18
+ extend T::Sig
19
+
15
20
  quoted = OPS.keys.map { |k| Regexp.quote(k) }.join("|")
16
21
  version_pattern = Pub::Version::VERSION_PATTERN
17
22
 
@@ -36,6 +41,7 @@ module Dependabot
36
41
  # For consistency with other languages, we define a requirements array.
37
42
  # Dart doesn't have an `OR` separator for requirements, so it always
38
43
  # contains a single element.
44
+ sig { override.params(requirement_string: T.nilable(String)).returns(T::Array[Requirement]) }
39
45
  def self.requirements_array(requirement_string)
40
46
  [new(requirement_string)]
41
47
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-pub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.237.0
4
+ version: 0.239.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-21 00:00:00.000000000 Z
11
+ date: 2023-12-28 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.237.0
19
+ version: 0.239.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.237.0
26
+ version: 0.239.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: webrick
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.57.2
131
+ version: 1.58.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.57.2
138
+ version: 1.58.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rubocop-performance
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -242,7 +242,7 @@ licenses:
242
242
  - Nonstandard
243
243
  metadata:
244
244
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
245
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.237.0
245
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.239.0
246
246
  post_install_message:
247
247
  rdoc_options: []
248
248
  require_paths: