house_style 4.0.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0c315c633b986578fe5c1c89e591f341418d1d2087445735449b03616787dc1
4
- data.tar.gz: 60a5637b4b0a1a531d8b6a1c77c2f2d7db12395b1a5d9109405a9acc2241733e
3
+ metadata.gz: 3dc30e7a2e381172fdb5192a37646014364ff30b2075564075228abfdbb11320
4
+ data.tar.gz: b4917ea42b8b527237dfc2f35d858c03f508b5563be86d7a12d0e0fc7de542c7
5
5
  SHA512:
6
- metadata.gz: 481e778838f6e8dde060304d0156bb92f1bbb0be4e2fd95a6bf5f4a36376248698a447a7b3916ad3000523749bfb1a1fec838efeceee11530c1d44287e9dbb01
7
- data.tar.gz: eae452c439383c943abd7f0478e47a92bb7b9c888d75c124e26e64e8aca99c4bd07ec7254095c145520e89a9d9dec549b58d6c038920adcee819c7787bb4da1f
6
+ metadata.gz: d657b38d6aa5c2cc9965ae31d2e0fdf9b264065ac6e95b5f57b0576d357847b36b347c40ef9d7794a3a5e8e3c5a58a50120c142a499110504f9eae23fee417c9
7
+ data.tar.gz: 2b62239a4f0d4a2c5dd3270e780bd071957fc37d7dbfa72b27cc7ce9409969d58ef20795cc1f4e0303312c35ed6963ef929273ef54220103709d3a6ce9558431
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
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
+
5
10
  ## 4.0.1
6
11
 
7
12
  ### 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.1'
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/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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: house_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Altmetric