slimcop 0.14.0 → 0.17.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: 9fa07b1fe38abcfaa4931343e0f3a44ad24cb17d6d85ed6dbe6090dd16f429b7
4
- data.tar.gz: 6612b476195e0f2f34991edaa869fa5336d4e1d553e5c124b983856da9881b28
3
+ metadata.gz: acf87b11076c3d450a4902b4f98a96ac9ec27e78b86169f9492d27e0a1b4b8b2
4
+ data.tar.gz: 24cb7f880da48f294645532cb7c4ddc8733903c0a2e42dbe8fa40ddd4994da1f
5
5
  SHA512:
6
- metadata.gz: 5a9fa1438ea7d1c7401f1fa77990977e3d65b36c7435eae44f14c0369169ef453ed8736ee7b50eb544381a6db8fa225c4b0d4b870b86b62e13d6e60c36e28749
7
- data.tar.gz: c1fe2201f69025cf886305532bdad15144097c301ae407c22ee6b22ff5a264c3a9fec0b206ff9fcb274f806ce900ebd300500f24d1c4d47d519f4374760f20f8
6
+ metadata.gz: e0bd00b02b762928a793edd512a5f929335dc845e46294bc06a1459c8a97a898589635f80cc85328e1fff568571f9c8c47a7239b6f2b50b52d91f5e5ead8ac6d
7
+ data.tar.gz: ecc8b3ec100510feb86b9b5a4ccb0c0712a57acb8c5b1d357f50502348063113e99c05a8bcffc3b70ea7c7a50fe31729756f35fe05f70df429dd754b8ed835f6
data/CHANGELOG.md CHANGED
@@ -2,6 +2,29 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.17.0 - 2022-03-10
6
+
7
+ ### Changed
8
+
9
+ - Enable Layout/InitialIndentation.
10
+
11
+ ## 0.16.0 - 2022-01-25
12
+
13
+ ### Changed
14
+
15
+ - Disable Layout/FirstArrayElementLineBreak by default.
16
+ - Disable Layout/FirstHashElementLineBreak by default.
17
+ - Disable Layout/FirstMethodArgumentLineBreak by default.
18
+ - Disable Style/TrailingCommaInArrayLiteral by default.
19
+ - Disable Style/TrailingCommaInArguments by default.
20
+ - Disable Style/TrailingCommaInHashLiteral by default.
21
+
22
+ ## 0.15.0 - 2022-01-22
23
+
24
+ ### Changed
25
+
26
+ - Disable Style/NestedTernaryOperator by default.
27
+
5
28
  ## 0.14.0 - 2022-01-22
6
29
 
7
30
  ### Changed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- slimcop (0.14.0)
4
+ slimcop (0.17.0)
5
5
  slimi (>= 0.5.1)
6
6
  templatecop
7
7
 
@@ -44,11 +44,11 @@ GEM
44
44
  rubocop-rspec (2.6.0)
45
45
  rubocop (~> 1.19)
46
46
  ruby-progressbar (1.11.0)
47
- slimi (0.7.1)
47
+ slimi (0.7.2)
48
48
  temple
49
49
  thor
50
50
  tilt
51
- templatecop (0.2.0)
51
+ templatecop (0.2.2)
52
52
  parallel
53
53
  parser
54
54
  rubocop (>= 0.87)
data/default.yml CHANGED
@@ -25,9 +25,18 @@ Layout/FirstArgumentIndentation:
25
25
  Layout/FirstArrayElementIndentation:
26
26
  Enabled: false
27
27
 
28
+ Layout/FirstArrayElementLineBreak:
29
+ Enabled: false
30
+
28
31
  Layout/FirstHashElementIndentation:
29
32
  Enabled: false
30
33
 
34
+ Layout/FirstHashElementLineBreak:
35
+ Enabled: false
36
+
37
+ Layout/FirstMethodArgumentLineBreak:
38
+ Enabled: false
39
+
31
40
  Layout/FirstParameterIndentation:
32
41
  Enabled: false
33
42
 
@@ -40,9 +49,6 @@ Layout/IndentationConsistency:
40
49
  Layout/IndentationWidth:
41
50
  Enabled: false
42
51
 
43
- Layout/InitialIndentation:
44
- Enabled: false
45
-
46
52
  Layout/LineEndStringConcatenationIndentation:
47
53
  Enabled: false
48
54
 
@@ -106,12 +112,24 @@ Style/IfUnlessModifier:
106
112
  Style/MultilineTernaryOperator:
107
113
  Enabled: false
108
114
 
115
+ Style/NestedTernaryOperator:
116
+ Enabled: false
117
+
109
118
  Style/Next:
110
119
  Enabled: false
111
120
 
112
121
  Style/RescueModifier:
113
122
  Enabled: false
114
123
 
124
+ Style/TrailingCommaInArguments:
125
+ Enabled: false
126
+
127
+ Style/TrailingCommaInArrayLiteral:
128
+ Enabled: false
129
+
130
+ Style/TrailingCommaInHashLiteral:
131
+ Enabled: false
132
+
115
133
  Style/WhileUntilDo:
116
134
  Enabled: false
117
135
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Slimcop
4
- VERSION = '0.14.0'
4
+ VERSION = '0.17.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slimcop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-21 00:00:00.000000000 Z
11
+ date: 2022-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: slimi