dependabot-elm 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: cd253530398d045f1a24cafde080d7c7dff5e2824b1b19e74c6030388d9a8d70
4
- data.tar.gz: 9b690935652f1dbced321603c8344efa21f0172997a71b36356e82a91ab04252
3
+ metadata.gz: 19f6a53fd7ccdbbb31200b3d6aecb0f241e5ca4e2eb82c76f472db124cf43e67
4
+ data.tar.gz: b79ef0740ffb8eaf04a58d78b2909329e96cc6fb1f686990df423c23e67ed09c
5
5
  SHA512:
6
- metadata.gz: ffc6f860a8ab2e9c2e304bc5584c3123ef0c03428f8962e26dca9bfbc687b2626bbd16fb51e2ebefb0a18d09d8e831e922600f1b73e5bb0d0ac5e6d68427dffd
7
- data.tar.gz: d2d3bd6d12374eea4b8a4043ccdedbb68afae82f78db665119c64ce252de06a87f4381c33c14b905ec18b1fbb62caee663e1d8abee20a30e8039c66647cc2de2
6
+ metadata.gz: 57e246b8f823e065f8bf31f6f33106833a7db43ef694a9e43b217b33a5b5a704423961a6bb6a4cc0ee8ab4c68e1a70e865b5b44e3b55846b7600292a22903f79
7
+ data.tar.gz: ae2ff0a4d5d1d992ab7574b731ab3ec819c6ff55a17b6fea866da9ce1033b63f75c8dbd7a00e31aea3d4ce52f5daf87911d96b8ac905cb490e434ab3b91fa9db
@@ -29,22 +29,11 @@ module Dependabot
29
29
 
30
30
  # NOTE: We *do not* fetch the exact-dependencies.json file, as it is
31
31
  # recommended that this is not committed
32
-
33
- check_required_files_present
34
32
  fetched_files
35
33
  end
36
34
 
37
35
  private
38
36
 
39
- sig { void }
40
- def check_required_files_present
41
- return if elm_json
42
-
43
- path = Pathname.new(File.join(directory, "elm.json"))
44
- .cleanpath.to_path
45
- raise Dependabot::DependencyFileNotFound, path
46
- end
47
-
48
37
  sig { returns(T.nilable(Dependabot::DependencyFile)) }
49
38
  def elm_json
50
39
  return @elm_json if defined?(@elm_json)
@@ -1,12 +1,17 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ require "sorbet-runtime"
5
+
6
+ require "dependabot/requirement"
4
7
  require "dependabot/utils"
5
8
  require "dependabot/elm/version"
6
9
 
7
10
  module Dependabot
8
11
  module Elm
9
- class Requirement < Gem::Requirement
12
+ class Requirement < Dependabot::Requirement
13
+ extend T::Sig
14
+
10
15
  ELM_PATTERN_RAW =
11
16
  "(#{Elm::Version::VERSION_PATTERN}) (<=?) v (<=?) " \
12
17
  "(#{Elm::Version::VERSION_PATTERN})".freeze
@@ -15,6 +20,7 @@ module Dependabot
15
20
 
16
21
  # Returns an array of requirements. At least one requirement from the
17
22
  # returned array must be satisfied for a version to be valid.
23
+ sig { override.params(requirement_string: T.nilable(String)).returns(T::Array[Requirement]) }
18
24
  def self.requirements_array(requirement_string)
19
25
  [new(requirement_string)]
20
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-elm
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-Elm provides support for bumping Elm packages via Dependabot.
210
224
  If you want support for multiple package managers, you probably want the meta-gem
211
225
  dependabot-omnibus.
@@ -231,7 +245,7 @@ licenses:
231
245
  - Nonstandard
232
246
  metadata:
233
247
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
234
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.238.0
248
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.240.0
235
249
  post_install_message:
236
250
  rdoc_options: []
237
251
  require_paths: