defra_ruby_style 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: 17eaf057a1a1fb51d3fb267cecaa0581e9247d2e
4
- data.tar.gz: b43aa3cad9c4078b53b7b701491019693bf03ebd
3
+ metadata.gz: 3376cd74d76c14434b505303fd5e4bb7d73d553a
4
+ data.tar.gz: 7b5dbb2624a06181e3a5034a547fee2b22e5cf9b
5
5
  SHA512:
6
- metadata.gz: 353067055ca5cdcc11714c78da61525aab05642ace589a3dd850b2e28a7634a3580c670ccdbdd4f1b403f251dd1997dd8f684a6eb5269b56ddfeb07dcf6f6455
7
- data.tar.gz: ae6d89cca0fa1deea94374a22e4c9e1a62bfc3ed19538580fc5a01c34cbf4453a2b4f2c71feb882ec4530d8b07721dbcc2a49df0a2439bf11224132dd05a023a
6
+ metadata.gz: 6a1df55c4c7d3744953dc6907c084c7b18ead949cd556d2643943b0509e8300861ae124dafc8cffcaaee3bf99f3b0813c9eb04c2ac8327c1eae2ad15fd40d639
7
+ data.tar.gz: 50ea9e6bcad6e4b84ffbcd587010db5474f93742c1db73bfe9bdfefee99d120b8981978f6352cba0f26620a0083a5f8559c27468a68a5f46a2de3b87b28f764b
data/default.yml CHANGED
@@ -99,6 +99,11 @@ Naming/FileName:
99
99
  # breaks rubocop's filename rules hence the exclusion
100
100
  - "**/Capfile"
101
101
 
102
+ # https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Naming/MemoizedInstanceVariableName
103
+ # We want to allow memoized instance variable names to be created with @_ and without.
104
+ Naming/MemoizedInstanceVariableName:
105
+ EnforcedStyleForLeadingUnderscores: optional
106
+
102
107
  # As a web app, as long as the team commit to using well named classes for
103
108
  # controllers, models etc it should not be necessary to add top-level class
104
109
  # documentation.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Defra
4
4
  module Style
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: defra_ruby_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Defra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-01 00:00:00.000000000 Z
11
+ date: 2019-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop