slideshow 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -55,7 +55,7 @@ require 'slideshow/filters/slide_filter'
55
55
 
56
56
  module Slideshow
57
57
 
58
- VERSION = '1.0.4'
58
+ VERSION = '1.0.5'
59
59
 
60
60
  # version string for generator meta tag (includes ruby version)
61
61
  def Slideshow.generator
@@ -33,7 +33,7 @@ def directives_percent_style( content )
33
33
  # - pandoc uses % for its own markdown extension
34
34
  # - don't process % pass it along/through to pandoc
35
35
 
36
- return content if @markup_type == :markdown && MarkdownSelect.lib == 'pandoc-ruby'
36
+ return content if @markup_type == :markdown && Markdown.lib == 'pandoc-ruby'
37
37
 
38
38
 
39
39
  directive_unparsed = 0
@@ -101,7 +101,7 @@ def comments_percent_style( content )
101
101
  # skip filter for pandoc
102
102
  # - pandoc uses % for its own markdown extension
103
103
 
104
- return content if @markup_type == :markdown && MarkdownSelect.lib == 'pandoc-ruby'
104
+ return content if @markup_type == :markdown && Markdown.lib == 'pandoc-ruby'
105
105
 
106
106
  # remove comments
107
107
  # % comments
@@ -171,7 +171,7 @@ class Gen
171
171
 
172
172
  # 1) add slide break
173
173
 
174
- if (@markup_type == :markdown && MarkdownSelect.lib == 'pandoc-ruby') || @markup_type == :rest
174
+ if (@markup_type == :markdown && Markdown.lib == 'pandoc-ruby') || @markup_type == :rest
175
175
  content = add_slide_directive_before_div_h1( content )
176
176
  else
177
177
  content = add_slide_directive_before_h1( content )
@@ -370,7 +370,7 @@ class Gen
370
370
  # make content2 and slide2 available to erb template
371
371
  # -- todo: cleanup variable names and use attr_readers for content and slide
372
372
 
373
- if @markup_type == :markdown && config.markdown_post_processing?( MarkdownSelect.lib ) == false
373
+ if @markup_type == :markdown && config.markdown_post_processing?( Markdown.lib ) == false
374
374
  puts " Skipping post-processing (passing content through as is)..."
375
375
  @content = content # content all-in-one - make it available in erb templates
376
376
  else
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slideshow
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 4
10
- version: 1.0.4
9
+ - 5
10
+ version: 1.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gerald Bauer