house_style 4.0.0 → 4.0.2
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 +1 -1
- data/rails/rubocop.yml +0 -2
- data/rspec/rubocop.yml +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3dc30e7a2e381172fdb5192a37646014364ff30b2075564075228abfdbb11320
|
|
4
|
+
data.tar.gz: b4917ea42b8b527237dfc2f35d858c03f508b5563be86d7a12d0e0fc7de542c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d657b38d6aa5c2cc9965ae31d2e0fdf9b264065ac6e95b5f57b0576d357847b36b347c40ef9d7794a3a5e8e3c5a58a50120c142a499110504f9eae23fee417c9
|
|
7
|
+
data.tar.gz: 2b62239a4f0d4a2c5dd3270e780bd071957fc37d7dbfa72b27cc7ce9409969d58ef20795cc1f4e0303312c35ed6963ef929273ef54220103709d3a6ce9558431
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
## CURRENT
|
|
4
4
|
|
|
5
|
+
## 4.0.2
|
|
6
|
+
|
|
7
|
+
### Changes
|
|
8
|
+
- 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.
|
|
9
|
+
|
|
10
|
+
## 4.0.1
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
- Disable Rails/Pluck cop: it produces false positives with Nokogiri XML nodes that use similar bracket syntax to ActiveRecord attributes.
|
|
14
|
+
|
|
5
15
|
## 4.0.0
|
|
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.2'
|
|
7
7
|
spec.authors = ['Altmetric', 'Scott Matthewman']
|
|
8
8
|
spec.email = ['engineering@altmetric.com', 'scott.matthewman@gmail.com']
|
|
9
9
|
|
data/rails/rubocop.yml
CHANGED
data/rspec/rubocop.yml
CHANGED
|
@@ -20,6 +20,12 @@ 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
|
|