ws-style 6.9.7 → 6.11.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: 5c6acc49297e000711b081314a41e596c6aa8ed66c90b420511bc6e40bf65768
4
- data.tar.gz: 57da6c0a16591c750c2e28f8f43ce3301aefd2567470be417d533d6fc267ee18
3
+ metadata.gz: 62343d4e98841d8bd2f63929ccbbba4ccc0bfb15bd5b7f468ab1b6be8405d9ac
4
+ data.tar.gz: 3efa670e5f9f7188993bfcfbc06c8ba71846b0ddb9ea0e05d03b49e39e658524
5
5
  SHA512:
6
- metadata.gz: 36bdf57269f16499d4eec8a757f1d654edac2cd772ec19d1f72f267b1fa388a1377994d2641a3eb120cea3655ee1c29237ad23a46a07cecab70ae339aeb4cf6f
7
- data.tar.gz: a37f353a545470c5861a529a96b7e67129a5db3b8cc5c5f418c70a01017fe6623d39c7975dabcd167b855ee36b1fabe8b481eaf028d985cce7161c7202fe5efe
6
+ metadata.gz: fe7b7744347c350ac74b19e3f82266ce05849932912cae42f9d903a63bf0ab6f7c76de24c85bb95fb366b63e06e9add2210b6906f33753042deb970c5a7523bf
7
+ data.tar.gz: 1140579934f26721b60c1b1d527f8ba262d692e7ae350cc88a1c21cb5025f89871ee13e7932ef0a8acea7ac0cb0f7b26bd67c8a7e0787aac1b75bd271a4fb336
data/CHANGELOG.md CHANGED
@@ -4,6 +4,28 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## 6.11.0 - 2021-10-21
8
+ ### Changed
9
+ - Upgrade rubocop to 1.22.3
10
+ - Upgrade rubocop-performance to 1.12.0
11
+ - Upgrade rubocop-rails to 2.12.4
12
+
13
+ ## 6.10.1 - 2021-10-21
14
+ ### Changed
15
+ - Removed rules that conflict with auto-correcting line-length
16
+ - Enable `Layout/ArgumentAlignment`
17
+ - For `Layout/HashAlignment`, change `EnforcedLastArgumentHashStyle` to `always_inspect`
18
+
19
+ ## 6.10.0 - 2021-10-13
20
+ ### Changed
21
+ - Upgrade rubocop to 1.22.1
22
+ - Upgrade rubocop-rspec to 2.5.0
23
+ - Upgrade rubocop-rails to 2.12.3
24
+
25
+ ## 6.9.8 - 2021-09-15
26
+ ### Changed
27
+ - Updated dependencies
28
+
7
29
  ## 6.9.7 - 2021-09-07
8
30
  ### Changed
9
31
  - Updated dependencies
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ws-style (6.9.7)
4
+ ws-style (6.11.0)
5
5
  rubocop (>= 1.12.1)
6
6
  rubocop-performance (>= 1.10.2)
7
7
  rubocop-rails (>= 2.9.1)
@@ -27,12 +27,12 @@ GEM
27
27
  rchardet (~> 1.8)
28
28
  i18n (1.8.10)
29
29
  concurrent-ruby (~> 1.0)
30
- json (2.5.1)
30
+ json (2.6.1)
31
31
  keepachangelog (0.6.1)
32
32
  json (~> 2.1)
33
33
  thor (~> 0.20)
34
34
  minitest (5.14.4)
35
- parallel (1.20.1)
35
+ parallel (1.21.0)
36
36
  parser (3.0.2.0)
37
37
  ast (~> 2.4.1)
38
38
  rack (2.2.3)
@@ -54,35 +54,34 @@ GEM
54
54
  diff-lcs (>= 1.2.0, < 2.0)
55
55
  rspec-support (~> 3.10.0)
56
56
  rspec-support (3.10.2)
57
- rubocop (1.20.0)
57
+ rubocop (1.22.3)
58
58
  parallel (~> 1.10)
59
59
  parser (>= 3.0.0.0)
60
60
  rainbow (>= 2.2.2, < 4.0)
61
61
  regexp_parser (>= 1.8, < 3.0)
62
62
  rexml
63
- rubocop-ast (>= 1.9.1, < 2.0)
63
+ rubocop-ast (>= 1.12.0, < 2.0)
64
64
  ruby-progressbar (~> 1.7)
65
65
  unicode-display_width (>= 1.4.0, < 3.0)
66
- rubocop-ast (1.11.0)
66
+ rubocop-ast (1.12.0)
67
67
  parser (>= 3.0.1.1)
68
- rubocop-performance (1.11.5)
68
+ rubocop-performance (1.12.0)
69
69
  rubocop (>= 1.7.0, < 2.0)
70
70
  rubocop-ast (>= 0.4.0)
71
- rubocop-rails (2.11.3)
71
+ rubocop-rails (2.12.4)
72
72
  activesupport (>= 4.2.0)
73
73
  rack (>= 1.1)
74
74
  rubocop (>= 1.7.0, < 2.0)
75
- rubocop-rspec (2.4.0)
76
- rubocop (~> 1.0)
77
- rubocop-ast (>= 1.1.0)
75
+ rubocop-rspec (2.5.0)
76
+ rubocop (~> 1.19)
78
77
  rubocop-vendor (0.6.1)
79
78
  rubocop (>= 0.53.0)
80
79
  ruby-progressbar (1.11.0)
81
80
  thor (0.20.3)
82
81
  tzinfo (2.0.4)
83
82
  concurrent-ruby (~> 1.0)
84
- unicode-display_width (2.0.0)
85
- zeitwerk (2.4.2)
83
+ unicode-display_width (2.1.0)
84
+ zeitwerk (2.5.1)
86
85
 
87
86
  PLATFORMS
88
87
  ruby
data/Rakefile CHANGED
@@ -15,13 +15,14 @@ task :election do
15
15
  configuration = RuboCop::ConfigLoader.load_file(configuration_path)
16
16
  RuboCop::ConfigLoader.default_configuration.pending_cops.each do |pending_cop|
17
17
  base_urls = {
18
- 'layout' => 'https://docs.rubocop.org/rubocop/cops_layout.html#layout',
19
18
  'gemspec' => 'https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspec',
19
+ 'layout' => 'https://docs.rubocop.org/rubocop/cops_layout.html#layout',
20
20
  'lint' => 'https://docs.rubocop.org/rubocop/cops_lint.html#lint',
21
- 'style' => 'https://docs.rubocop.org/rubocop/cops_style.html#style',
22
21
  'performance' => 'https://docs.rubocop.org/rubocop-performance/cops_performance.html#performance',
23
22
  'rails' => 'https://docs.rubocop.org/rubocop-rails/cops_rails.html#rails',
24
23
  'rspec' => 'https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspec',
24
+ 'security' => 'https://docs.rubocop.org/rubocop/cops_security.html#security',
25
+ 'style' => 'https://docs.rubocop.org/rubocop/cops_style.html#style',
25
26
  }
26
27
  next if configuration.key?(pending_cop.name)
27
28
 
data/core.yml CHANGED
@@ -27,15 +27,9 @@ AllCops:
27
27
  - "vendor/**/*"
28
28
  SuggestExtensions: false
29
29
 
30
- Layout/HashAlignment:
31
- EnforcedLastArgumentHashStyle: ignore_implicit
32
-
33
30
  Layout/ParameterAlignment:
34
31
  Enabled: false
35
32
 
36
- Layout/ArgumentAlignment:
37
- Enabled: false
38
-
39
33
  Lint/AmbiguousBlockAssociation:
40
34
  Exclude:
41
35
  - "spec/**/*"
@@ -467,3 +461,69 @@ Performance/RedundantSplitRegexpArgument:
467
461
  # rubocop 1.12.0
468
462
  Style/StringChars:
469
463
  Enabled: True
464
+
465
+ # rubocop-performance 1.11
466
+ Performance/MapCompact:
467
+ Enabled: True
468
+
469
+ # rubocop 1.16
470
+ Lint/EmptyInPattern:
471
+ Enabled: True
472
+
473
+ Style/InPatternThen:
474
+ Enabled: True
475
+
476
+ Style/MultilineInPatternThen:
477
+ Enabled: True
478
+
479
+ Style/QuotedSymbols:
480
+ Enabled: True
481
+
482
+ # rubocop 1.18
483
+ Layout/LineEndStringConcatenationIndentation:
484
+ Enabled: True
485
+
486
+ # rubocop 1.19
487
+ Lint/AmbiguousRange:
488
+ Enabled: True
489
+
490
+ Style/RedundantSelfAssignmentBranch:
491
+ Enabled: True
492
+
493
+ # rubocop 1.21
494
+ Lint/AmbiguousOperatorPrecedence:
495
+ Enabled: True
496
+
497
+ Lint/IncompatibleIoSelectWithFiberScheduler:
498
+ Enabled: True
499
+
500
+ # rubocop 1.22
501
+ Lint/RequireRelativeSelfPath:
502
+ Enabled: True
503
+
504
+ Security/IoMethods:
505
+ Enabled: True
506
+
507
+ Style/NumberedParameters:
508
+ Enabled: True
509
+
510
+ Style/NumberedParametersLimit:
511
+ Enabled: True
512
+
513
+ Style/SelectByRegexp:
514
+ Enabled: True
515
+
516
+ # rubocop-rspec 2.4
517
+ RSpec/IdenticalEqualityAssertion:
518
+ Enabled: True
519
+
520
+ # rubocop-rspec 2.5
521
+ RSpec/ExcessiveDocstringSpacing:
522
+ Enabled: True
523
+
524
+ RSpec/SubjectDeclaration:
525
+ Enabled: True
526
+
527
+ # rubocop-performance 1.12
528
+ Performance/ConcurrentMonotonicTime:
529
+ Enabled: True
@@ -1,5 +1,5 @@
1
1
  module Ws
2
2
  module Style
3
- VERSION = '6.9.7'.freeze
3
+ VERSION = '6.11.0'.freeze
4
4
  end
5
5
  end
data/rails.yml CHANGED
@@ -66,3 +66,31 @@ Rails/AttributeDefaultBlockValue:
66
66
 
67
67
  Rails/WhereEquals:
68
68
  Enabled: True
69
+
70
+ # rubocop-rails 2.10
71
+ Rails/TimeZoneAssignment:
72
+ Enabled: True
73
+
74
+ # rubocop-rails 2.11
75
+ Rails/AddColumnIndex:
76
+ Enabled: True
77
+
78
+ Rails/EagerEvaluationLogMessage:
79
+ Enabled: True
80
+
81
+ Rails/ExpandedDateRange:
82
+ Enabled: True
83
+
84
+ Rails/I18nLocaleAssignment:
85
+ Enabled: True
86
+
87
+ Rails/UnusedIgnoredColumns:
88
+ Enabled: True
89
+
90
+ # rubocop-rails 2.12
91
+ Rails/RedundantTravelBack:
92
+ Enabled: True
93
+
94
+ # rubocop-rspec 2.4
95
+ RSpec/Rails/AvoidSetupHook:
96
+ Enabled: True
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ws-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.9.7
4
+ version: 6.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Graham
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-07 00:00:00.000000000 Z
11
+ date: 2021-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop