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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/Rakefile +4 -3
- data/core.yml +29 -0
- data/lib/ws/style/version.rb +1 -1
- data/rails.yml +13 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87f1ab2f03c57354024375cef184a3a89abc447256fb2e89d8d8755a5d22c427
|
4
|
+
data.tar.gz: 1b928aa31a10ec50388907173f02b78852bdd2efbc21b68614cfd79f2b7ca030
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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
|
data/lib/ws/style/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2022-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|