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,6 +0,0 @@
1
- 0
2
- 1
3
- 2
4
- 7
5
- 8
6
- 9
@@ -1,10 +0,0 @@
1
- 0
2
- 1
3
- 2
4
- 3
5
- 4
6
- 5
7
- 6
8
- 7
9
- 8
10
- 9
@@ -1,4 +0,0 @@
1
- a
2
- b
3
- c
4
- d
@@ -1,14 +0,0 @@
1
- 0
2
- 1
3
- 2
4
- 3
5
- a
6
- b
7
- c
8
- d
9
- 4
10
- 5
11
- 6
12
- 7
13
- 8
14
- 9
@@ -1,10 +0,0 @@
1
- 0
2
- 1
3
- 2
4
- 3
5
- 4
6
- 5
7
- 6
8
- 7
9
- 8
10
- 9
@@ -1,4 +0,0 @@
1
- Just off the shores of Never Land
2
- Ahh coconuts!
3
- Yo Ho! Yo Ho!
4
- Let's Go! Let's Go!
@@ -1,4 +0,0 @@
1
- Just off the shores of Never Land
2
- A hideaway at sea
3
- Yo Ho! Yo Ho!
4
- Let's Go! Let's Go!