Skip to content

Commit 38dd996

Browse files
committed
RuboCop: resolve Layout/EmptyLinesAfterModuleInclusion
1 parent 2f5d245 commit 38dd996

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

lib/webmachine/etags.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module Webmachine
55
# This class by itself represents a "strong" entity tag.
66
class ETag
77
include QuotedString
8+
89
# The pattern for a weak entity tag
910
WEAK_ETAG = /^W\/#{QUOTED_STRING}$/.freeze
1011

lib/webmachine/media_type.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module Webmachine
66
# Encapsulates a MIME media type, with logic for matching types.
77
class MediaType
88
extend Translation
9+
910
# Matches valid media types
1011
MEDIA_TYPE_REGEX = /^\s*([^;\s]+)\s*((?:;\s*\S+\s*)*)\s*$/.freeze
1112

lib/webmachine/streaming/io_encoder.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module Streaming
77
# @api private
88
class IOEncoder < Encoder
99
include Enumerable
10+
1011
CHUNK_SIZE = 8192
1112
# Iterates over the IO, encoding and yielding individual chunks
1213
# of the response entity.

spec/webmachine/resource/authentication_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def to_html
2323
let(:resource) do
2424
resource_with do
2525
include Webmachine::Resource::Authentication
26+
2627
attr_accessor :realm
2728
def is_authorized?(auth)
2829
basic_auth(auth, @realm || 'Webmachine') { |u, p| u == 'webmachine' && p == 'http' }

0 commit comments

Comments
 (0)