rubocop 0.11.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rubocop might be problematic. Click here for more details.

Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +1 -1
  4. data/lib/rubocop/cop/style/ascii_comments.rb +1 -1
  5. data/lib/rubocop/cop/style/block_comments.rb +1 -1
  6. data/lib/rubocop/cop/style/colon_method_call.rb +9 -4
  7. data/lib/rubocop/cop/style/favor_unless_over_negated_if.rb +3 -0
  8. data/lib/rubocop/cop/style/leading_comment_space.rb +1 -1
  9. data/lib/rubocop/formatter/clang_style_formatter.rb +1 -1
  10. data/lib/rubocop/version.rb +1 -1
  11. data/rubocop.gemspec +1 -1
  12. data/spec/rubocop/{cops → cop}/commissioner_spec.rb +0 -0
  13. data/spec/rubocop/{cops → cop}/cop_spec.rb +0 -0
  14. data/spec/rubocop/{cops → cop}/corrector_spec.rb +0 -0
  15. data/spec/rubocop/{cops → cop}/lint/assignment_in_condition_spec.rb +0 -0
  16. data/spec/rubocop/{cops → cop}/lint/block_alignment_spec.rb +0 -0
  17. data/spec/rubocop/{cops → cop}/lint/empty_ensure_spec.rb +0 -0
  18. data/spec/rubocop/{cops → cop}/lint/end_alignment_spec.rb +0 -0
  19. data/spec/rubocop/{cops → cop}/lint/end_in_method_spec.rb +0 -0
  20. data/spec/rubocop/{cops → cop}/lint/ensure_return_spec.rb +0 -0
  21. data/spec/rubocop/{cops → cop}/lint/eval_spec.rb +0 -0
  22. data/spec/rubocop/{cops → cop}/lint/handle_exceptions_spec.rb +0 -0
  23. data/spec/rubocop/{cops → cop}/lint/literal_in_condition_spec.rb +0 -0
  24. data/spec/rubocop/{cops → cop}/lint/loop_spec.rb +0 -0
  25. data/spec/rubocop/{cops → cop}/lint/rescue_exception_spec.rb +0 -0
  26. data/spec/rubocop/{cops → cop}/lint/shadowing_outer_local_variable_spec.rb +0 -0
  27. data/spec/rubocop/{cops → cop}/lint/unreachable_code_spec.rb +0 -0
  28. data/spec/rubocop/{cops → cop}/lint/unused_local_variable_spec.rb +0 -0
  29. data/spec/rubocop/{cops → cop}/lint/useless_assignment_spec.rb +0 -0
  30. data/spec/rubocop/{cops → cop}/lint/useless_comparison_spec.rb +0 -0
  31. data/spec/rubocop/{cops → cop}/lint/void_spec.rb +0 -0
  32. data/spec/rubocop/{cops → cop}/offence_spec.rb +0 -0
  33. data/spec/rubocop/{cops → cop}/rails/validation_spec.rb +0 -0
  34. data/spec/rubocop/{cops → cop}/style/access_control_spec.rb +0 -0
  35. data/spec/rubocop/{cops → cop}/style/alias_spec.rb +0 -0
  36. data/spec/rubocop/{cops → cop}/style/align_parameters_spec.rb +0 -0
  37. data/spec/rubocop/{cops → cop}/style/and_or_spec.rb +0 -0
  38. data/spec/rubocop/{cops → cop}/style/ascii_comments_spec.rb +0 -0
  39. data/spec/rubocop/{cops → cop}/style/ascii_identifiers_spec.rb +0 -0
  40. data/spec/rubocop/{cops → cop}/style/attr_spec.rb +0 -0
  41. data/spec/rubocop/{cops → cop}/style/avoid_class_vars_spec.rb +0 -0
  42. data/spec/rubocop/{cops → cop}/style/avoid_for_spec.rb +0 -0
  43. data/spec/rubocop/{cops → cop}/style/avoid_global_vars_spec.rb +0 -0
  44. data/spec/rubocop/{cops → cop}/style/avoid_perl_backrefs_spec.rb +0 -0
  45. data/spec/rubocop/{cops → cop}/style/avoid_perlisms_spec.rb +0 -0
  46. data/spec/rubocop/{cops → cop}/style/begin_block_spec.rb +0 -0
  47. data/spec/rubocop/{cops → cop}/style/block_comments_spec.rb +0 -0
  48. data/spec/rubocop/{cops → cop}/style/block_nesting_spec.rb +0 -0
  49. data/spec/rubocop/{cops → cop}/style/blocks_spec.rb +0 -0
  50. data/spec/rubocop/{cops → cop}/style/case_equality_spec.rb +0 -0
  51. data/spec/rubocop/{cops → cop}/style/case_indentation_spec.rb +0 -0
  52. data/spec/rubocop/{cops → cop}/style/character_literal_spec.rb +0 -0
  53. data/spec/rubocop/{cops → cop}/style/class_and_module_camel_case_spec.rb +0 -0
  54. data/spec/rubocop/{cops → cop}/style/class_methods_spec.rb +0 -0
  55. data/spec/rubocop/{cops → cop}/style/collection_methods_spec.rb +0 -0
  56. data/spec/rubocop/{cops → cop}/style/colon_method_call_spec.rb +10 -1
  57. data/spec/rubocop/{cops → cop}/style/comment_annotation_spec.rb +0 -0
  58. data/spec/rubocop/{cops → cop}/style/constant_name_spec.rb +0 -0
  59. data/spec/rubocop/{cops → cop}/style/def_with_parentheses_spec.rb +0 -0
  60. data/spec/rubocop/{cops → cop}/style/def_without_parentheses_spec.rb +0 -0
  61. data/spec/rubocop/{cops → cop}/style/documentation_spec.rb +0 -0
  62. data/spec/rubocop/{cops → cop}/style/dot_position_spec.rb +0 -0
  63. data/spec/rubocop/{cops → cop}/style/empty_line_between_defs_spec.rb +0 -0
  64. data/spec/rubocop/{cops → cop}/style/empty_lines_spec.rb +0 -0
  65. data/spec/rubocop/{cops → cop}/style/empty_literal_spec.rb +0 -0
  66. data/spec/rubocop/{cops → cop}/style/encoding_spec.rb +0 -0
  67. data/spec/rubocop/{cops → cop}/style/end_block_spec.rb +0 -0
  68. data/spec/rubocop/{cops → cop}/style/end_of_line_spec.rb +0 -0
  69. data/spec/rubocop/{cops → cop}/style/favor_join_spec.rb +0 -0
  70. data/spec/rubocop/{cops → cop}/style/favor_modifier_spec.rb +0 -0
  71. data/spec/rubocop/{cops → cop}/style/favor_sprintf_spec.rb +0 -0
  72. data/spec/rubocop/{cops → cop}/style/favor_unless_over_negated_if_spec.rb +28 -10
  73. data/spec/rubocop/{cops → cop}/style/favor_until_over_negated_while_spec.rb +0 -0
  74. data/spec/rubocop/{cops → cop}/style/hash_syntax_spec.rb +0 -0
  75. data/spec/rubocop/{cops → cop}/style/if_with_semicolon_spec.rb +0 -0
  76. data/spec/rubocop/{cops → cop}/style/lambda_spec.rb +0 -0
  77. data/spec/rubocop/{cops → cop}/style/leading_comment_space_spec.rb +0 -0
  78. data/spec/rubocop/{cops → cop}/style/line_continuation_spec.rb +0 -0
  79. data/spec/rubocop/{cops → cop}/style/line_length_spec.rb +0 -0
  80. data/spec/rubocop/{cops → cop}/style/method_and_variable_snake_case_spec.rb +0 -0
  81. data/spec/rubocop/{cops → cop}/style/method_call_parentheses_spec.rb +0 -0
  82. data/spec/rubocop/{cops → cop}/style/method_length_spec.rb +0 -0
  83. data/spec/rubocop/{cops → cop}/style/module_function_spec.rb +0 -0
  84. data/spec/rubocop/{cops → cop}/style/multiline_if_then_spec.rb +0 -0
  85. data/spec/rubocop/{cops → cop}/style/not_spec.rb +0 -0
  86. data/spec/rubocop/{cops → cop}/style/numeric_literals_spec.rb +0 -0
  87. data/spec/rubocop/{cops → cop}/style/one_line_conditional_spec.rb +0 -0
  88. data/spec/rubocop/{cops → cop}/style/op_method_spec.rb +0 -0
  89. data/spec/rubocop/{cops → cop}/style/parameter_lists_spec.rb +0 -0
  90. data/spec/rubocop/{cops → cop}/style/parentheses_around_condition_spec.rb +0 -0
  91. data/spec/rubocop/{cops → cop}/style/proc_spec.rb +0 -0
  92. data/spec/rubocop/{cops → cop}/style/reduce_arguments_spec.rb +0 -0
  93. data/spec/rubocop/{cops → cop}/style/redundant_begin_spec.rb +0 -0
  94. data/spec/rubocop/{cops → cop}/style/redundant_return_spec.rb +0 -0
  95. data/spec/rubocop/{cops → cop}/style/redundant_self_spec.rb +0 -0
  96. data/spec/rubocop/{cops → cop}/style/regexp_literal_spec.rb +0 -0
  97. data/spec/rubocop/{cops → cop}/style/rescue_modifier_spec.rb +0 -0
  98. data/spec/rubocop/{cops → cop}/style/semicolon_spec.rb +0 -0
  99. data/spec/rubocop/{cops → cop}/style/signal_exception_spec.rb +0 -0
  100. data/spec/rubocop/{cops → cop}/style/single_line_methods_spec.rb +0 -0
  101. data/spec/rubocop/{cops → cop}/style/space_after_colon_spec.rb +0 -0
  102. data/spec/rubocop/{cops → cop}/style/space_after_comma_spec.rb +0 -0
  103. data/spec/rubocop/{cops → cop}/style/space_after_control_keyword_spec.rb +0 -0
  104. data/spec/rubocop/{cops → cop}/style/space_after_semicolon_spec.rb +0 -0
  105. data/spec/rubocop/{cops → cop}/style/space_around_braces_spec.rb +0 -0
  106. data/spec/rubocop/{cops → cop}/style/space_around_equals_in_default_parameter_spec.rb +0 -0
  107. data/spec/rubocop/{cops → cop}/style/space_around_operators_spec.rb +0 -0
  108. data/spec/rubocop/{cops → cop}/style/space_inside_brackets_spec.rb +0 -0
  109. data/spec/rubocop/{cops → cop}/style/space_inside_hash_literal_braces_spec.rb +0 -0
  110. data/spec/rubocop/{cops → cop}/style/space_inside_parens_spec.rb +0 -0
  111. data/spec/rubocop/{cops → cop}/style/string_literals_spec.rb +0 -0
  112. data/spec/rubocop/{cops → cop}/style/symbol_array_spec.rb +0 -0
  113. data/spec/rubocop/{cops → cop}/style/symbol_name_spec.rb +0 -0
  114. data/spec/rubocop/{cops → cop}/style/tab_spec.rb +0 -0
  115. data/spec/rubocop/{cops → cop}/style/ternary_operator_spec.rb +0 -0
  116. data/spec/rubocop/{cops → cop}/style/trailing_whitespace_spec.rb +0 -0
  117. data/spec/rubocop/{cops → cop}/style/trivial_accessors_spec.rb +0 -0
  118. data/spec/rubocop/{cops → cop}/style/unless_else_spec.rb +0 -0
  119. data/spec/rubocop/{cops → cop}/style/variable_interpolation_spec.rb +0 -0
  120. data/spec/rubocop/{cops → cop}/style/when_then_spec.rb +0 -0
  121. data/spec/rubocop/{cops → cop}/style/while_until_do_spec.rb +0 -0
  122. data/spec/rubocop/{cops → cop}/style/word_array_spec.rb +0 -0
  123. data/spec/rubocop/{cops → cop}/variable_inspector_spec.rb +0 -0
  124. metadata +230 -230
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46a70e165239937f96e1ec60cf1d25c1ae523b8f
4
- data.tar.gz: 9f8958bc707a011fdc1dc40b1e121e060d2d52ba
3
+ metadata.gz: 2faac5537f8a90a10686b48873e68045e6b47df8
4
+ data.tar.gz: d2bcd8de09aa159aa8bcf1f342194a81cd8d1f06
5
5
  SHA512:
6
- metadata.gz: c7e3f337b0ff25c99080a7dcc196a85307cc98db3c8a5b837e51e37e515c36145297dd44d31919a983dc7a4a4592fb31ea3a063ca0a916acaa1535ac7a4789f2
7
- data.tar.gz: 8374798fa3ad9c7e0a7ac42c51597aaa2e32a0f5d261de2b3aab01921ed5fad558e71223a22e51442f9001e849ea3ae0a1ab5a467851ed57c88ca0d6dcc1e2c0
6
+ metadata.gz: b65464231491f7a7fe59bded76486c3a36aa58bae76dd7625fc68cbd1564a96474e16371acc8c6623b13d587bcaab2a80f0f70f2bfefed736c7941d260249e58
7
+ data.tar.gz: c9e362bb95915fc8e7a23cb5322059620b79f57a5c73b17a5a56de600d141139b16f77e72d461d22f9dead5fd5077c8076014ff01ed344894f6d9a1d13631c60
@@ -2,6 +2,25 @@
2
2
 
3
3
  ## master (unreleased)
4
4
 
5
+ ### New features
6
+
7
+ ### Bugs fixed
8
+
9
+ ### 0.11.1 (12/08/2013)
10
+
11
+ ### Changes
12
+
13
+ * [#425](https://github.com/bbatsov/rubocop/issues/425) - `
14
+ ColonMethodCalls` now allows
15
+ constructor methods (like `Nokogiri::HTML()` to be called with double colon.
16
+
17
+ ### Bugs fixed
18
+
19
+ * [#427](https://github.com/bbatsov/rubocop/issues/427) - FavorUnlessOverNegatedIf triggered when using elsifs
20
+ * [#429](https://github.com/bbatsov/rubocop/issues/429) - Fix `LeadingCommentSpace` offence reporting
21
+ * Fixed `AsciiComments` offence reporting
22
+ * Fixed `BlockComments` offence reporting
23
+
5
24
  ## 0.11.0 (09/08/2013)
6
25
 
7
26
  ### New features
data/README.md CHANGED
@@ -195,7 +195,7 @@ subdirectories.
195
195
  ### Automatically Generated Configuration
196
196
 
197
197
  If you have a code base with an overwhelming amount of offences, it can be a
198
- good idea to use `rubocop --auto_gen_config` and add an `inherit_from:
198
+ good idea to use `rubocop --auto-gen-config` and add an `inherit_from:
199
199
  rubocop-todo.yml` in your `.rubocop.yml`. The generated file `rubocop-todo.yml`
200
200
  contains configuration to disable all cops that currently detect an offence in
201
201
  the code. Then you can start removing the entries in the generated file one by
@@ -11,7 +11,7 @@ module Rubocop
11
11
  def investigate(processed_source)
12
12
  processed_source.comments.each do |comment|
13
13
  if comment.text =~ /[^\x00-\x7f]/
14
- add_offence(:convention, comment.loc, MSG)
14
+ add_offence(:convention, comment.loc.expression, MSG)
15
15
  end
16
16
  end
17
17
  end
@@ -10,7 +10,7 @@ module Rubocop
10
10
  def investigate(processed_source)
11
11
  processed_source.comments.each do |comment|
12
12
  if comment.text.start_with?('=begin')
13
- add_offence(:convention, comment.loc, MSG)
13
+ add_offence(:convention, comment.loc.expression, MSG)
14
14
  end
15
15
  end
16
16
  end
@@ -12,10 +12,15 @@ module Rubocop
12
12
  receiver, _method_name, *_args = *node
13
13
 
14
14
  # discard methods with nil receivers and op methods(like [])
15
- if receiver && node.loc.dot && node.loc.dot.is?('::')
16
- add_offence(:convention, node.loc.dot, MSG)
17
- do_autocorrect(node)
18
- end
15
+ return unless receiver && node.loc.dot && node.loc.dot.is?('::')
16
+ return if allowed_name(_method_name.to_s)
17
+
18
+ add_offence(:convention, node.loc.dot, MSG)
19
+ do_autocorrect(node)
20
+ end
21
+
22
+ def allowed_name(method_name)
23
+ method_name.match(/^[A-Z]/)
19
24
  end
20
25
 
21
26
  def autocorrect_action(node)
@@ -27,6 +27,9 @@ module Rubocop
27
27
  include FavorOtherKeywordOverNegation
28
28
 
29
29
  def on_if(node)
30
+ return unless node.loc.respond_to?(:keyword)
31
+ return if node.loc.keyword.is?('elsif')
32
+
30
33
  check(node)
31
34
  end
32
35
 
@@ -14,7 +14,7 @@ module Rubocop
14
14
  processed_source.comments.each do |comment|
15
15
  if comment.text =~ /^#+[^#\s:+-]/
16
16
  unless comment.text.start_with?('#!') && comment.loc.line == 1
17
- add_offence(:convention, comment.loc, MSG)
17
+ add_offence(:convention, comment.loc.expression, MSG)
18
18
  end
19
19
  end
20
20
  end
@@ -14,7 +14,7 @@ module Rubocop
14
14
 
15
15
  source_line = o.location.source_line
16
16
 
17
- unless source_line.strip.empty?
17
+ unless source_line.blank?
18
18
  output.puts(source_line)
19
19
  output.puts(' ' * o.location.column +
20
20
  '^' * o.location.column_range.count)
@@ -3,7 +3,7 @@
3
3
  module Rubocop
4
4
  # This module holds the RuboCop version information.
5
5
  module Version
6
- STRING = '0.11.0'
6
+ STRING = '0.11.1'
7
7
 
8
8
  MSG = '%s (using Parser %s, running on %s %s %s)'
9
9
 
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
29
29
  s.add_runtime_dependency('rainbow', '>= 1.1.4')
30
30
  s.add_runtime_dependency('parser', '~> 2.0.0.pre6')
31
31
  s.add_runtime_dependency('backports', '~> 3.3.3')
32
- s.add_runtime_dependency('powerpack', '0.0.1')
32
+ s.add_runtime_dependency('powerpack', '~> 0.0.3')
33
33
  s.add_development_dependency('rake', '~> 10.1')
34
34
  s.add_development_dependency('rspec', '~> 2.14')
35
35
  s.add_development_dependency('yard', '~> 0.8')
File without changes
@@ -6,7 +6,10 @@ module Rubocop
6
6
  module Cop
7
7
  module Style
8
8
  describe ColonMethodCall do
9
- let(:cop) { ColonMethodCall.new }
9
+ subject(:cop) { described_class.new }
10
+ before do
11
+ described_class.config = {}
12
+ end
10
13
 
11
14
  it 'registers an offence for instance method call' do
12
15
  inspect_source(cop,
@@ -50,6 +53,12 @@ module Rubocop
50
53
  expect(cop.offences).to be_empty
51
54
  end
52
55
 
56
+ it 'does not register an offence when for constructor methods' do
57
+ inspect_source(cop,
58
+ ['Tip::Top(some_arg)'])
59
+ expect(cop.offences).to be_empty
60
+ end
61
+
53
62
  it 'auto-corrects "::" with "."' do
54
63
  new_source = autocorrect_source(cop, 'test::method')
55
64
  expect(new_source).to eq('test.method')
@@ -6,34 +6,34 @@ module Rubocop
6
6
  module Cop
7
7
  module Style
8
8
  describe FavorUnlessOverNegatedIf do
9
- let(:fav_unless) { FavorUnlessOverNegatedIf.new }
9
+ let(:cop) { described_class.new }
10
10
 
11
11
  it 'registers an offence for if with exclamation point condition' do
12
- inspect_source(fav_unless,
12
+ inspect_source(cop,
13
13
  ['if !a_condition',
14
14
  ' some_method',
15
15
  'end',
16
16
  'some_method if !a_condition',
17
17
  ])
18
- expect(fav_unless.offences.map(&:message)).to eq(
18
+ expect(cop.messages).to eq(
19
19
  ['Favor unless (or control flow or) over if for negative ' +
20
20
  'conditions.'] * 2)
21
21
  end
22
22
 
23
23
  it 'registers an offence for if with "not" condition' do
24
- inspect_source(fav_unless,
24
+ inspect_source(cop,
25
25
  ['if not a_condition',
26
26
  ' some_method',
27
27
  'end',
28
28
  'some_method if not a_condition'])
29
- expect(fav_unless.offences.map(&:message)).to eq(
29
+ expect(cop.messages).to eq(
30
30
  ['Favor unless (or control flow or) over if for negative ' +
31
31
  'conditions.'] * 2)
32
- expect(fav_unless.offences.map(&:line)).to eq([1, 4])
32
+ expect(cop.offences.map(&:line)).to eq([1, 4])
33
33
  end
34
34
 
35
35
  it 'accepts an if/else with negative condition' do
36
- inspect_source(fav_unless,
36
+ inspect_source(cop,
37
37
  ['if !a_condition',
38
38
  ' some_method',
39
39
  'else',
@@ -44,11 +44,11 @@ module Rubocop
44
44
  'elsif other_condition',
45
45
  ' something_else',
46
46
  'end'])
47
- expect(fav_unless.offences.map(&:message)).to be_empty
47
+ expect(cop.offences).to be_empty
48
48
  end
49
49
 
50
50
  it 'accepts an if where only part of the contition is negated' do
51
- inspect_source(fav_unless,
51
+ inspect_source(cop,
52
52
  ['if !condition && another_condition',
53
53
  ' some_method',
54
54
  'end',
@@ -56,7 +56,25 @@ module Rubocop
56
56
  ' some_method',
57
57
  'end',
58
58
  'some_method if not condition or another_condition'])
59
- expect(fav_unless.offences.map(&:message)).to be_empty
59
+ expect(cop.offences).to be_empty
60
+ end
61
+
62
+ it 'is not confused by negated elsif' do
63
+ inspect_source(cop,
64
+ ['if test.is_a?(String)',
65
+ ' 3',
66
+ 'elsif test.is_a?(Array)',
67
+ ' 2',
68
+ 'elsif !test.nil?',
69
+ ' 1',
70
+ 'end'])
71
+
72
+ expect(cop.offences).to be_empty
73
+ end
74
+
75
+ it 'does not blow up for ternary ops' do
76
+ inspect_source(cop, 'a ? b : c')
77
+ expect(cop.offences).to be_empty
60
78
  end
61
79
  end
62
80
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bozhidar Batsov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-09 00:00:00.000000000 Z
11
+ date: 2013-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rainbow
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: powerpack
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '='
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: 0.0.1
61
+ version: 0.0.3
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '='
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: 0.0.1
68
+ version: 0.0.3
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -292,118 +292,118 @@ files:
292
292
  - spec/rubocop/cli_spec.rb
293
293
  - spec/rubocop/config_spec.rb
294
294
  - spec/rubocop/config_store_spec.rb
295
- - spec/rubocop/cops/commissioner_spec.rb
296
- - spec/rubocop/cops/cop_spec.rb
297
- - spec/rubocop/cops/corrector_spec.rb
298
- - spec/rubocop/cops/lint/assignment_in_condition_spec.rb
299
- - spec/rubocop/cops/lint/block_alignment_spec.rb
300
- - spec/rubocop/cops/lint/empty_ensure_spec.rb
301
- - spec/rubocop/cops/lint/end_alignment_spec.rb
302
- - spec/rubocop/cops/lint/end_in_method_spec.rb
303
- - spec/rubocop/cops/lint/ensure_return_spec.rb
304
- - spec/rubocop/cops/lint/eval_spec.rb
305
- - spec/rubocop/cops/lint/handle_exceptions_spec.rb
306
- - spec/rubocop/cops/lint/literal_in_condition_spec.rb
307
- - spec/rubocop/cops/lint/loop_spec.rb
308
- - spec/rubocop/cops/lint/rescue_exception_spec.rb
309
- - spec/rubocop/cops/lint/shadowing_outer_local_variable_spec.rb
310
- - spec/rubocop/cops/lint/unreachable_code_spec.rb
311
- - spec/rubocop/cops/lint/unused_local_variable_spec.rb
312
- - spec/rubocop/cops/lint/useless_assignment_spec.rb
313
- - spec/rubocop/cops/lint/useless_comparison_spec.rb
314
- - spec/rubocop/cops/lint/void_spec.rb
315
- - spec/rubocop/cops/offence_spec.rb
316
- - spec/rubocop/cops/rails/validation_spec.rb
317
- - spec/rubocop/cops/style/access_control_spec.rb
318
- - spec/rubocop/cops/style/alias_spec.rb
319
- - spec/rubocop/cops/style/align_parameters_spec.rb
320
- - spec/rubocop/cops/style/and_or_spec.rb
321
- - spec/rubocop/cops/style/ascii_comments_spec.rb
322
- - spec/rubocop/cops/style/ascii_identifiers_spec.rb
323
- - spec/rubocop/cops/style/attr_spec.rb
324
- - spec/rubocop/cops/style/avoid_class_vars_spec.rb
325
- - spec/rubocop/cops/style/avoid_for_spec.rb
326
- - spec/rubocop/cops/style/avoid_global_vars_spec.rb
327
- - spec/rubocop/cops/style/avoid_perl_backrefs_spec.rb
328
- - spec/rubocop/cops/style/avoid_perlisms_spec.rb
329
- - spec/rubocop/cops/style/begin_block_spec.rb
330
- - spec/rubocop/cops/style/block_comments_spec.rb
331
- - spec/rubocop/cops/style/block_nesting_spec.rb
332
- - spec/rubocop/cops/style/blocks_spec.rb
333
- - spec/rubocop/cops/style/case_equality_spec.rb
334
- - spec/rubocop/cops/style/case_indentation_spec.rb
335
- - spec/rubocop/cops/style/character_literal_spec.rb
336
- - spec/rubocop/cops/style/class_and_module_camel_case_spec.rb
337
- - spec/rubocop/cops/style/class_methods_spec.rb
338
- - spec/rubocop/cops/style/collection_methods_spec.rb
339
- - spec/rubocop/cops/style/colon_method_call_spec.rb
340
- - spec/rubocop/cops/style/comment_annotation_spec.rb
341
- - spec/rubocop/cops/style/constant_name_spec.rb
342
- - spec/rubocop/cops/style/def_with_parentheses_spec.rb
343
- - spec/rubocop/cops/style/def_without_parentheses_spec.rb
344
- - spec/rubocop/cops/style/documentation_spec.rb
345
- - spec/rubocop/cops/style/dot_position_spec.rb
346
- - spec/rubocop/cops/style/empty_line_between_defs_spec.rb
347
- - spec/rubocop/cops/style/empty_lines_spec.rb
348
- - spec/rubocop/cops/style/empty_literal_spec.rb
349
- - spec/rubocop/cops/style/encoding_spec.rb
350
- - spec/rubocop/cops/style/end_block_spec.rb
351
- - spec/rubocop/cops/style/end_of_line_spec.rb
352
- - spec/rubocop/cops/style/favor_join_spec.rb
353
- - spec/rubocop/cops/style/favor_modifier_spec.rb
354
- - spec/rubocop/cops/style/favor_sprintf_spec.rb
355
- - spec/rubocop/cops/style/favor_unless_over_negated_if_spec.rb
356
- - spec/rubocop/cops/style/favor_until_over_negated_while_spec.rb
357
- - spec/rubocop/cops/style/hash_syntax_spec.rb
358
- - spec/rubocop/cops/style/if_with_semicolon_spec.rb
359
- - spec/rubocop/cops/style/lambda_spec.rb
360
- - spec/rubocop/cops/style/leading_comment_space_spec.rb
361
- - spec/rubocop/cops/style/line_continuation_spec.rb
362
- - spec/rubocop/cops/style/line_length_spec.rb
363
- - spec/rubocop/cops/style/method_and_variable_snake_case_spec.rb
364
- - spec/rubocop/cops/style/method_call_parentheses_spec.rb
365
- - spec/rubocop/cops/style/method_length_spec.rb
366
- - spec/rubocop/cops/style/module_function_spec.rb
367
- - spec/rubocop/cops/style/multiline_if_then_spec.rb
368
- - spec/rubocop/cops/style/not_spec.rb
369
- - spec/rubocop/cops/style/numeric_literals_spec.rb
370
- - spec/rubocop/cops/style/one_line_conditional_spec.rb
371
- - spec/rubocop/cops/style/op_method_spec.rb
372
- - spec/rubocop/cops/style/parameter_lists_spec.rb
373
- - spec/rubocop/cops/style/parentheses_around_condition_spec.rb
374
- - spec/rubocop/cops/style/proc_spec.rb
375
- - spec/rubocop/cops/style/reduce_arguments_spec.rb
376
- - spec/rubocop/cops/style/redundant_begin_spec.rb
377
- - spec/rubocop/cops/style/redundant_return_spec.rb
378
- - spec/rubocop/cops/style/redundant_self_spec.rb
379
- - spec/rubocop/cops/style/regexp_literal_spec.rb
380
- - spec/rubocop/cops/style/rescue_modifier_spec.rb
381
- - spec/rubocop/cops/style/semicolon_spec.rb
382
- - spec/rubocop/cops/style/signal_exception_spec.rb
383
- - spec/rubocop/cops/style/single_line_methods_spec.rb
384
- - spec/rubocop/cops/style/space_after_colon_spec.rb
385
- - spec/rubocop/cops/style/space_after_comma_spec.rb
386
- - spec/rubocop/cops/style/space_after_control_keyword_spec.rb
387
- - spec/rubocop/cops/style/space_after_semicolon_spec.rb
388
- - spec/rubocop/cops/style/space_around_braces_spec.rb
389
- - spec/rubocop/cops/style/space_around_equals_in_default_parameter_spec.rb
390
- - spec/rubocop/cops/style/space_around_operators_spec.rb
391
- - spec/rubocop/cops/style/space_inside_brackets_spec.rb
392
- - spec/rubocop/cops/style/space_inside_hash_literal_braces_spec.rb
393
- - spec/rubocop/cops/style/space_inside_parens_spec.rb
394
- - spec/rubocop/cops/style/string_literals_spec.rb
395
- - spec/rubocop/cops/style/symbol_array_spec.rb
396
- - spec/rubocop/cops/style/symbol_name_spec.rb
397
- - spec/rubocop/cops/style/tab_spec.rb
398
- - spec/rubocop/cops/style/ternary_operator_spec.rb
399
- - spec/rubocop/cops/style/trailing_whitespace_spec.rb
400
- - spec/rubocop/cops/style/trivial_accessors_spec.rb
401
- - spec/rubocop/cops/style/unless_else_spec.rb
402
- - spec/rubocop/cops/style/variable_interpolation_spec.rb
403
- - spec/rubocop/cops/style/when_then_spec.rb
404
- - spec/rubocop/cops/style/while_until_do_spec.rb
405
- - spec/rubocop/cops/style/word_array_spec.rb
406
- - spec/rubocop/cops/variable_inspector_spec.rb
295
+ - spec/rubocop/cop/commissioner_spec.rb
296
+ - spec/rubocop/cop/cop_spec.rb
297
+ - spec/rubocop/cop/corrector_spec.rb
298
+ - spec/rubocop/cop/lint/assignment_in_condition_spec.rb
299
+ - spec/rubocop/cop/lint/block_alignment_spec.rb
300
+ - spec/rubocop/cop/lint/empty_ensure_spec.rb
301
+ - spec/rubocop/cop/lint/end_alignment_spec.rb
302
+ - spec/rubocop/cop/lint/end_in_method_spec.rb
303
+ - spec/rubocop/cop/lint/ensure_return_spec.rb
304
+ - spec/rubocop/cop/lint/eval_spec.rb
305
+ - spec/rubocop/cop/lint/handle_exceptions_spec.rb
306
+ - spec/rubocop/cop/lint/literal_in_condition_spec.rb
307
+ - spec/rubocop/cop/lint/loop_spec.rb
308
+ - spec/rubocop/cop/lint/rescue_exception_spec.rb
309
+ - spec/rubocop/cop/lint/shadowing_outer_local_variable_spec.rb
310
+ - spec/rubocop/cop/lint/unreachable_code_spec.rb
311
+ - spec/rubocop/cop/lint/unused_local_variable_spec.rb
312
+ - spec/rubocop/cop/lint/useless_assignment_spec.rb
313
+ - spec/rubocop/cop/lint/useless_comparison_spec.rb
314
+ - spec/rubocop/cop/lint/void_spec.rb
315
+ - spec/rubocop/cop/offence_spec.rb
316
+ - spec/rubocop/cop/rails/validation_spec.rb
317
+ - spec/rubocop/cop/style/access_control_spec.rb
318
+ - spec/rubocop/cop/style/alias_spec.rb
319
+ - spec/rubocop/cop/style/align_parameters_spec.rb
320
+ - spec/rubocop/cop/style/and_or_spec.rb
321
+ - spec/rubocop/cop/style/ascii_comments_spec.rb
322
+ - spec/rubocop/cop/style/ascii_identifiers_spec.rb
323
+ - spec/rubocop/cop/style/attr_spec.rb
324
+ - spec/rubocop/cop/style/avoid_class_vars_spec.rb
325
+ - spec/rubocop/cop/style/avoid_for_spec.rb
326
+ - spec/rubocop/cop/style/avoid_global_vars_spec.rb
327
+ - spec/rubocop/cop/style/avoid_perl_backrefs_spec.rb
328
+ - spec/rubocop/cop/style/avoid_perlisms_spec.rb
329
+ - spec/rubocop/cop/style/begin_block_spec.rb
330
+ - spec/rubocop/cop/style/block_comments_spec.rb
331
+ - spec/rubocop/cop/style/block_nesting_spec.rb
332
+ - spec/rubocop/cop/style/blocks_spec.rb
333
+ - spec/rubocop/cop/style/case_equality_spec.rb
334
+ - spec/rubocop/cop/style/case_indentation_spec.rb
335
+ - spec/rubocop/cop/style/character_literal_spec.rb
336
+ - spec/rubocop/cop/style/class_and_module_camel_case_spec.rb
337
+ - spec/rubocop/cop/style/class_methods_spec.rb
338
+ - spec/rubocop/cop/style/collection_methods_spec.rb
339
+ - spec/rubocop/cop/style/colon_method_call_spec.rb
340
+ - spec/rubocop/cop/style/comment_annotation_spec.rb
341
+ - spec/rubocop/cop/style/constant_name_spec.rb
342
+ - spec/rubocop/cop/style/def_with_parentheses_spec.rb
343
+ - spec/rubocop/cop/style/def_without_parentheses_spec.rb
344
+ - spec/rubocop/cop/style/documentation_spec.rb
345
+ - spec/rubocop/cop/style/dot_position_spec.rb
346
+ - spec/rubocop/cop/style/empty_line_between_defs_spec.rb
347
+ - spec/rubocop/cop/style/empty_lines_spec.rb
348
+ - spec/rubocop/cop/style/empty_literal_spec.rb
349
+ - spec/rubocop/cop/style/encoding_spec.rb
350
+ - spec/rubocop/cop/style/end_block_spec.rb
351
+ - spec/rubocop/cop/style/end_of_line_spec.rb
352
+ - spec/rubocop/cop/style/favor_join_spec.rb
353
+ - spec/rubocop/cop/style/favor_modifier_spec.rb
354
+ - spec/rubocop/cop/style/favor_sprintf_spec.rb
355
+ - spec/rubocop/cop/style/favor_unless_over_negated_if_spec.rb
356
+ - spec/rubocop/cop/style/favor_until_over_negated_while_spec.rb
357
+ - spec/rubocop/cop/style/hash_syntax_spec.rb
358
+ - spec/rubocop/cop/style/if_with_semicolon_spec.rb
359
+ - spec/rubocop/cop/style/lambda_spec.rb
360
+ - spec/rubocop/cop/style/leading_comment_space_spec.rb
361
+ - spec/rubocop/cop/style/line_continuation_spec.rb
362
+ - spec/rubocop/cop/style/line_length_spec.rb
363
+ - spec/rubocop/cop/style/method_and_variable_snake_case_spec.rb
364
+ - spec/rubocop/cop/style/method_call_parentheses_spec.rb
365
+ - spec/rubocop/cop/style/method_length_spec.rb
366
+ - spec/rubocop/cop/style/module_function_spec.rb
367
+ - spec/rubocop/cop/style/multiline_if_then_spec.rb
368
+ - spec/rubocop/cop/style/not_spec.rb
369
+ - spec/rubocop/cop/style/numeric_literals_spec.rb
370
+ - spec/rubocop/cop/style/one_line_conditional_spec.rb
371
+ - spec/rubocop/cop/style/op_method_spec.rb
372
+ - spec/rubocop/cop/style/parameter_lists_spec.rb
373
+ - spec/rubocop/cop/style/parentheses_around_condition_spec.rb
374
+ - spec/rubocop/cop/style/proc_spec.rb
375
+ - spec/rubocop/cop/style/reduce_arguments_spec.rb
376
+ - spec/rubocop/cop/style/redundant_begin_spec.rb
377
+ - spec/rubocop/cop/style/redundant_return_spec.rb
378
+ - spec/rubocop/cop/style/redundant_self_spec.rb
379
+ - spec/rubocop/cop/style/regexp_literal_spec.rb
380
+ - spec/rubocop/cop/style/rescue_modifier_spec.rb
381
+ - spec/rubocop/cop/style/semicolon_spec.rb
382
+ - spec/rubocop/cop/style/signal_exception_spec.rb
383
+ - spec/rubocop/cop/style/single_line_methods_spec.rb
384
+ - spec/rubocop/cop/style/space_after_colon_spec.rb
385
+ - spec/rubocop/cop/style/space_after_comma_spec.rb
386
+ - spec/rubocop/cop/style/space_after_control_keyword_spec.rb
387
+ - spec/rubocop/cop/style/space_after_semicolon_spec.rb
388
+ - spec/rubocop/cop/style/space_around_braces_spec.rb
389
+ - spec/rubocop/cop/style/space_around_equals_in_default_parameter_spec.rb
390
+ - spec/rubocop/cop/style/space_around_operators_spec.rb
391
+ - spec/rubocop/cop/style/space_inside_brackets_spec.rb
392
+ - spec/rubocop/cop/style/space_inside_hash_literal_braces_spec.rb
393
+ - spec/rubocop/cop/style/space_inside_parens_spec.rb
394
+ - spec/rubocop/cop/style/string_literals_spec.rb
395
+ - spec/rubocop/cop/style/symbol_array_spec.rb
396
+ - spec/rubocop/cop/style/symbol_name_spec.rb
397
+ - spec/rubocop/cop/style/tab_spec.rb
398
+ - spec/rubocop/cop/style/ternary_operator_spec.rb
399
+ - spec/rubocop/cop/style/trailing_whitespace_spec.rb
400
+ - spec/rubocop/cop/style/trivial_accessors_spec.rb
401
+ - spec/rubocop/cop/style/unless_else_spec.rb
402
+ - spec/rubocop/cop/style/variable_interpolation_spec.rb
403
+ - spec/rubocop/cop/style/when_then_spec.rb
404
+ - spec/rubocop/cop/style/while_until_do_spec.rb
405
+ - spec/rubocop/cop/style/word_array_spec.rb
406
+ - spec/rubocop/cop/variable_inspector_spec.rb
407
407
  - spec/rubocop/formatter/base_formatter_spec.rb
408
408
  - spec/rubocop/formatter/clang_style_formatter_spec.rb
409
409
  - spec/rubocop/formatter/disabled_config_formatter_spec.rb
@@ -452,118 +452,118 @@ test_files:
452
452
  - spec/rubocop/cli_spec.rb
453
453
  - spec/rubocop/config_spec.rb
454
454
  - spec/rubocop/config_store_spec.rb
455
- - spec/rubocop/cops/commissioner_spec.rb
456
- - spec/rubocop/cops/cop_spec.rb
457
- - spec/rubocop/cops/corrector_spec.rb
458
- - spec/rubocop/cops/lint/assignment_in_condition_spec.rb
459
- - spec/rubocop/cops/lint/block_alignment_spec.rb
460
- - spec/rubocop/cops/lint/empty_ensure_spec.rb
461
- - spec/rubocop/cops/lint/end_alignment_spec.rb
462
- - spec/rubocop/cops/lint/end_in_method_spec.rb
463
- - spec/rubocop/cops/lint/ensure_return_spec.rb
464
- - spec/rubocop/cops/lint/eval_spec.rb
465
- - spec/rubocop/cops/lint/handle_exceptions_spec.rb
466
- - spec/rubocop/cops/lint/literal_in_condition_spec.rb
467
- - spec/rubocop/cops/lint/loop_spec.rb
468
- - spec/rubocop/cops/lint/rescue_exception_spec.rb
469
- - spec/rubocop/cops/lint/shadowing_outer_local_variable_spec.rb
470
- - spec/rubocop/cops/lint/unreachable_code_spec.rb
471
- - spec/rubocop/cops/lint/unused_local_variable_spec.rb
472
- - spec/rubocop/cops/lint/useless_assignment_spec.rb
473
- - spec/rubocop/cops/lint/useless_comparison_spec.rb
474
- - spec/rubocop/cops/lint/void_spec.rb
475
- - spec/rubocop/cops/offence_spec.rb
476
- - spec/rubocop/cops/rails/validation_spec.rb
477
- - spec/rubocop/cops/style/access_control_spec.rb
478
- - spec/rubocop/cops/style/alias_spec.rb
479
- - spec/rubocop/cops/style/align_parameters_spec.rb
480
- - spec/rubocop/cops/style/and_or_spec.rb
481
- - spec/rubocop/cops/style/ascii_comments_spec.rb
482
- - spec/rubocop/cops/style/ascii_identifiers_spec.rb
483
- - spec/rubocop/cops/style/attr_spec.rb
484
- - spec/rubocop/cops/style/avoid_class_vars_spec.rb
485
- - spec/rubocop/cops/style/avoid_for_spec.rb
486
- - spec/rubocop/cops/style/avoid_global_vars_spec.rb
487
- - spec/rubocop/cops/style/avoid_perl_backrefs_spec.rb
488
- - spec/rubocop/cops/style/avoid_perlisms_spec.rb
489
- - spec/rubocop/cops/style/begin_block_spec.rb
490
- - spec/rubocop/cops/style/block_comments_spec.rb
491
- - spec/rubocop/cops/style/block_nesting_spec.rb
492
- - spec/rubocop/cops/style/blocks_spec.rb
493
- - spec/rubocop/cops/style/case_equality_spec.rb
494
- - spec/rubocop/cops/style/case_indentation_spec.rb
495
- - spec/rubocop/cops/style/character_literal_spec.rb
496
- - spec/rubocop/cops/style/class_and_module_camel_case_spec.rb
497
- - spec/rubocop/cops/style/class_methods_spec.rb
498
- - spec/rubocop/cops/style/collection_methods_spec.rb
499
- - spec/rubocop/cops/style/colon_method_call_spec.rb
500
- - spec/rubocop/cops/style/comment_annotation_spec.rb
501
- - spec/rubocop/cops/style/constant_name_spec.rb
502
- - spec/rubocop/cops/style/def_with_parentheses_spec.rb
503
- - spec/rubocop/cops/style/def_without_parentheses_spec.rb
504
- - spec/rubocop/cops/style/documentation_spec.rb
505
- - spec/rubocop/cops/style/dot_position_spec.rb
506
- - spec/rubocop/cops/style/empty_line_between_defs_spec.rb
507
- - spec/rubocop/cops/style/empty_lines_spec.rb
508
- - spec/rubocop/cops/style/empty_literal_spec.rb
509
- - spec/rubocop/cops/style/encoding_spec.rb
510
- - spec/rubocop/cops/style/end_block_spec.rb
511
- - spec/rubocop/cops/style/end_of_line_spec.rb
512
- - spec/rubocop/cops/style/favor_join_spec.rb
513
- - spec/rubocop/cops/style/favor_modifier_spec.rb
514
- - spec/rubocop/cops/style/favor_sprintf_spec.rb
515
- - spec/rubocop/cops/style/favor_unless_over_negated_if_spec.rb
516
- - spec/rubocop/cops/style/favor_until_over_negated_while_spec.rb
517
- - spec/rubocop/cops/style/hash_syntax_spec.rb
518
- - spec/rubocop/cops/style/if_with_semicolon_spec.rb
519
- - spec/rubocop/cops/style/lambda_spec.rb
520
- - spec/rubocop/cops/style/leading_comment_space_spec.rb
521
- - spec/rubocop/cops/style/line_continuation_spec.rb
522
- - spec/rubocop/cops/style/line_length_spec.rb
523
- - spec/rubocop/cops/style/method_and_variable_snake_case_spec.rb
524
- - spec/rubocop/cops/style/method_call_parentheses_spec.rb
525
- - spec/rubocop/cops/style/method_length_spec.rb
526
- - spec/rubocop/cops/style/module_function_spec.rb
527
- - spec/rubocop/cops/style/multiline_if_then_spec.rb
528
- - spec/rubocop/cops/style/not_spec.rb
529
- - spec/rubocop/cops/style/numeric_literals_spec.rb
530
- - spec/rubocop/cops/style/one_line_conditional_spec.rb
531
- - spec/rubocop/cops/style/op_method_spec.rb
532
- - spec/rubocop/cops/style/parameter_lists_spec.rb
533
- - spec/rubocop/cops/style/parentheses_around_condition_spec.rb
534
- - spec/rubocop/cops/style/proc_spec.rb
535
- - spec/rubocop/cops/style/reduce_arguments_spec.rb
536
- - spec/rubocop/cops/style/redundant_begin_spec.rb
537
- - spec/rubocop/cops/style/redundant_return_spec.rb
538
- - spec/rubocop/cops/style/redundant_self_spec.rb
539
- - spec/rubocop/cops/style/regexp_literal_spec.rb
540
- - spec/rubocop/cops/style/rescue_modifier_spec.rb
541
- - spec/rubocop/cops/style/semicolon_spec.rb
542
- - spec/rubocop/cops/style/signal_exception_spec.rb
543
- - spec/rubocop/cops/style/single_line_methods_spec.rb
544
- - spec/rubocop/cops/style/space_after_colon_spec.rb
545
- - spec/rubocop/cops/style/space_after_comma_spec.rb
546
- - spec/rubocop/cops/style/space_after_control_keyword_spec.rb
547
- - spec/rubocop/cops/style/space_after_semicolon_spec.rb
548
- - spec/rubocop/cops/style/space_around_braces_spec.rb
549
- - spec/rubocop/cops/style/space_around_equals_in_default_parameter_spec.rb
550
- - spec/rubocop/cops/style/space_around_operators_spec.rb
551
- - spec/rubocop/cops/style/space_inside_brackets_spec.rb
552
- - spec/rubocop/cops/style/space_inside_hash_literal_braces_spec.rb
553
- - spec/rubocop/cops/style/space_inside_parens_spec.rb
554
- - spec/rubocop/cops/style/string_literals_spec.rb
555
- - spec/rubocop/cops/style/symbol_array_spec.rb
556
- - spec/rubocop/cops/style/symbol_name_spec.rb
557
- - spec/rubocop/cops/style/tab_spec.rb
558
- - spec/rubocop/cops/style/ternary_operator_spec.rb
559
- - spec/rubocop/cops/style/trailing_whitespace_spec.rb
560
- - spec/rubocop/cops/style/trivial_accessors_spec.rb
561
- - spec/rubocop/cops/style/unless_else_spec.rb
562
- - spec/rubocop/cops/style/variable_interpolation_spec.rb
563
- - spec/rubocop/cops/style/when_then_spec.rb
564
- - spec/rubocop/cops/style/while_until_do_spec.rb
565
- - spec/rubocop/cops/style/word_array_spec.rb
566
- - spec/rubocop/cops/variable_inspector_spec.rb
455
+ - spec/rubocop/cop/commissioner_spec.rb
456
+ - spec/rubocop/cop/cop_spec.rb
457
+ - spec/rubocop/cop/corrector_spec.rb
458
+ - spec/rubocop/cop/lint/assignment_in_condition_spec.rb
459
+ - spec/rubocop/cop/lint/block_alignment_spec.rb
460
+ - spec/rubocop/cop/lint/empty_ensure_spec.rb
461
+ - spec/rubocop/cop/lint/end_alignment_spec.rb
462
+ - spec/rubocop/cop/lint/end_in_method_spec.rb
463
+ - spec/rubocop/cop/lint/ensure_return_spec.rb
464
+ - spec/rubocop/cop/lint/eval_spec.rb
465
+ - spec/rubocop/cop/lint/handle_exceptions_spec.rb
466
+ - spec/rubocop/cop/lint/literal_in_condition_spec.rb
467
+ - spec/rubocop/cop/lint/loop_spec.rb
468
+ - spec/rubocop/cop/lint/rescue_exception_spec.rb
469
+ - spec/rubocop/cop/lint/shadowing_outer_local_variable_spec.rb
470
+ - spec/rubocop/cop/lint/unreachable_code_spec.rb
471
+ - spec/rubocop/cop/lint/unused_local_variable_spec.rb
472
+ - spec/rubocop/cop/lint/useless_assignment_spec.rb
473
+ - spec/rubocop/cop/lint/useless_comparison_spec.rb
474
+ - spec/rubocop/cop/lint/void_spec.rb
475
+ - spec/rubocop/cop/offence_spec.rb
476
+ - spec/rubocop/cop/rails/validation_spec.rb
477
+ - spec/rubocop/cop/style/access_control_spec.rb
478
+ - spec/rubocop/cop/style/alias_spec.rb
479
+ - spec/rubocop/cop/style/align_parameters_spec.rb
480
+ - spec/rubocop/cop/style/and_or_spec.rb
481
+ - spec/rubocop/cop/style/ascii_comments_spec.rb
482
+ - spec/rubocop/cop/style/ascii_identifiers_spec.rb
483
+ - spec/rubocop/cop/style/attr_spec.rb
484
+ - spec/rubocop/cop/style/avoid_class_vars_spec.rb
485
+ - spec/rubocop/cop/style/avoid_for_spec.rb
486
+ - spec/rubocop/cop/style/avoid_global_vars_spec.rb
487
+ - spec/rubocop/cop/style/avoid_perl_backrefs_spec.rb
488
+ - spec/rubocop/cop/style/avoid_perlisms_spec.rb
489
+ - spec/rubocop/cop/style/begin_block_spec.rb
490
+ - spec/rubocop/cop/style/block_comments_spec.rb
491
+ - spec/rubocop/cop/style/block_nesting_spec.rb
492
+ - spec/rubocop/cop/style/blocks_spec.rb
493
+ - spec/rubocop/cop/style/case_equality_spec.rb
494
+ - spec/rubocop/cop/style/case_indentation_spec.rb
495
+ - spec/rubocop/cop/style/character_literal_spec.rb
496
+ - spec/rubocop/cop/style/class_and_module_camel_case_spec.rb
497
+ - spec/rubocop/cop/style/class_methods_spec.rb
498
+ - spec/rubocop/cop/style/collection_methods_spec.rb
499
+ - spec/rubocop/cop/style/colon_method_call_spec.rb
500
+ - spec/rubocop/cop/style/comment_annotation_spec.rb
501
+ - spec/rubocop/cop/style/constant_name_spec.rb
502
+ - spec/rubocop/cop/style/def_with_parentheses_spec.rb
503
+ - spec/rubocop/cop/style/def_without_parentheses_spec.rb
504
+ - spec/rubocop/cop/style/documentation_spec.rb
505
+ - spec/rubocop/cop/style/dot_position_spec.rb
506
+ - spec/rubocop/cop/style/empty_line_between_defs_spec.rb
507
+ - spec/rubocop/cop/style/empty_lines_spec.rb
508
+ - spec/rubocop/cop/style/empty_literal_spec.rb
509
+ - spec/rubocop/cop/style/encoding_spec.rb
510
+ - spec/rubocop/cop/style/end_block_spec.rb
511
+ - spec/rubocop/cop/style/end_of_line_spec.rb
512
+ - spec/rubocop/cop/style/favor_join_spec.rb
513
+ - spec/rubocop/cop/style/favor_modifier_spec.rb
514
+ - spec/rubocop/cop/style/favor_sprintf_spec.rb
515
+ - spec/rubocop/cop/style/favor_unless_over_negated_if_spec.rb
516
+ - spec/rubocop/cop/style/favor_until_over_negated_while_spec.rb
517
+ - spec/rubocop/cop/style/hash_syntax_spec.rb
518
+ - spec/rubocop/cop/style/if_with_semicolon_spec.rb
519
+ - spec/rubocop/cop/style/lambda_spec.rb
520
+ - spec/rubocop/cop/style/leading_comment_space_spec.rb
521
+ - spec/rubocop/cop/style/line_continuation_spec.rb
522
+ - spec/rubocop/cop/style/line_length_spec.rb
523
+ - spec/rubocop/cop/style/method_and_variable_snake_case_spec.rb
524
+ - spec/rubocop/cop/style/method_call_parentheses_spec.rb
525
+ - spec/rubocop/cop/style/method_length_spec.rb
526
+ - spec/rubocop/cop/style/module_function_spec.rb
527
+ - spec/rubocop/cop/style/multiline_if_then_spec.rb
528
+ - spec/rubocop/cop/style/not_spec.rb
529
+ - spec/rubocop/cop/style/numeric_literals_spec.rb
530
+ - spec/rubocop/cop/style/one_line_conditional_spec.rb
531
+ - spec/rubocop/cop/style/op_method_spec.rb
532
+ - spec/rubocop/cop/style/parameter_lists_spec.rb
533
+ - spec/rubocop/cop/style/parentheses_around_condition_spec.rb
534
+ - spec/rubocop/cop/style/proc_spec.rb
535
+ - spec/rubocop/cop/style/reduce_arguments_spec.rb
536
+ - spec/rubocop/cop/style/redundant_begin_spec.rb
537
+ - spec/rubocop/cop/style/redundant_return_spec.rb
538
+ - spec/rubocop/cop/style/redundant_self_spec.rb
539
+ - spec/rubocop/cop/style/regexp_literal_spec.rb
540
+ - spec/rubocop/cop/style/rescue_modifier_spec.rb
541
+ - spec/rubocop/cop/style/semicolon_spec.rb
542
+ - spec/rubocop/cop/style/signal_exception_spec.rb
543
+ - spec/rubocop/cop/style/single_line_methods_spec.rb
544
+ - spec/rubocop/cop/style/space_after_colon_spec.rb
545
+ - spec/rubocop/cop/style/space_after_comma_spec.rb
546
+ - spec/rubocop/cop/style/space_after_control_keyword_spec.rb
547
+ - spec/rubocop/cop/style/space_after_semicolon_spec.rb
548
+ - spec/rubocop/cop/style/space_around_braces_spec.rb
549
+ - spec/rubocop/cop/style/space_around_equals_in_default_parameter_spec.rb
550
+ - spec/rubocop/cop/style/space_around_operators_spec.rb
551
+ - spec/rubocop/cop/style/space_inside_brackets_spec.rb
552
+ - spec/rubocop/cop/style/space_inside_hash_literal_braces_spec.rb
553
+ - spec/rubocop/cop/style/space_inside_parens_spec.rb
554
+ - spec/rubocop/cop/style/string_literals_spec.rb
555
+ - spec/rubocop/cop/style/symbol_array_spec.rb
556
+ - spec/rubocop/cop/style/symbol_name_spec.rb
557
+ - spec/rubocop/cop/style/tab_spec.rb
558
+ - spec/rubocop/cop/style/ternary_operator_spec.rb
559
+ - spec/rubocop/cop/style/trailing_whitespace_spec.rb
560
+ - spec/rubocop/cop/style/trivial_accessors_spec.rb
561
+ - spec/rubocop/cop/style/unless_else_spec.rb
562
+ - spec/rubocop/cop/style/variable_interpolation_spec.rb
563
+ - spec/rubocop/cop/style/when_then_spec.rb
564
+ - spec/rubocop/cop/style/while_until_do_spec.rb
565
+ - spec/rubocop/cop/style/word_array_spec.rb
566
+ - spec/rubocop/cop/variable_inspector_spec.rb
567
567
  - spec/rubocop/formatter/base_formatter_spec.rb
568
568
  - spec/rubocop/formatter/clang_style_formatter_spec.rb
569
569
  - spec/rubocop/formatter/disabled_config_formatter_spec.rb