From 517e6f81d319092e5faf72f7c8cf5b1f27df0410 Mon Sep 17 00:00:00 2001 From: Tom Bell Date: Sun, 20 Jan 2013 00:00:49 +0000 Subject: [PATCH] Remove new lines between module and class --- lib/jekyll/errors.rb | 4 +--- lib/jekyll/filters.rb | 2 -- lib/jekyll/generator.rb | 5 +---- lib/jekyll/layout.rb | 2 -- lib/jekyll/page.rb | 3 --- lib/jekyll/plugin.rb | 2 -- lib/jekyll/post.rb | 2 -- lib/jekyll/site.rb | 1 - lib/jekyll/static_file.rb | 2 -- 9 files changed, 2 insertions(+), 21 deletions(-) diff --git a/lib/jekyll/errors.rb b/lib/jekyll/errors.rb index 296d8371..af03ad84 100644 --- a/lib/jekyll/errors.rb +++ b/lib/jekyll/errors.rb @@ -1,6 +1,4 @@ module Jekyll - class FatalException < StandardError end - -end \ No newline at end of file +end diff --git a/lib/jekyll/filters.rb b/lib/jekyll/filters.rb index bcd8d2e7..0384f19c 100644 --- a/lib/jekyll/filters.rb +++ b/lib/jekyll/filters.rb @@ -1,7 +1,6 @@ require 'uri' module Jekyll - module Filters # Convert a Textile string into HTML output. # @@ -124,6 +123,5 @@ module Jekyll "#{array[0...-1].join(', ')}, #{connector} #{array[-1]}" end end - end end diff --git a/lib/jekyll/generator.rb b/lib/jekyll/generator.rb index f1cd1a58..57973a74 100644 --- a/lib/jekyll/generator.rb +++ b/lib/jekyll/generator.rb @@ -1,7 +1,4 @@ module Jekyll - class Generator < Plugin - end - -end \ No newline at end of file +end diff --git a/lib/jekyll/layout.rb b/lib/jekyll/layout.rb index 15845730..1db6fe94 100644 --- a/lib/jekyll/layout.rb +++ b/lib/jekyll/layout.rb @@ -1,5 +1,4 @@ module Jekyll - class Layout include Convertible @@ -40,5 +39,4 @@ module Jekyll self.ext = File.extname(name) end end - end diff --git a/lib/jekyll/page.rb b/lib/jekyll/page.rb index a821bb63..68d4b213 100644 --- a/lib/jekyll/page.rb +++ b/lib/jekyll/page.rb @@ -1,5 +1,4 @@ module Jekyll - class Page include Convertible @@ -161,7 +160,5 @@ module Jekyll def index? basename == 'index' end - end - end diff --git a/lib/jekyll/plugin.rb b/lib/jekyll/plugin.rb index 600f326d..2613f70d 100644 --- a/lib/jekyll/plugin.rb +++ b/lib/jekyll/plugin.rb @@ -1,5 +1,4 @@ module Jekyll - class Plugin PRIORITIES = { :lowest => -100, :low => -10, @@ -73,5 +72,4 @@ module Jekyll # no-op for default end end - end diff --git a/lib/jekyll/post.rb b/lib/jekyll/post.rb index 835f9a42..946909af 100644 --- a/lib/jekyll/post.rb +++ b/lib/jekyll/post.rb @@ -1,5 +1,4 @@ module Jekyll - class Post include Comparable include Convertible @@ -281,5 +280,4 @@ module Jekyll end end end - end diff --git a/lib/jekyll/site.rb b/lib/jekyll/site.rb index 462da488..2deae484 100644 --- a/lib/jekyll/site.rb +++ b/lib/jekyll/site.rb @@ -1,7 +1,6 @@ require 'set' module Jekyll - class Site attr_accessor :config, :layouts, :posts, :pages, :static_files, :categories, :exclude, :include, :source, :dest, :lsi, :pygments, diff --git a/lib/jekyll/static_file.rb b/lib/jekyll/static_file.rb index 318177c7..3d863ca7 100644 --- a/lib/jekyll/static_file.rb +++ b/lib/jekyll/static_file.rb @@ -1,5 +1,4 @@ module Jekyll - class StaticFile # The cache of last modification times [path] -> mtime. @@mtimes = Hash.new @@ -68,5 +67,4 @@ module Jekyll nil end end - end