runger_style 2.13.0 → 2.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92b973cf61e5de73e13107f308e326182d0056148da20b92107ba84d9ae18a65
4
- data.tar.gz: 7e159adba07bc607fa205d67a71be146340eb1e8240523745a2f8b95f11ed2a3
3
+ metadata.gz: b257b0e2c9e3b44903087a0ce6f4b6f4031e7bda9cdf15b1baf58102650a851e
4
+ data.tar.gz: a1a959c286ccc8017c8d86a1795748dbf120d57606da43109da5ee4580faddf0
5
5
  SHA512:
6
- metadata.gz: ea985eaf58010b673e64680c7ddd8725484bfec19788098d164a31ac44c2d0b73570818607a7161394c02117eb726f0a19c641fadae9ab3df8e0f1448b3d3645
7
- data.tar.gz: c527810a1625c71deee046e37874ad9b11bd8e34e1650e0f11ebec7f11d155c3de12008676e51992e5d6e0eb08bbfecb7efe1e82dab3e88f941ee96fa7df63ce
6
+ metadata.gz: b7b787c94afdee6f1cab43ef4eff7614325759e71ca7043894d63d9da97bd229e7e8ba1c2c5e0fc344f36a05eccad9617dc0c27b25f6416ab31e6f0c8394abdd
7
+ data.tar.gz: 56ff4103b9eae53a3bbce02edba83c04164b62dc7bad1314f73ce8a78cf0cca00fb205a9154a7dd0662228a35cd3b1a036b3b8f69b83d45cfa53d66bca62ccb2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## v2.15.0 (2024-08-05)
2
+ - Add `EnforcedStyleAlignWith: start_of_block` for `Layout/BlockAlignment` cop
3
+
4
+ ## v2.14.0 (2024-08-05)
5
+ - Allow `127.0.0.1` as an IP address for `Style/IpAddresses`
6
+
1
7
  ## v2.13.0 (2024-07-23)
2
8
  - Ignore `Layout/LineLength` for RSpec example descriptions
3
9
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- runger_style (2.13.0)
4
+ runger_style (2.15.0)
5
5
  prism (>= 0.24.0)
6
6
  rubocop (>= 1.38.0, < 2)
7
7
 
@@ -42,7 +42,7 @@ GEM
42
42
  prism (0.30.0)
43
43
  psych (5.1.2)
44
44
  stringio
45
- racc (1.8.0)
45
+ racc (1.8.1)
46
46
  rack (3.1.7)
47
47
  rainbow (3.1.1)
48
48
  rake (13.2.1)
@@ -51,9 +51,9 @@ GEM
51
51
  regexp_parser (2.9.2)
52
52
  reline (0.5.9)
53
53
  io-console (~> 0.5)
54
- rexml (3.3.2)
54
+ rexml (3.3.4)
55
55
  strscan
56
- rubocop (1.65.0)
56
+ rubocop (1.65.1)
57
57
  json (~> 2.3)
58
58
  language_server-protocol (>= 3.17.0)
59
59
  parallel (~> 1.10)
@@ -86,7 +86,7 @@ GEM
86
86
  rubocop (~> 1.61)
87
87
  rubocop-rspec (~> 3, >= 3.0.1)
88
88
  ruby-progressbar (1.13.0)
89
- runger_release_assistant (0.11.0)
89
+ runger_release_assistant (0.12.0)
90
90
  activesupport (>= 6, < 8)
91
91
  memo_wise (>= 1.7, < 2)
92
92
  rainbow (>= 3.0, < 4)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RungerStyle
4
- VERSION = '2.13.0'
4
+ VERSION = '2.15.0'
5
5
  end
data/rulesets/default.yml CHANGED
@@ -12,15 +12,17 @@ Layout:
12
12
  - db/schema.rb
13
13
  Layout/ArgumentAlignment:
14
14
  EnforcedStyle: with_fixed_indentation
15
+ Layout/BlockAlignment:
16
+ EnforcedStyleAlignWith: start_of_block
15
17
  Layout/ClassStructure:
16
18
  ExpectedOrder:
17
- - module_inclusion
18
- - constants
19
- - public_class_methods
20
- - initializer
21
- - public_methods
22
- - protected_methods
23
- - private_methods
19
+ - module_inclusion
20
+ - constants
21
+ - public_class_methods
22
+ - initializer
23
+ - public_methods
24
+ - protected_methods
25
+ - private_methods
24
26
  Layout/ConditionPosition:
25
27
  Enabled: false
26
28
  Layout/DotPosition:
@@ -137,6 +139,11 @@ Style/ImplicitRuntimeError:
137
139
  Enabled: false
138
140
  Style/InlineComment:
139
141
  Enabled: false
142
+ Style/IpAddresses:
143
+ AllowedAddresses:
144
+ - "::"
145
+ - "::1"
146
+ - "127.0.0.1"
140
147
  Style/Lambda:
141
148
  Enabled: false
142
149
  Style/MethodCallWithArgsParentheses:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runger_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.0
4
+ version: 2.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Runger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-23 00:00:00.000000000 Z
11
+ date: 2024-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prism
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  requirements: []
106
- rubygems_version: 3.5.15
106
+ rubygems_version: 3.5.16
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: Shared rubocop rules for the preferred Ruby coding style of @davidrunger