From f178a62bba172c12e1aac04a4ed7f0a5db3f2c94 Mon Sep 17 00:00:00 2001 From: elliottcable Date: Sun, 25 May 2008 14:08:17 -0800 Subject: [PATCH] A few ditz --- ...issue-93d27ca79d380ead7d9366dcc57b360f51f926d4.yaml | 8 ++++++-- ...issue-ba22565ff594eed25bbe75cd371f3c68d57135fc.yaml | 18 ++++++++++++++++++ lib/git-blog/parser/markdown.rb | 12 ------------ 3 files changed, 24 insertions(+), 14 deletions(-) create mode 100644 bugs/issue-ba22565ff594eed25bbe75cd371f3c68d57135fc.yaml delete mode 100644 lib/git-blog/parser/markdown.rb diff --git a/bugs/issue-93d27ca79d380ead7d9366dcc57b360f51f926d4.yaml b/bugs/issue-93d27ca79d380ead7d9366dcc57b360f51f926d4.yaml index b27d09b..65722e7 100644 --- a/bugs/issue-93d27ca79d380ead7d9366dcc57b360f51f926d4.yaml +++ b/bugs/issue-93d27ca79d380ead7d9366dcc57b360f51f926d4.yaml @@ -5,8 +5,8 @@ type: :feature component: git-blog release: reporter: elliottcable -status: :unstarted -disposition: +status: :closed +disposition: :fixed creation_time: 2008-05-17 20:54:23.463789 Z references: [] @@ -16,3 +16,7 @@ log_events: - elliottcable - created - "" +- - 2008-05-25 22:03:30.882765 Z + - elliott cable + - closed issue with disposition fixed + - Got an index page up. Nothing pretty, but it works. To some extent. diff --git a/bugs/issue-ba22565ff594eed25bbe75cd371f3c68d57135fc.yaml b/bugs/issue-ba22565ff594eed25bbe75cd371f3c68d57135fc.yaml new file mode 100644 index 0000000..763077b --- /dev/null +++ b/bugs/issue-ba22565ff594eed25bbe75cd371f3c68d57135fc.yaml @@ -0,0 +1,18 @@ +--- !ditz.rubyforge.org,2008-03-06/issue +title: Parsers required even if unused +desc: The parser files, and thus their dependencies, are required even if they're unused. +type: :bugfix +component: git-blog +release: +reporter: elliott cable +status: :unstarted +disposition: +creation_time: 2008-05-25 22:04:29.504937 Z +references: [] + +id: ba22565ff594eed25bbe75cd371f3c68d57135fc +log_events: +- - 2008-05-25 22:05:05.855365 Z + - elliott cable + - created + - Have the files themselves required before running content through the parsers, so only the used files are required. diff --git a/lib/git-blog/parser/markdown.rb b/lib/git-blog/parser/markdown.rb deleted file mode 100644 index 1127b6b..0000000 --- a/lib/git-blog/parser/markdown.rb +++ /dev/null @@ -1,12 +0,0 @@ -require 'redcloth' - -module GitBlog - module Parsers - module Markdown - def self.parse input - input.gsub!(/^(.*)\n=+(\n\s+)*\n/m, '') - ::RedCloth.new(input).to_html # [:markdown, :textile] - end - end - end -end \ No newline at end of file -- 2.11.4.GIT