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 +4 -4
- data/default.yml +5 -0
- data/lib/defra/style/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3376cd74d76c14434b505303fd5e4bb7d73d553a
|
4
|
+
data.tar.gz: 7b5dbb2624a06181e3a5034a547fee2b22e5cf9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
data/lib/defra/style/version.rb
CHANGED
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.
|
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
|
11
|
+
date: 2019-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|