sharp_style_rubocop 0.1.0 → 0.1.1

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: 2dde6c6fb7a92ad036e4ed2e6399e7bc3f9fdfc62e593cace245422da74c6afd
4
- data.tar.gz: b38fc5c42ee28457adaca73692c4b1f774e87853b99f2f98e778fa45660cf576
3
+ metadata.gz: 4862bb4736abcd0db989bb19d539cd4750c5efa348a750fa6f9c3e48f77b7dd5
4
+ data.tar.gz: 644cade7de95575d079fd28ea7b7b48dbd6224f11868c838bb70788a8fb0b91c
5
5
  SHA512:
6
- metadata.gz: f4923b6ff3f024e26b4048d355dec03f0f22e7fad232982591d43080bb132c22aba755cf4940dd868c883d3aa58be3692f18314da87a2b65bb286d3df590eb58
7
- data.tar.gz: 44ac6573a7480cd6a300721afcb79106c37fb53d280f3297f6ff8c4cfada1b4516fa9b2bc0d9b2feb4bb52aebd5a8112d0b8ee16db37098077482c93d8c85a23
6
+ metadata.gz: b17bbdf47994f8000fe020ea4a3d7040537b43d77ee9a105b811ed2216cc36741637bdd788dd71677eee9a187bf071bb7074d321085b63602a6b52f3586ec022
7
+ data.tar.gz: 94bd54e6a5c71bad62ae8c5b1ec2108a2838e0741314e8ef2618a6d57c53b997ac146932e74ca823b441a38e3b264ab33fcdc0e309895f679288fc5c0924b63d
data/CHANGELOG.md CHANGED
@@ -1,7 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
- - Set `AllCops: NewCops: pending` so new cops added in RuboCop minor releases are reported but not enabled for consumers.
4
- - Set per-department `NewCops` so pending cops are enabled up to the versions reviewed: `Gemspec`, `Lint` and the other RuboCop departments are set to `1.92`, `Performance` to `1.24`, and `RSpec` to `3.10`.
3
+ ## [0.1.1] - 2026-10-28
4
+
5
+ - Set `Layout/ArgumentAlignment` to `with_fixed_indentation` as a Preview default for RuboCop 2.0.
6
+ - Disable `Naming/HeredocDelimiterNaming` as a Preview default for RuboCop 2.0.
5
7
 
6
8
  ## [0.1.0] - 2026-10-27
7
9
 
data/README.md CHANGED
@@ -4,6 +4,10 @@ My RuboCop style, packaged as a gem so every project can share the same rules.
4
4
 
5
5
  It bundles a RuboCop configuration (`config/default.yml`) along with the `rubocop-performance` and `rubocop-rspec` plugins it uses.
6
6
 
7
+ See the following links for information on why I chose many of these changes:
8
+ - [RuboCop 1.91: The Journey to 2.0 Begins](https://metaredux.com/posts/2026/09/11/rubocop-1-91.html)
9
+ - [Rubocop issue #15363](https://github.com/rubocop/rubocop/issues/15363)
10
+
7
11
  ## Installation
8
12
 
9
13
  Add the gem to your Gemfile:
data/config/default.yml CHANGED
@@ -48,6 +48,10 @@ Style:
48
48
  Bundler/OrderedGems:
49
49
  Enabled: true
50
50
 
51
+ # Rubocop 2.0
52
+ Layout/ArgumentAlignment:
53
+ EnforcedStyle: with_fixed_indentation
54
+
51
55
  # Align 'when/else' with 'end', prevents wasting whitespace
52
56
  Layout/CaseIndentation:
53
57
  EnforcedStyle: end
@@ -158,6 +162,10 @@ Metrics/ParameterLists:
158
162
  Metrics/PerceivedComplexity:
159
163
  Max: 12
160
164
 
165
+ # Rubocop 2.0
166
+ Naming/HeredocDelimiterNaming:
167
+ Enabled: false
168
+
161
169
  # Be kind
162
170
  Naming/InclusiveLanguage:
163
171
  Enabled: true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SharpStyleRubocop
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - joe-sharp