Skip to content

Commit ee6da00

Browse files
committed
Rename BlankLineSeparation to EmptyLineSeparation
For consistency, let's call it an "empty line" everywhere.
1 parent 88d2b7c commit ee6da00

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

lib/rubocop-rspec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
require_relative 'rubocop/rspec/align_let_brace'
2424
require_relative 'rubocop/rspec/factory_bot'
2525
require_relative 'rubocop/rspec/final_end_location'
26-
require_relative 'rubocop/rspec/blank_line_separation'
26+
require_relative 'rubocop/rspec/empty_line_separation'
2727
require_relative 'rubocop/rspec/corrector/move_node'
2828

2929
RuboCop::RSpec::Inject.defaults!

lib/rubocop/cop/rspec/empty_line_after_example.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module RSpec
4343
#
4444
class EmptyLineAfterExample < Cop
4545
extend AutoCorrector
46-
include RuboCop::RSpec::BlankLineSeparation
46+
include RuboCop::RSpec::EmptyLineSeparation
4747

4848
MSG = 'Add an empty line after `%<example>s`.'
4949

lib/rubocop/cop/rspec/empty_line_after_example_group.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module RSpec
2525
#
2626
class EmptyLineAfterExampleGroup < Cop
2727
extend AutoCorrector
28-
include RuboCop::RSpec::BlankLineSeparation
28+
include RuboCop::RSpec::EmptyLineSeparation
2929

3030
MSG = 'Add an empty line after `%<example_group>s`.'
3131

lib/rubocop/cop/rspec/empty_line_after_final_let.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module RSpec
1818
# it { does_something }
1919
class EmptyLineAfterFinalLet < Cop
2020
extend AutoCorrector
21-
include RuboCop::RSpec::BlankLineSeparation
21+
include RuboCop::RSpec::EmptyLineSeparation
2222

2323
MSG = 'Add an empty line after the last `%<let>s`.'
2424

lib/rubocop/cop/rspec/empty_line_after_hook.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module RSpec
3535
#
3636
class EmptyLineAfterHook < Cop
3737
extend AutoCorrector
38-
include RuboCop::RSpec::BlankLineSeparation
38+
include RuboCop::RSpec::EmptyLineSeparation
3939

4040
MSG = 'Add an empty line after `%<hook>s`.'
4141

lib/rubocop/cop/rspec/empty_line_after_subject.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module RSpec
1616
# let(:foo) { bar }
1717
class EmptyLineAfterSubject < Cop
1818
extend AutoCorrector
19-
include RuboCop::RSpec::BlankLineSeparation
19+
include RuboCop::RSpec::EmptyLineSeparation
2020

2121
MSG = 'Add an empty line after `%<subject>s`.'
2222

lib/rubocop/rspec/blank_line_separation.rb renamed to lib/rubocop/rspec/empty_line_separation.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
module RuboCop
44
module RSpec
5-
# Helps determine the offending location if there is not a blank line
5+
# Helps determine the offending location if there is not an empty line
66
# following the node. Allows comments to follow directly after.
7-
module BlankLineSeparation
7+
module EmptyLineSeparation
88
include FinalEndLocation
99
include RuboCop::Cop::RangeHelp
1010

0 commit comments

Comments
 (0)