ws-style 5.4.2 → 6.0.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 +8 -3
- data/default.yml +27 -0
- data/lib/ws/style/version.rb +1 -1
- data/ws-style.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98b958cda693fc80d419f4a3c43b6109052f83bef91e715a367936ea1850391e
|
4
|
+
data.tar.gz: f96cecd859199758863def152ab2912dd66606954dcdca6c9ba8b513c916e927
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fba923efafb1019e046182a2d39ad79f674b357d870cd4ad93ec6a8a87d41141475724cbe394ee704601f4a633dc862fe6e32c54598242ea9b7011a6521321d9
|
7
|
+
data.tar.gz: aea1ae8ff370a2fb0de88f8c33f1f66e58e423970e386043857ebb0e6b5ef5a232ceee386c28d7b70f972d4cb7b8ab58234cb7ad31688805ae42befe504a46b7
|
data/CHANGELOG.md
CHANGED
@@ -4,12 +4,17 @@ 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.0.0 - 2020-04-27
|
8
|
+
### Changed
|
9
|
+
- Upgraded rubocop to >= 0.82 and opted into the 7 new cops.
|
10
|
+
- Going forward we will need to explicitly opt into or out of every new cop.
|
11
|
+
|
7
12
|
## 5.1.0 - 2019-06-06
|
8
13
|
### Changed
|
9
14
|
- Added indentation cop, enforcing 2 space indentation.
|
10
15
|
|
11
16
|
This allows Rubocop to automatically format code like this:
|
12
|
-
|
17
|
+
|
13
18
|
```ruby
|
14
19
|
class Wizard
|
15
20
|
def cast_spell
|
@@ -17,9 +22,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
17
22
|
end
|
18
23
|
end
|
19
24
|
```
|
20
|
-
|
25
|
+
|
21
26
|
into this:
|
22
|
-
|
27
|
+
|
23
28
|
```ruby
|
24
29
|
class Wizard
|
25
30
|
def cast_spell
|
data/default.yml
CHANGED
@@ -168,3 +168,30 @@ RSpec/NamedSubject:
|
|
168
168
|
|
169
169
|
RSpec/NestedGroups:
|
170
170
|
Max: 6
|
171
|
+
|
172
|
+
# Cops added in Rubocop 0.80 or later need to be enabled one-by-one below.
|
173
|
+
# For more information: https://docs.rubocop.org/en/latest/versioning/
|
174
|
+
|
175
|
+
# 0.80
|
176
|
+
Style/HashEachMethods:
|
177
|
+
Enabled: true
|
178
|
+
|
179
|
+
Style/HashTransformKeys:
|
180
|
+
Enabled: true
|
181
|
+
|
182
|
+
Style/HashTransformValues:
|
183
|
+
Enabled: true
|
184
|
+
|
185
|
+
# 0.81
|
186
|
+
Lint/RaiseException:
|
187
|
+
Enabled: true
|
188
|
+
|
189
|
+
Lint/StructNewOverride:
|
190
|
+
Enabled: true
|
191
|
+
|
192
|
+
# 0.82
|
193
|
+
Layout/SpaceAroundMethodCallOperator:
|
194
|
+
Enabled: true
|
195
|
+
|
196
|
+
Style/ExponentialNotation:
|
197
|
+
Enabled: true
|
data/lib/ws/style/version.rb
CHANGED
data/ws-style.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
s.require_paths = ['lib']
|
23
23
|
|
24
|
-
s.add_dependency 'rubocop', '>= 0.
|
24
|
+
s.add_dependency 'rubocop', '>= 0.82'
|
25
25
|
s.add_dependency 'rubocop-performance', '>= 1.1.0'
|
26
26
|
s.add_dependency 'rubocop-rails', '>= 2.4.2'
|
27
27
|
s.add_dependency 'rubocop-rspec', '~> 1.32'
|
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:
|
4
|
+
version: 6.0.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: 2020-
|
11
|
+
date: 2020-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.82'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.82'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-performance
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|