dependabot-pub 0.238.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: 186c0aa77bf1dbe6bc0ebf456d8cb9d5e774ee787cc48ad1884d18285c1492eb
4
- data.tar.gz: 279ca04029a999dab50241c9eae902ee543af9f72e2603f28d4cc851bef32590
3
+ metadata.gz: 27c545d7cbbee279a3be39328875de74645d283257f144eb0322be46899a819b
4
+ data.tar.gz: cbd7a64fc8877de379708619cc7f94f8c837e06e2f3137dd28b7ebdcba7ddd13
5
5
  SHA512:
6
- metadata.gz: df61230a024f390c62dd5a4e54d11a0b88afe6c7f8ca92d250f13453954785e13f5feed0b35dcac506a0371b6032632c77b9475b04dfbfb58a8cf2b7b702d544
7
- data.tar.gz: 9771f3df0581edc9942d60884e1e1d220658824c0ab0a4419bdca713eaa76102f9133e5df031cc54528a77ea4ce7d6238cdf3984cfa7dd868a9db00f6d391380
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.238.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-12-07 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.238.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.238.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.238.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: