ws-style 6.12.4 → 6.13.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/Gemfile.lock +5 -5
- data/Rakefile +4 -3
- data/core.yml +32 -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: 9314ff46b1de8664e1dc5a36c3e368fdb9ec68e4a5ed18cd5678e1cd9677e09c
|
4
|
+
data.tar.gz: b6dc03a58a031c11307c179d36e47dddae4c0895f978594e5428ff71b72ceeec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38dbc3af17d59e3e49fe235b92879b10c00728ab3a5a21524460153dee1744fdcd2f6cfab02e6bc8046841858c9ff71ae3cb6b1ca33e9b4e4b7b4caff5f8c474
|
7
|
+
data.tar.gz: 0775275df27fcbe61bcd906e1f3f0fe773bbcb141324fdd5d2f8257d398fc65dd9dfd09dc1374965743d84437cba84dd61b26e97ae8c5bb8b97dabbf78c578df
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,22 @@ 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.3 - 2021-01-10
|
8
|
+
### Changed
|
9
|
+
- Disable Rails/RedundantPresenceValidationOnBelongsTo as it can generate unsafe autocorrections
|
10
|
+
|
11
|
+
## 6.13.2 - 2021-01-10
|
12
|
+
### Changed
|
13
|
+
- Update rubocop-rails to 2.13.1
|
14
|
+
|
15
|
+
## 6.13.1 - 2021-01-07
|
16
|
+
### Changed
|
17
|
+
- Disable ruby 3.1 Hash shorthand syntax
|
18
|
+
|
19
|
+
## 6.13.0 - 2021-01-04
|
20
|
+
### Changed
|
21
|
+
- Updated rubocop to 1.24.1 and opted into new cops
|
22
|
+
|
7
23
|
## 6.12.4 - 2022-01-04
|
8
24
|
### Changed
|
9
25
|
- Updated dependencies
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ws-style (6.
|
4
|
+
ws-style (6.13.3)
|
5
5
|
rubocop (>= 1.23)
|
6
6
|
rubocop-performance (>= 1.10.2)
|
7
7
|
rubocop-rails (>= 2.9.1)
|
@@ -11,7 +11,7 @@ PATH
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
activesupport (7.0.
|
14
|
+
activesupport (7.0.1)
|
15
15
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
16
16
|
i18n (>= 1.6, < 2)
|
17
17
|
minitest (>= 5.1)
|
@@ -22,7 +22,7 @@ GEM
|
|
22
22
|
thor (>= 0.18, < 2)
|
23
23
|
concurrent-ruby (1.1.9)
|
24
24
|
diff-lcs (1.5.0)
|
25
|
-
git (1.10.
|
25
|
+
git (1.10.2)
|
26
26
|
rchardet (~> 1.8)
|
27
27
|
i18n (1.8.11)
|
28
28
|
concurrent-ruby (~> 1.0)
|
@@ -35,7 +35,7 @@ GEM
|
|
35
35
|
parser (3.1.0.0)
|
36
36
|
ast (~> 2.4.1)
|
37
37
|
rack (2.2.3)
|
38
|
-
rainbow (3.
|
38
|
+
rainbow (3.1.1)
|
39
39
|
rake (13.0.6)
|
40
40
|
rchardet (1.8.0)
|
41
41
|
regexp_parser (2.2.0)
|
@@ -67,7 +67,7 @@ GEM
|
|
67
67
|
rubocop-performance (1.13.1)
|
68
68
|
rubocop (>= 1.7.0, < 2.0)
|
69
69
|
rubocop-ast (>= 0.4.0)
|
70
|
-
rubocop-rails (2.13.
|
70
|
+
rubocop-rails (2.13.1)
|
71
71
|
activesupport (>= 4.2.0)
|
72
72
|
rack (>= 1.1)
|
73
73
|
rubocop (>= 1.7.0, < 2.0)
|
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,35 @@ 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
|
+
Style/HashSyntax:
|
564
|
+
EnforcedShorthandSyntax: never
|
565
|
+
|
566
|
+
# rubocop-rspec 2.7
|
567
|
+
RSpec/FactoryBot/SyntaxMethods:
|
568
|
+
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: False
|
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.3
|
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-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|