sharp_style_rubocop 0.1.3 → 0.1.5

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: 331e11ff5cfa1a0d2a9014cc3e4a76c8d36dcddf9c70011bc65153ea2abd66fc
4
- data.tar.gz: 1596218f4ff1c1c71f464ae125c1633f542c355ae7eb2a553b263a6ddace1e72
3
+ metadata.gz: b1360283780d2d2d56329495b796d550208a105b302df25235b7088ece14500c
4
+ data.tar.gz: 03a4b8f7494c5e0c13db43b825c505fe2e9932737c3eea64285af202b308da30
5
5
  SHA512:
6
- metadata.gz: 03e6d091a2bae3680440f64336b4ff1240f542a9a15108b521ef9c99bb9debfb997e3b1ddb38ab50a782cb2b4634b3ec3bcd41a9c1fb4491f02c86a93219b3de
7
- data.tar.gz: 5a7a67274a079711acd64fb52566e97c99a2c068b57808d1e180b1da894b4265a83ce07645b239427d440acc30c53b14aad0c66b384b3aec2ccc2f099dd9db0c
6
+ metadata.gz: 3f7b22d92f31b14398a2b02ed953ee28cf4af9213928647dcfc1f4f5c624c10c748ede42c8945bef92923fccbf18a2d62bc14b6bafb5b8e59f42eaf09b649582
7
+ data.tar.gz: 5865a4a8809a2d90691cd7a117aa74fbdb85f79b53740be97a3751323464a3242e4d9b72af6769ff675cb40df8726e9ca113c216e692f70bf17f385bd028a890
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.5] - 2026-10-30
4
+
5
+ - Enable `Layout/MultilineArrayLineBreaks` for readability.
6
+ - Set `Layout/FirstMethodArgumentLineBreak` `AllowMultilineFinalElement` so method arguments can leave their opening brackets on the first line.
7
+
8
+ ## [0.1.4] - 2026-10-30
9
+
10
+ - Exclude `Guardfile` from `Layout/FirstMethodArgumentLineBreak` so the guard plugin can sit on the guard line.
11
+
3
12
  ## [0.1.3] - 2026-10-29
4
13
 
5
14
  - Exclude `db/migrate/**/*`, `db/schema.rb` and `db/*_schema.rb` from `Style/MethodCallWithArgsParentheses` since Rails generates them without parentheses.
data/config/default.yml CHANGED
@@ -79,6 +79,14 @@ Layout/FirstHashElementIndentation:
79
79
  # Enabled for readability. Counterpart Layout/MultilineMethodArgumentLineBreaks is also needed.
80
80
  Layout/FirstMethodArgumentLineBreak:
81
81
  Enabled: true
82
+ AllowMultilineFinalElement: true
83
+ # This allows the guard plugin to be on the guard line e.g.
84
+ #
85
+ # guard(:rubocop,
86
+ # all_on_start: true
87
+ # all_after_pass: true) do
88
+ Exclude:
89
+ - Guardfile
82
90
 
83
91
  # Enabled for readability. Counterpart Layout/MultilineMethodParameterLineBreaks is also needed.
84
92
  Layout/FirstMethodParameterLineBreak:
@@ -93,6 +101,9 @@ Layout/HashAlignment:
93
101
  - key
94
102
  - table
95
103
 
104
+ Layout/MultilineArrayLineBreaks:
105
+ Enabled: true
106
+
96
107
  # Enabled for readability. Counterpart Layout/FirstMethodArgumentLineBreak is also needed.
97
108
  Layout/MultilineMethodArgumentLineBreaks:
98
109
  Enabled: true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SharpStyleRubocop
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sharp_style_rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - joe-sharp