Rubocop: Style/EmptyLinesAroundClassBody

- Extra empty line detected at class body end
This commit is contained in:
Pat Hawks 2016-01-03 15:55:33 -08:00
parent 2530a8cdfc
commit cda226de45
No known key found for this signature in database
GPG Key ID: F1746FF5F18B3D1B
21 changed files with 0 additions and 32 deletions

View File

@ -165,7 +165,6 @@ module Jekyll
# Conditional optimizations
Jekyll::External.require_if_present('liquid-c')
end
end

View File

@ -1,8 +1,6 @@
module Jekyll
class Command
class << self
# A list of subclasses of Jekyll::Command
def subclasses
@subclasses ||= []
@ -62,8 +60,6 @@ module Jekyll
c.option 'verbose', '-V', '--verbose', 'Print verbose output.'
c.option 'incremental', '-I', '--incremental', 'Enable incremental rebuild.'
end
end
end
end

View File

@ -1,9 +1,7 @@
module Jekyll
module Commands
class Build < Command
class << self
# Create the Mercenary command for the Jekyll CLI for this Command
def init_with_program(prog)
prog.command(:build) do |c|
@ -71,9 +69,7 @@ module Jekyll
External.require_with_graceful_fail 'jekyll-watch'
Jekyll::Watcher.watch(options)
end
end # end of class << self
end
end
end

View File

@ -2,7 +2,6 @@ module Jekyll
module Commands
class Clean < Command
class << self
def init_with_program(prog)
prog.command(:clean) do |c|
c.syntax 'clean [subcommand]'
@ -37,7 +36,6 @@ module Jekyll
Jekyll.logger.info "Nothing to do for #{metadata_file}."
end
end
end
end
end

View File

@ -2,7 +2,6 @@ module Jekyll
module Commands
class Doctor < Command
class << self
def init_with_program(prog)
prog.command(:doctor) do |c|
c.syntax 'doctor'
@ -108,7 +107,6 @@ module Jekyll
end
end
end
end
end
end

View File

@ -2,7 +2,6 @@ module Jekyll
module Commands
class Help < Command
class << self
def init_with_program(prog)
prog.command(:help) do |c|
c.syntax 'help [subcommand]'
@ -26,7 +25,6 @@ module Jekyll
Jekyll.logger.error "Error:", "Hmm... we don't know what the '#{cmd}' command is."
Jekyll.logger.info "Valid commands:", prog.commands.keys.join(", ")
end
end
end
end

View File

@ -2,7 +2,6 @@
module Jekyll
class Configuration < Hash
# Default options. Overridden by values in _config.yml.
# Strings rather than symbols are used for compatibility with YAML.
DEFAULTS = Configuration[{

View File

@ -2,7 +2,6 @@ module Jekyll
module Converters
class Markdown
class RedcarpetParser
module CommonMethods
def add_code_tags(code, lang)
code = code.to_s

View File

@ -17,7 +17,6 @@ module Jekyll
private
def_delegator :@obj, :metadata, :fallback_data
end
end
end

View File

@ -22,7 +22,6 @@ module Jekyll
private
def_delegator :@obj, :data, :fallback_data
end
end
end

View File

@ -135,7 +135,6 @@ module Jekyll
def each_key(&block)
keys.each(&block)
end
end
end
end

View File

@ -33,7 +33,6 @@ module Jekyll
private
def_delegator :@obj, :config, :fallback_data
end
end
end

View File

@ -20,7 +20,6 @@ module Jekyll
def fallback_data
@fallback_data ||= {}
end
end
end
end

View File

@ -1,7 +1,6 @@
module Jekyll
module External
class << self
#
# Gems that, if installed, should be loaded.
# Usually contain subcommands.
@ -54,7 +53,6 @@ If you run into trouble, you can find helpful resources at http://jekyllrb.com/h
end
end
end
end
end
end

View File

@ -91,6 +91,5 @@ module Jekyll
"Ensure you have `gems: [jekyll-paginate]` in your configuration file."
end
end
end
end

View File

@ -16,6 +16,5 @@ module Jekyll
collection.read unless SPECIAL_COLLECTIONS.include?(collection.label)
end
end
end
end

View File

@ -1,6 +1,5 @@
module Jekyll
class RelatedPosts
class << self
attr_accessor :lsi
end

View File

@ -2,7 +2,6 @@
module Jekyll
class Renderer
attr_reader :document, :site, :payload
def initialize(site, document, site_payload = nil)
@ -161,6 +160,5 @@ module Jekyll
output
end
end
end

View File

@ -115,7 +115,6 @@ eos
].join(" ")
"<figure class=\"highlight\"><pre><code #{code_attributes}>#{code.chomp}</code></pre></figure>"
end
end
end
end

View File

@ -12,7 +12,6 @@ module Jekyll
end
class IncludeTag < Liquid::Tag
attr_reader :includes_dir
VALID_SYNTAX = /([\w-]+)\s*=\s*(?:"([^"\\]*(?:\\.[^"\\]*)*)"|'([^'\\]*(?:\\.[^'\\]*)*)'|([\w\.-]+))/

View File

@ -11,7 +11,6 @@ require 'uri'
#
module Jekyll
class URL
# options - One of :permalink or :template must be supplied.
# :template - The String used as template for URL generation,
# for example "/:path/:basename:output_ext", where