house_style 4.0.1 → 4.0.3
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 +4 -4
- data/CHANGELOG.md +10 -0
- data/house_style.gemspec +2 -2
- data/rspec/rubocop.yml +7 -1
- metadata +8 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ca86794ba2618958c4a4ab404890a6d8835918e365bbd573138020ea1484c2ed
|
|
4
|
+
data.tar.gz: 3478141ea2646cc0f93de9796f2128b385bf2da527160e385992de9a886f5148
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa270c8453263f658cc3db84779e451f1b49f1165085603d7c12e14b4f85b652d56460df3c9c30423fe4bdd3496c6bf6d2816f91d130c518090bd976e1642956
|
|
7
|
+
data.tar.gz: 218173a2af4b9a03730478240b741896938f2d2889668f22cb3e320691fa0902728854519dde5b343c2462a94affadb5df374eb286705243ae55fe42639606b9
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
## CURRENT
|
|
4
4
|
|
|
5
|
+
## 4.0.3
|
|
6
|
+
|
|
7
|
+
### Changes
|
|
8
|
+
- Rename `Capybara/CurrentPathExpectation` to `Capybara/RSpec/CurrentPathExpectation`. rubocop-capybara 2.23.0 moved the cop under the `Capybara/RSpec` namespace and flags the old name as obsolete config, which fails `rubocop` in consuming repos. Bump the `rubocop-capybara` floor to `~> 2.23` so the new cop name is always recognised.
|
|
9
|
+
|
|
10
|
+
## 4.0.2
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
- Pin `FactoryBot/CreateList` `EnforcedStyle` explicitly to `create_list`. In setups where rubocop-factory_bot's default config is not merged, `EnforcedStyle` resolved to `nil` and the cop raised `undefined method 'to_sym' for nil`, failing `rubocop` repo-wide. An explicit value survives config inheritance and keeps the cop enabled.
|
|
14
|
+
|
|
5
15
|
## 4.0.1
|
|
6
16
|
|
|
7
17
|
### Changes
|
data/house_style.gemspec
CHANGED
|
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |spec|
|
|
5
5
|
spec.name = 'house_style'
|
|
6
|
-
spec.version = '4.0.
|
|
6
|
+
spec.version = '4.0.3'
|
|
7
7
|
spec.authors = ['Altmetric', 'Scott Matthewman']
|
|
8
8
|
spec.email = ['engineering@altmetric.com', 'scott.matthewman@gmail.com']
|
|
9
9
|
|
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
spec.add_dependency 'rubocop-performance', '~> 1.26'
|
|
20
20
|
spec.add_dependency 'rubocop-rails', '~> 2.32'
|
|
21
21
|
spec.add_dependency 'rubocop-rspec', '~> 3.7'
|
|
22
|
-
spec.add_dependency 'rubocop-capybara', '~> 2.
|
|
22
|
+
spec.add_dependency 'rubocop-capybara', '~> 2.23'
|
|
23
23
|
spec.add_dependency 'rubocop-factory_bot', '~> 2.27'
|
|
24
24
|
|
|
25
25
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
data/rspec/rubocop.yml
CHANGED
|
@@ -13,13 +13,19 @@ Lint/AmbiguousBlockAssociation:
|
|
|
13
13
|
Exclude:
|
|
14
14
|
- spec/**/*
|
|
15
15
|
|
|
16
|
-
Capybara/CurrentPathExpectation:
|
|
16
|
+
Capybara/RSpec/CurrentPathExpectation:
|
|
17
17
|
Enabled: true
|
|
18
18
|
|
|
19
19
|
FactoryBot/AttributeDefinedStatically:
|
|
20
20
|
Enabled: true
|
|
21
21
|
FactoryBot/CreateList:
|
|
22
22
|
Enabled: true
|
|
23
|
+
# Pin EnforcedStyle explicitly rather than relying on rubocop-factory_bot's
|
|
24
|
+
# injected default. In setups where the plugin's default config is not merged,
|
|
25
|
+
# EnforcedStyle resolves to nil and the cop raises "undefined method 'to_sym'
|
|
26
|
+
# for nil". An explicit value survives config inheritance and keeps the cop
|
|
27
|
+
# working. See https://github.com/rubocop/rubocop-factory_bot.
|
|
28
|
+
EnforcedStyle: create_list
|
|
23
29
|
FactoryBot/FactoryClassName:
|
|
24
30
|
Enabled: true
|
|
25
31
|
|
metadata
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: house_style
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Altmetric
|
|
8
8
|
- Scott Matthewman
|
|
9
|
+
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date:
|
|
12
|
+
date: 2026-07-28 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: rubocop
|
|
@@ -78,14 +79,14 @@ dependencies:
|
|
|
78
79
|
requirements:
|
|
79
80
|
- - "~>"
|
|
80
81
|
- !ruby/object:Gem::Version
|
|
81
|
-
version: '2.
|
|
82
|
+
version: '2.23'
|
|
82
83
|
type: :runtime
|
|
83
84
|
prerelease: false
|
|
84
85
|
version_requirements: !ruby/object:Gem::Requirement
|
|
85
86
|
requirements:
|
|
86
87
|
- - "~>"
|
|
87
88
|
- !ruby/object:Gem::Version
|
|
88
|
-
version: '2.
|
|
89
|
+
version: '2.23'
|
|
89
90
|
- !ruby/object:Gem::Dependency
|
|
90
91
|
name: rubocop-factory_bot
|
|
91
92
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -165,6 +166,7 @@ homepage: https://github.com/altmetric/house_style
|
|
|
165
166
|
licenses:
|
|
166
167
|
- MIT
|
|
167
168
|
metadata: {}
|
|
169
|
+
post_install_message:
|
|
168
170
|
rdoc_options: []
|
|
169
171
|
require_paths:
|
|
170
172
|
- lib
|
|
@@ -179,7 +181,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
179
181
|
- !ruby/object:Gem::Version
|
|
180
182
|
version: '0'
|
|
181
183
|
requirements: []
|
|
182
|
-
rubygems_version: 3.
|
|
184
|
+
rubygems_version: 3.4.10
|
|
185
|
+
signing_key:
|
|
183
186
|
specification_version: 4
|
|
184
187
|
summary: A centralised store of house style rules
|
|
185
188
|
test_files: []
|