reveal-ck 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -3
  3. data/bin/reveal-ck +2 -2
  4. data/features/step_definitions/html_match_steps.rb +27 -0
  5. data/files/reveal-ck/css/reveal-ck.css +6 -0
  6. data/{templates/reveal.js → files/reveal-ck/templates/index.html}/body.html.erb +0 -0
  7. data/{templates/reveal.js → files/reveal-ck/templates/index.html}/head.html.erb +2 -0
  8. data/{templates/reveal.js → files/reveal-ck/templates/index.html}/index.html.erb +0 -0
  9. data/{templates/reveal.js → files/reveal-ck/templates/index.html}/script.js.erb +0 -0
  10. data/{templates → files/reveal-ck/templates/slides}/code.slim +0 -0
  11. data/{templates → files/reveal-ck/templates/slides}/image.slim +0 -0
  12. data/{templates → files/reveal-ck/templates/slides}/intro.slim +0 -0
  13. data/{templates → files/reveal-ck/templates/slides}/quote.slim +0 -0
  14. data/{templates → files/reveal-ck/templates/slides}/text.slim +0 -0
  15. data/{reveal.js → files/reveal.js}/Gruntfile.js +0 -0
  16. data/{reveal.js → files/reveal.js}/LICENSE +0 -0
  17. data/{reveal.js → files/reveal.js}/README.md +0 -0
  18. data/{reveal.js → files/reveal.js}/css/print/paper.css +0 -0
  19. data/{reveal.js → files/reveal.js}/css/print/pdf.css +0 -0
  20. data/{reveal.js → files/reveal.js}/css/reveal.css +0 -0
  21. data/{reveal.js → files/reveal.js}/css/reveal.min.css +0 -0
  22. data/{reveal.js → files/reveal.js}/css/theme/README.md +0 -0
  23. data/{reveal.js → files/reveal.js}/css/theme/beige.css +0 -0
  24. data/{reveal.js → files/reveal.js}/css/theme/blood.css +0 -0
  25. data/{reveal.js → files/reveal.js}/css/theme/default.css +0 -0
  26. data/{reveal.js → files/reveal.js}/css/theme/moon.css +0 -0
  27. data/{reveal.js → files/reveal.js}/css/theme/night.css +0 -0
  28. data/{reveal.js → files/reveal.js}/css/theme/serif.css +0 -0
  29. data/{reveal.js → files/reveal.js}/css/theme/simple.css +0 -0
  30. data/{reveal.js → files/reveal.js}/css/theme/sky.css +0 -0
  31. data/{reveal.js → files/reveal.js}/css/theme/solarized.css +0 -0
  32. data/{reveal.js → files/reveal.js}/css/theme/source/beige.scss +0 -0
  33. data/{reveal.js → files/reveal.js}/css/theme/source/blood.scss +0 -0
  34. data/{reveal.js → files/reveal.js}/css/theme/source/default.scss +0 -0
  35. data/{reveal.js → files/reveal.js}/css/theme/source/moon.scss +0 -0
  36. data/{reveal.js → files/reveal.js}/css/theme/source/night.scss +0 -0
  37. data/{reveal.js → files/reveal.js}/css/theme/source/serif.scss +0 -0
  38. data/{reveal.js → files/reveal.js}/css/theme/source/simple.scss +0 -0
  39. data/{reveal.js → files/reveal.js}/css/theme/source/sky.scss +0 -0
  40. data/{reveal.js → files/reveal.js}/css/theme/source/solarized.scss +0 -0
  41. data/{reveal.js → files/reveal.js}/css/theme/template/mixins.scss +0 -0
  42. data/{reveal.js → files/reveal.js}/css/theme/template/settings.scss +0 -0
  43. data/{reveal.js → files/reveal.js}/css/theme/template/theme.scss +0 -0
  44. data/{reveal.js → files/reveal.js}/index.html +0 -0
  45. data/{reveal.js → files/reveal.js}/js/reveal.js +0 -0
  46. data/{reveal.js → files/reveal.js}/js/reveal.min.js +0 -0
  47. data/{reveal.js → files/reveal.js}/lib/css/zenburn.css +0 -0
  48. data/{reveal.js → files/reveal.js}/lib/font/league_gothic-webfont.eot +0 -0
  49. data/{reveal.js → files/reveal.js}/lib/font/league_gothic-webfont.svg +0 -0
  50. data/{reveal.js → files/reveal.js}/lib/font/league_gothic-webfont.ttf +0 -0
  51. data/{reveal.js → files/reveal.js}/lib/font/league_gothic-webfont.woff +0 -0
  52. data/{reveal.js → files/reveal.js}/lib/font/league_gothic_license +0 -0
  53. data/{reveal.js → files/reveal.js}/lib/js/classList.js +0 -0
  54. data/{reveal.js → files/reveal.js}/lib/js/head.min.js +0 -0
  55. data/{reveal.js → files/reveal.js}/lib/js/html5shiv.js +0 -0
  56. data/{reveal.js → files/reveal.js}/package.json +0 -0
  57. data/{reveal.js → files/reveal.js}/plugin/highlight/highlight.js +0 -0
  58. data/{reveal.js → files/reveal.js}/plugin/leap/leap.js +0 -0
  59. data/{reveal.js → files/reveal.js}/plugin/markdown/example.html +0 -0
  60. data/{reveal.js → files/reveal.js}/plugin/markdown/example.md +0 -0
  61. data/{reveal.js → files/reveal.js}/plugin/markdown/markdown.js +0 -0
  62. data/{reveal.js → files/reveal.js}/plugin/markdown/marked.js +0 -0
  63. data/{reveal.js → files/reveal.js}/plugin/math/math.js +0 -0
  64. data/{reveal.js → files/reveal.js}/plugin/multiplex/client.js +0 -0
  65. data/{reveal.js → files/reveal.js}/plugin/multiplex/index.js +0 -0
  66. data/{reveal.js → files/reveal.js}/plugin/multiplex/master.js +0 -0
  67. data/{reveal.js → files/reveal.js}/plugin/notes-server/client.js +0 -0
  68. data/{reveal.js → files/reveal.js}/plugin/notes-server/index.js +0 -0
  69. data/{reveal.js → files/reveal.js}/plugin/notes-server/notes.html +0 -0
  70. data/{reveal.js → files/reveal.js}/plugin/notes/notes.html +0 -0
  71. data/{reveal.js → files/reveal.js}/plugin/notes/notes.js +0 -0
  72. data/{reveal.js → files/reveal.js}/plugin/postmessage/example.html +0 -0
  73. data/{reveal.js → files/reveal.js}/plugin/postmessage/postmessage.js +0 -0
  74. data/{reveal.js → files/reveal.js}/plugin/print-pdf/print-pdf.js +0 -0
  75. data/{reveal.js → files/reveal.js}/plugin/remotes/remotes.js +0 -0
  76. data/{reveal.js → files/reveal.js}/plugin/search/search.js +0 -0
  77. data/{reveal.js → files/reveal.js}/plugin/zoom-js/zoom.js +0 -0
  78. data/{reveal.js → files/reveal.js}/test/examples/assets/image1.png +0 -0
  79. data/{reveal.js → files/reveal.js}/test/examples/assets/image2.png +0 -0
  80. data/{reveal.js → files/reveal.js}/test/examples/barebones.html +0 -0
  81. data/{reveal.js → files/reveal.js}/test/examples/embedded-media.html +0 -0
  82. data/{reveal.js → files/reveal.js}/test/examples/math.html +0 -0
  83. data/{reveal.js → files/reveal.js}/test/examples/slide-backgrounds.html +0 -0
  84. data/{reveal.js → files/reveal.js}/test/qunit-1.12.0.css +0 -0
  85. data/{reveal.js → files/reveal.js}/test/qunit-1.12.0.js +0 -0
  86. data/{reveal.js → files/reveal.js}/test/test-markdown-element-attributes.html +0 -0
  87. data/{reveal.js → files/reveal.js}/test/test-markdown-element-attributes.js +0 -0
  88. data/{reveal.js → files/reveal.js}/test/test-markdown-slide-attributes.html +0 -0
  89. data/{reveal.js → files/reveal.js}/test/test-markdown-slide-attributes.js +0 -0
  90. data/{reveal.js → files/reveal.js}/test/test-markdown.html +0 -0
  91. data/{reveal.js → files/reveal.js}/test/test-markdown.js +0 -0
  92. data/{reveal.js → files/reveal.js}/test/test.html +0 -0
  93. data/{reveal.js → files/reveal.js}/test/test.js +0 -0
  94. data/lib/reveal-ck.rb +9 -8
  95. data/lib/reveal-ck/builders.rb +1 -0
  96. data/lib/reveal-ck/builders/create_index_html.rb +3 -3
  97. data/lib/reveal-ck/builders/create_slides_html.rb +45 -3
  98. data/lib/reveal-ck/builders/index_html.rb +4 -4
  99. data/lib/reveal-ck/builders/reveal_ck_files.rb +21 -0
  100. data/lib/reveal-ck/builders/slides_builder.rb +26 -17
  101. data/lib/reveal-ck/config.rb +37 -14
  102. data/lib/reveal-ck/filtered_html_string.rb +24 -0
  103. data/lib/reveal-ck/markdown/slide_markdown.rb +11 -5
  104. data/lib/reveal-ck/render/index_html_maker.rb +9 -9
  105. data/lib/reveal-ck/templates/finder.rb +2 -1
  106. data/lib/reveal-ck/version.rb +1 -1
  107. data/spec/lib/reveal-ck/builders/copy_files_task_spec.rb +4 -4
  108. data/spec/lib/reveal-ck/builders/create_index_html_spec.rb +3 -2
  109. data/spec/lib/reveal-ck/builders/create_slides_html_spec.rb +26 -0
  110. data/spec/lib/reveal-ck/builders/index_html_spec.rb +4 -3
  111. data/spec/lib/reveal-ck/builders/slides_builder_spec.rb +2 -2
  112. data/spec/lib/reveal-ck/builders/user_files_spec.rb +1 -1
  113. data/spec/lib/reveal-ck/config_spec.rb +19 -1
  114. data/spec/lib/reveal-ck/markdown/slide_markdown_spec.rb +45 -42
  115. data/spec/lib/reveal-ck/markdown/slide_markdown_template_spec.rb +56 -14
  116. data/spec/lib/reveal-ck/templates/finder_spec.rb +5 -5
  117. data/spec/lib/reveal-ck/templates/processor_spec.rb +2 -2
  118. data/spec/lib/reveal-ck/tilt/config_spec.rb +1 -1
  119. data/spec/lib/reveal-ck_spec.rb +15 -14
  120. metadata +157 -110
  121. data/spec/data/changers/slicer/after_remove +0 -6
  122. data/spec/data/changers/slicer/before_remove +0 -10
  123. data/spec/data/changers/splicer/abcd +0 -4
  124. data/spec/data/changers/splicer/after_insert +0 -14
  125. data/spec/data/changers/splicer/before_insert +0 -10
  126. data/spec/data/changers/string_replacer/after_replace +0 -4
  127. data/spec/data/changers/string_replacer/before_replace +0 -4
@@ -1,29 +1,71 @@
1
1
  require 'spec_helper'
2
+ require 'tempfile'
2
3
 
3
4
  module RevealCK
4
5
  module Markdown
5
6
  describe SlideMarkdownTemplate do
6
7
 
7
- let :basic_slide_markdown do
8
- <<-eos
9
- # First Slide
8
+ def render_markdown(markdown)
9
+ tmp_file = Tempfile.new(['test', '.md'])
10
+ File.open(tmp_file, 'w') do |test_md|
11
+ test_md.puts(markdown)
12
+ end
13
+ template = Tilt.new(tmp_file.path)
14
+ template.render
15
+ end
16
+
17
+ it 'uses "---" to create "<section>"s' do
18
+ output = render_markdown <<-eos
19
+ # h1 Slide
10
20
  ---
11
- # Second Slide
21
+ ## h2 Slide
22
+ eos
23
+ expect(output).to include '<h1>h1 Slide</h1>'
24
+ expect(output).to include "</section>\n<section>"
25
+ expect(output).to include '<h2>h2 Slide</h2>'
26
+ end
27
+
28
+ it 'wraps ``` code in a <pre> and <code>' do
29
+ output = render_markdown <<-eos
30
+ ```
31
+ def adder(a, b); a + b; end
32
+ ```
12
33
  eos
34
+ expect(output).to include '<pre><code>'
35
+ expect(output).to include '</code></pre>'
36
+ expect(output).to include 'a + b'
13
37
  end
14
38
 
15
- it 'handles markdown ' do
16
- require 'tempfile'
17
- file = Tempfile.new(['test', '.md'])
18
- file.write(basic_slide_markdown)
19
- file.close
20
- template = Tilt.new(file.path)
21
- output = template.render
22
- output.should include '<h1>First Slide</h1>'
23
- output.should include "</section>\n<section>"
24
- output.should include '<h1>Second Slide</h1>'
39
+ it 'wraps ```ruby code in a <pre> and <code class="ruby">' do
40
+ output = render_markdown <<-eos
41
+ ```ruby
42
+ def adder(a, b); a + b; end
43
+ ```
44
+ eos
45
+ expect(output).to include '<pre><code class="ruby">'
46
+ expect(output).to include '</code></pre>'
47
+ expect(output).to include 'a + b'
25
48
  end
26
49
 
50
+ it 'creates an <aside class="notes"> when it sees a ```notes' do
51
+ output = render_markdown <<-eos
52
+ ```notes
53
+ This is a note
54
+ ```
55
+ eos
56
+ expect(output).to include "<aside class='notes'"
57
+ expect(output).to include 'This is a note'
58
+ end
59
+
60
+ it 'creates an <aside class="notes"> when it sees a ```note' do
61
+ output = render_markdown <<-eos
62
+ ```note
63
+ This is a note
64
+ ```
65
+ eos
66
+ expect(output).to include "<aside class='notes'"
67
+ expect(output).to include 'This is a note'
68
+ end
27
69
  end
28
70
  end
29
71
  end
@@ -12,13 +12,13 @@ module RevealCK
12
12
 
13
13
  describe '#paths' do
14
14
 
15
- it 'defaults to Dir.pwd/templates and reveal-ck/templates' do
15
+ it 'defaults to Dir.pwd/templates and reveal-ck\'s slide templates' do
16
16
  Dir.mktmpdir do |dir|
17
17
  Dir.chdir(dir) do
18
18
  finder = Finder.new
19
19
  expect(finder.paths).to include File.join(Dir.pwd, 'templates')
20
20
  expect(finder.paths)
21
- .to(include File.join(reveal_ck_dir, 'templates'))
21
+ .to(include(RevealCK.template_path('slides')))
22
22
  expect(finder.paths.size).to eq 2
23
23
  end
24
24
  end
@@ -43,7 +43,7 @@ module RevealCK
43
43
  end
44
44
 
45
45
  let :reveal_ck_templates_dir do
46
- File.join reveal_ck_dir, 'templates'
46
+ File.join(reveal_ck_dir, 'files', 'reveal-ck', 'templates', 'slides')
47
47
  end
48
48
 
49
49
  let :finder do
@@ -51,13 +51,13 @@ module RevealCK
51
51
  Finder.new paths: paths
52
52
  end
53
53
 
54
- it 'searches project templates/ and reveal-ck/templates' do
54
+ it 'searches project templates/ and reveal-ck\'s slide templates' do
55
55
  result = finder.find 'template_one'
56
56
  template_one = File.join('templates', 'template_one.slim')
57
57
  expect(result).to include template_one
58
58
 
59
59
  result = finder.find 'intro'
60
- intro_slim = File.join('reveal-ck', 'templates', 'intro.slim')
60
+ intro_slim = RevealCK.template_path('slides', 'intro.slim')
61
61
  expect(result).to include intro_slim
62
62
  end
63
63
 
@@ -22,12 +22,12 @@ module RevealCK
22
22
 
23
23
  it 'can process a slim template' do
24
24
  processor = Processor.open file: slim_file, config: config
25
- processor.output.should match pretty_printed_basic
25
+ expect(processor.output).to match pretty_printed_basic
26
26
  end
27
27
 
28
28
  it 'can process a haml template' do
29
29
  processor = Processor.open file: haml_file, config: config
30
- processor.output.should match pretty_printed_basic
30
+ expect(processor.output).to match pretty_printed_basic
31
31
  end
32
32
 
33
33
  end
@@ -3,7 +3,7 @@ require 'spec_helper'
3
3
  describe 'Tilt Configuration' do
4
4
 
5
5
  it 'uses SlideMarkdown to handle .md files' do
6
- Tilt['md'].should == RevealCK::Markdown::SlideMarkdownTemplate
6
+ expect(Tilt['md']).to eq(RevealCK::Markdown::SlideMarkdownTemplate)
7
7
  end
8
8
 
9
9
  end
@@ -1,23 +1,24 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe RevealCK, '::REVEALJS_FILES' do
4
-
5
- it 'is a list of the bundled reveal.js files' do
6
- bundled_files = RevealCK::REVEALJS_FILES
7
- bundled_index_html = bundled_files.find do |name|
8
- name.include? 'reveal.js/index.html'
3
+ describe RevealCK do
4
+ describe '.path' do
5
+ it 'provides the location of any file stored within the gem' do
6
+ index_html_erb =
7
+ RevealCK.path('files',
8
+ 'reveal-ck',
9
+ 'templates',
10
+ 'index.html',
11
+ 'index.html.erb')
12
+ content = File.open(index_html_erb).read
13
+ expect(content).to be_a String
9
14
  end
10
-
11
- expect(bundled_files).to be_an Array
12
- expect(bundled_index_html).to_not be_empty
13
15
  end
14
16
 
15
- describe '.path_to' do
16
- it 'provides the location of a file within the gem' do
17
+ describe '.template_path' do
18
+ it 'provides the location of templates within the gem' do
17
19
  index_html_erb =
18
- RevealCK.path_to('templates',
19
- 'reveal.js',
20
- 'index.html.erb')
20
+ RevealCK.template_path('index.html',
21
+ 'index.html.erb')
21
22
  content = File.open(index_html_erb).read
22
23
  expect(content).to be_a String
23
24
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reveal-ck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jed Northridge
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-26 00:00:00.000000000 Z
11
+ date: 2014-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: RedCloth
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.2'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: docile
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -24,6 +38,20 @@ dependencies:
24
38
  - - "~>"
25
39
  - !ruby/object:Gem::Version
26
40
  version: '1.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: gemoji
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.5'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.5'
27
55
  - !ruby/object:Gem::Dependency
28
56
  name: gli
29
57
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +80,20 @@ dependencies:
52
80
  - - "~>"
53
81
  - !ruby/object:Gem::Version
54
82
  version: '4.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: html-pipeline
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.8'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.8'
55
97
  - !ruby/object:Gem::Dependency
56
98
  name: rake
57
99
  requirement: !ruby/object:Gem::Requirement
@@ -81,19 +123,19 @@ dependencies:
81
123
  - !ruby/object:Gem::Version
82
124
  version: '2.3'
83
125
  - !ruby/object:Gem::Dependency
84
- name: RedCloth
126
+ name: rinku
85
127
  requirement: !ruby/object:Gem::Requirement
86
128
  requirements:
87
129
  - - "~>"
88
130
  - !ruby/object:Gem::Version
89
- version: '4.2'
131
+ version: '1.7'
90
132
  type: :runtime
91
133
  prerelease: false
92
134
  version_requirements: !ruby/object:Gem::Requirement
93
135
  requirements:
94
136
  - - "~>"
95
137
  - !ruby/object:Gem::Version
96
- version: '4.2'
138
+ version: '1.7'
97
139
  - !ruby/object:Gem::Dependency
98
140
  name: slim
99
141
  requirement: !ruby/object:Gem::Requirement
@@ -150,6 +192,20 @@ dependencies:
150
192
  - - "~>"
151
193
  - !ruby/object:Gem::Version
152
194
  version: '1.3'
195
+ - !ruby/object:Gem::Dependency
196
+ name: nokogiri
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: '1.6'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: '1.6'
153
209
  - !ruby/object:Gem::Dependency
154
210
  name: relish
155
211
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +226,14 @@ dependencies:
170
226
  requirements:
171
227
  - - "~>"
172
228
  - !ruby/object:Gem::Version
173
- version: '2.14'
229
+ version: '3.0'
174
230
  type: :development
175
231
  prerelease: false
176
232
  version_requirements: !ruby/object:Gem::Requirement
177
233
  requirements:
178
234
  - - "~>"
179
235
  - !ruby/object:Gem::Version
180
- version: '2.14'
236
+ version: '3.0'
181
237
  - !ruby/object:Gem::Dependency
182
238
  name: rubocop
183
239
  requirement: !ruby/object:Gem::Requirement
@@ -223,8 +279,98 @@ files:
223
279
  - bin/reveal-ck
224
280
  - features/data/images/ruby100.png
225
281
  - features/step_definitions/file_management_steps.rb
282
+ - features/step_definitions/html_match_steps.rb
226
283
  - features/support/env.rb
227
284
  - features/support/file_management.rb
285
+ - files/reveal-ck/css/reveal-ck.css
286
+ - files/reveal-ck/templates/index.html/body.html.erb
287
+ - files/reveal-ck/templates/index.html/head.html.erb
288
+ - files/reveal-ck/templates/index.html/index.html.erb
289
+ - files/reveal-ck/templates/index.html/script.js.erb
290
+ - files/reveal-ck/templates/slides/code.slim
291
+ - files/reveal-ck/templates/slides/image.slim
292
+ - files/reveal-ck/templates/slides/intro.slim
293
+ - files/reveal-ck/templates/slides/quote.slim
294
+ - files/reveal-ck/templates/slides/text.slim
295
+ - files/reveal.js/Gruntfile.js
296
+ - files/reveal.js/LICENSE
297
+ - files/reveal.js/README.md
298
+ - files/reveal.js/css/print/paper.css
299
+ - files/reveal.js/css/print/pdf.css
300
+ - files/reveal.js/css/reveal.css
301
+ - files/reveal.js/css/reveal.min.css
302
+ - files/reveal.js/css/theme/README.md
303
+ - files/reveal.js/css/theme/beige.css
304
+ - files/reveal.js/css/theme/blood.css
305
+ - files/reveal.js/css/theme/default.css
306
+ - files/reveal.js/css/theme/moon.css
307
+ - files/reveal.js/css/theme/night.css
308
+ - files/reveal.js/css/theme/serif.css
309
+ - files/reveal.js/css/theme/simple.css
310
+ - files/reveal.js/css/theme/sky.css
311
+ - files/reveal.js/css/theme/solarized.css
312
+ - files/reveal.js/css/theme/source/beige.scss
313
+ - files/reveal.js/css/theme/source/blood.scss
314
+ - files/reveal.js/css/theme/source/default.scss
315
+ - files/reveal.js/css/theme/source/moon.scss
316
+ - files/reveal.js/css/theme/source/night.scss
317
+ - files/reveal.js/css/theme/source/serif.scss
318
+ - files/reveal.js/css/theme/source/simple.scss
319
+ - files/reveal.js/css/theme/source/sky.scss
320
+ - files/reveal.js/css/theme/source/solarized.scss
321
+ - files/reveal.js/css/theme/template/mixins.scss
322
+ - files/reveal.js/css/theme/template/settings.scss
323
+ - files/reveal.js/css/theme/template/theme.scss
324
+ - files/reveal.js/index.html
325
+ - files/reveal.js/js/reveal.js
326
+ - files/reveal.js/js/reveal.min.js
327
+ - files/reveal.js/lib/css/zenburn.css
328
+ - files/reveal.js/lib/font/league_gothic-webfont.eot
329
+ - files/reveal.js/lib/font/league_gothic-webfont.svg
330
+ - files/reveal.js/lib/font/league_gothic-webfont.ttf
331
+ - files/reveal.js/lib/font/league_gothic-webfont.woff
332
+ - files/reveal.js/lib/font/league_gothic_license
333
+ - files/reveal.js/lib/js/classList.js
334
+ - files/reveal.js/lib/js/head.min.js
335
+ - files/reveal.js/lib/js/html5shiv.js
336
+ - files/reveal.js/package.json
337
+ - files/reveal.js/plugin/highlight/highlight.js
338
+ - files/reveal.js/plugin/leap/leap.js
339
+ - files/reveal.js/plugin/markdown/example.html
340
+ - files/reveal.js/plugin/markdown/example.md
341
+ - files/reveal.js/plugin/markdown/markdown.js
342
+ - files/reveal.js/plugin/markdown/marked.js
343
+ - files/reveal.js/plugin/math/math.js
344
+ - files/reveal.js/plugin/multiplex/client.js
345
+ - files/reveal.js/plugin/multiplex/index.js
346
+ - files/reveal.js/plugin/multiplex/master.js
347
+ - files/reveal.js/plugin/notes-server/client.js
348
+ - files/reveal.js/plugin/notes-server/index.js
349
+ - files/reveal.js/plugin/notes-server/notes.html
350
+ - files/reveal.js/plugin/notes/notes.html
351
+ - files/reveal.js/plugin/notes/notes.js
352
+ - files/reveal.js/plugin/postmessage/example.html
353
+ - files/reveal.js/plugin/postmessage/postmessage.js
354
+ - files/reveal.js/plugin/print-pdf/print-pdf.js
355
+ - files/reveal.js/plugin/remotes/remotes.js
356
+ - files/reveal.js/plugin/search/search.js
357
+ - files/reveal.js/plugin/zoom-js/zoom.js
358
+ - files/reveal.js/test/examples/assets/image1.png
359
+ - files/reveal.js/test/examples/assets/image2.png
360
+ - files/reveal.js/test/examples/barebones.html
361
+ - files/reveal.js/test/examples/embedded-media.html
362
+ - files/reveal.js/test/examples/math.html
363
+ - files/reveal.js/test/examples/slide-backgrounds.html
364
+ - files/reveal.js/test/qunit-1.12.0.css
365
+ - files/reveal.js/test/qunit-1.12.0.js
366
+ - files/reveal.js/test/test-markdown-element-attributes.html
367
+ - files/reveal.js/test/test-markdown-element-attributes.js
368
+ - files/reveal.js/test/test-markdown-slide-attributes.html
369
+ - files/reveal.js/test/test-markdown-slide-attributes.js
370
+ - files/reveal.js/test/test-markdown.html
371
+ - files/reveal.js/test/test-markdown.js
372
+ - files/reveal.js/test/test.html
373
+ - files/reveal.js/test/test.js
228
374
  - lib/reveal-ck.rb
229
375
  - lib/reveal-ck/builders.rb
230
376
  - lib/reveal-ck/builders/copy_files_task.rb
@@ -233,10 +379,12 @@ files:
233
379
  - lib/reveal-ck/builders/creation_task.rb
234
380
  - lib/reveal-ck/builders/index_html.rb
235
381
  - lib/reveal-ck/builders/rake_aware.rb
382
+ - lib/reveal-ck/builders/reveal_ck_files.rb
236
383
  - lib/reveal-ck/builders/reveal_js_files.rb
237
384
  - lib/reveal-ck/builders/slides_builder.rb
238
385
  - lib/reveal-ck/builders/user_files.rb
239
386
  - lib/reveal-ck/config.rb
387
+ - lib/reveal-ck/filtered_html_string.rb
240
388
  - lib/reveal-ck/markdown.rb
241
389
  - lib/reveal-ck/markdown/slide_markdown.rb
242
390
  - lib/reveal-ck/markdown/slide_markdown_template.rb
@@ -261,93 +409,7 @@ files:
261
409
  - rakelib/rspec.rake
262
410
  - rakelib/rubocop.rake
263
411
  - rakelib/simplecov.rake
264
- - reveal.js/Gruntfile.js
265
- - reveal.js/LICENSE
266
- - reveal.js/README.md
267
- - reveal.js/css/print/paper.css
268
- - reveal.js/css/print/pdf.css
269
- - reveal.js/css/reveal.css
270
- - reveal.js/css/reveal.min.css
271
- - reveal.js/css/theme/README.md
272
- - reveal.js/css/theme/beige.css
273
- - reveal.js/css/theme/blood.css
274
- - reveal.js/css/theme/default.css
275
- - reveal.js/css/theme/moon.css
276
- - reveal.js/css/theme/night.css
277
- - reveal.js/css/theme/serif.css
278
- - reveal.js/css/theme/simple.css
279
- - reveal.js/css/theme/sky.css
280
- - reveal.js/css/theme/solarized.css
281
- - reveal.js/css/theme/source/beige.scss
282
- - reveal.js/css/theme/source/blood.scss
283
- - reveal.js/css/theme/source/default.scss
284
- - reveal.js/css/theme/source/moon.scss
285
- - reveal.js/css/theme/source/night.scss
286
- - reveal.js/css/theme/source/serif.scss
287
- - reveal.js/css/theme/source/simple.scss
288
- - reveal.js/css/theme/source/sky.scss
289
- - reveal.js/css/theme/source/solarized.scss
290
- - reveal.js/css/theme/template/mixins.scss
291
- - reveal.js/css/theme/template/settings.scss
292
- - reveal.js/css/theme/template/theme.scss
293
- - reveal.js/index.html
294
- - reveal.js/js/reveal.js
295
- - reveal.js/js/reveal.min.js
296
- - reveal.js/lib/css/zenburn.css
297
- - reveal.js/lib/font/league_gothic-webfont.eot
298
- - reveal.js/lib/font/league_gothic-webfont.svg
299
- - reveal.js/lib/font/league_gothic-webfont.ttf
300
- - reveal.js/lib/font/league_gothic-webfont.woff
301
- - reveal.js/lib/font/league_gothic_license
302
- - reveal.js/lib/js/classList.js
303
- - reveal.js/lib/js/head.min.js
304
- - reveal.js/lib/js/html5shiv.js
305
- - reveal.js/package.json
306
- - reveal.js/plugin/highlight/highlight.js
307
- - reveal.js/plugin/leap/leap.js
308
- - reveal.js/plugin/markdown/example.html
309
- - reveal.js/plugin/markdown/example.md
310
- - reveal.js/plugin/markdown/markdown.js
311
- - reveal.js/plugin/markdown/marked.js
312
- - reveal.js/plugin/math/math.js
313
- - reveal.js/plugin/multiplex/client.js
314
- - reveal.js/plugin/multiplex/index.js
315
- - reveal.js/plugin/multiplex/master.js
316
- - reveal.js/plugin/notes-server/client.js
317
- - reveal.js/plugin/notes-server/index.js
318
- - reveal.js/plugin/notes-server/notes.html
319
- - reveal.js/plugin/notes/notes.html
320
- - reveal.js/plugin/notes/notes.js
321
- - reveal.js/plugin/postmessage/example.html
322
- - reveal.js/plugin/postmessage/postmessage.js
323
- - reveal.js/plugin/print-pdf/print-pdf.js
324
- - reveal.js/plugin/remotes/remotes.js
325
- - reveal.js/plugin/search/search.js
326
- - reveal.js/plugin/zoom-js/zoom.js
327
- - reveal.js/test/examples/assets/image1.png
328
- - reveal.js/test/examples/assets/image2.png
329
- - reveal.js/test/examples/barebones.html
330
- - reveal.js/test/examples/embedded-media.html
331
- - reveal.js/test/examples/math.html
332
- - reveal.js/test/examples/slide-backgrounds.html
333
- - reveal.js/test/qunit-1.12.0.css
334
- - reveal.js/test/qunit-1.12.0.js
335
- - reveal.js/test/test-markdown-element-attributes.html
336
- - reveal.js/test/test-markdown-element-attributes.js
337
- - reveal.js/test/test-markdown-slide-attributes.html
338
- - reveal.js/test/test-markdown-slide-attributes.js
339
- - reveal.js/test/test-markdown.html
340
- - reveal.js/test/test-markdown.js
341
- - reveal.js/test/test.html
342
- - reveal.js/test/test.js
343
412
  - spec/data/builders/index_html/slides.html
344
- - spec/data/changers/slicer/after_remove
345
- - spec/data/changers/slicer/before_remove
346
- - spec/data/changers/splicer/abcd
347
- - spec/data/changers/splicer/after_insert
348
- - spec/data/changers/splicer/before_insert
349
- - spec/data/changers/string_replacer/after_replace
350
- - spec/data/changers/string_replacer/before_replace
351
413
  - spec/data/config/full_config.yml
352
414
  - spec/data/config/partial_config.yml
353
415
  - spec/data/presentation/slides.haml
@@ -385,15 +447,6 @@ files:
385
447
  - spec/lib/reveal-ck/templates/processor_spec.rb
386
448
  - spec/lib/reveal-ck/tilt/config_spec.rb
387
449
  - spec/lib/reveal-ck_spec.rb
388
- - templates/code.slim
389
- - templates/image.slim
390
- - templates/intro.slim
391
- - templates/quote.slim
392
- - templates/reveal.js/body.html.erb
393
- - templates/reveal.js/head.html.erb
394
- - templates/reveal.js/index.html.erb
395
- - templates/reveal.js/script.js.erb
396
- - templates/text.slim
397
450
  homepage: https://github.com/jedcn/reveal-ck
398
451
  licenses:
399
452
  - MIT
@@ -406,7 +459,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
406
459
  requirements:
407
460
  - - ">="
408
461
  - !ruby/object:Gem::Version
409
- version: '0'
462
+ version: 2.0.0
410
463
  required_rubygems_version: !ruby/object:Gem::Requirement
411
464
  requirements:
412
465
  - - ">="
@@ -422,16 +475,10 @@ summary: A toolkit that takes a minimal description of slides and builds a revea
422
475
  test_files:
423
476
  - features/data/images/ruby100.png
424
477
  - features/step_definitions/file_management_steps.rb
478
+ - features/step_definitions/html_match_steps.rb
425
479
  - features/support/env.rb
426
480
  - features/support/file_management.rb
427
481
  - spec/data/builders/index_html/slides.html
428
- - spec/data/changers/slicer/after_remove
429
- - spec/data/changers/slicer/before_remove
430
- - spec/data/changers/splicer/abcd
431
- - spec/data/changers/splicer/after_insert
432
- - spec/data/changers/splicer/before_insert
433
- - spec/data/changers/string_replacer/after_replace
434
- - spec/data/changers/string_replacer/before_replace
435
482
  - spec/data/config/full_config.yml
436
483
  - spec/data/config/partial_config.yml
437
484
  - spec/data/presentation/slides.haml