Skip to content

Commit 9d6e524

Browse files
committed
Enable EmptyLinesAfterModuleInclusion
1 parent 8388162 commit 9d6e524

File tree

21 files changed

+23
-2
lines changed

21 files changed

+23
-2
lines changed

.rubocop_cc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ Gemspec/DevelopmentDependencies:
151151
Enabled: true
152152
Gemspec/RequireMFA:
153153
Enabled: true
154+
Layout/EmptyLinesAfterModuleInclusion:
155+
Enabled: true
154156
Layout/LineContinuationLeadingSpace:
155157
Enabled: true
156158
Layout/LineContinuationSpacing:

app/actions/services/service_instance_read.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
module VCAP::CloudController
44
class ServiceInstanceRead
55
include VCAP::CloudController::LockCheck
6+
67
class NotSupportedError < ::StandardError
78
end
89

app/messages/service_broker_create_message.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
module VCAP::CloudController
1010
class ServiceBrokerCreateMessage < MetadataBaseMessage
1111
include AuthenticationMessageMixin
12+
1213
register_allowed_keys %i[name url authentication relationships]
1314

1415
def self.relationships_requested?

app/models/runtime/app_model.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
module VCAP::CloudController
77
class AppModel < Sequel::Model(:apps)
88
include Serializer
9+
910
APP_NAME_REGEX = /\A[[:alnum:][:punct:][:print:]]+\Z/
1011
DEFAULT_CONTAINER_USER = 'vcap'.freeze
1112
DEFAULT_DOCKER_CONTAINER_USER = 'root'.freeze

app/models/runtime/isolation_segment_model.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ class IsolationSegmentModel < Sequel::Model(:isolation_segments)
33
SHARED_ISOLATION_SEGMENT_GUID = '933b4c58-120b-499a-b85d-4b6fc9e2903b'.freeze
44

55
include Serializer
6+
67
ISOLATION_SEGMENT_MODEL_REGEX = /\A[[:print:]]+\Z/
78

89
one_to_many :spaces, key: :isolation_segment_guid, primary_key: :guid

app/models/runtime/task_model.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module VCAP::CloudController
22
class TaskModel < Sequel::Model(:tasks)
33
include Serializer
4+
45
TASK_NAME_REGEX = /\A[[:alnum:][:punct:][:print:]]+\Z/
56
TASK_STATES = [
67
SUCCEEDED_STATE = 'SUCCEEDED'.freeze,

app/presenters/v3/domain_presenter.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
module VCAP::CloudController::Presenters::V3
66
class DomainPresenter < BasePresenter
77
include VCAP::CloudController::Presenters::Mixins::MetadataPresentationHelpers
8+
89
def initialize(
910
resource,
1011
show_secrets: false,

config/initializers/honeycomb.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def self.honeycomb(cc_config)
1616

1717
class CustomSampler
1818
extend Honeycomb::DeterministicSampler
19+
1920
def self.sample(fields)
2021
sample_rate = 1
2122
# Remove this if you want a closer look at our DB calls

lib/cloud_controller/diego/buildpack/desired_lrp_builder.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module Diego
33
module Buildpack
44
class DesiredLrpBuilder
55
include ::Diego::ActionBuilder
6+
67
class InvalidStack < StandardError; end
78

89
attr_reader :start_command, :action_user

lib/cloud_controller/diego/buildpack/task_action_builder.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module Diego
77
module Buildpack
88
class TaskActionBuilder
99
include ::Diego::ActionBuilder
10+
1011
class InvalidStack < StandardError; end
1112

1213
def initialize(config, task, lifecycle_data, run_user, launcher_args, prefix)

0 commit comments

Comments
 (0)