ws-style 6.9.8 → 6.11.1

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: 57ee51060420d7891b848480b1bcf7629ea8318f2012cd408d27ea9bc6482035
4
- data.tar.gz: fff2966b667a3b06bb145c1352aa903b0bca62d470cf5eb9036cfa726bd409c7
3
+ metadata.gz: 6476ad24069f3a109af754476389fb4e5935becf55638d59a0aeb50f2d2c4d70
4
+ data.tar.gz: af43b03439e96d261d34151952d1246913fb79e87307529cf958b3b0e06cc7d5
5
5
  SHA512:
6
- metadata.gz: b5bd025805a493180a42df075c2848c6693e556e7f5df87da51e77f3627c704e1293fa9ff2f40a49b5be71107a493d290e2fc68daaca56bdfe6cc9fa402cefdb
7
- data.tar.gz: 3ae1061b77775dd5f07b3c5710fe97950097aa828740ab8a8af837eabc74ea787d1e0e8a6d2045ada6baefdf5646f42d7dbf3d06571bf249bf6cd084b742b56c
6
+ metadata.gz: 35091b9338557f5c13ec7d9835557e36dd10793e3c4e4119bcfc2eeb7ea1e8779db64b3e9d004c14ee445726063cd14632e1cac7dd606b89e7261ad058f68ab6
7
+ data.tar.gz: ee43282a64bfbbdf41b91ee67ac13063a07b0a71e0d997ebcbd411a2f8d2333a6c3ec885d714b6fda3260fa0ed561c027d9ad4fa8140cb3dd3ef573e9b990d7d
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.2
1
+ 2.7.4
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.1 - 2021-11-08
8
+ ### Changed
9
+ - Upgrade dependencies
10
+
11
+ ## 6.11.0 - 2021-10-21
12
+ ### Changed
13
+ - Upgrade rubocop to 1.22.3
14
+ - Upgrade rubocop-performance to 1.12.0
15
+ - Upgrade rubocop-rails to 2.12.4
16
+
17
+ ## 6.10.1 - 2021-10-21
18
+ ### Changed
19
+ - Removed rules that conflict with auto-correcting line-length
20
+ - Enable `Layout/ArgumentAlignment`
21
+ - For `Layout/HashAlignment`, change `EnforcedLastArgumentHashStyle` to `always_inspect`
22
+
23
+ ## 6.10.0 - 2021-10-13
24
+ ### Changed
25
+ - Upgrade rubocop to 1.22.1
26
+ - Upgrade rubocop-rspec to 2.5.0
27
+ - Upgrade rubocop-rails to 2.12.3
28
+
7
29
  ## 6.9.8 - 2021-09-15
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.8)
4
+ ws-style (6.11.1)
5
5
  rubocop (>= 1.12.1)
6
6
  rubocop-performance (>= 1.10.2)
7
7
  rubocop-rails (>= 2.9.1)
@@ -25,9 +25,9 @@ GEM
25
25
  diff-lcs (1.4.4)
26
26
  git (1.9.1)
27
27
  rchardet (~> 1.8)
28
- i18n (1.8.10)
28
+ i18n (1.8.11)
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)
@@ -53,28 +53,27 @@ GEM
53
53
  rspec-mocks (3.10.2)
54
54
  diff-lcs (>= 1.2.0, < 2.0)
55
55
  rspec-support (~> 3.10.0)
56
- rspec-support (3.10.2)
57
- rubocop (1.21.0)
56
+ rspec-support (3.10.3)
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.13.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.12.2)
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.6.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)
@@ -82,7 +81,7 @@ GEM
82
81
  tzinfo (2.0.4)
83
82
  concurrent-ruby (~> 1.0)
84
83
  unicode-display_width (2.1.0)
85
- zeitwerk (2.4.2)
84
+ zeitwerk (2.5.1)
86
85
 
87
86
  PLATFORMS
88
87
  ruby
@@ -97,4 +96,4 @@ DEPENDENCIES
97
96
  ws-style!
98
97
 
99
98
  BUNDLED WITH
100
- 2.2.16
99
+ 2.2.30
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.8'.freeze
3
+ VERSION = '6.11.1'.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.8
4
+ version: 6.11.1
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-15 00:00:00.000000000 Z
11
+ date: 2021-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  - !ruby/object:Gem::Version
217
217
  version: '0'
218
218
  requirements: []
219
- rubygems_version: 3.1.4
219
+ rubygems_version: 3.1.6
220
220
  signing_key:
221
221
  specification_version: 4
222
222
  summary: Shared rubocop config