parade-preshow 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Parade::Preshow
2
2
 
3
- TODO: Write a gem description
3
+ Adds a time configurable preshow to a Parade presentation, allowing you to present images before your presentation starts.
4
4
 
5
5
  ## Installation
6
6
 
@@ -18,7 +18,31 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
21
+ Require it in your `parade` file:
22
+
23
+ ```ruby
24
+ require 'parade-preshow'
25
+
26
+ title "Example Presentation"
27
+
28
+ description "My Awesome Presentation"
29
+
30
+ section "Introduction" do
31
+ slides "intro.md"
32
+ slides "installation.md"
33
+ slides "navigation.md"
34
+ end
35
+ ```
36
+
37
+ Require it in your `config.ru` file:
38
+
39
+ ```ruby
40
+ require "parade"
41
+ require "parade-preshow"
42
+ run Parade::Server.new
43
+ ```
44
+
45
+ You can start the preshow by pressing the **p** key during your presentation
22
46
 
23
47
  ## Contributing
24
48
 
@@ -29,4 +29,5 @@ module Parade
29
29
  Server.register Preshow::Server
30
30
  Server.register_javascript Preshow.javascript_file
31
31
  Server.register_stylesheet Preshow.stylesheet_file
32
+ Server.register_command "p", "toggle preshow"
32
33
  end
@@ -1,5 +1,5 @@
1
1
  module Parade
2
2
  module Preshow
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parade-preshow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: