ws-style 6.9.8 → 6.10.0

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: 57ee51060420d7891b848480b1bcf7629ea8318f2012cd408d27ea9bc6482035
4
- data.tar.gz: fff2966b667a3b06bb145c1352aa903b0bca62d470cf5eb9036cfa726bd409c7
3
+ metadata.gz: e9572aa52a2fef37a7f98787802a020ced5c093aa41c18a9b6ce9cfe756f15d2
4
+ data.tar.gz: '08000808eea62019790f774412b2b1eca289a5a927ba18b8818098b79811e028'
5
5
  SHA512:
6
- metadata.gz: b5bd025805a493180a42df075c2848c6693e556e7f5df87da51e77f3627c704e1293fa9ff2f40a49b5be71107a493d290e2fc68daaca56bdfe6cc9fa402cefdb
7
- data.tar.gz: 3ae1061b77775dd5f07b3c5710fe97950097aa828740ab8a8af837eabc74ea787d1e0e8a6d2045ada6baefdf5646f42d7dbf3d06571bf249bf6cd084b742b56c
6
+ metadata.gz: 46cde8b3a3b9b1700fc46d32a7a523d9c6bc804ff4caaf6ccd0a0bd531c2fe3a6cd298fed46a7e3d65513901e80822a06bf3b64ee0a7c7c8d2b1a3d7f02e328e
7
+ data.tar.gz: 56e86e2c84c8e9142dac07613c8f8fd7179cd6132c62b6d9fb5fdc59e771c420972c87858c6291627f58c20ee5613611786249915b35e6a53b79ac340406db18
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ 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.0 - 2021-10-13
8
+ ### Changed
9
+ - Upgrade rubocop to 1.22.1
10
+ - Upgrade rubocop-rspec to 2.5.0
11
+ - Upgrade rubocop-rails to 2.12.3
12
+
7
13
  ## 6.9.8 - 2021-09-15
8
14
  ### Changed
9
15
  - 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.10.0)
5
5
  rubocop (>= 1.12.1)
6
6
  rubocop-performance (>= 1.10.2)
7
7
  rubocop-rails (>= 2.9.1)
@@ -54,27 +54,26 @@ 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.21.0)
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.11.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.12.2)
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)
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
@@ -467,3 +467,65 @@ Performance/RedundantSplitRegexpArgument:
467
467
  # rubocop 1.12.0
468
468
  Style/StringChars:
469
469
  Enabled: True
470
+
471
+ # rubocop-performance 1.11
472
+ Performance/MapCompact:
473
+ Enabled: True
474
+
475
+ # rubocop 1.16
476
+ Lint/EmptyInPattern:
477
+ Enabled: True
478
+
479
+ Style/InPatternThen:
480
+ Enabled: True
481
+
482
+ Style/MultilineInPatternThen:
483
+ Enabled: True
484
+
485
+ Style/QuotedSymbols:
486
+ Enabled: True
487
+
488
+ # rubocop 1.18
489
+ Layout/LineEndStringConcatenationIndentation:
490
+ Enabled: True
491
+
492
+ # rubocop 1.19
493
+ Lint/AmbiguousRange:
494
+ Enabled: True
495
+
496
+ Style/RedundantSelfAssignmentBranch:
497
+ Enabled: True
498
+
499
+ # rubocop 1.21
500
+ Lint/AmbiguousOperatorPrecedence:
501
+ Enabled: True
502
+
503
+ Lint/IncompatibleIoSelectWithFiberScheduler:
504
+ Enabled: True
505
+
506
+ # rubocop 1.22
507
+ Lint/RequireRelativeSelfPath:
508
+ Enabled: True
509
+
510
+ Security/IoMethods:
511
+ Enabled: True
512
+
513
+ Style/NumberedParameters:
514
+ Enabled: True
515
+
516
+ Style/NumberedParametersLimit:
517
+ Enabled: True
518
+
519
+ Style/SelectByRegexp:
520
+ Enabled: True
521
+
522
+ # rubocop-rspec 2.4
523
+ RSpec/IdenticalEqualityAssertion:
524
+ Enabled: True
525
+
526
+ # rubocop-rspec 2.5
527
+ RSpec/ExcessiveDocstringSpacing:
528
+ Enabled: True
529
+
530
+ RSpec/SubjectDeclaration:
531
+ Enabled: True
@@ -1,5 +1,5 @@
1
1
  module Ws
2
2
  module Style
3
- VERSION = '6.9.8'.freeze
3
+ VERSION = '6.10.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.8
4
+ version: 6.10.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-15 00:00:00.000000000 Z
11
+ date: 2021-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop