Skip to content

Commit

Permalink
[ci] Fix EmptyLineAfterMagicComment complains
Browse files Browse the repository at this point in the history
  • Loading branch information
David Kang committed Dec 11, 2017
1 parent baa73cd commit 32d7ac0
Show file tree
Hide file tree
Showing 18 changed files with 17 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
Layout/DotPosition:
Enabled: false

# Offense count: 17
# Cop supports --auto-correct.
Layout/EmptyLineAfterMagicComment:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Layout/EmptyLinesAroundBeginBody:
Expand Down
1 change: 1 addition & 0 deletions src/api/app/models/owner.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- encoding: utf-8 i*-

require 'api_exception'

class Owner
Expand Down
1 change: 1 addition & 0 deletions src/api/app/models/package.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- encoding: utf-8 i*-

require_dependency 'api_exception'
require 'builder/xchar'
require 'rexml/document'
Expand Down
1 change: 1 addition & 0 deletions src/api/bin/pry
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/ruby.ruby2.4
# frozen_string_literal: true

#
# This file was generated by Bundler.
#
Expand Down
1 change: 1 addition & 0 deletions src/api/bin/rdoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/ruby.ruby2.4
# frozen_string_literal: true

#
# This file was generated by Bundler.
#
Expand Down
1 change: 1 addition & 0 deletions src/api/bin/ri
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/ruby.ruby2.4
# frozen_string_literal: true

#
# This file was generated by Bundler.
#
Expand Down
1 change: 1 addition & 0 deletions src/api/bin/rspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/ruby.ruby2.4
# frozen_string_literal: true

#
# This file was generated by Bundler.
#
Expand Down
1 change: 1 addition & 0 deletions src/api/bin/rubocop
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/ruby.ruby2.4
# frozen_string_literal: true

#
# This file was generated by Bundler.
#
Expand Down
1 change: 1 addition & 0 deletions src/api/test/functional/attributes_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# encoding: UTF-8

require File.expand_path(File.dirname(__FILE__) + "/..") + "/test_helper"
require 'source_controller'

Expand Down
1 change: 1 addition & 0 deletions src/api/test/functional/branch_publish_flag_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# encoding: UTF-8

require File.expand_path(File.dirname(__FILE__) + "/..") + "/test_helper"
require 'source_controller'

Expand Down
1 change: 1 addition & 0 deletions src/api/test/functional/cross_build_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# encoding: UTF-8

require File.expand_path(File.dirname(__FILE__) + "/..") + "/test_helper"
require 'source_controller'

Expand Down
1 change: 1 addition & 0 deletions src/api/test/functional/group_request_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# encoding: UTF-8

require File.expand_path(File.dirname(__FILE__) + "/..") + "/test_helper"
require 'request_controller'

Expand Down
1 change: 1 addition & 0 deletions src/api/test/functional/person_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# encoding: UTF-8

require File.expand_path(File.dirname(__FILE__) + "/..") + "/test_helper"

class PersonControllerTest < ActionDispatch::IntegrationTest
Expand Down
1 change: 1 addition & 0 deletions src/api/test/functional/read_permission_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# encoding: UTF-8

require File.expand_path(File.dirname(__FILE__) + "/..") + "/test_helper"
require 'source_controller'

Expand Down
1 change: 1 addition & 0 deletions src/api/test/functional/request_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# encoding: UTF-8

# rubocop:disable Metrics/LineLength
# rubocop:disable Metrics/ClassLength
require File.expand_path(File.dirname(__FILE__) + '/..') + '/test_helper'
Expand Down
1 change: 1 addition & 0 deletions src/api/test/functional/request_events_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# encoding: UTF-8

require_relative '../test_helper'

class RequestEventsTest < ActionDispatch::IntegrationTest
Expand Down
1 change: 1 addition & 0 deletions src/api/test/functional/source_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# encoding: UTF-8

# rubocop:disable Metrics/LineLength
# rubocop:disable Metrics/ClassLength
require File.expand_path(File.dirname(__FILE__) + '/..') + '/test_helper'
Expand Down
1 change: 1 addition & 0 deletions src/api/test/functional/statistics_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# encoding: UTF-8

require File.expand_path(File.dirname(__FILE__) + "/..") + "/test_helper"
require 'time'

Expand Down

0 comments on commit 32d7ac0

Please sign in to comment.