runger_style 2.12.0 → 2.14.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: 39b527dd459b9c0c2c2e758fd96a0857a4a1490633701fc1ef1973cdd422b519
4
- data.tar.gz: 0bc840573b9e36b0d53a040b164ef668f3d0048284ee050f55d02539b2b0dbb2
3
+ metadata.gz: 04cab2108fed7a1d3b2dc7d72aa7d50a26ccd8c7ac24eb810ea1951909781172
4
+ data.tar.gz: 7f897658dcb07b9e70b8e65e3a1f357a2180a613a5a08fb9381a7bff41da5d79
5
5
  SHA512:
6
- metadata.gz: 8eaab0cf391b27c870a36dfcd944caf84dc9d98888f4c4a9ea4cb505110deb8b5bcb6d7cc33ac7ca7f0f7f6001b6c5622ea51df5056a90cb3248f01f549ab460
7
- data.tar.gz: 4001793ed84d89ee60e7959da32f758a18a41992252d4a82a34a8666628ef311d2c0dbeebcfd49fa97d8d0dd5fcac8c1385a69513170a9dd404279f80878eb8a
6
+ metadata.gz: 7410f7d1f528e9cab6efb5f690d48e579f4f3ee1e062cc9853058594eb44e1ff0ebfb303d52d7cc44604afb6e5d5650b35061dd7abbd67c120341a1433b7fa93
7
+ data.tar.gz: 5eb304ca4bd350eab7c8f12d2185f0ca190d06ca1b985fb83ca9b45f5b18a96732a12d7f391fc487a2088c974520d59327341b7809beb53678f3d0d41c21df3a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## v2.14.0 (2024-08-05)
2
+ - Allow `127.0.0.1` as an IP address for `Style/IpAddresses`
3
+
4
+ ## v2.13.0 (2024-07-23)
5
+ - Ignore `Layout/LineLength` for RSpec example descriptions
6
+
1
7
  ## v2.12.0 (2024-07-11)
2
8
  - Disable `Style/FormatString` cop
3
9
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- runger_style (2.12.0)
4
+ runger_style (2.14.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.1)
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)
@@ -80,13 +80,13 @@ GEM
80
80
  rubocop-ast (>= 1.31.1, < 2.0)
81
81
  rubocop-rake (0.6.0)
82
82
  rubocop (~> 1.0)
83
- rubocop-rspec (3.0.2)
83
+ rubocop-rspec (3.0.3)
84
84
  rubocop (~> 1.61)
85
85
  rubocop-rspec_rails (2.30.0)
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.9.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.12.0'
4
+ VERSION = '2.14.0'
5
5
  end
data/rulesets/default.yml CHANGED
@@ -14,13 +14,13 @@ Layout/ArgumentAlignment:
14
14
  EnforcedStyle: with_fixed_indentation
15
15
  Layout/ClassStructure:
16
16
  ExpectedOrder:
17
- - module_inclusion
18
- - constants
19
- - public_class_methods
20
- - initializer
21
- - public_methods
22
- - protected_methods
23
- - private_methods
17
+ - module_inclusion
18
+ - constants
19
+ - public_class_methods
20
+ - initializer
21
+ - public_methods
22
+ - protected_methods
23
+ - private_methods
24
24
  Layout/ConditionPosition:
25
25
  Enabled: false
26
26
  Layout/DotPosition:
@@ -40,9 +40,11 @@ Layout/LineEndStringConcatenationIndentation:
40
40
  - bin/*
41
41
  Layout/LineLength:
42
42
  AllowedPatterns:
43
- # ignore line length if the line is a comment without any spaces; it's probably not something we
44
- # can fix (e.g. a long file path)
43
+ # Ignore line length if the line is a comment without any spaces; it's probably not something we
44
+ # can fix (e.g. a long file path):
45
45
  - !ruby/regexp /^ *#? [\S]+$/
46
+ # Ignore RSpec example descriptions:
47
+ - !ruby/regexp /^ *it ['"].*['"].*do$/
46
48
  Max: 100
47
49
  Layout/MultilineMethodCallIndentation:
48
50
  EnforcedStyle: indented
@@ -135,6 +137,11 @@ Style/ImplicitRuntimeError:
135
137
  Enabled: false
136
138
  Style/InlineComment:
137
139
  Enabled: false
140
+ Style/IpAddresses:
141
+ AllowedAddresses:
142
+ - "::"
143
+ - "::1"
144
+ - "127.0.0.1"
138
145
  Style/Lambda:
139
146
  Enabled: false
140
147
  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.12.0
4
+ version: 2.14.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-11 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