Skip to content

Commit e864fd6

Browse files
committed
Layout/EmptyLineAfterMagicComment
1 parent 72f50f3 commit e864fd6

16 files changed

+15
-20
lines changed

.rubocop_todo.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,6 @@
66
# Note that changes in the inspected code, or installation of new
77
# versions of RuboCop, may require this file to be generated again.
88

9-
# Offense count: 15
10-
# Cop supports --auto-correct.
11-
Layout/EmptyLineAfterMagicComment:
12-
Exclude:
13-
- 'Rakefile'
14-
- 'benchmark/active_record.rb'
15-
- 'benchmark/active_record_threaded.rb'
16-
- 'benchmark/allocations.rb'
17-
- 'benchmark/escape.rb'
18-
- 'benchmark/query_with_mysql_casting.rb'
19-
- 'benchmark/query_without_mysql_casting.rb'
20-
- 'benchmark/sequel.rb'
21-
- 'benchmark/setup_db.rb'
22-
- 'ext/mysql2/extconf.rb'
23-
- 'lib/mysql2.rb'
24-
- 'spec/em/em_spec.rb'
25-
- 'spec/mysql2/client_spec.rb'
26-
- 'spec/mysql2/result_spec.rb'
27-
- 'spec/mysql2/statement_spec.rb'
28-
299
# Offense count: 2
3010
# Cop supports --auto-correct.
3111
Layout/SpaceInsidePercentLiteralDelimiters:

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# encoding: UTF-8
2+
23
require 'rake'
34

45
# Load custom tasks (careful attention to define tasks before prerequisites)

benchmark/active_record.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# encoding: UTF-8
2+
23
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
34

45
require 'rubygems'

benchmark/active_record_threaded.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# encoding: UTF-8
2+
23
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
34

45
require 'rubygems'

benchmark/allocations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# encoding: UTF-8
2+
23
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
34

45
require 'rubygems'

benchmark/escape.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# encoding: UTF-8
2+
23
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
34

45
require 'rubygems'

benchmark/query_with_mysql_casting.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# encoding: UTF-8
2+
23
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
34

45
require 'rubygems'

benchmark/query_without_mysql_casting.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# encoding: UTF-8
2+
23
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
34

45
require 'rubygems'

benchmark/sequel.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# encoding: UTF-8
2+
23
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
34

45
require 'rubygems'

benchmark/setup_db.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# encoding: UTF-8
2+
23
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
34

45
# This script is for generating psudo-random data into a single table consisting of nearly every

0 commit comments

Comments
 (0)