ws-style 6.9.6 → 6.10.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12471c38660421e9b8fe704045b4f863859f74a3956b622355dd09b331be6018
4
- data.tar.gz: ba4792b51f1e8e5da2de919cd7a86115a1e2035b2573d829a266d8ea13302577
3
+ metadata.gz: 5e96e3715fb367393137d10816a87b455510f7f4e16250f0d663030c5dcbcc18
4
+ data.tar.gz: 11a2589635b1cbfe8bc3a97f5c2747b0bc27264eb409132a59d747eed65c7b56
5
5
  SHA512:
6
- metadata.gz: 569cf196bfbf09048ac81cb254ebdaf822a80ff88eaa7913383564662ccc7b17ff2bcb9406c614626b54ba832468410335c0d0120f6f54dd4ee7124872e58b29
7
- data.tar.gz: a9b281ab6e70b8a16de6c63e317bb25ee4a69c8d032c73ffcc72604182e870e57558c3254ef964e8026fc491576668c5e2664be3898f410511df5f10b9fe259f
6
+ metadata.gz: 0baf801c463ec9b39521ff845be2f82863fdc8f2f2736851ebe7834ca06dcaa7ea50a4a4543cc9e61e4cfbe713335b4b1be9f9b0b1aafc24fc06f750e82529e9
7
+ data.tar.gz: 23097f74e1728177d2feec582136bc701a6e9924769f5b6a206c52a7934816945c10b2afe41bcc019b7f4aa0931acc98ffbbcc87b94e937ec25aa8484080cd56
data/CHANGELOG.md CHANGED
@@ -4,6 +4,26 @@ 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.10.1 - 2021-10-21
8
+ ### Changed
9
+ - Removed rules that conflict with auto-correcting line-length
10
+ - Enable `Layout/ArgumentAlignment`
11
+ - For `Layout/HashAlignment`, change `EnforcedLastArgumentHashStyle` to `always_inspect`
12
+
13
+ ## 6.10.0 - 2021-10-13
14
+ ### Changed
15
+ - Upgrade rubocop to 1.22.1
16
+ - Upgrade rubocop-rspec to 2.5.0
17
+ - Upgrade rubocop-rails to 2.12.3
18
+
19
+ ## 6.9.8 - 2021-09-15
20
+ ### Changed
21
+ - Updated dependencies
22
+
23
+ ## 6.9.7 - 2021-09-07
24
+ ### Changed
25
+ - Updated dependencies
26
+
7
27
  ## 6.9.6 - 2021-08-23
8
28
  ### Changed
9
29
  - Upgraded rubocop to 1.19.1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ws-style (6.9.6)
4
+ ws-style (6.10.1)
5
5
  rubocop (>= 1.12.1)
6
6
  rubocop-performance (>= 1.10.2)
7
7
  rubocop-rails (>= 2.9.1)
@@ -32,7 +32,7 @@ GEM
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,34 +54,33 @@ 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.19.1)
57
+ rubocop (1.22.1)
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.10.0)
66
+ rubocop-ast (1.12.0)
67
67
  parser (>= 3.0.1.1)
68
68
  rubocop-performance (1.11.5)
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.3)
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)
83
+ unicode-display_width (2.1.0)
85
84
  zeitwerk (2.4.2)
86
85
 
87
86
  PLATFORMS
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,65 @@ 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
@@ -1,5 +1,5 @@
1
1
  module Ws
2
2
  module Style
3
- VERSION = '6.9.6'.freeze
3
+ VERSION = '6.10.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.6
4
+ version: 6.10.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-08-23 00:00:00.000000000 Z
11
+ date: 2021-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop