danger-spm_version_updates 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/.rubocop.yml CHANGED
@@ -1,9 +1,12 @@
1
1
  # Defaults can be found here: https://github.com/bbatsov/rubocop/blob/master/config/default.yml
2
2
 
3
- # If you don't like these settings, just delete this file :)
3
+ require:
4
+ - rubocop-rspec
5
+ - rubocop-rake
6
+ - rubocop-performance
4
7
 
5
8
  AllCops:
6
- TargetRubyVersion: 2.7
9
+ TargetRubyVersion: 3.0
7
10
  NewCops: enable
8
11
 
9
12
  Style/MultilineBlockChain:
@@ -26,6 +29,9 @@ Style/BlockDelimiters:
26
29
  EnforcedStyle: always_braces
27
30
  Exclude:
28
31
  - spec/*.rb
32
+ - Guardfile
33
+ - Rakefile
34
+ - danger-*.gemspec
29
35
 
30
36
  Metrics/ModuleLength:
31
37
  Enabled: true
@@ -93,7 +99,7 @@ Style/ClassCheck:
93
99
  # specs sometimes have useless assignments, which is fine
94
100
  Lint/UselessAssignment:
95
101
  Exclude:
96
- - '**/spec/**/*'
102
+ - "**/spec/**/*"
97
103
 
98
104
  Layout/FirstHashElementIndentation:
99
105
  Enabled: true
@@ -202,7 +208,7 @@ Style/SpecialGlobalVars:
202
208
 
203
209
  Style/PercentLiteralDelimiters:
204
210
  PreferredDelimiters:
205
- "%": ()
211
+ "%": ()
206
212
  "%i": ()
207
213
  "%q": ()
208
214
  "%Q": ()
@@ -214,3 +220,282 @@ Style/PercentLiteralDelimiters:
214
220
 
215
221
  Security/YAMLLoad:
216
222
  Enabled: false
223
+
224
+ Gemspec/DevelopmentDependencies:
225
+ Enabled: false
226
+
227
+ # This is the default configuration file.
228
+
229
+ Performance:
230
+ Enabled: true
231
+
232
+ Performance/AncestorsInclude:
233
+ Description: "Use `A <= B` instead of `A.ancestors.include?(B)`."
234
+ Enabled: true
235
+
236
+ Performance/ArraySemiInfiniteRangeSlice:
237
+ Description: "Identifies places where slicing arrays with semi-infinite ranges can be replaced by `Array#take` and `Array#drop`."
238
+ # This cop was created due to a mistake in microbenchmark.
239
+ # Refer https://github.com/rubocop/rubocop-performance/pull/175#issuecomment-731892717
240
+ Enabled: true
241
+
242
+ Performance/BigDecimalWithNumericArgument:
243
+ Description: "Convert numeric literal to string and pass it to `BigDecimal`."
244
+ Enabled: true
245
+
246
+ Performance/BindCall:
247
+ Description: "Use `bind_call(obj, args, ...)` instead of `bind(obj).call(args, ...)`."
248
+ Enabled: true
249
+
250
+ Performance/BlockGivenWithExplicitBlock:
251
+ Description: "Check block argument explicitly instead of using `block_given?`."
252
+ Enabled: true
253
+
254
+ Performance/Caller:
255
+ Description: >-
256
+ Use `caller(n..n)` instead of `caller`.
257
+ Enabled: true
258
+
259
+ Performance/CaseWhenSplat:
260
+ Description: >-
261
+ Reordering `when` conditions with a splat to the end
262
+ of the `when` branches can improve performance.
263
+ Enabled: true
264
+
265
+ Performance/Casecmp:
266
+ Description: >-
267
+ Use `casecmp` rather than `downcase ==`, `upcase ==`, `== downcase`, or `== upcase`..
268
+ Reference: "https://github.com/fastruby/fast-ruby#stringcasecmp-vs--stringcasecmp-vs-stringdowncase---code"
269
+ Enabled: true
270
+
271
+ Performance/ChainArrayAllocation:
272
+ Description: >-
273
+ Instead of chaining array methods that allocate new arrays, mutate an
274
+ existing array.
275
+ Reference: "https://twitter.com/schneems/status/1034123879978029057"
276
+ Enabled: true
277
+ Exclude:
278
+ - spec/*.rb
279
+
280
+ Performance/CollectionLiteralInLoop:
281
+ Description: "Extract Array and Hash literals outside of loops into local variables or constants."
282
+ Enabled: true
283
+
284
+ Performance/CompareWithBlock:
285
+ Description: "Use `sort_by(&:foo)` instead of `sort { |a, b| a.foo <=> b.foo }`."
286
+ Enabled: true
287
+
288
+ Performance/ConcurrentMonotonicTime:
289
+ Description: "Use `Process.clock_gettime(Process::CLOCK_MONOTONIC)` instead of `Concurrent.monotonic_time`."
290
+ Reference: "https://github.com/rails/rails/pull/43502"
291
+ Enabled: true
292
+
293
+ Performance/ConstantRegexp:
294
+ Description: "Finds regular expressions with dynamic components that are all constants."
295
+ Enabled: true
296
+
297
+ Performance/Count:
298
+ Description: >-
299
+ Use `count` instead of `{select,find_all,filter,reject}...{size,count,length}`.
300
+ # This cop has known compatibility issues with `ActiveRecord` and other
301
+ # frameworks. ActiveRecord's `count` ignores the block that is passed to it.
302
+ # For more information, see the documentation in the cop itself.
303
+ Enabled: true
304
+
305
+ Performance/DeletePrefix:
306
+ Description: "Use `delete_prefix` instead of `gsub`."
307
+ Enabled: true
308
+
309
+ Performance/DeleteSuffix:
310
+ Description: "Use `delete_suffix` instead of `gsub`."
311
+ Enabled: true
312
+
313
+ Performance/Detect:
314
+ Description: >-
315
+ Use `detect` instead of `select.first`, `find_all.first`, `filter.first`,
316
+ `select.last`, `find_all.last`, and `filter.last`.
317
+ Reference: "https://github.com/fastruby/fast-ruby#enumerabledetect-vs-enumerableselectfirst-code"
318
+ # This cop has known compatibility issues with `ActiveRecord` and other
319
+ # frameworks. `ActiveRecord` does not implement a `detect` method and `find`
320
+ # has its own meaning. Correcting `ActiveRecord` methods with this cop
321
+ # should be considered unsafe.
322
+ Enabled: true
323
+
324
+ Performance/DoubleStartEndWith:
325
+ Description: >-
326
+ Use `str.{start,end}_with?(x, ..., y, ...)`
327
+ instead of `str.{start,end}_with?(x, ...) || str.{start,end}_with?(y, ...)`.
328
+ Enabled: true
329
+
330
+ Performance/EndWith:
331
+ Description: "Use `end_with?` instead of a regex match anchored to the end of a string."
332
+ Reference: "https://github.com/fastruby/fast-ruby#stringmatch-vs-stringmatch-vs-stringstart_withstringend_with-code-start-code-end"
333
+ # This will change to a new method call which isn't guaranteed to be on the
334
+ # object. Switching these methods has to be done with knowledge of the types
335
+ # of the variables which rubocop doesn't have.
336
+ Enabled: true
337
+
338
+ Performance/FixedSize:
339
+ Description: "Do not compute the size of statically sized objects except in constants."
340
+ Enabled: true
341
+
342
+ Performance/FlatMap:
343
+ Description: >-
344
+ Use `Enumerable#flat_map`
345
+ instead of `Enumerable#map...Array#flatten(1)`
346
+ or `Enumerable#collect..Array#flatten(1)`.
347
+ Reference: "https://github.com/fastruby/fast-ruby#enumerablemaparrayflatten-vs-enumerableflat_map-code"
348
+ Enabled: true
349
+ EnabledForFlattenWithoutParams: false
350
+ # If enabled, this cop will warn about usages of
351
+ # `flatten` being called without any parameters.
352
+ # This can be dangerous since `flat_map` will only flatten 1 level, and
353
+ # `flatten` without any parameters can flatten multiple levels.
354
+
355
+ Performance/InefficientHashSearch:
356
+ Description: "Use `key?` or `value?` instead of `keys.include?` or `values.include?`."
357
+ Reference: "https://github.com/fastruby/fast-ruby#hashkey-instead-of-hashkeysinclude-code"
358
+ Enabled: true
359
+
360
+ Performance/IoReadlines:
361
+ Description: "Use `IO.each_line` (`IO#each_line`) instead of `IO.readlines` (`IO#readlines`)."
362
+ Reference: "https://docs.gitlab.com/ee/development/performance.html#reading-from-files-and-other-data-sources"
363
+ Enabled: true
364
+
365
+ Performance/MapCompact:
366
+ Description: "Use `filter_map` instead of `collection.map(&:do_something).compact`."
367
+ Enabled: true
368
+
369
+ Performance/MapMethodChain:
370
+ Description: "Checks if the `map` method is used in a chain."
371
+ Enabled: true
372
+
373
+ Performance/MethodObjectAsBlock:
374
+ Description: "Use block explicitly instead of block-passing a method object."
375
+ Reference: "https://github.com/fastruby/fast-ruby#normal-way-to-apply-method-vs-method-code"
376
+ Enabled: true
377
+
378
+ Performance/OpenStruct:
379
+ Description: "Use `Struct` instead of `OpenStruct`."
380
+ Enabled: true
381
+
382
+ Performance/RangeInclude:
383
+ Description: "Use `Range#cover?` instead of `Range#include?` (or `Range#member?`)."
384
+ Reference: "https://github.com/fastruby/fast-ruby#cover-vs-include-code"
385
+ Enabled: true
386
+
387
+ Performance/RedundantBlockCall:
388
+ Description: "Use `yield` instead of `block.call`."
389
+ Reference: "https://github.com/fastruby/fast-ruby#proccall-and-block-arguments-vs-yieldcode"
390
+ Enabled: true
391
+
392
+ Performance/RedundantEqualityComparisonBlock:
393
+ Description: >-
394
+ Checks for uses `Enumerable#all?`, `Enumerable#any?`, `Enumerable#one?`,
395
+ or `Enumerable#none?` are compared with `===` or similar methods in block.
396
+ Reference: "https://github.com/rails/rails/pull/41363"
397
+ Enabled: true
398
+
399
+ Performance/RedundantMatch:
400
+ Description: >-
401
+ Use `=~` instead of `String#match` or `Regexp#match` in a context where the
402
+ returned `MatchData` is not needed.
403
+ Enabled: true
404
+
405
+ Performance/RedundantMerge:
406
+ Description: "Use Hash#[]=, rather than Hash#merge! with a single key-value pair."
407
+ Reference: "https://github.com/fastruby/fast-ruby#hashmerge-vs-hash-code"
408
+ Enabled: true
409
+ # Max number of key-value pairs to consider an offense
410
+ MaxKeyValuePairs: 2
411
+
412
+ Performance/RedundantSortBlock:
413
+ Description: "Use `sort` instead of `sort { |a, b| a <=> b }`."
414
+ Enabled: true
415
+
416
+ Performance/RedundantSplitRegexpArgument:
417
+ Description: "Identifies places where `split` argument can be replaced from a deterministic regexp to a string."
418
+ Enabled: true
419
+
420
+ Performance/RedundantStringChars:
421
+ Description: "Checks for redundant `String#chars`."
422
+ Enabled: true
423
+
424
+ Performance/RegexpMatch:
425
+ Description: >-
426
+ Use `match?` instead of `Regexp#match`, `String#match`, `Symbol#match`,
427
+ `Regexp#===`, or `=~` when `MatchData` is not used.
428
+ Reference: "https://github.com/fastruby/fast-ruby#regexp-vs-regexpmatch-vs-regexpmatch-vs-stringmatch-vs-string-vs-stringmatch-code-"
429
+ Enabled: true
430
+
431
+ Performance/ReverseEach:
432
+ Description: "Use `reverse_each` instead of `reverse.each`."
433
+ Reference: "https://github.com/fastruby/fast-ruby#enumerablereverseeach-vs-enumerablereverse_each-code"
434
+ Enabled: true
435
+
436
+ Performance/ReverseFirst:
437
+ Description: "Use `last(n).reverse` instead of `reverse.first(n)`."
438
+ Enabled: true
439
+
440
+ Performance/SelectMap:
441
+ Description: "Use `filter_map` instead of `ary.select(&:foo).map(&:bar)`."
442
+ Enabled: true
443
+
444
+ Performance/Size:
445
+ Description: >-
446
+ Use `size` instead of `count` for counting
447
+ the number of elements in `Array` and `Hash`.
448
+ Reference: "https://github.com/fastruby/fast-ruby#arraylength-vs-arraysize-vs-arraycount-code"
449
+ Enabled: true
450
+
451
+ Performance/SortReverse:
452
+ Description: "Use `sort.reverse` instead of `sort { |a, b| b <=> a }`."
453
+ Enabled: true
454
+
455
+ Performance/Squeeze:
456
+ Description: "Use `squeeze('a')` instead of `gsub(/a+/, 'a')`."
457
+ Reference: "https://github.com/fastruby/fast-ruby#remove-extra-spaces-or-other-contiguous-characters-code"
458
+ Enabled: true
459
+
460
+ Performance/StartWith:
461
+ Description: "Use `start_with?` instead of a regex match anchored to the beginning of a string."
462
+ Reference: "https://github.com/fastruby/fast-ruby#stringmatch-vs-stringmatch-vs-stringstart_withstringend_with-code-start-code-end"
463
+ # This will change to a new method call which isn't guaranteed to be on the
464
+ # object. Switching these methods has to be done with knowledge of the types
465
+ # of the variables which rubocop doesn't have.
466
+ Enabled: true
467
+ SafeMultiline: true
468
+
469
+ Performance/StringIdentifierArgument:
470
+ Description: "Use symbol identifier argument instead of string identifier argument."
471
+ Enabled: true
472
+
473
+ Performance/StringInclude:
474
+ Description: "Use `String#include?` instead of a regex match with literal-only pattern."
475
+ Enabled: true
476
+
477
+ Performance/StringReplacement:
478
+ Description: >-
479
+ Use `tr` instead of `gsub` when you are replacing the same
480
+ number of characters. Use `delete` instead of `gsub` when
481
+ you are deleting characters.
482
+ Reference: "https://github.com/fastruby/fast-ruby#stringgsub-vs-stringtr-code"
483
+ Enabled: true
484
+
485
+ Performance/Sum:
486
+ Description: "Use `sum` instead of a custom array summation."
487
+ Reference: "https://blog.bigbinary.com/2016/11/02/ruby-2-4-introduces-enumerable-sum.html"
488
+ Enabled: true
489
+
490
+ Performance/TimesMap:
491
+ Description: "Checks for .times.map calls."
492
+ Enabled: true
493
+ # See https://github.com/rubocop/rubocop/issues/4658
494
+
495
+ Performance/UnfreezeString:
496
+ Description: "Use unary plus to get an unfrozen string literal."
497
+ Enabled: true
498
+
499
+ Performance/UriDefaultParser:
500
+ Description: "Use `URI::DEFAULT_PARSER` instead of `URI::Parser.new`."
501
+ Enabled: true
data/Gemfile CHANGED
@@ -6,4 +6,4 @@ source "https://rubygems.org"
6
6
  gemspec
7
7
 
8
8
  gem "semantic", "~> 1.6"
9
- gem "xcodeproj", "~> 1.23"
9
+ gem "xcodeproj", "~> 1.24"
data/Gemfile.lock CHANGED
@@ -1,21 +1,24 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-spm_version_updates (0.1.0)
4
+ danger-spm_version_updates (0.1.1)
5
5
  danger-plugin-api (~> 1.0)
6
6
  semantic (~> 1.6)
7
- xcodeproj (~> 1.23)
7
+ xcodeproj (~> 1.24)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- CFPropertyList (3.0.6)
12
+ CFPropertyList (3.0.7)
13
+ base64
14
+ nkf
13
15
  rexml
14
- addressable (2.8.5)
16
+ addressable (2.8.6)
15
17
  public_suffix (>= 2.0.2, < 6.0)
16
18
  ast (2.4.2)
17
19
  atomos (0.1.3)
18
20
  base64 (0.2.0)
21
+ bigdecimal (3.1.7)
19
22
  claide (1.1.0)
20
23
  claide-plugins (0.9.2)
21
24
  cork
@@ -23,9 +26,10 @@ GEM
23
26
  open4 (~> 1.3)
24
27
  coderay (1.1.3)
25
28
  colored2 (3.1.2)
29
+ concurrent-ruby (1.2.3)
26
30
  cork (0.3.0)
27
31
  colored2 (~> 3.1)
28
- danger (9.4.0)
32
+ danger (9.4.3)
29
33
  claide (~> 1.0)
30
34
  claide-plugins (>= 0.9.2)
31
35
  colored2 (~> 3.1)
@@ -36,21 +40,48 @@ GEM
36
40
  kramdown (~> 2.3)
37
41
  kramdown-parser-gfm (~> 1.0)
38
42
  no_proxy_fix
39
- octokit (>= 6.0, < 8.0)
43
+ octokit (>= 4.0)
40
44
  terminal-table (>= 1, < 4)
41
45
  danger-plugin-api (1.0.0)
42
46
  danger (> 2.0)
43
- diff-lcs (1.5.0)
44
- faraday (2.7.11)
45
- base64
46
- faraday-net_http (>= 2.0, < 3.1)
47
- ruby2_keywords (>= 0.0.4)
48
- faraday-http-cache (2.5.0)
47
+ diff-lcs (1.5.1)
48
+ docile (1.4.0)
49
+ dry-configurable (1.1.0)
50
+ dry-core (~> 1.0, < 2)
51
+ zeitwerk (~> 2.6)
52
+ dry-core (1.0.1)
53
+ concurrent-ruby (~> 1.0)
54
+ zeitwerk (~> 2.6)
55
+ dry-inflector (1.0.0)
56
+ dry-initializer (3.1.1)
57
+ dry-logic (1.5.0)
58
+ concurrent-ruby (~> 1.0)
59
+ dry-core (~> 1.0, < 2)
60
+ zeitwerk (~> 2.6)
61
+ dry-schema (1.13.3)
62
+ concurrent-ruby (~> 1.0)
63
+ dry-configurable (~> 1.0, >= 1.0.1)
64
+ dry-core (~> 1.0, < 2)
65
+ dry-initializer (~> 3.0)
66
+ dry-logic (>= 1.4, < 2)
67
+ dry-types (>= 1.7, < 2)
68
+ zeitwerk (~> 2.6)
69
+ dry-types (1.7.2)
70
+ bigdecimal (~> 3.0)
71
+ concurrent-ruby (~> 1.0)
72
+ dry-core (~> 1.0)
73
+ dry-inflector (~> 1.0)
74
+ dry-logic (~> 1.4)
75
+ zeitwerk (~> 2.6)
76
+ faraday (2.9.0)
77
+ faraday-net_http (>= 2.0, < 3.2)
78
+ faraday-http-cache (2.5.1)
49
79
  faraday (>= 0.8)
50
- faraday-net_http (3.0.2)
80
+ faraday-net_http (3.1.0)
81
+ net-http
51
82
  ffi (1.16.3)
52
83
  formatador (1.1.0)
53
- git (1.18.0)
84
+ git (1.19.1)
54
85
  addressable (~> 2.8)
55
86
  rchardet (~> 1.8)
56
87
  guard (2.18.1)
@@ -67,12 +98,14 @@ GEM
67
98
  guard (~> 2.1)
68
99
  guard-compat (~> 1.1)
69
100
  rspec (>= 2.99.0, < 4.0)
70
- json (2.6.3)
101
+ guard-rubocop (1.5.0)
102
+ guard (~> 2.0)
103
+ rubocop (< 2.0)
104
+ json (2.7.1)
71
105
  kramdown (2.4.0)
72
106
  rexml
73
107
  kramdown-parser-gfm (1.1.0)
74
108
  kramdown (~> 2.0)
75
- kwalify (0.7.2)
76
109
  language_server-protocol (3.17.0.3)
77
110
  listen (3.0.7)
78
111
  rb-fsevent (>= 0.9.3)
@@ -82,22 +115,26 @@ GEM
82
115
  nanaimo (0.3.0)
83
116
  nap (1.1.0)
84
117
  nenv (0.3.0)
118
+ net-http (0.4.1)
119
+ uri
120
+ nkf (0.2.0)
85
121
  no_proxy_fix (0.1.2)
86
122
  notiffany (0.1.3)
87
123
  nenv (~> 0.1)
88
124
  shellany (~> 0.0)
89
- octokit (7.2.0)
125
+ octokit (8.1.0)
126
+ base64
90
127
  faraday (>= 1, < 3)
91
128
  sawyer (~> 0.9)
92
129
  open4 (1.3.4)
93
- parallel (1.23.0)
94
- parser (3.2.2.4)
130
+ parallel (1.24.0)
131
+ parser (3.3.0.5)
95
132
  ast (~> 2.4.1)
96
133
  racc
97
134
  pry (0.14.2)
98
135
  coderay (~> 1.1)
99
136
  method_source (~> 1.0)
100
- public_suffix (5.0.3)
137
+ public_suffix (5.0.4)
101
138
  racc (1.7.3)
102
139
  rainbow (3.1.1)
103
140
  rake (13.1.0)
@@ -105,88 +142,107 @@ GEM
105
142
  rb-inotify (0.10.1)
106
143
  ffi (~> 1.0)
107
144
  rchardet (1.8.0)
108
- reek (6.1.4)
109
- kwalify (~> 0.7.0)
110
- parser (~> 3.2.0)
145
+ reek (6.3.0)
146
+ dry-schema (~> 1.13.0)
147
+ parser (~> 3.3.0)
111
148
  rainbow (>= 2.0, < 4.0)
112
- regexp_parser (2.8.2)
149
+ rexml (~> 3.1)
150
+ regexp_parser (2.9.0)
113
151
  rexml (3.2.6)
114
- rspec (3.12.0)
115
- rspec-core (~> 3.12.0)
116
- rspec-expectations (~> 3.12.0)
117
- rspec-mocks (~> 3.12.0)
118
- rspec-core (3.12.2)
119
- rspec-support (~> 3.12.0)
120
- rspec-expectations (3.12.3)
152
+ rspec (3.13.0)
153
+ rspec-core (~> 3.13.0)
154
+ rspec-expectations (~> 3.13.0)
155
+ rspec-mocks (~> 3.13.0)
156
+ rspec-core (3.13.0)
157
+ rspec-support (~> 3.13.0)
158
+ rspec-expectations (3.13.0)
121
159
  diff-lcs (>= 1.2.0, < 2.0)
122
- rspec-support (~> 3.12.0)
123
- rspec-mocks (3.12.6)
160
+ rspec-support (~> 3.13.0)
161
+ rspec-mocks (3.13.0)
124
162
  diff-lcs (>= 1.2.0, < 2.0)
125
- rspec-support (~> 3.12.0)
126
- rspec-support (3.12.1)
127
- rubocop (1.57.2)
163
+ rspec-support (~> 3.13.0)
164
+ rspec-support (3.13.1)
165
+ rubocop (1.62.1)
128
166
  json (~> 2.3)
129
167
  language_server-protocol (>= 3.17.0)
130
168
  parallel (~> 1.10)
131
- parser (>= 3.2.2.4)
169
+ parser (>= 3.3.0.2)
132
170
  rainbow (>= 2.2.2, < 4.0)
133
171
  regexp_parser (>= 1.8, < 3.0)
134
172
  rexml (>= 3.2.5, < 4.0)
135
- rubocop-ast (>= 1.28.1, < 2.0)
173
+ rubocop-ast (>= 1.31.1, < 2.0)
136
174
  ruby-progressbar (~> 1.7)
137
175
  unicode-display_width (>= 2.4.0, < 3.0)
138
- rubocop-ast (1.30.0)
139
- parser (>= 3.2.1.0)
140
- rubocop-capybara (2.19.0)
176
+ rubocop-ast (1.31.2)
177
+ parser (>= 3.3.0.4)
178
+ rubocop-capybara (2.20.0)
141
179
  rubocop (~> 1.41)
142
- rubocop-factory_bot (2.24.0)
143
- rubocop (~> 1.33)
180
+ rubocop-factory_bot (2.25.1)
181
+ rubocop (~> 1.41)
182
+ rubocop-performance (1.20.2)
183
+ rubocop (>= 1.48.1, < 2.0)
184
+ rubocop-ast (>= 1.30.0, < 2.0)
144
185
  rubocop-rake (0.6.0)
145
186
  rubocop (~> 1.0)
146
- rubocop-rspec (2.25.0)
187
+ rubocop-rspec (2.27.1)
147
188
  rubocop (~> 1.40)
148
189
  rubocop-capybara (~> 2.17)
149
190
  rubocop-factory_bot (~> 2.22)
150
191
  ruby-progressbar (1.13.0)
151
- ruby2_keywords (0.0.5)
152
192
  sawyer (0.9.2)
153
193
  addressable (>= 2.3.5)
154
194
  faraday (>= 0.17.3, < 3)
155
195
  semantic (1.6.1)
156
196
  shellany (0.0.1)
197
+ simplecov (0.22.0)
198
+ docile (~> 1.1)
199
+ simplecov-html (~> 0.11)
200
+ simplecov_json_formatter (~> 0.1)
201
+ simplecov-cobertura (2.1.0)
202
+ rexml
203
+ simplecov (~> 0.19)
204
+ simplecov-html (0.12.3)
205
+ simplecov_json_formatter (0.1.4)
157
206
  terminal-table (3.0.2)
158
207
  unicode-display_width (>= 1.1.1, < 3)
159
208
  thor (1.3.0)
160
209
  unicode-display_width (2.5.0)
161
- xcodeproj (1.23.0)
210
+ uri (0.13.0)
211
+ xcodeproj (1.24.0)
162
212
  CFPropertyList (>= 2.3.3, < 4.0)
163
213
  atomos (~> 0.1.3)
164
214
  claide (>= 1.0.2, < 2.0)
165
215
  colored2 (~> 3.1)
166
216
  nanaimo (~> 0.3.0)
167
217
  rexml (~> 3.2.4)
168
- yard (0.9.34)
218
+ yard (0.9.36)
219
+ zeitwerk (2.6.13)
169
220
 
170
221
  PLATFORMS
171
222
  arm64-darwin-22
223
+ arm64-darwin-23
172
224
  x86_64-linux
173
225
 
174
226
  DEPENDENCIES
175
227
  bundler (~> 2.0)
176
228
  danger-spm_version_updates!
177
- guard (~> 2.14)
229
+ guard (~> 2.16)
178
230
  guard-rspec (~> 4.7)
231
+ guard-rubocop (~> 1.2)
179
232
  listen (= 3.0.7)
180
233
  pry
181
234
  rake (~> 13.0)
182
235
  reek
183
- rspec (~> 3.4)
184
- rubocop
236
+ rspec (~> 3.9)
237
+ rubocop (~> 1.62)
238
+ rubocop-performance
185
239
  rubocop-rake
186
240
  rubocop-rspec
187
241
  semantic (~> 1.6)
188
- xcodeproj (~> 1.23)
189
- yard
242
+ simplecov (~> 0.22)
243
+ simplecov-cobertura (~> 2.1)
244
+ xcodeproj (~> 1.24)
245
+ yard (~> 0.9.36)
190
246
 
191
247
  BUNDLED WITH
192
- 2.4.10
248
+ 2.5.6
data/README.md CHANGED
@@ -2,21 +2,23 @@
2
2
 
3
3
  [![CI](https://github.com/hbmartin/danger-spm_version_updates/actions/workflows/lint_and_test.yml/badge.svg)](https://github.com/hbmartin/danger-spm_version_updates/actions/workflows/lint_and_test.yml)
4
4
  [![CodeFactor](https://www.codefactor.io/repository/github/hbmartin/danger-spm_version_updates/badge/main)](https://www.codefactor.io/repository/github/hbmartin/danger-spm_version_updates/overview/main)
5
- [![Gem Version](https://badge.fury.io/rb/danger-spm_version_updates.svg)](https://badge.fury.io/rb/danger-spm_version_updates)
6
-
5
+ [![Gem Version](https://img.shields.io/gem/v/danger-spm_version_updates?color=D86149)](https://rubygems.org/gems/danger-spm_version_updates)
6
+ [![codecov](https://codecov.io/gh/hbmartin/danger-spm_version_updates/graph/badge.svg?token=eXgUoWlvP7)](https://codecov.io/gh/hbmartin/danger-spm_version_updates)
7
+ [![Documentation](https://img.shields.io/badge/Docs-3d3d41?logo=RubyGems)](https://hbmartin.github.io/danger-spm_version_updates/Danger/DangerSpmVersionUpdates.html)
8
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
9
 
8
10
  A [Danger](https://danger.systems/ruby/) plugin to detect if there are any updates to your Swift Package Manager dependencies.
9
11
 
10
- It is lightweight and does not require swift to be installed on the CI where it is run.
12
+ It's fast, lightweight, and does not require swift to be installed on the CI where it is run.
11
13
 
14
+ Note that version 0.1.0 is the last version to support Ruby 2.7
12
15
 
13
16
  ## Installation
14
17
 
15
- $ gem install danger-spm_version_updates
18
+ `gem install danger-spm_version_updates`
16
19
 
17
20
  or add the following to your Gemfile:
18
21
 
19
-
20
22
  ```ruby
21
23
  gem "danger-spm_version_updates"
22
24
  ```
@@ -53,7 +55,33 @@ spm_version_updates.ignore_repos = ["https://github.com/pointfreeco/swift-snapsh
53
55
  4. Use `bundle exec guard` to automatically have tests run as you make changes.
54
56
  5. Make your changes.
55
57
 
56
-
57
58
  ## Authors
58
59
 
59
- * [Harold Martin](https://www.linkedin.com/in/harold-martin-98526971/) - harold.martin at gmail
60
+ - [Harold Martin](https://www.linkedin.com/in/harold-martin-98526971/) - harold.martin at gmail
61
+
62
+ ## Legal
63
+
64
+ Swift and the Swift logo are trademarks of Apple Inc.
65
+
66
+ Copyright (c) 2023 Harold Martin <harold.martin@gmail.com>
67
+
68
+ MIT License
69
+
70
+ Permission is hereby granted, free of charge, to any person obtaining
71
+ a copy of this software and associated documentation files (the
72
+ "Software"), to deal in the Software without restriction, including
73
+ without limitation the rights to use, copy, modify, merge, publish,
74
+ distribute, sublicense, and/or sell copies of the Software, and to
75
+ permit persons to whom the Software is furnished to do so, subject to
76
+ the following conditions:
77
+
78
+ The above copyright notice and this permission notice shall be
79
+ included in all copies or substantial portions of the Software.
80
+
81
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
82
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
83
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
84
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
85
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
86
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
87
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.