lib/slideshow.rb in slideshow-0.9.1 vs lib/slideshow.rb in slideshow-0.9.2
- old
+ new
@@ -12,10 +12,11 @@
require 'uri'
require 'net/http'
require 'ostruct'
require 'date'
require 'yaml'
+require 'cgi'
# required gems
require 'redcloth' # default textile library
require 'kramdown' # default markdown library
@@ -32,19 +33,26 @@
require 'slideshow/helpers/text_helper'
require 'slideshow/helpers/capture_helper'
require 'slideshow/helpers/analytics_helper'
require 'slideshow/helpers/table_helper'
require 'slideshow/helpers/step_helper'
+require 'slideshow/helpers/background_helper'
+require 'slideshow/helpers/source_helper'
+require 'slideshow/helpers/directive_helper'
+require 'slideshow/helpers/markdown_helper'
+require 'slideshow/helpers/syntax/sh_helper'
+
# load built-in filters
require 'slideshow/filters/headers_filter'
require 'slideshow/filters/text_filter'
+require 'slideshow/filters/debug_filter'
module Slideshow
- VERSION = '0.9.1'
+ VERSION = '0.9.2'
# version string for generator meta tag (includes ruby version)
def Slideshow.generator
"Slide Show (S9) #{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
end
@@ -68,11 +76,11 @@
# If a helper fails to load, simply ingnore it
# If you want to use it install missing required gems e.g.:
# gem install coderay
# gem install ultraviolet etc.
BUILTIN_OPT_HELPERS = [
- 'slideshow/helpers/uv_helper.rb',
- 'slideshow/helpers/coderay_helper.rb',
+ 'slideshow/helpers/syntax/uv_helper.rb',
+ 'slideshow/helpers/syntax/coderay_helper.rb',
]
BUILTIN_OPT_HELPERS.each do |helper|
begin
require(helper)
\ No newline at end of file