dependabot-elm 0.212.0 → 0.214.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 413f521c7229f022d7564c8c451f0e82a6eeed5378629fbdc4818e07bb114dce
|
4
|
+
data.tar.gz: 3a112b0f450342585fcd8439a33572165a0ee24885d5c26da6734f7953361a3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b7b0008760865ac9bb22af2db09e92dfeb459e37fd3917e348d8ab0bc5391cb32bce78dc5e124c9074969707ddf614182bda201bf1a1a95667ef1b019816ef3
|
7
|
+
data.tar.gz: 4a88cf29be2822d00933cb8655715cc82a08a50c509f04c626c57a1eeedb92ea032c4477dd2123aac0959c246ecfb25af8e211f5d40a53ad6b3e04f530b15bfe
|
@@ -9,8 +9,8 @@ module Dependabot
|
|
9
9
|
ELM_PATTERN_RAW =
|
10
10
|
"(#{Elm::Version::VERSION_PATTERN}) (<=?) v (<=?) " \
|
11
11
|
"(#{Elm::Version::VERSION_PATTERN})"
|
12
|
-
ELM_PATTERN = /\A#{ELM_PATTERN_RAW}\z
|
13
|
-
ELM_EXACT_PATTERN = /\A#{Elm::Version::VERSION_PATTERN}\z
|
12
|
+
ELM_PATTERN = /\A#{ELM_PATTERN_RAW}\z/
|
13
|
+
ELM_EXACT_PATTERN = /\A#{Elm::Version::VERSION_PATTERN}\z/
|
14
14
|
|
15
15
|
# Returns an array of requirements. At least one requirement from the
|
16
16
|
# returned array must be satisfied for a version to be valid.
|
@@ -7,10 +7,8 @@ module Dependabot
|
|
7
7
|
module Elm
|
8
8
|
class UpdateChecker
|
9
9
|
class CliParser
|
10
|
-
INSTALL_DEPENDENCY_REGEX =
|
11
|
-
|
12
|
-
UPGRADE_DEPENDENCY_REGEX =
|
13
|
-
%r{([^\s]+\/[^\s]+) \(\d+\.\d+\.\d+ => (\d+\.\d+\.\d+)\)}.freeze
|
10
|
+
INSTALL_DEPENDENCY_REGEX = %r{([^\s]+\/[^\s]+)\s+(\d+\.\d+\.\d+)}
|
11
|
+
UPGRADE_DEPENDENCY_REGEX = %r{([^\s]+\/[^\s]+) \(\d+\.\d+\.\d+ => (\d+\.\d+\.\d+)\)}
|
14
12
|
|
15
13
|
def self.decode_install_preview(text)
|
16
14
|
installs = {}
|
@@ -9,8 +9,8 @@ module Dependabot
|
|
9
9
|
class UpdateChecker
|
10
10
|
class RequirementsUpdater
|
11
11
|
RANGE_REQUIREMENT_REGEX =
|
12
|
-
/(\d+\.\d+\.\d+) <= v < (\d+\.\d+\.\d+)
|
13
|
-
SINGLE_VERSION_REGEX = /\A(\d+\.\d+\.\d+)\z
|
12
|
+
/(\d+\.\d+\.\d+) <= v < (\d+\.\d+\.\d+)/
|
13
|
+
SINGLE_VERSION_REGEX = /\A(\d+\.\d+\.\d+)\z/
|
14
14
|
|
15
15
|
def initialize(requirements:, latest_resolvable_version:)
|
16
16
|
@requirements = requirements
|
@@ -87,10 +87,10 @@ module Dependabot
|
|
87
87
|
end
|
88
88
|
|
89
89
|
def filter_lower_versions(versions_array)
|
90
|
-
return versions_array unless
|
90
|
+
return versions_array unless current_version
|
91
91
|
|
92
92
|
versions_array.
|
93
|
-
select { |version| version >
|
93
|
+
select { |version| version > current_version }
|
94
94
|
end
|
95
95
|
|
96
96
|
def all_versions
|
@@ -9,8 +9,8 @@ require "rubygems_version_patch"
|
|
9
9
|
module Dependabot
|
10
10
|
module Elm
|
11
11
|
class Version < Gem::Version
|
12
|
-
VERSION_PATTERN = "[0-9]
|
13
|
-
VERSION_PATTERN_REGEX = /\A#{VERSION_PATTERN}\Z
|
12
|
+
VERSION_PATTERN = "[0-9]+\\.[0-9]+\\.[0-9]+"
|
13
|
+
VERSION_PATTERN_REGEX = /\A#{VERSION_PATTERN}\Z/
|
14
14
|
|
15
15
|
def self.correct?(version)
|
16
16
|
version.to_s.match?(VERSION_PATTERN_REGEX)
|
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.
|
4
|
+
version: 0.214.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dependabot-common
|
@@ -16,42 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.214.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.
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: debase
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - '='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 0.2.3
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - '='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 0.2.3
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: debase-ruby_core_source
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - '='
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 0.10.16
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - '='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 0.10.16
|
26
|
+
version: 0.214.0
|
55
27
|
- !ruby/object:Gem::Dependency
|
56
28
|
name: debug
|
57
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +58,14 @@ dependencies:
|
|
86
58
|
requirements:
|
87
59
|
- - "~>"
|
88
60
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
61
|
+
version: 4.0.0
|
90
62
|
type: :development
|
91
63
|
prerelease: false
|
92
64
|
version_requirements: !ruby/object:Gem::Requirement
|
93
65
|
requirements:
|
94
66
|
- - "~>"
|
95
67
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
68
|
+
version: 4.0.0
|
97
69
|
- !ruby/object:Gem::Dependency
|
98
70
|
name: rake
|
99
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,42 +114,28 @@ dependencies:
|
|
142
114
|
requirements:
|
143
115
|
- - "~>"
|
144
116
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.
|
117
|
+
version: 1.39.0
|
146
118
|
type: :development
|
147
119
|
prerelease: false
|
148
120
|
version_requirements: !ruby/object:Gem::Requirement
|
149
121
|
requirements:
|
150
122
|
- - "~>"
|
151
123
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.
|
124
|
+
version: 1.39.0
|
153
125
|
- !ruby/object:Gem::Dependency
|
154
126
|
name: rubocop-performance
|
155
127
|
requirement: !ruby/object:Gem::Requirement
|
156
128
|
requirements:
|
157
129
|
- - "~>"
|
158
130
|
- !ruby/object:Gem::Version
|
159
|
-
version: 1.
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: 1.14.2
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: ruby-debug-ide
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - "~>"
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: 0.7.3
|
131
|
+
version: 1.15.0
|
174
132
|
type: :development
|
175
133
|
prerelease: false
|
176
134
|
version_requirements: !ruby/object:Gem::Requirement
|
177
135
|
requirements:
|
178
136
|
- - "~>"
|
179
137
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
138
|
+
version: 1.15.0
|
181
139
|
- !ruby/object:Gem::Dependency
|
182
140
|
name: simplecov
|
183
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -279,14 +237,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
279
237
|
requirements:
|
280
238
|
- - ">="
|
281
239
|
- !ruby/object:Gem::Version
|
282
|
-
version:
|
240
|
+
version: 3.1.0
|
283
241
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
284
242
|
requirements:
|
285
243
|
- - ">="
|
286
244
|
- !ruby/object:Gem::Version
|
287
|
-
version:
|
245
|
+
version: 3.1.0
|
288
246
|
requirements: []
|
289
|
-
rubygems_version: 3.
|
247
|
+
rubygems_version: 3.3.7
|
290
248
|
signing_key:
|
291
249
|
specification_version: 4
|
292
250
|
summary: Elm support for dependabot
|