salsify_rubocop 1.27.0 → 1.27.1

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: ce5d5cbb06696fde312271fdf7309d421476dc692129a4a483211fcd794f9fe8
4
- data.tar.gz: 182edaf990710370a9a125f96e021e2185fa13f89c93e5d07001f60409fab3e7
3
+ metadata.gz: 4858a3104641455a362aff7d1dcf9c7666f61f81ec954bccd8f71e96d9f08831
4
+ data.tar.gz: 785e24363210b51765e5dc392382325f3c0441c4196e0d0b96a433b549636f40
5
5
  SHA512:
6
- metadata.gz: e77dd48c195e9018fdb6514f0460cf0568e2c2410246986eca8b84581f7fc34d65d830f1d16f516788f1dd4b5a468a40869ed20a88da3dc942e1b4e184e22ed3
7
- data.tar.gz: 8a072d0da7d78be213a1c310402ed8a05e19b3c4729356f96db5412edb9c0b4a95044810546e2ba38d15426ef9399cb8c2cb20c2755a892aa30c069d1cc12d7f
6
+ metadata.gz: 2b196f52a16768febf63e6779525cd25cee0d7d255bea11f1e498f8865da8d39fe2edcbcedff0b6af0dd1abd9f3d20c5a21727c9c0381dfa5e7e0d982836406e
7
+ data.tar.gz: 11c29e4f3976a435e98744468ce7995b9e01fe46c89d4544d629c77a0ed634da85bc2e069764a69f43e73c527a2ce6ff5ffbd509c07bdae9a5c30c59df841870
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # salsify_rubocop
2
2
 
3
+ ## 1.27.1
4
+ - Set `Style/HashSyntax` option `EnforcedShorthandSyntax: either`, allowing both `{ foo: }` and `{ foo: foo }`
5
+
3
6
  ## 1.27.0
4
7
  - Note: Previous versions had drifted from the documented versioning scheme,
5
8
  which states that versions should match the shipped version of `rubocop`.
@@ -232,6 +232,10 @@ Style/HashAsLastArrayItem:
232
232
  Style/HashEachMethods:
233
233
  Enabled: false
234
234
 
235
+ # Allow both { foo: } and { foo: foo }
236
+ Style/HashSyntax:
237
+ EnforcedShorthandSyntax: either
238
+
235
239
  Style/OptionalBooleanParameter:
236
240
  Enabled: false
237
241
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SalsifyRubocop
4
- VERSION = '1.27.0'
4
+ VERSION = '1.27.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: salsify_rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.27.0
4
+ version: 1.27.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salsify, Inc
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-13 00:00:00.000000000 Z
11
+ date: 2022-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  - !ruby/object:Gem::Version
178
178
  version: '0'
179
179
  requirements: []
180
- rubygems_version: 3.2.22
180
+ rubygems_version: 3.2.33
181
181
  signing_key:
182
182
  specification_version: 4
183
183
  summary: Shared RuboCop configuration