ezcater_rubocop 0.50.3 → 0.50.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/conf/rubocop.yml +9 -0
- data/ezcater_rubocop.gemspec +2 -2
- data/lib/ezcater_rubocop/version.rb +1 -1
- data/lib/rubocop/cop/ezcater/private_attr.rb +3 -3
- 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: 8bbf60014e88c51af80d8206822d7671c96a9d76
|
4
|
+
data.tar.gz: f42929391bb6c76b049cd618565093060fb1a90c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 446828835caa713c2ea2b45771e2ef5b7b74d9a7fd15b7ef18ca9eabb080b789b759cee80a16993a13d863b4af7719c3d0d826d16646d92f1521fa888e8db273
|
7
|
+
data.tar.gz: e7819c20f823b3b349c3f50340cbe6cc9b24d7fa28daa342b38a1b6267df2427b5a480d1c9adc8e296c9b697676843607ae8844bbb240196e71c4d20b573df84
|
data/CHANGELOG.md
CHANGED
data/conf/rubocop.yml
CHANGED
@@ -47,6 +47,15 @@ Style/Documentation:
|
|
47
47
|
Style/NumericLiterals:
|
48
48
|
Enabled: false
|
49
49
|
|
50
|
+
Style/PercentLiteralDelimiters:
|
51
|
+
PreferredDelimiters:
|
52
|
+
default: '()'
|
53
|
+
'%i': '()'
|
54
|
+
'%I': '()'
|
55
|
+
'%r': '{}'
|
56
|
+
'%w': '()'
|
57
|
+
'%W': '()'
|
58
|
+
|
50
59
|
Style/SingleLineBlockParams:
|
51
60
|
Enabled: false
|
52
61
|
|
data/ezcater_rubocop.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
"public gem pushes."
|
23
23
|
end
|
24
24
|
|
25
|
-
excluded_files = %w
|
25
|
+
excluded_files = %w(.circleci/config.yml
|
26
26
|
.gitignore
|
27
27
|
.rspec
|
28
28
|
.rubocop.yml
|
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
.travis.yml
|
32
32
|
bin/console
|
33
33
|
bin/setup
|
34
|
-
Rakefile
|
34
|
+
Rakefile)
|
35
35
|
|
36
36
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
37
37
|
f.match(%r{^(test|spec|features)/})
|
@@ -36,11 +36,11 @@ module RuboCop
|
|
36
36
|
# end
|
37
37
|
# end
|
38
38
|
class PrivateAttr < Cop
|
39
|
-
ATTR_METHODS = %i
|
39
|
+
ATTR_METHODS = %i(attr_accessor
|
40
40
|
attr_reader
|
41
|
-
attr_writer
|
41
|
+
attr_writer).freeze
|
42
42
|
|
43
|
-
ACCESS_AFFECTED_METHODS = (ATTR_METHODS + %i
|
43
|
+
ACCESS_AFFECTED_METHODS = (ATTR_METHODS + %i(alias_method)).to_set.freeze
|
44
44
|
|
45
45
|
MSG = "Use `%s_%s` instead".freeze
|
46
46
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ezcater_rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.50.
|
4
|
+
version: 0.50.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ezCater, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|