reveal-ck 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/Gemfile +2 -14
- data/README.md +87 -37
- data/Rakefile +3 -2
- data/lib/reveal-ck/version.rb +1 -2
- metadata +52 -96
- data/.gitmodules +0 -3
- data/.rspec +0 -2
- data/.rvmrc +0 -16
- data/.travis.yml +0 -4
- data/Gemfile.lock +0 -52
- data/VERSION +0 -1
- data/features/generate.feature +0 -64
- data/features/help.feature +0 -18
- data/rakelib/jeweler.rake +0 -12
- data/reveal-ck.gemspec +0 -152
- data/spec/spec_helper.rb +0 -27
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MGI0YmM5MmNlMTlmNTNmODg0MjY5YjQ4N2NlYjMwNTc4MmQ4ODE2YQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YjUwMjkzZWU5YzdmYzZmZGYxOWE3ZjRlZDQ4YTgzNTY3ZDQxNWRhZg==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MTZjMTAyYTcyZjdlNzQxOTIxZGQ4YWYzMzk5MzZiYTUzMWUyYzUyOWE0MDQy
|
10
|
+
ODFjODU1NGNjMzk0ZGFjMTk5ZjI3MWZkZTE0OTkxZjQ5NzE1ZTQzNzI5NDUy
|
11
|
+
YWFiMTYxODlkNzAxYWY3NGM1YWRkNDlmMmVjYzZkNDRhNzBhZGQ=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
OTQ3OGUzNWY1ZTAwYWM1M2NmN2NiMjc4ZTAxY2U1ZDRmMDhiODhkMmIzNzM5
|
14
|
+
NmFkMzUzOGYyMjkyNzg3NjFiYThiYzg5MTNhZmQ0YmM0MGViYWNlMDM3ZmI5
|
15
|
+
NDhkMDAyMTI2ZjdjMzMxYWIxZTZiMzZhZjRjNzg0YjM4YzdkZGE=
|
data/Gemfile
CHANGED
@@ -1,15 +1,3 @@
|
|
1
|
-
source
|
1
|
+
source "https://rubygems.org"
|
2
2
|
|
3
|
-
|
4
|
-
gem 'gli'
|
5
|
-
gem 'rake'
|
6
|
-
|
7
|
-
# Add dependencies to develop your gem here.
|
8
|
-
# Include everything needed to run rake, tests, features, etc.
|
9
|
-
group :development do
|
10
|
-
gem 'jeweler'
|
11
|
-
gem 'rspec'
|
12
|
-
gem 'bundler'
|
13
|
-
gem 'cucumber'
|
14
|
-
gem 'aruba'
|
15
|
-
end
|
3
|
+
gemspec
|
data/README.md
CHANGED
@@ -1,66 +1,83 @@
|
|
1
1
|
# reveal-ck: a [reveal.js](http://lab.hakim.se/reveal-js/) construction kit
|
2
2
|
|
3
|
+
[![Build Status](https://travis-ci.org/jedcn/reveal-ck.png)](https://travis-ci.org/jedcn/reveal-ck)
|
4
|
+
|
3
5
|
## Overview
|
4
6
|
|
5
|
-
|
6
|
-
[reveal.js](http://lab.hakim.se/reveal-js/)
|
7
|
+
This project is the home of a gem named `reveal-ck` that lets you
|
8
|
+
quickly author [reveal.js](http://lab.hakim.se/reveal-js/)
|
9
|
+
presentations.
|
10
|
+
|
11
|
+
The gem provides an executable of the same name, `reveal-ck`, that can
|
12
|
+
take a single file as input and generate a set of slides from it.
|
7
13
|
|
8
|
-
|
9
|
-
|
14
|
+
Here's a starter repository that contains everything you need to get
|
15
|
+
going with reveal-ck: https://github.com/jedcn/reveal-ck-template in
|
16
|
+
less than 5 minutes.
|
10
17
|
|
11
18
|
The hope is that you will be able to leverage all of the power,
|
12
19
|
beauty, and functionality that comes from reveal.js while focusing
|
13
20
|
entirely on the actual content and ideas you are trying to get across.
|
14
21
|
|
15
|
-
|
22
|
+
As with all [reveal.js](http://lab.hakim.se/reveal-js/) presentations,
|
23
|
+
you can show these to other people on an iPhone, iPad, or present them
|
24
|
+
in your browser.
|
16
25
|
|
17
|
-
|
18
|
-
* A directory containing any images you'd like to reference relatively
|
19
|
-
(```images```).
|
26
|
+
### What You Provide
|
20
27
|
|
21
|
-
|
22
|
-
placed anywhere on the web (or kept locally). As with all
|
23
|
-
[reveal.js](http://lab.hakim.se/reveal-js/) presentations, you can
|
24
|
-
show these to other people on an iPhone, iPad, or present them in your
|
25
|
-
browser.
|
28
|
+
You provide:
|
26
29
|
|
27
|
-
|
28
|
-
https://github.com/jedcn/talk-learning-with-tools
|
30
|
+
* A file containing your slide content in HAML (`slides.haml`)
|
29
31
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
[live demo](http://lab.hakim.se/reveal-js/).
|
32
|
+
* (optional) If you have any images that are not already on the web,
|
33
|
+
you can save these into a directory named `images` and the contents
|
34
|
+
will be bundled up into your generated slides. This will allow you
|
35
|
+
to relatively reference the images.
|
35
36
|
|
36
37
|
## Getting Started
|
37
38
|
|
38
39
|
At present, we assume you've got a functional Ruby 1.9.x environment
|
39
|
-
up and running.
|
40
|
+
up and running one way or another and bundler.
|
40
41
|
|
41
42
|
If that's the case, try the following:
|
42
43
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
44
|
+
```
|
45
|
+
$ git clone git@github.com:jedcn/reveal-ck-template.git
|
46
|
+
Cloning into 'reveal-ck-template'...
|
47
|
+
remote: Counting objects: 12, done.
|
48
|
+
remote: Compressing objects: 100% (7/7), done.
|
49
|
+
remote: Total 12 (delta 2), reused 12 (delta 2)
|
50
|
+
Receiving objects: 100% (12/12), done.
|
51
|
+
Resolving deltas: 100% (2/2), done.
|
52
|
+
$ cd reveal-ck-template
|
53
|
+
$ bundle
|
54
|
+
Fetching gem metadata from https://rubygems.org/......
|
55
|
+
Installing rake (10.0.4)
|
56
|
+
Installing gli (2.5.6)
|
57
|
+
Installing tilt (1.3.6)
|
58
|
+
Installing haml (4.0.1)
|
59
|
+
Installing reveal-ck (0.1.1)
|
60
|
+
Using bundler (1.2.3)
|
61
|
+
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
|
62
|
+
$ reveal-ck generate
|
63
|
+
$ open slides/index.html
|
64
|
+
```
|
65
|
+
|
66
|
+
If all has gone well, you should now have a `slides/` directory and if
|
67
|
+
you open up `slides/index.html` in a browser, you should see a
|
68
|
+
reveal.js presentation that was generated from the `slides.haml`
|
53
69
|
|
54
70
|
## Authoring Slides
|
55
71
|
|
56
72
|
Now that you are assured of basic functionality, start making changes
|
57
|
-
and customizing
|
58
|
-
|
73
|
+
and customizing `slides.haml`. Once you've made a change you'd like to
|
74
|
+
see, re-run `reveal-ck generate` and then re-open (or refresh)
|
75
|
+
`slides/index.html`
|
59
76
|
|
60
77
|
[reveal.js](http://lab.hakim.se/reveal-js/) has a great
|
61
78
|
[live demo](http://lab.hakim.se/reveal-js/), and if you take a look at
|
62
|
-
the source in the demo, you can
|
63
|
-
|
79
|
+
the source in the demo, you can quickly see the HTML and CSS that has
|
80
|
+
good support by default when placed into your `slides.haml`.
|
64
81
|
|
65
82
|
## Why not just clone reveal.js?
|
66
83
|
|
@@ -83,8 +100,8 @@ the list of slides to a single file (```slides.haml```). It only
|
|
83
100
|
contains the slide content I am presenting and there's minimal markup.
|
84
101
|
|
85
102
|
HAML isn't the most readable thing (say, compared to markdown), but it
|
86
|
-
is decent and sharing or reviewing something like ```slides.haml```
|
87
|
-
easier than reviewing the final presentation:
|
103
|
+
is decent, and sharing or reviewing something like ```slides.haml```
|
104
|
+
is easier than reviewing the final presentation:
|
88
105
|
|
89
106
|
* If you look at the presentation in a browser, you can't scan all of
|
90
107
|
the slides at once. You need to visit them. If you're looking at
|
@@ -101,3 +118,36 @@ slightly easier than if you track the generated presentation.
|
|
101
118
|
In the end, the presentation framework,
|
102
119
|
[reveal.js](http://lab.hakim.se/reveal-js/), can make things pretty,
|
103
120
|
but only you can make a presentation that is worthwhile.
|
121
|
+
|
122
|
+
[talk-learning-with-tools-source]: https://github.com/jedcn/talk-learning-with-tools
|
123
|
+
[talk-learning-with-tools-result]: http://www.jednorthridge.com/talks/learning-with-tools
|
124
|
+
|
125
|
+
## Development
|
126
|
+
|
127
|
+
If you want to make changes to reveal-ck, you should first try the
|
128
|
+
following:
|
129
|
+
|
130
|
+
```
|
131
|
+
git submodule init
|
132
|
+
git submodule update
|
133
|
+
rake
|
134
|
+
```
|
135
|
+
|
136
|
+
The gem, reveal-ck, relies on having a copy of reveal.js (the original
|
137
|
+
JavaScript based project) via a git submodule.
|
138
|
+
|
139
|
+
The commands above get things online and verify basic functionality.
|
140
|
+
|
141
|
+
### Testing
|
142
|
+
|
143
|
+
The testing strategy blends rspec and cucumber. There's not much going
|
144
|
+
on here (at a code level) so RSpec is straight forward. The
|
145
|
+
executable, reveal-ck, is verified as a command line tool with Aruba.
|
146
|
+
|
147
|
+
As you might expect, `rake spec` runs specs, `rake cucumber` runs
|
148
|
+
features, and `rake` runs both `spec` and `cucumber`.
|
149
|
+
|
150
|
+
### Travis
|
151
|
+
|
152
|
+
This project is setup within Travis. Here is the
|
153
|
+
[project page](https://travis-ci.org/jedcn/reveal-ck).
|
data/Rakefile
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
|
3
2
|
require 'rubygems'
|
3
|
+
|
4
4
|
require 'bundler'
|
5
|
+
Bundler::GemHelper.install_tasks
|
6
|
+
|
5
7
|
begin
|
6
8
|
Bundler.setup(:default, :development)
|
7
9
|
rescue Bundler::BundlerError => e
|
@@ -12,5 +14,4 @@ end
|
|
12
14
|
|
13
15
|
require 'rake'
|
14
16
|
require 'rake/clean'
|
15
|
-
require_relative 'lib/reveal-ck'
|
16
17
|
task :default => [ :spec, :cucumber ]
|
data/lib/reveal-ck/version.rb
CHANGED
metadata
CHANGED
@@ -1,52 +1,46 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reveal-ck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jed Northridge
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-07-07 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: haml
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
19
|
+
version: 3.1.7
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
26
|
+
version: 3.1.7
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: gli
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
33
|
+
version: 2.5.4
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
40
|
+
version: 2.5.4
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rake
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ! '>='
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,23 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ! '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: jeweler
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - ! '>='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
70
|
-
type: :development
|
71
|
-
prerelease: false
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
51
|
requirements:
|
75
52
|
- - ! '>='
|
76
53
|
- !ruby/object:Gem::Version
|
@@ -78,23 +55,6 @@ dependencies:
|
|
78
55
|
- !ruby/object:Gem::Dependency
|
79
56
|
name: rspec
|
80
57
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
|
-
requirements:
|
83
|
-
- - ! '>='
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: '0'
|
86
|
-
type: :development
|
87
|
-
prerelease: false
|
88
|
-
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ! '>='
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: '0'
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
|
-
name: bundler
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
58
|
requirements:
|
99
59
|
- - ! '>='
|
100
60
|
- !ruby/object:Gem::Version
|
@@ -102,7 +62,6 @@ dependencies:
|
|
102
62
|
type: :development
|
103
63
|
prerelease: false
|
104
64
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
65
|
requirements:
|
107
66
|
- - ! '>='
|
108
67
|
- !ruby/object:Gem::Version
|
@@ -110,7 +69,6 @@ dependencies:
|
|
110
69
|
- !ruby/object:Gem::Dependency
|
111
70
|
name: cucumber
|
112
71
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
72
|
requirements:
|
115
73
|
- - ! '>='
|
116
74
|
- !ruby/object:Gem::Version
|
@@ -118,7 +76,6 @@ dependencies:
|
|
118
76
|
type: :development
|
119
77
|
prerelease: false
|
120
78
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
79
|
requirements:
|
123
80
|
- - ! '>='
|
124
81
|
- !ruby/object:Gem::Version
|
@@ -126,7 +83,6 @@ dependencies:
|
|
126
83
|
- !ruby/object:Gem::Dependency
|
127
84
|
name: aruba
|
128
85
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
86
|
requirements:
|
131
87
|
- - ! '>='
|
132
88
|
- !ruby/object:Gem::Version
|
@@ -134,13 +90,13 @@ dependencies:
|
|
134
90
|
type: :development
|
135
91
|
prerelease: false
|
136
92
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
93
|
requirements:
|
139
94
|
- - ! '>='
|
140
95
|
- !ruby/object:Gem::Version
|
141
96
|
version: '0'
|
142
97
|
description: A reveal.js construction kit
|
143
|
-
email:
|
98
|
+
email:
|
99
|
+
- northridge@gmail.com
|
144
100
|
executables:
|
145
101
|
- reveal-ck
|
146
102
|
extensions: []
|
@@ -148,46 +104,19 @@ extra_rdoc_files:
|
|
148
104
|
- LICENSE
|
149
105
|
- README.md
|
150
106
|
files:
|
151
|
-
- .gitmodules
|
152
|
-
- .rspec
|
153
|
-
- .rvmrc
|
154
|
-
- .travis.yml
|
155
|
-
- Gemfile
|
156
|
-
- Gemfile.lock
|
157
107
|
- LICENSE
|
158
|
-
- README.md
|
159
108
|
- Rakefile
|
160
|
-
-
|
161
|
-
- bin/reveal-ck
|
162
|
-
- features/data/images/ruby100.png
|
163
|
-
- features/generate.feature
|
164
|
-
- features/help.feature
|
165
|
-
- features/step_definitions/file_management_steps.rb
|
166
|
-
- features/support/env.rb
|
167
|
-
- features/support/file_management.rb
|
168
|
-
- lib/reveal-ck.rb
|
169
|
-
- lib/reveal-ck/file_slicer.rb
|
170
|
-
- lib/reveal-ck/file_splicer.rb
|
171
|
-
- lib/reveal-ck/haml_processor.rb
|
172
|
-
- lib/reveal-ck/version.rb
|
173
|
-
- rakelib/cucumber.rake
|
174
|
-
- rakelib/jeweler.rake
|
175
|
-
- rakelib/presentation.rake
|
176
|
-
- rakelib/reveal.rake
|
177
|
-
- rakelib/rspec.rake
|
178
|
-
- reveal-ck.gemspec
|
179
|
-
- reveal.js/LICENSE
|
180
|
-
- reveal.js/README.md
|
109
|
+
- Gemfile
|
181
110
|
- reveal.js/css/print/paper.css
|
182
111
|
- reveal.js/css/print/pdf.css
|
183
112
|
- reveal.js/css/reveal.css
|
184
113
|
- reveal.js/css/reveal.min.css
|
185
114
|
- reveal.js/css/shaders/tile-flip.fs
|
186
115
|
- reveal.js/css/shaders/tile-flip.vs
|
187
|
-
- reveal.js/css/theme/README.md
|
188
116
|
- reveal.js/css/theme/beige.css
|
189
117
|
- reveal.js/css/theme/default.css
|
190
118
|
- reveal.js/css/theme/night.css
|
119
|
+
- reveal.js/css/theme/README.md
|
191
120
|
- reveal.js/css/theme/serif.css
|
192
121
|
- reveal.js/css/theme/simple.css
|
193
122
|
- reveal.js/css/theme/sky.css
|
@@ -213,20 +142,36 @@ files:
|
|
213
142
|
- reveal.js/lib/js/classList.js
|
214
143
|
- reveal.js/lib/js/head.min.js
|
215
144
|
- reveal.js/lib/js/html5shiv.js
|
145
|
+
- reveal.js/LICENSE
|
216
146
|
- reveal.js/package.json
|
217
147
|
- reveal.js/plugin/highlight/highlight.js
|
218
148
|
- reveal.js/plugin/markdown/markdown.js
|
219
149
|
- reveal.js/plugin/markdown/showdown.js
|
150
|
+
- reveal.js/plugin/notes/notes.html
|
151
|
+
- reveal.js/plugin/notes/notes.js
|
220
152
|
- reveal.js/plugin/notes-server/client.js
|
221
153
|
- reveal.js/plugin/notes-server/index.js
|
222
154
|
- reveal.js/plugin/notes-server/notes.html
|
223
|
-
- reveal.js/plugin/notes/notes.html
|
224
|
-
- reveal.js/plugin/notes/notes.js
|
225
155
|
- reveal.js/plugin/postmessage/example.html
|
226
156
|
- reveal.js/plugin/postmessage/postmessage.js
|
227
157
|
- reveal.js/plugin/print-pdf/print-pdf.js
|
228
158
|
- reveal.js/plugin/remotes/remotes.js
|
229
159
|
- reveal.js/plugin/zoom-js/zoom.js
|
160
|
+
- reveal.js/README.md
|
161
|
+
- lib/reveal-ck.rb
|
162
|
+
- lib/reveal-ck/file_slicer.rb
|
163
|
+
- lib/reveal-ck/file_splicer.rb
|
164
|
+
- lib/reveal-ck/haml_processor.rb
|
165
|
+
- lib/reveal-ck/version.rb
|
166
|
+
- rakelib/cucumber.rake
|
167
|
+
- rakelib/presentation.rake
|
168
|
+
- rakelib/reveal.rake
|
169
|
+
- rakelib/rspec.rake
|
170
|
+
- README.md
|
171
|
+
- features/data/images/ruby100.png
|
172
|
+
- features/step_definitions/file_management_steps.rb
|
173
|
+
- features/support/env.rb
|
174
|
+
- features/support/file_management.rb
|
230
175
|
- spec/data/haml/basic.haml
|
231
176
|
- spec/data/html/converted_basic_haml.html
|
232
177
|
- spec/data/html/reveal-js-index.html
|
@@ -238,34 +183,45 @@ files:
|
|
238
183
|
- spec/lib/reveal-ck/file_slicer_spec.rb
|
239
184
|
- spec/lib/reveal-ck/file_splicer_spec.rb
|
240
185
|
- spec/lib/reveal-ck/haml_processor_spec.rb
|
241
|
-
-
|
186
|
+
- bin/reveal-ck
|
242
187
|
homepage: https://github.com/jedcn/reveal-ck
|
243
188
|
licenses:
|
244
189
|
- MIT
|
190
|
+
metadata: {}
|
245
191
|
post_install_message:
|
246
192
|
rdoc_options: []
|
247
193
|
require_paths:
|
248
194
|
- lib
|
249
195
|
required_ruby_version: !ruby/object:Gem::Requirement
|
250
|
-
none: false
|
251
196
|
requirements:
|
252
197
|
- - ! '>='
|
253
198
|
- !ruby/object:Gem::Version
|
254
199
|
version: '0'
|
255
|
-
segments:
|
256
|
-
- 0
|
257
|
-
hash: -3708275726439485503
|
258
200
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
259
|
-
none: false
|
260
201
|
requirements:
|
261
202
|
- - ! '>='
|
262
203
|
- !ruby/object:Gem::Version
|
263
204
|
version: '0'
|
264
205
|
requirements: []
|
265
206
|
rubyforge_project:
|
266
|
-
rubygems_version:
|
207
|
+
rubygems_version: 2.0.3
|
267
208
|
signing_key:
|
268
|
-
specification_version:
|
209
|
+
specification_version: 4
|
269
210
|
summary: A toolkit that takes a minimal description of slides and builds a reveal.js
|
270
211
|
presentation
|
271
|
-
test_files:
|
212
|
+
test_files:
|
213
|
+
- features/data/images/ruby100.png
|
214
|
+
- features/step_definitions/file_management_steps.rb
|
215
|
+
- features/support/env.rb
|
216
|
+
- features/support/file_management.rb
|
217
|
+
- spec/data/haml/basic.haml
|
218
|
+
- spec/data/html/converted_basic_haml.html
|
219
|
+
- spec/data/html/reveal-js-index.html
|
220
|
+
- spec/data/slicer/after_remove
|
221
|
+
- spec/data/slicer/before_remove
|
222
|
+
- spec/data/splicer/abcd
|
223
|
+
- spec/data/splicer/after_insert
|
224
|
+
- spec/data/splicer/before_insert
|
225
|
+
- spec/lib/reveal-ck/file_slicer_spec.rb
|
226
|
+
- spec/lib/reveal-ck/file_splicer_spec.rb
|
227
|
+
- spec/lib/reveal-ck/haml_processor_spec.rb
|
data/.gitmodules
DELETED
data/.rspec
DELETED
data/.rvmrc
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
|
3
|
-
environment_id="ruby-1.9.3-p327@reveal-ck"
|
4
|
-
|
5
|
-
if [[ -d "${rvm_path:-$HOME/.rvm}/environments"
|
6
|
-
&& -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
|
7
|
-
then
|
8
|
-
\. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
|
9
|
-
[[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]] &&
|
10
|
-
\. "${rvm_path:-$HOME/.rvm}/hooks/after_use" || true
|
11
|
-
else
|
12
|
-
rvm --create "$environment_id" || {
|
13
|
-
echo "Failed to create RVM environment '${environment_id}'."
|
14
|
-
return 1
|
15
|
-
}
|
16
|
-
fi
|
data/.travis.yml
DELETED
data/Gemfile.lock
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
aruba (0.5.1)
|
5
|
-
childprocess (~> 0.3.6)
|
6
|
-
cucumber (>= 1.1.1)
|
7
|
-
rspec-expectations (>= 2.7.0)
|
8
|
-
builder (3.1.4)
|
9
|
-
childprocess (0.3.7)
|
10
|
-
ffi (~> 1.0, >= 1.0.6)
|
11
|
-
cucumber (1.2.1)
|
12
|
-
builder (>= 2.1.2)
|
13
|
-
diff-lcs (>= 1.1.3)
|
14
|
-
gherkin (~> 2.11.0)
|
15
|
-
json (>= 1.4.6)
|
16
|
-
diff-lcs (1.1.3)
|
17
|
-
ffi (1.3.1)
|
18
|
-
gherkin (2.11.6)
|
19
|
-
json (>= 1.7.6)
|
20
|
-
git (1.2.5)
|
21
|
-
gli (2.5.4)
|
22
|
-
haml (3.1.7)
|
23
|
-
jeweler (1.8.4)
|
24
|
-
bundler (~> 1.0)
|
25
|
-
git (>= 1.2.5)
|
26
|
-
rake
|
27
|
-
rdoc
|
28
|
-
json (1.7.6)
|
29
|
-
rake (10.0.3)
|
30
|
-
rdoc (3.12)
|
31
|
-
json (~> 1.4)
|
32
|
-
rspec (2.12.0)
|
33
|
-
rspec-core (~> 2.12.0)
|
34
|
-
rspec-expectations (~> 2.12.0)
|
35
|
-
rspec-mocks (~> 2.12.0)
|
36
|
-
rspec-core (2.12.2)
|
37
|
-
rspec-expectations (2.12.1)
|
38
|
-
diff-lcs (~> 1.1.3)
|
39
|
-
rspec-mocks (2.12.1)
|
40
|
-
|
41
|
-
PLATFORMS
|
42
|
-
ruby
|
43
|
-
|
44
|
-
DEPENDENCIES
|
45
|
-
aruba
|
46
|
-
bundler
|
47
|
-
cucumber
|
48
|
-
gli
|
49
|
-
haml
|
50
|
-
jeweler
|
51
|
-
rake
|
52
|
-
rspec
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.1.1
|
data/features/generate.feature
DELETED
@@ -1,64 +0,0 @@
|
|
1
|
-
Feature: Generate slides
|
2
|
-
|
3
|
-
In order to easily generate reveal.js presentations
|
4
|
-
As a user of reveal-ck
|
5
|
-
I want to use the "reveal-ck generate" command
|
6
|
-
|
7
|
-
Scenario: Generating basic slides
|
8
|
-
Given a file named "slides.haml" with:
|
9
|
-
"""
|
10
|
-
%section
|
11
|
-
%h1
|
12
|
-
Made with RevealCK
|
13
|
-
%p.small
|
14
|
-
oh yeah!
|
15
|
-
"""
|
16
|
-
When I run `reveal-ck generate`
|
17
|
-
Then the exit status should be 0
|
18
|
-
And the output should contain exactly ""
|
19
|
-
And the following files should exist:
|
20
|
-
| slides/slides.html |
|
21
|
-
| slides/index.html |
|
22
|
-
And the file "slides/slides.html" should contain exactly:
|
23
|
-
"""
|
24
|
-
<section>
|
25
|
-
<h1>
|
26
|
-
Made with RevealCK
|
27
|
-
</h1>
|
28
|
-
<p class='small'>
|
29
|
-
oh yeah!
|
30
|
-
</p>
|
31
|
-
</section>
|
32
|
-
|
33
|
-
"""
|
34
|
-
And the file "slides/index.html" should contain:
|
35
|
-
"""
|
36
|
-
<section>
|
37
|
-
<h1>
|
38
|
-
Made with RevealCK
|
39
|
-
</h1>
|
40
|
-
<p class='small'>
|
41
|
-
oh yeah!
|
42
|
-
</p>
|
43
|
-
</section>
|
44
|
-
"""
|
45
|
-
|
46
|
-
Scenario: Generating slides with images
|
47
|
-
Given a file named "images/ruby100.png" that's a copy of "data/images/ruby100.png"
|
48
|
-
And a file named "slides.haml" with:
|
49
|
-
"""
|
50
|
-
%section
|
51
|
-
%img{ alt: 'Ruby Logo', src: 'images/ruby100.png' }
|
52
|
-
"""
|
53
|
-
When I run `reveal-ck generate`
|
54
|
-
Then the exit status should be 0
|
55
|
-
And the following files should exist:
|
56
|
-
| slides/slides.html |
|
57
|
-
| slides/index.html |
|
58
|
-
| slides/images/ruby100.png |
|
59
|
-
And the file "slides/index.html" should contain:
|
60
|
-
"""
|
61
|
-
<section>
|
62
|
-
<img alt='Ruby Logo' src='images/ruby100.png' />
|
63
|
-
</section>
|
64
|
-
"""
|
data/features/help.feature
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
Feature: Getting Command Line Help
|
2
|
-
|
3
|
-
reveal-ck provides general command line help to a user so that she
|
4
|
-
understands what it does and is aware of the commands and options.
|
5
|
-
|
6
|
-
Scenario: Show general help if reveal-ck is run without options
|
7
|
-
When I run `reveal-ck`
|
8
|
-
Then it should pass with:
|
9
|
-
"""
|
10
|
-
help - Shows a list of commands or help for one command
|
11
|
-
"""
|
12
|
-
|
13
|
-
Scenario: Show general help if reveal-ck is run with --help
|
14
|
-
When I run `reveal-ck --help`
|
15
|
-
Then it should pass with:
|
16
|
-
"""
|
17
|
-
help - Shows a list of commands or help for one command
|
18
|
-
"""
|
data/rakelib/jeweler.rake
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
require 'jeweler'
|
2
|
-
Jeweler::Tasks.new do |gem|
|
3
|
-
gem.name = 'reveal-ck'
|
4
|
-
gem.homepage = 'https://github.com/jedcn/reveal-ck'
|
5
|
-
gem.license = 'MIT'
|
6
|
-
gem.summary = %Q{A toolkit that takes a minimal description of slides and builds a reveal.js presentation}
|
7
|
-
gem.description = 'A reveal.js construction kit'
|
8
|
-
gem.email = 'northridge@gmail.com'
|
9
|
-
gem.authors = ['Jed Northridge']
|
10
|
-
gem.files.include 'reveal.js/**/*'
|
11
|
-
end
|
12
|
-
Jeweler::RubygemsDotOrgTasks.new
|
data/reveal-ck.gemspec
DELETED
@@ -1,152 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = "reveal-ck"
|
8
|
-
s.version = "0.1.1"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Jed Northridge"]
|
12
|
-
s.date = "2013-02-15"
|
13
|
-
s.description = "A reveal.js construction kit"
|
14
|
-
s.email = "northridge@gmail.com"
|
15
|
-
s.executables = ["reveal-ck"]
|
16
|
-
s.extra_rdoc_files = [
|
17
|
-
"LICENSE",
|
18
|
-
"README.md"
|
19
|
-
]
|
20
|
-
s.files = [
|
21
|
-
".gitmodules",
|
22
|
-
".rspec",
|
23
|
-
".rvmrc",
|
24
|
-
".travis.yml",
|
25
|
-
"Gemfile",
|
26
|
-
"Gemfile.lock",
|
27
|
-
"LICENSE",
|
28
|
-
"README.md",
|
29
|
-
"Rakefile",
|
30
|
-
"VERSION",
|
31
|
-
"bin/reveal-ck",
|
32
|
-
"features/data/images/ruby100.png",
|
33
|
-
"features/generate.feature",
|
34
|
-
"features/help.feature",
|
35
|
-
"features/step_definitions/file_management_steps.rb",
|
36
|
-
"features/support/env.rb",
|
37
|
-
"features/support/file_management.rb",
|
38
|
-
"lib/reveal-ck.rb",
|
39
|
-
"lib/reveal-ck/file_slicer.rb",
|
40
|
-
"lib/reveal-ck/file_splicer.rb",
|
41
|
-
"lib/reveal-ck/haml_processor.rb",
|
42
|
-
"lib/reveal-ck/version.rb",
|
43
|
-
"rakelib/cucumber.rake",
|
44
|
-
"rakelib/jeweler.rake",
|
45
|
-
"rakelib/presentation.rake",
|
46
|
-
"rakelib/reveal.rake",
|
47
|
-
"rakelib/rspec.rake",
|
48
|
-
"reveal-ck.gemspec",
|
49
|
-
"reveal.js/LICENSE",
|
50
|
-
"reveal.js/README.md",
|
51
|
-
"reveal.js/css/print/paper.css",
|
52
|
-
"reveal.js/css/print/pdf.css",
|
53
|
-
"reveal.js/css/reveal.css",
|
54
|
-
"reveal.js/css/reveal.min.css",
|
55
|
-
"reveal.js/css/shaders/tile-flip.fs",
|
56
|
-
"reveal.js/css/shaders/tile-flip.vs",
|
57
|
-
"reveal.js/css/theme/README.md",
|
58
|
-
"reveal.js/css/theme/beige.css",
|
59
|
-
"reveal.js/css/theme/default.css",
|
60
|
-
"reveal.js/css/theme/night.css",
|
61
|
-
"reveal.js/css/theme/serif.css",
|
62
|
-
"reveal.js/css/theme/simple.css",
|
63
|
-
"reveal.js/css/theme/sky.css",
|
64
|
-
"reveal.js/css/theme/source/beige.scss",
|
65
|
-
"reveal.js/css/theme/source/default.scss",
|
66
|
-
"reveal.js/css/theme/source/night.scss",
|
67
|
-
"reveal.js/css/theme/source/serif.scss",
|
68
|
-
"reveal.js/css/theme/source/simple.scss",
|
69
|
-
"reveal.js/css/theme/source/sky.scss",
|
70
|
-
"reveal.js/css/theme/template/mixins.scss",
|
71
|
-
"reveal.js/css/theme/template/settings.scss",
|
72
|
-
"reveal.js/css/theme/template/theme.scss",
|
73
|
-
"reveal.js/grunt.js",
|
74
|
-
"reveal.js/index.html",
|
75
|
-
"reveal.js/js/reveal.js",
|
76
|
-
"reveal.js/js/reveal.min.js",
|
77
|
-
"reveal.js/lib/css/zenburn.css",
|
78
|
-
"reveal.js/lib/font/league_gothic-webfont.eot",
|
79
|
-
"reveal.js/lib/font/league_gothic-webfont.svg",
|
80
|
-
"reveal.js/lib/font/league_gothic-webfont.ttf",
|
81
|
-
"reveal.js/lib/font/league_gothic-webfont.woff",
|
82
|
-
"reveal.js/lib/font/league_gothic_license",
|
83
|
-
"reveal.js/lib/js/classList.js",
|
84
|
-
"reveal.js/lib/js/head.min.js",
|
85
|
-
"reveal.js/lib/js/html5shiv.js",
|
86
|
-
"reveal.js/package.json",
|
87
|
-
"reveal.js/plugin/highlight/highlight.js",
|
88
|
-
"reveal.js/plugin/markdown/markdown.js",
|
89
|
-
"reveal.js/plugin/markdown/showdown.js",
|
90
|
-
"reveal.js/plugin/notes-server/client.js",
|
91
|
-
"reveal.js/plugin/notes-server/index.js",
|
92
|
-
"reveal.js/plugin/notes-server/notes.html",
|
93
|
-
"reveal.js/plugin/notes/notes.html",
|
94
|
-
"reveal.js/plugin/notes/notes.js",
|
95
|
-
"reveal.js/plugin/postmessage/example.html",
|
96
|
-
"reveal.js/plugin/postmessage/postmessage.js",
|
97
|
-
"reveal.js/plugin/print-pdf/print-pdf.js",
|
98
|
-
"reveal.js/plugin/remotes/remotes.js",
|
99
|
-
"reveal.js/plugin/zoom-js/zoom.js",
|
100
|
-
"spec/data/haml/basic.haml",
|
101
|
-
"spec/data/html/converted_basic_haml.html",
|
102
|
-
"spec/data/html/reveal-js-index.html",
|
103
|
-
"spec/data/slicer/after_remove",
|
104
|
-
"spec/data/slicer/before_remove",
|
105
|
-
"spec/data/splicer/abcd",
|
106
|
-
"spec/data/splicer/after_insert",
|
107
|
-
"spec/data/splicer/before_insert",
|
108
|
-
"spec/lib/reveal-ck/file_slicer_spec.rb",
|
109
|
-
"spec/lib/reveal-ck/file_splicer_spec.rb",
|
110
|
-
"spec/lib/reveal-ck/haml_processor_spec.rb",
|
111
|
-
"spec/spec_helper.rb"
|
112
|
-
]
|
113
|
-
s.homepage = "https://github.com/jedcn/reveal-ck"
|
114
|
-
s.licenses = ["MIT"]
|
115
|
-
s.require_paths = ["lib"]
|
116
|
-
s.rubygems_version = "1.8.24"
|
117
|
-
s.summary = "A toolkit that takes a minimal description of slides and builds a reveal.js presentation"
|
118
|
-
|
119
|
-
if s.respond_to? :specification_version then
|
120
|
-
s.specification_version = 3
|
121
|
-
|
122
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
123
|
-
s.add_runtime_dependency(%q<haml>, [">= 0"])
|
124
|
-
s.add_runtime_dependency(%q<gli>, [">= 0"])
|
125
|
-
s.add_runtime_dependency(%q<rake>, [">= 0"])
|
126
|
-
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
127
|
-
s.add_development_dependency(%q<rspec>, [">= 0"])
|
128
|
-
s.add_development_dependency(%q<bundler>, [">= 0"])
|
129
|
-
s.add_development_dependency(%q<cucumber>, [">= 0"])
|
130
|
-
s.add_development_dependency(%q<aruba>, [">= 0"])
|
131
|
-
else
|
132
|
-
s.add_dependency(%q<haml>, [">= 0"])
|
133
|
-
s.add_dependency(%q<gli>, [">= 0"])
|
134
|
-
s.add_dependency(%q<rake>, [">= 0"])
|
135
|
-
s.add_dependency(%q<jeweler>, [">= 0"])
|
136
|
-
s.add_dependency(%q<rspec>, [">= 0"])
|
137
|
-
s.add_dependency(%q<bundler>, [">= 0"])
|
138
|
-
s.add_dependency(%q<cucumber>, [">= 0"])
|
139
|
-
s.add_dependency(%q<aruba>, [">= 0"])
|
140
|
-
end
|
141
|
-
else
|
142
|
-
s.add_dependency(%q<haml>, [">= 0"])
|
143
|
-
s.add_dependency(%q<gli>, [">= 0"])
|
144
|
-
s.add_dependency(%q<rake>, [">= 0"])
|
145
|
-
s.add_dependency(%q<jeweler>, [">= 0"])
|
146
|
-
s.add_dependency(%q<rspec>, [">= 0"])
|
147
|
-
s.add_dependency(%q<bundler>, [">= 0"])
|
148
|
-
s.add_dependency(%q<cucumber>, [">= 0"])
|
149
|
-
s.add_dependency(%q<aruba>, [">= 0"])
|
150
|
-
end
|
151
|
-
end
|
152
|
-
|
data/spec/spec_helper.rb
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
require_relative '../lib/reveal-ck'
|
2
|
-
|
3
|
-
# This file was generated by the `rspec --init` command. Conventionally, all
|
4
|
-
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
5
|
-
# Require this file using `require "spec_helper"` to ensure that it is only
|
6
|
-
# loaded once.
|
7
|
-
#
|
8
|
-
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
9
|
-
RSpec.configure do |config|
|
10
|
-
config.treat_symbols_as_metadata_keys_with_true_values = true
|
11
|
-
config.run_all_when_everything_filtered = true
|
12
|
-
config.filter_run :focus
|
13
|
-
|
14
|
-
# Run specs in random order to surface order dependencies. If you find an
|
15
|
-
# order dependency and want to debug it, you can fix the order by providing
|
16
|
-
# the seed, which is printed after each run.
|
17
|
-
# --seed 1234
|
18
|
-
config.order = 'random'
|
19
|
-
end
|
20
|
-
|
21
|
-
# Utility function: returns the reveal-ck/spec directory
|
22
|
-
def spec_dir
|
23
|
-
invoking_spec = caller[0].split(':')[0]
|
24
|
-
parent_dir_of_spec = File.dirname invoking_spec
|
25
|
-
spec_index = parent_dir_of_spec.rindex 'spec'
|
26
|
-
parent_dir_of_spec[0...(spec_index + 'spec'.size)]
|
27
|
-
end
|