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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a4166002b19c921cdfbdc713b991236d768fd5e
4
- data.tar.gz: e149b27ad012bd32494616dbe75c38c257195873
3
+ metadata.gz: 8bbf60014e88c51af80d8206822d7671c96a9d76
4
+ data.tar.gz: f42929391bb6c76b049cd618565093060fb1a90c
5
5
  SHA512:
6
- metadata.gz: af94aef1a0c6fa8231970eb8fd4d13de42b31eca5809d7b20777c74d132bcdc0d86c456e2d901390ae435d2a3411bfcd80e0f4c471d5e1b2d7e0af4a4e22bf4d
7
- data.tar.gz: d2dfb7f999c54783d8d8bf1cbaf95079e3ab975708daa79953b740af0a5a87dafd7f34410c6c37dc641f74981b8d9522b4a98ea703eb3a30665e476863d5ff70
6
+ metadata.gz: 446828835caa713c2ea2b45771e2ef5b7b74d9a7fd15b7ef18ca9eabb080b789b759cee80a16993a13d863b4af7719c3d0d826d16646d92f1521fa888e8db273
7
+ data.tar.gz: e7819c20f823b3b349c3f50340cbe6cc9b24d7fa28daa342b38a1b6267df2427b5a480d1c9adc8e296c9b697676843607ae8844bbb240196e71c4d20b573df84
@@ -1,5 +1,8 @@
1
1
  # ezcater_rubocop
2
2
 
3
+ ## v0.50.4
4
+ - Configure `Style/PercentLiteralDelimiters` to prefer parentheses.
5
+
3
6
  ## v0.50.3
4
7
  - Configure `RSpec/MultipleExpectations` with a `Max` value of 5.
5
8
 
@@ -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
 
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  "public gem pushes."
23
23
  end
24
24
 
25
- excluded_files = %w[.circleci/config.yml
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)/})
@@ -1,3 +1,3 @@
1
1
  module EzcaterRubocop
2
- VERSION = "0.50.3".freeze
2
+ VERSION = "0.50.4".freeze
3
3
  end
@@ -36,11 +36,11 @@ module RuboCop
36
36
  # end
37
37
  # end
38
38
  class PrivateAttr < Cop
39
- ATTR_METHODS = %i[attr_accessor
39
+ ATTR_METHODS = %i(attr_accessor
40
40
  attr_reader
41
- attr_writer].freeze
41
+ attr_writer).freeze
42
42
 
43
- ACCESS_AFFECTED_METHODS = (ATTR_METHODS + %i[alias_method]).to_set.freeze
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.3
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-24 00:00:00.000000000 Z
11
+ date: 2017-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler