danger-spm_version_updates 0.1.0 → 0.1.2

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:
@@ -15,6 +18,13 @@ Style/MultilineIfModifier:
15
18
  Style/TrailingCommaInArrayLiteral:
16
19
  EnforcedStyleForMultiline: consistent_comma
17
20
 
21
+ Style/StderrPuts:
22
+ Enabled: false
23
+
24
+ Style/RegexpLiteral:
25
+ Enabled: true
26
+ EnforcedStyle: slashes
27
+
18
28
  RSpec/ExampleLength:
19
29
  Enabled: false
20
30
 
@@ -26,6 +36,9 @@ Style/BlockDelimiters:
26
36
  EnforcedStyle: always_braces
27
37
  Exclude:
28
38
  - spec/*.rb
39
+ - Guardfile
40
+ - Rakefile
41
+ - danger-*.gemspec
29
42
 
30
43
  Metrics/ModuleLength:
31
44
  Enabled: true
@@ -93,7 +106,7 @@ Style/ClassCheck:
93
106
  # specs sometimes have useless assignments, which is fine
94
107
  Lint/UselessAssignment:
95
108
  Exclude:
96
- - '**/spec/**/*'
109
+ - "**/spec/**/*"
97
110
 
98
111
  Layout/FirstHashElementIndentation:
99
112
  Enabled: true
@@ -202,7 +215,7 @@ Style/SpecialGlobalVars:
202
215
 
203
216
  Style/PercentLiteralDelimiters:
204
217
  PreferredDelimiters:
205
- "%": ()
218
+ "%": ()
206
219
  "%i": ()
207
220
  "%q": ()
208
221
  "%Q": ()
@@ -214,3 +227,282 @@ Style/PercentLiteralDelimiters:
214
227
 
215
228
  Security/YAMLLoad:
216
229
  Enabled: false
230
+
231
+ Gemspec/DevelopmentDependencies:
232
+ Enabled: false
233
+
234
+ # This is the default configuration file.
235
+
236
+ Performance:
237
+ Enabled: true
238
+
239
+ Performance/AncestorsInclude:
240
+ Description: "Use `A <= B` instead of `A.ancestors.include?(B)`."
241
+ Enabled: true
242
+
243
+ Performance/ArraySemiInfiniteRangeSlice:
244
+ Description: "Identifies places where slicing arrays with semi-infinite ranges can be replaced by `Array#take` and `Array#drop`."
245
+ # This cop was created due to a mistake in microbenchmark.
246
+ # Refer https://github.com/rubocop/rubocop-performance/pull/175#issuecomment-731892717
247
+ Enabled: true
248
+
249
+ Performance/BigDecimalWithNumericArgument:
250
+ Description: "Convert numeric literal to string and pass it to `BigDecimal`."
251
+ Enabled: true
252
+
253
+ Performance/BindCall:
254
+ Description: "Use `bind_call(obj, args, ...)` instead of `bind(obj).call(args, ...)`."
255
+ Enabled: true
256
+
257
+ Performance/BlockGivenWithExplicitBlock:
258
+ Description: "Check block argument explicitly instead of using `block_given?`."
259
+ Enabled: true
260
+
261
+ Performance/Caller:
262
+ Description: >-
263
+ Use `caller(n..n)` instead of `caller`.
264
+ Enabled: true
265
+
266
+ Performance/CaseWhenSplat:
267
+ Description: >-
268
+ Reordering `when` conditions with a splat to the end
269
+ of the `when` branches can improve performance.
270
+ Enabled: true
271
+
272
+ Performance/Casecmp:
273
+ Description: >-
274
+ Use `casecmp` rather than `downcase ==`, `upcase ==`, `== downcase`, or `== upcase`..
275
+ Reference: "https://github.com/fastruby/fast-ruby#stringcasecmp-vs--stringcasecmp-vs-stringdowncase---code"
276
+ Enabled: true
277
+
278
+ Performance/ChainArrayAllocation:
279
+ Description: >-
280
+ Instead of chaining array methods that allocate new arrays, mutate an
281
+ existing array.
282
+ Reference: "https://twitter.com/schneems/status/1034123879978029057"
283
+ Enabled: true
284
+ Exclude:
285
+ - spec/*.rb
286
+
287
+ Performance/CollectionLiteralInLoop:
288
+ Description: "Extract Array and Hash literals outside of loops into local variables or constants."
289
+ Enabled: true
290
+
291
+ Performance/CompareWithBlock:
292
+ Description: "Use `sort_by(&:foo)` instead of `sort { |a, b| a.foo <=> b.foo }`."
293
+ Enabled: true
294
+
295
+ Performance/ConcurrentMonotonicTime:
296
+ Description: "Use `Process.clock_gettime(Process::CLOCK_MONOTONIC)` instead of `Concurrent.monotonic_time`."
297
+ Reference: "https://github.com/rails/rails/pull/43502"
298
+ Enabled: true
299
+
300
+ Performance/ConstantRegexp:
301
+ Description: "Finds regular expressions with dynamic components that are all constants."
302
+ Enabled: true
303
+
304
+ Performance/Count:
305
+ Description: >-
306
+ Use `count` instead of `{select,find_all,filter,reject}...{size,count,length}`.
307
+ # This cop has known compatibility issues with `ActiveRecord` and other
308
+ # frameworks. ActiveRecord's `count` ignores the block that is passed to it.
309
+ # For more information, see the documentation in the cop itself.
310
+ Enabled: true
311
+
312
+ Performance/DeletePrefix:
313
+ Description: "Use `delete_prefix` instead of `gsub`."
314
+ Enabled: true
315
+
316
+ Performance/DeleteSuffix:
317
+ Description: "Use `delete_suffix` instead of `gsub`."
318
+ Enabled: true
319
+
320
+ Performance/Detect:
321
+ Description: >-
322
+ Use `detect` instead of `select.first`, `find_all.first`, `filter.first`,
323
+ `select.last`, `find_all.last`, and `filter.last`.
324
+ Reference: "https://github.com/fastruby/fast-ruby#enumerabledetect-vs-enumerableselectfirst-code"
325
+ # This cop has known compatibility issues with `ActiveRecord` and other
326
+ # frameworks. `ActiveRecord` does not implement a `detect` method and `find`
327
+ # has its own meaning. Correcting `ActiveRecord` methods with this cop
328
+ # should be considered unsafe.
329
+ Enabled: true
330
+
331
+ Performance/DoubleStartEndWith:
332
+ Description: >-
333
+ Use `str.{start,end}_with?(x, ..., y, ...)`
334
+ instead of `str.{start,end}_with?(x, ...) || str.{start,end}_with?(y, ...)`.
335
+ Enabled: true
336
+
337
+ Performance/EndWith:
338
+ Description: "Use `end_with?` instead of a regex match anchored to the end of a string."
339
+ Reference: "https://github.com/fastruby/fast-ruby#stringmatch-vs-stringmatch-vs-stringstart_withstringend_with-code-start-code-end"
340
+ # This will change to a new method call which isn't guaranteed to be on the
341
+ # object. Switching these methods has to be done with knowledge of the types
342
+ # of the variables which rubocop doesn't have.
343
+ Enabled: true
344
+
345
+ Performance/FixedSize:
346
+ Description: "Do not compute the size of statically sized objects except in constants."
347
+ Enabled: true
348
+
349
+ Performance/FlatMap:
350
+ Description: >-
351
+ Use `Enumerable#flat_map`
352
+ instead of `Enumerable#map...Array#flatten(1)`
353
+ or `Enumerable#collect..Array#flatten(1)`.
354
+ Reference: "https://github.com/fastruby/fast-ruby#enumerablemaparrayflatten-vs-enumerableflat_map-code"
355
+ Enabled: true
356
+ EnabledForFlattenWithoutParams: false
357
+ # If enabled, this cop will warn about usages of
358
+ # `flatten` being called without any parameters.
359
+ # This can be dangerous since `flat_map` will only flatten 1 level, and
360
+ # `flatten` without any parameters can flatten multiple levels.
361
+
362
+ Performance/InefficientHashSearch:
363
+ Description: "Use `key?` or `value?` instead of `keys.include?` or `values.include?`."
364
+ Reference: "https://github.com/fastruby/fast-ruby#hashkey-instead-of-hashkeysinclude-code"
365
+ Enabled: true
366
+
367
+ Performance/IoReadlines:
368
+ Description: "Use `IO.each_line` (`IO#each_line`) instead of `IO.readlines` (`IO#readlines`)."
369
+ Reference: "https://docs.gitlab.com/ee/development/performance.html#reading-from-files-and-other-data-sources"
370
+ Enabled: true
371
+
372
+ Performance/MapCompact:
373
+ Description: "Use `filter_map` instead of `collection.map(&:do_something).compact`."
374
+ Enabled: true
375
+
376
+ Performance/MapMethodChain:
377
+ Description: "Checks if the `map` method is used in a chain."
378
+ Enabled: true
379
+
380
+ Performance/MethodObjectAsBlock:
381
+ Description: "Use block explicitly instead of block-passing a method object."
382
+ Reference: "https://github.com/fastruby/fast-ruby#normal-way-to-apply-method-vs-method-code"
383
+ Enabled: true
384
+
385
+ Performance/OpenStruct:
386
+ Description: "Use `Struct` instead of `OpenStruct`."
387
+ Enabled: true
388
+
389
+ Performance/RangeInclude:
390
+ Description: "Use `Range#cover?` instead of `Range#include?` (or `Range#member?`)."
391
+ Reference: "https://github.com/fastruby/fast-ruby#cover-vs-include-code"
392
+ Enabled: true
393
+
394
+ Performance/RedundantBlockCall:
395
+ Description: "Use `yield` instead of `block.call`."
396
+ Reference: "https://github.com/fastruby/fast-ruby#proccall-and-block-arguments-vs-yieldcode"
397
+ Enabled: true
398
+
399
+ Performance/RedundantEqualityComparisonBlock:
400
+ Description: >-
401
+ Checks for uses `Enumerable#all?`, `Enumerable#any?`, `Enumerable#one?`,
402
+ or `Enumerable#none?` are compared with `===` or similar methods in block.
403
+ Reference: "https://github.com/rails/rails/pull/41363"
404
+ Enabled: true
405
+
406
+ Performance/RedundantMatch:
407
+ Description: >-
408
+ Use `=~` instead of `String#match` or `Regexp#match` in a context where the
409
+ returned `MatchData` is not needed.
410
+ Enabled: true
411
+
412
+ Performance/RedundantMerge:
413
+ Description: "Use Hash#[]=, rather than Hash#merge! with a single key-value pair."
414
+ Reference: "https://github.com/fastruby/fast-ruby#hashmerge-vs-hash-code"
415
+ Enabled: true
416
+ # Max number of key-value pairs to consider an offense
417
+ MaxKeyValuePairs: 2
418
+
419
+ Performance/RedundantSortBlock:
420
+ Description: "Use `sort` instead of `sort { |a, b| a <=> b }`."
421
+ Enabled: true
422
+
423
+ Performance/RedundantSplitRegexpArgument:
424
+ Description: "Identifies places where `split` argument can be replaced from a deterministic regexp to a string."
425
+ Enabled: true
426
+
427
+ Performance/RedundantStringChars:
428
+ Description: "Checks for redundant `String#chars`."
429
+ Enabled: true
430
+
431
+ Performance/RegexpMatch:
432
+ Description: >-
433
+ Use `match?` instead of `Regexp#match`, `String#match`, `Symbol#match`,
434
+ `Regexp#===`, or `=~` when `MatchData` is not used.
435
+ Reference: "https://github.com/fastruby/fast-ruby#regexp-vs-regexpmatch-vs-regexpmatch-vs-stringmatch-vs-string-vs-stringmatch-code-"
436
+ Enabled: true
437
+
438
+ Performance/ReverseEach:
439
+ Description: "Use `reverse_each` instead of `reverse.each`."
440
+ Reference: "https://github.com/fastruby/fast-ruby#enumerablereverseeach-vs-enumerablereverse_each-code"
441
+ Enabled: true
442
+
443
+ Performance/ReverseFirst:
444
+ Description: "Use `last(n).reverse` instead of `reverse.first(n)`."
445
+ Enabled: true
446
+
447
+ Performance/SelectMap:
448
+ Description: "Use `filter_map` instead of `ary.select(&:foo).map(&:bar)`."
449
+ Enabled: true
450
+
451
+ Performance/Size:
452
+ Description: >-
453
+ Use `size` instead of `count` for counting
454
+ the number of elements in `Array` and `Hash`.
455
+ Reference: "https://github.com/fastruby/fast-ruby#arraylength-vs-arraysize-vs-arraycount-code"
456
+ Enabled: true
457
+
458
+ Performance/SortReverse:
459
+ Description: "Use `sort.reverse` instead of `sort { |a, b| b <=> a }`."
460
+ Enabled: true
461
+
462
+ Performance/Squeeze:
463
+ Description: "Use `squeeze('a')` instead of `gsub(/a+/, 'a')`."
464
+ Reference: "https://github.com/fastruby/fast-ruby#remove-extra-spaces-or-other-contiguous-characters-code"
465
+ Enabled: true
466
+
467
+ Performance/StartWith:
468
+ Description: "Use `start_with?` instead of a regex match anchored to the beginning of a string."
469
+ Reference: "https://github.com/fastruby/fast-ruby#stringmatch-vs-stringmatch-vs-stringstart_withstringend_with-code-start-code-end"
470
+ # This will change to a new method call which isn't guaranteed to be on the
471
+ # object. Switching these methods has to be done with knowledge of the types
472
+ # of the variables which rubocop doesn't have.
473
+ Enabled: true
474
+ SafeMultiline: true
475
+
476
+ Performance/StringIdentifierArgument:
477
+ Description: "Use symbol identifier argument instead of string identifier argument."
478
+ Enabled: true
479
+
480
+ Performance/StringInclude:
481
+ Description: "Use `String#include?` instead of a regex match with literal-only pattern."
482
+ Enabled: true
483
+
484
+ Performance/StringReplacement:
485
+ Description: >-
486
+ Use `tr` instead of `gsub` when you are replacing the same
487
+ number of characters. Use `delete` instead of `gsub` when
488
+ you are deleting characters.
489
+ Reference: "https://github.com/fastruby/fast-ruby#stringgsub-vs-stringtr-code"
490
+ Enabled: true
491
+
492
+ Performance/Sum:
493
+ Description: "Use `sum` instead of a custom array summation."
494
+ Reference: "https://blog.bigbinary.com/2016/11/02/ruby-2-4-introduces-enumerable-sum.html"
495
+ Enabled: true
496
+
497
+ Performance/TimesMap:
498
+ Description: "Checks for .times.map calls."
499
+ Enabled: true
500
+ # See https://github.com/rubocop/rubocop/issues/4658
501
+
502
+ Performance/UnfreezeString:
503
+ Description: "Use unary plus to get an unfrozen string literal."
504
+ Enabled: true
505
+
506
+ Performance/UriDefaultParser:
507
+ Description: "Use `URI::DEFAULT_PARSER` instead of `URI::Parser.new`."
508
+ 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.2)
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,25 @@
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
+ ```sh
19
+ gem install danger-spm_version_updates
20
+ ```
16
21
 
17
22
  or add the following to your Gemfile:
18
23
 
19
-
20
24
  ```ruby
21
25
  gem "danger-spm_version_updates"
22
26
  ```
@@ -53,7 +57,33 @@ spm_version_updates.ignore_repos = ["https://github.com/pointfreeco/swift-snapsh
53
57
  4. Use `bundle exec guard` to automatically have tests run as you make changes.
54
58
  5. Make your changes.
55
59
 
56
-
57
60
  ## Authors
58
61
 
59
- * [Harold Martin](https://www.linkedin.com/in/harold-martin-98526971/) - harold.martin at gmail
62
+ - [Harold Martin](https://www.linkedin.com/in/harold-martin-98526971/) - harold.martin at gmail
63
+
64
+ ## Legal
65
+
66
+ Swift and the Swift logo are trademarks of Apple Inc.
67
+
68
+ Copyright (c) 2023 Harold Martin
69
+
70
+ MIT License
71
+
72
+ Permission is hereby granted, free of charge, to any person obtaining
73
+ a copy of this software and associated documentation files (the
74
+ "Software"), to deal in the Software without restriction, including
75
+ without limitation the rights to use, copy, modify, merge, publish,
76
+ distribute, sublicense, and/or sell copies of the Software, and to
77
+ permit persons to whom the Software is furnished to do so, subject to
78
+ the following conditions:
79
+
80
+ The above copyright notice and this permission notice shall be
81
+ included in all copies or substantial portions of the Software.
82
+
83
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
84
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
85
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
86
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
87
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
88
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
89
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.