dependabot-linguist 0.217.0 → 0.303.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.nvmrc +1 -0
- data/.rubocop.yml +100 -7
- data/.ruby-version +1 -0
- data/CONTRIBUTING.md +2 -0
- data/Gemfile.lock +261 -145
- data/Makefile +90 -18
- data/README.md +32 -4
- data/SECURITY.md +1 -0
- data/dependabot-linguist.gemspec +19 -11
- data/lib/dependabot/linguist/dependabot_patch.rb +2 -2
- data/lib/dependabot/linguist/file_fetchers/bundler.rb +1 -1
- data/lib/dependabot/linguist/file_fetchers/git_submodules.rb +4 -4
- data/lib/dependabot/linguist/file_fetchers/go_modules.rb +1 -1
- data/lib/dependabot/linguist/language.rb +3 -3
- data/lib/dependabot/linguist/languages_to_ecosystems/contexts.rb +24 -21
- data/lib/dependabot/linguist/languages_to_ecosystems/contexts_applied.rb +1 -1
- data/lib/dependabot/linguist/languages_to_ecosystems/languages.yaml +672 -42
- data/lib/dependabot/linguist/languages_to_ecosystems/manager_ecosystem_maps.rb +33 -21
- data/lib/dependabot/linguist/languages_to_patch.txt +1 -0
- data/lib/dependabot/linguist/linguist_patch.rb +1 -1
- data/lib/dependabot/linguist/repository.rb +5 -1
- data/lib/dependabot/linguist/version.rb +1 -1
- metadata +62 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8aa1bc5268f787027a40e8fbeaafaa28029f683bd0bac619b873e70e4fdcbb44
|
4
|
+
data.tar.gz: f6d744ba3485889384505f5e5ce07cc008ac7b41ab91368231499a30fbf5283a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 598666682b39e6891fea1021fae9bb191cb00b67010b5af09ba81f7291aadc94cfc7016f81725835b35f8116efe3eef62bb270b37fdec8d9e8e28569f51527e2
|
7
|
+
data.tar.gz: 28a400e395cadfbba4fa56de2711bcb527e8a21f48997137add288ccf4ce74a40aa268edbf0464f149b5d097d225b8bba00890bb115b7223ba168597d98b02aa
|
data/.nvmrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
v22.13.0
|
data/.rubocop.yml
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
# For any failing cops, whether new or old ones that have been changed, visit;
|
2
|
+
# https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/<Name_of_failing_cop>
|
3
|
+
|
1
4
|
AllCops:
|
2
5
|
TargetRubyVersion: 3.1.0
|
3
6
|
UseCache: false
|
@@ -9,10 +12,13 @@ AllCops:
|
|
9
12
|
- 'smoke-test/**/*'
|
10
13
|
# - 'spec/dependabot/*_spec.rb'
|
11
14
|
|
15
|
+
Gemspec/AddRuntimeDependency: # new in 1.65
|
16
|
+
Enabled: true
|
12
17
|
Gemspec/DeprecatedAttributeAssignment:
|
13
18
|
Enabled: true
|
14
|
-
Gemspec/DevelopmentDependencies:
|
19
|
+
Gemspec/DevelopmentDependencies:
|
15
20
|
Enabled: true
|
21
|
+
EnforcedStyle: gemspec
|
16
22
|
Gemspec/OrderedDependencies:
|
17
23
|
Enabled: false
|
18
24
|
Gemspec/RequireMFA:
|
@@ -72,8 +78,14 @@ Lint/AmbiguousOperatorPrecedence:
|
|
72
78
|
Enabled: true
|
73
79
|
Lint/AmbiguousRange:
|
74
80
|
Enabled: true
|
81
|
+
Lint/ArrayLiteralInRegexp: # new in 1.71
|
82
|
+
Enabled: true
|
75
83
|
Lint/ConstantOverwrittenInRescue:
|
76
84
|
Enabled: true
|
85
|
+
Lint/ConstantReassignment: # new in 1.70
|
86
|
+
Enabled: true
|
87
|
+
Lint/CopDirectiveSyntax: # new in 1.72
|
88
|
+
Enabled: true
|
77
89
|
Lint/DeprecatedConstants:
|
78
90
|
Enabled: true
|
79
91
|
Lint/DuplicateBranch:
|
@@ -84,26 +96,42 @@ Lint/DuplicateMatchPattern: # new in 1.50
|
|
84
96
|
Enabled: true
|
85
97
|
Lint/DuplicateRegexpCharacterClassElement:
|
86
98
|
Enabled: true
|
99
|
+
Lint/DuplicateSetElement: # new in 1.67
|
100
|
+
Enabled: true
|
87
101
|
Lint/EmptyBlock:
|
88
102
|
Enabled: true
|
89
103
|
Lint/EmptyClass:
|
90
104
|
Enabled: true
|
91
105
|
Lint/EmptyInPattern:
|
92
106
|
Enabled: true
|
107
|
+
Lint/HashNewWithKeywordArgumentsAsDefault: # new in 1.69
|
108
|
+
Enabled: true
|
93
109
|
Lint/IncompatibleIoSelectWithFiberScheduler:
|
94
110
|
Enabled: true
|
111
|
+
Lint/ItWithoutArgumentsInBlock: # new in 1.59
|
112
|
+
Enabled: true
|
95
113
|
Lint/LambdaWithoutLiteralBlock:
|
96
114
|
Enabled: true
|
115
|
+
Lint/LiteralAssignmentInCondition: # new in 1.58
|
116
|
+
Enabled: true
|
117
|
+
Lint/MixedCaseRange: # new in 1.53
|
118
|
+
Enabled: true
|
97
119
|
Lint/NoReturnInBeginEndBlocks:
|
98
120
|
Enabled: true
|
99
121
|
Lint/NonAtomicFileOperation:
|
100
122
|
Enabled: true
|
101
123
|
Lint/NumberedParameterAssignment:
|
102
124
|
Enabled: true
|
125
|
+
Lint/NumericOperationWithConstantResult: # new in 1.69
|
126
|
+
Enabled: true
|
103
127
|
Lint/OrAssignmentToConstant:
|
104
128
|
Enabled: true
|
105
129
|
Lint/RedundantDirGlobSort:
|
106
130
|
Enabled: true
|
131
|
+
Lint/RedundantRegexpQuantifiers: # new in 1.53
|
132
|
+
Enabled: true
|
133
|
+
Lint/RedundantTypeConversion: # new in 1.72
|
134
|
+
Enabled: true
|
107
135
|
Lint/RefinementImportMethods:
|
108
136
|
Enabled: true
|
109
137
|
Lint/RequireRangeParentheses:
|
@@ -112,6 +140,10 @@ Lint/RequireRelativeSelfPath:
|
|
112
140
|
Enabled: true
|
113
141
|
Lint/ScriptPermission:
|
114
142
|
Enabled: false
|
143
|
+
Lint/SharedMutableDefault: # new in 1.70
|
144
|
+
Enabled: true
|
145
|
+
Lint/SuppressedExceptionInNumberConversion: # new in 1.72
|
146
|
+
Enabled: true
|
115
147
|
Lint/SymbolConversion:
|
116
148
|
Enabled: true
|
117
149
|
Lint/ToEnumArguments:
|
@@ -120,28 +152,36 @@ Lint/TripleQuotes:
|
|
120
152
|
Enabled: true
|
121
153
|
Lint/UnexpectedBlockArity:
|
122
154
|
Enabled: true
|
155
|
+
Lint/UnescapedBracketInRegexp: # new in 1.68
|
156
|
+
Enabled: true
|
123
157
|
Lint/UnmodifiedReduceAccumulator:
|
124
158
|
Enabled: true
|
159
|
+
Lint/UselessConstantScoping: # new in 1.72
|
160
|
+
Enabled: true
|
161
|
+
Lint/UselessDefined: # new in 1.69
|
162
|
+
Enabled: true
|
163
|
+
Lint/UselessNumericOperation: # new in 1.66
|
164
|
+
Enabled: true
|
125
165
|
Lint/UselessRescue: # new in 1.43
|
126
166
|
Enabled: true
|
127
167
|
Lint/UselessRuby2Keywords:
|
128
168
|
Enabled: true
|
129
169
|
|
130
|
-
Style/StringLiterals:
|
131
|
-
Enabled: true
|
132
|
-
EnforcedStyle: double_quotes
|
133
|
-
Style/StringLiteralsInInterpolation:
|
134
|
-
Enabled: true
|
135
|
-
EnforcedStyle: double_quotes
|
136
170
|
Style/AccessModifierDeclarations:
|
137
171
|
EnforcedStyle: inline
|
138
172
|
AllowModifiersOnSymbols: false
|
173
|
+
Style/AmbiguousEndlessMethodDefinition: # new in 1.68
|
174
|
+
Enabled: true
|
139
175
|
Style/ArgumentsForwarding:
|
140
176
|
Enabled: true
|
141
177
|
Style/ArrayIntersect: # new in 1.40
|
142
178
|
Enabled: true
|
179
|
+
Style/BitwisePredicate: # new in 1.68
|
180
|
+
Enabled: true
|
143
181
|
Style/CollectionCompact:
|
144
182
|
Enabled: true
|
183
|
+
Style/CombinableDefined: # new in 1.68
|
184
|
+
Enabled: true
|
145
185
|
Style/ComparableClamp: # new in 1.44
|
146
186
|
Enabled: true
|
147
187
|
Style/ConcatArrayLiterals: # new in 1.41
|
@@ -150,6 +190,8 @@ Style/ConditionalAssignment:
|
|
150
190
|
Enabled: false
|
151
191
|
Style/DataInheritance: # new in 1.49
|
152
192
|
Enabled: true
|
193
|
+
Style/DigChain: # new in 1.69
|
194
|
+
Enabled: true
|
153
195
|
Style/DirEmpty: # new in 1.48
|
154
196
|
Enabled: true
|
155
197
|
Style/DocumentDynamicEvalDefinition:
|
@@ -160,12 +202,18 @@ Style/EndlessMethod:
|
|
160
202
|
Enabled: true
|
161
203
|
Style/EnvHome:
|
162
204
|
Enabled: true
|
205
|
+
Style/ExactRegexpMatch:
|
206
|
+
Enabled: false
|
163
207
|
Style/FetchEnvVar:
|
164
208
|
Enabled: true
|
165
209
|
Style/FileEmpty: # new in 1.48
|
166
210
|
Enabled: true
|
211
|
+
Style/FileNull: # new in 1.69
|
212
|
+
Enabled: true
|
167
213
|
Style/FileRead:
|
168
214
|
Enabled: true
|
215
|
+
Style/FileTouch: # new in 1.69
|
216
|
+
Enabled: true
|
169
217
|
Style/FileWrite:
|
170
218
|
Enabled: false
|
171
219
|
Style/For:
|
@@ -174,8 +222,11 @@ Style/HashConversion:
|
|
174
222
|
Enabled: true
|
175
223
|
Style/HashExcept:
|
176
224
|
Enabled: true
|
225
|
+
Style/HashSlice: # new in 1.71
|
226
|
+
Enabled: true
|
177
227
|
Style/HashSyntax:
|
178
228
|
Enabled: true
|
229
|
+
EnforcedStyle: ruby19_no_mixed_keys
|
179
230
|
EnforcedShorthandSyntax: 'never'
|
180
231
|
Style/IfWithBooleanLiteralBranches:
|
181
232
|
Enabled: true
|
@@ -183,12 +234,18 @@ Style/IfUnlessModifier:
|
|
183
234
|
Enabled: false
|
184
235
|
Style/InPatternThen:
|
185
236
|
Enabled: true
|
237
|
+
Style/ItAssignment: # new in 1.70
|
238
|
+
Enabled: true
|
239
|
+
Style/KeywordArgumentsMerging: # new in 1.68
|
240
|
+
Enabled: true
|
186
241
|
Style/Lambda:
|
187
242
|
EnforcedStyle: lambda
|
188
243
|
Style/MagicCommentFormat:
|
189
244
|
Enabled: true
|
190
245
|
Style/MapCompactWithConditionalBlock:
|
191
246
|
Enabled: true
|
247
|
+
Style/MapIntoArray: # new in 1.63
|
248
|
+
Enabled: true
|
192
249
|
Style/MapToHash:
|
193
250
|
Enabled: true
|
194
251
|
Style/MapToSet: # new in 1.42
|
@@ -223,29 +280,65 @@ Style/QuotedSymbols:
|
|
223
280
|
Enabled: true
|
224
281
|
Style/RedundantArgument:
|
225
282
|
Enabled: true
|
283
|
+
Style/RedundantArrayConstructor: # new in 1.52
|
284
|
+
Enabled: true
|
226
285
|
Style/RedundantConstantBase: # new in 1.40
|
227
286
|
Enabled: false
|
287
|
+
Style/RedundantCurrentDirectoryInPath: # new in 1.53
|
288
|
+
Enabled: true
|
228
289
|
Style/RedundantDoubleSplatHashBraces: # new in 1.41
|
229
290
|
Enabled: true
|
230
291
|
Style/RedundantEach: # new in 1.38
|
231
292
|
Enabled: true
|
293
|
+
Style/RedundantFilterChain: # new in 1.52
|
294
|
+
Enabled: true
|
295
|
+
Style/RedundantFormat: # new in 1.72
|
296
|
+
Enabled: true
|
232
297
|
Style/RedundantHeredocDelimiterQuotes: # new in 1.45
|
233
298
|
Enabled: true
|
234
299
|
Style/RedundantInitialize:
|
235
300
|
Enabled: true
|
301
|
+
Style/RedundantInterpolationUnfreeze: # new in 1.66
|
302
|
+
Enabled: true
|
236
303
|
Style/RedundantLineContinuation: # new in 1.49
|
237
304
|
Enabled: true
|
305
|
+
Style/RedundantParentheses:
|
306
|
+
Enabled: true
|
307
|
+
Style/RedundantRegexpArgument: # new in 1.53
|
308
|
+
Enabled: true
|
309
|
+
Style/RedundantRegexpConstructor: # new in 1.52
|
310
|
+
Enabled: true
|
238
311
|
Style/RedundantSelf:
|
239
312
|
Enabled: false
|
240
313
|
Style/RedundantSelfAssignmentBranch:
|
241
314
|
Enabled: true
|
242
315
|
Style/RedundantStringEscape: # new in 1.37
|
243
316
|
Enabled: true
|
317
|
+
Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
|
318
|
+
Enabled: true
|
319
|
+
Style/SafeNavigationChainLength: # new in 1.68
|
320
|
+
Enabled: true
|
244
321
|
Style/SelectByRegexp:
|
245
322
|
Enabled: true
|
323
|
+
Style/SendWithLiteralMethodName: # new in 1.64
|
324
|
+
Enabled: true
|
325
|
+
Style/SingleLineDoEndBlock: # new in 1.57
|
326
|
+
Enabled: true
|
246
327
|
Style/StringChars:
|
247
328
|
Enabled: true
|
329
|
+
Style/StringLiterals:
|
330
|
+
Enabled: true
|
331
|
+
EnforcedStyle: double_quotes
|
332
|
+
Style/StringLiteralsInInterpolation:
|
333
|
+
Enabled: true
|
334
|
+
EnforcedStyle: double_quotes
|
335
|
+
Style/SuperArguments: # new in 1.64
|
336
|
+
Enabled: true
|
337
|
+
Style/SuperWithArgsParentheses: # new in 1.58
|
338
|
+
Enabled: true
|
248
339
|
Style/SwapValues:
|
249
340
|
Enabled: true
|
250
341
|
Style/WordArray:
|
251
342
|
Enabled: false
|
343
|
+
Style/YAMLFileRead: # new in 1.53
|
344
|
+
Enabled: true
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.3.6
|
data/CONTRIBUTING.md
CHANGED
@@ -6,6 +6,8 @@ The _quickest_ way to get the source _without_ contributing is;
|
|
6
6
|
git clone https://github.com/Skenvy/dependabot-linguist.git
|
7
7
|
```
|
8
8
|
If you want to _contribute_ to the source, you'll need to [fork this repository](https://github.com/Skenvy/dependabot-linguist/fork), clone it, and create a development branch. Contributions should be received as pull requests from your development branch on your fork.
|
9
|
+
## Develop the source
|
10
|
+
See the root README's [Developing](https://github.com/Skenvy/dependabot-linguist/blob/main/README.md#developing) section.
|
9
11
|
## Raise an issue
|
10
12
|
* [Bug Report](https://github.com/Skenvy/dependabot-linguist/issues/new?assignees=&labels=bug&template=bug-report.yaml)
|
11
13
|
* [Feature Request](https://github.com/Skenvy/dependabot-linguist/issues/new?assignees=&labels=enhancement&template=feature-request.yaml)
|