ws-style 6.12.4 → 6.13.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: c1438ffc5803daf8476aa8a1ce44b1bbae426f0d37301244fa871ab26f07bb47
4
- data.tar.gz: 385309f34baaf8b520ce78008f11aa85d91175410ab273865b7e43231a824754
3
+ metadata.gz: 87f1ab2f03c57354024375cef184a3a89abc447256fb2e89d8d8755a5d22c427
4
+ data.tar.gz: 1b928aa31a10ec50388907173f02b78852bdd2efbc21b68614cfd79f2b7ca030
5
5
  SHA512:
6
- metadata.gz: 790302a32c969dee72f5ee89a351c99139c6385ed2bfc2c0dcc59bacef464aff462ab15c37b2f8935e04ec2074dc844b56716ff704657bea67af5c05309b4491
7
- data.tar.gz: 31f8791e842d602815c07a32d870ab4e70df3648aa88288c7e7f64e15ecca7e02552219c1d806c08b8b0aa885570c87ff32f1dfec1285d237f01c05400cdaced
6
+ metadata.gz: 7ebd3e06640f907ea494a197c3d26d1fbbcade84a80e1f362f3fe0df452c0946846e4e8ff96386875e72b76fb8c686b34c627b21faab3b70da5fe7e7a153f092
7
+ data.tar.gz: 8d3a2bf65061266a6d64946a85f811218c92c9b588440602c158de1fdaacd3acf6354d4f2eed576df0318ded328f9d0848bd0541f4fb6dd679026802b1d29921
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ 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.13.0 - 2021-01-04
8
+ ### Changed
9
+ - Updated rubocop to 1.24.1 and opted into new cops
10
+
7
11
  ## 6.12.4 - 2022-01-04
8
12
  ### Changed
9
13
  - Updated dependencies
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ws-style (6.12.4)
4
+ ws-style (6.13.0)
5
5
  rubocop (>= 1.23)
6
6
  rubocop-performance (>= 1.10.2)
7
7
  rubocop-rails (>= 2.9.1)
data/Rakefile CHANGED
@@ -4,7 +4,6 @@ require "rubocop"
4
4
  require "rubocop-performance"
5
5
  require "rubocop-rails"
6
6
  require "rubocop-rspec"
7
-
8
7
  RSpec::Core::RakeTask.new(:spec)
9
8
 
10
9
  task default: :spec
@@ -21,14 +20,16 @@ task :election do
21
20
  'performance' => 'https://docs.rubocop.org/rubocop-performance/cops_performance.html#performance',
22
21
  'rails' => 'https://docs.rubocop.org/rubocop-rails/cops_rails.html#rails',
23
22
  'rspec' => 'https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspec',
23
+ 'rspec_factorybot' => 'https://docs.rubocop.org/rubocop-rspec/cops_rspec_factorybot.html#rspecfactorybot',
24
24
  'security' => 'https://docs.rubocop.org/rubocop/cops_security.html#security',
25
25
  'style' => 'https://docs.rubocop.org/rubocop/cops_style.html#style',
26
+ 'naming' => 'https://docs.rubocop.org/rubocop/cops_naming.html#naming',
26
27
  }
27
28
  next if configuration.key?(pending_cop.name)
28
29
 
29
- department, anchor = pending_cop.name.downcase.split('/')
30
+ *department, anchor = pending_cop.name.downcase.split('/')
30
31
  puts <<~COMMENT
31
- [**#{pending_cop.name}**](#{base_urls.fetch(department)}#{anchor})
32
+ [**#{pending_cop.name}**](#{base_urls.fetch(department.join('_'))}#{anchor})
32
33
  #{pending_cop.metadata.fetch('Description')}
33
34
 
34
35
  COMMENT
data/core.yml CHANGED
@@ -534,3 +534,32 @@ RSpec/SubjectDeclaration:
534
534
  # rubocop-performance 1.12
535
535
  Performance/ConcurrentMonotonicTime:
536
536
  Enabled: True
537
+
538
+ # rubocop-performance 1.13
539
+ Performance/StringIdentifierArgument:
540
+ Enabled: True
541
+
542
+ # rubocop 1.23
543
+ Lint/UselessRuby2Keywords:
544
+ Enabled: True
545
+
546
+ Style/OpenStructUse:
547
+ Enabled: True
548
+
549
+ # rubocop 1.24
550
+ Naming/BlockForwarding:
551
+ Enabled: True
552
+ EnforcedStyle: explicit
553
+
554
+ Style/FileRead:
555
+ Enabled: True
556
+
557
+ Style/FileWrite:
558
+ Enabled: True
559
+
560
+ Style/MapToHash:
561
+ Enabled: True
562
+
563
+ # rubocop-rspec 2.7
564
+ RSpec/FactoryBot/SyntaxMethods:
565
+ Enabled: false
@@ -1,5 +1,5 @@
1
1
  module Ws
2
2
  module Style
3
- VERSION = '6.12.4'.freeze
3
+ VERSION = '6.13.0'.freeze
4
4
  end
5
5
  end
data/rails.yml CHANGED
@@ -94,3 +94,16 @@ Rails/RedundantTravelBack:
94
94
  # rubocop-rspec 2.4
95
95
  RSpec/Rails/AvoidSetupHook:
96
96
  Enabled: True
97
+
98
+ # rubocop-rails 2.13
99
+ Rails/CompactBlank:
100
+ Enabled: True
101
+
102
+ Rails/DurationArithmetic:
103
+ Enabled: True
104
+
105
+ Rails/RedundantPresenceValidationOnBelongsTo:
106
+ Enabled: True
107
+
108
+ Rails/RootJoinChain:
109
+ 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.12.4
4
+ version: 6.13.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: 2022-01-04 00:00:00.000000000 Z
11
+ date: 2022-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop