eggplant 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +66 -0
- data/README.md +30 -0
- data/Rakefile +8 -0
- data/bin/eggplant +5 -0
- data/eggplant.gemspec +34 -0
- data/lib/eggplant.rb +8 -0
- data/lib/eggplant/assets/css/eggplant/main.css +77 -0
- data/lib/eggplant/assets/css/vendor/deck.core.css +393 -0
- data/lib/eggplant/assets/css/vendor/extensions/deck.codemirror.css +89 -0
- data/lib/eggplant/assets/css/vendor/extensions/deck.goto.css +41 -0
- data/lib/eggplant/assets/css/vendor/extensions/deck.hash.css +13 -0
- data/lib/eggplant/assets/css/vendor/extensions/deck.menu.css +24 -0
- data/lib/eggplant/assets/css/vendor/extensions/deck.navigation.css +43 -0
- data/lib/eggplant/assets/css/vendor/extensions/deck.scale.css +16 -0
- data/lib/eggplant/assets/css/vendor/extensions/deck.status.css +14 -0
- data/lib/eggplant/assets/css/vendor/extensions/deck.subslides.css +9 -0
- data/lib/eggplant/assets/css/vendor/themes/neon.css +114 -0
- data/lib/eggplant/assets/css/vendor/themes/swiss.css +75 -0
- data/lib/eggplant/assets/css/vendor/themes/web-2.0.css +187 -0
- data/lib/eggplant/assets/css/vendor/transitions/fade.css +43 -0
- data/lib/eggplant/assets/css/vendor/transitions/horizontal-slide.css +79 -0
- data/lib/eggplant/assets/css/vendor/transitions/vertical-slide.css +97 -0
- data/lib/eggplant/assets/js/eggplant/main.js +38 -0
- data/lib/eggplant/assets/js/eggplant/remote.js +0 -0
- data/lib/eggplant/assets/js/vendor/coffee-script.js +8 -0
- data/lib/eggplant/assets/js/vendor/deck.core.js +457 -0
- data/lib/eggplant/assets/js/vendor/extensions/deck.goto.js +118 -0
- data/lib/eggplant/assets/js/vendor/extensions/deck.hash.js +113 -0
- data/lib/eggplant/assets/js/vendor/extensions/deck.menu.js +127 -0
- data/lib/eggplant/assets/js/vendor/extensions/deck.navigation.js +83 -0
- data/lib/eggplant/assets/js/vendor/extensions/deck.scale.js +155 -0
- data/lib/eggplant/assets/js/vendor/extensions/deck.status.js +42 -0
- data/lib/eggplant/assets/js/vendor/extensions/deck.subslides.js +50 -0
- data/lib/eggplant/assets/js/vendor/jquery.js +9046 -0
- data/lib/eggplant/assets/js/vendor/less.js +2769 -0
- data/lib/eggplant/assets/js/vendor/modernizr.js +1116 -0
- data/lib/eggplant/cli.rb +113 -0
- data/lib/eggplant/markdown.rb +76 -0
- data/lib/eggplant/server.rb +168 -0
- data/lib/eggplant/slides.rb +65 -0
- data/lib/eggplant/version.rb +3 -0
- data/lib/eggplant/views/remote.slim +17 -0
- data/lib/eggplant/views/show.slim +47 -0
- metadata +281 -0
@@ -0,0 +1,47 @@
|
|
1
|
+
doctype html
|
2
|
+
html
|
3
|
+
head
|
4
|
+
title Eggplant
|
5
|
+
- if remote_enabled?
|
6
|
+
meta name="socket-port" content="4444"
|
7
|
+
|
8
|
+
== js :eggplant
|
9
|
+
- if has_js?
|
10
|
+
script src="/slides.js"
|
11
|
+
- elsif has_coffee?
|
12
|
+
script src="/slides.coffee" type="text/coffeescript"
|
13
|
+
|
14
|
+
== css :eggplant
|
15
|
+
- if has_less?
|
16
|
+
link rel="stylesheet/less" type="text/css" href="/slides.less"
|
17
|
+
- elsif has_css?
|
18
|
+
link rel="stylesheet" type="text/css" href="/slides.css"
|
19
|
+
|
20
|
+
body class="deck-container"
|
21
|
+
// Render Slides
|
22
|
+
== render_slides
|
23
|
+
|
24
|
+
// Navigation
|
25
|
+
- if show_navigation?
|
26
|
+
a href="#" class="deck-prev-link" title="Previous" ←
|
27
|
+
a href="#" class="deck-next-link" title="Next" →
|
28
|
+
|
29
|
+
// Status
|
30
|
+
- if show_status?
|
31
|
+
.deck-status
|
32
|
+
span class="deck-status-current"
|
33
|
+
|/
|
34
|
+
span class="deck-status-total"
|
35
|
+
|
36
|
+
// GoTo
|
37
|
+
- if show_goto?
|
38
|
+
form action="." method="get" class="goto-form"
|
39
|
+
label for="goto-slide" Go to slide:
|
40
|
+
input type="number" name="slidenum" id="goto-slide" min="1" max="#{slides.size}"
|
41
|
+
input type="submit" value="Go"
|
42
|
+
|
43
|
+
// Hash
|
44
|
+
//a href="." title="Permalink to this slide" class="deck-permalink" #
|
45
|
+
|
46
|
+
== js :eggplant_processors
|
47
|
+
|
metadata
ADDED
@@ -0,0 +1,281 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: eggplant
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Paul Chavard
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2011-09-28 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rdiscount
|
16
|
+
requirement: &70162758998040 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70162758998040
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: nokogiri
|
27
|
+
requirement: &70162758997580 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70162758997580
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: albino
|
38
|
+
requirement: &70162758997020 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70162758997020
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: thor
|
49
|
+
requirement: &70162758996480 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70162758996480
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: sinatra
|
60
|
+
requirement: &70162758995700 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ~>
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '1.2'
|
66
|
+
type: :runtime
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70162758995700
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: uglifier
|
71
|
+
requirement: &70162758994900 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *70162758994900
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: sinatra-assetpack
|
82
|
+
requirement: &70162758994440 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
type: :runtime
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70162758994440
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: slim
|
93
|
+
requirement: &70162758993960 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
type: :runtime
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *70162758993960
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: eventmachine
|
104
|
+
requirement: &70162758992920 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 1.0.0.beta
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *70162758992920
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: em-websocket
|
115
|
+
requirement: &70162758992020 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ! '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
type: :runtime
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: *70162758992020
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: thin
|
126
|
+
requirement: &70162758990580 !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: *70162758990580
|
135
|
+
description: Eggplant is a Sinatra web app that reads simple markdown files for a
|
136
|
+
presentation.
|
137
|
+
email:
|
138
|
+
- paul@chavard.net
|
139
|
+
executables:
|
140
|
+
- eggplant
|
141
|
+
extensions: []
|
142
|
+
extra_rdoc_files: []
|
143
|
+
files:
|
144
|
+
- .gitignore
|
145
|
+
- Gemfile
|
146
|
+
- Gemfile.lock
|
147
|
+
- README.md
|
148
|
+
- Rakefile
|
149
|
+
- bin/eggplant
|
150
|
+
- eggplant.gemspec
|
151
|
+
- lib/eggplant.rb
|
152
|
+
- lib/eggplant/assets/css/eggplant/main.css
|
153
|
+
- lib/eggplant/assets/css/vendor/deck.core.css
|
154
|
+
- lib/eggplant/assets/css/vendor/extensions/deck.codemirror.css
|
155
|
+
- lib/eggplant/assets/css/vendor/extensions/deck.goto.css
|
156
|
+
- lib/eggplant/assets/css/vendor/extensions/deck.hash.css
|
157
|
+
- lib/eggplant/assets/css/vendor/extensions/deck.menu.css
|
158
|
+
- lib/eggplant/assets/css/vendor/extensions/deck.navigation.css
|
159
|
+
- lib/eggplant/assets/css/vendor/extensions/deck.scale.css
|
160
|
+
- lib/eggplant/assets/css/vendor/extensions/deck.status.css
|
161
|
+
- lib/eggplant/assets/css/vendor/extensions/deck.subslides.css
|
162
|
+
- lib/eggplant/assets/css/vendor/themes/neon.css
|
163
|
+
- lib/eggplant/assets/css/vendor/themes/swiss.css
|
164
|
+
- lib/eggplant/assets/css/vendor/themes/web-2.0.css
|
165
|
+
- lib/eggplant/assets/css/vendor/transitions/fade.css
|
166
|
+
- lib/eggplant/assets/css/vendor/transitions/horizontal-slide.css
|
167
|
+
- lib/eggplant/assets/css/vendor/transitions/vertical-slide.css
|
168
|
+
- lib/eggplant/assets/js/eggplant/main.js
|
169
|
+
- lib/eggplant/assets/js/eggplant/remote.js
|
170
|
+
- lib/eggplant/assets/js/vendor/coffee-script.js
|
171
|
+
- lib/eggplant/assets/js/vendor/deck.core.js
|
172
|
+
- lib/eggplant/assets/js/vendor/extensions/deck.goto.js
|
173
|
+
- lib/eggplant/assets/js/vendor/extensions/deck.hash.js
|
174
|
+
- lib/eggplant/assets/js/vendor/extensions/deck.menu.js
|
175
|
+
- lib/eggplant/assets/js/vendor/extensions/deck.navigation.js
|
176
|
+
- lib/eggplant/assets/js/vendor/extensions/deck.scale.js
|
177
|
+
- lib/eggplant/assets/js/vendor/extensions/deck.status.js
|
178
|
+
- lib/eggplant/assets/js/vendor/extensions/deck.subslides.js
|
179
|
+
- lib/eggplant/assets/js/vendor/jquery.js
|
180
|
+
- lib/eggplant/assets/js/vendor/less.js
|
181
|
+
- lib/eggplant/assets/js/vendor/modernizr.js
|
182
|
+
- lib/eggplant/cli.rb
|
183
|
+
- lib/eggplant/markdown.rb
|
184
|
+
- lib/eggplant/server.rb
|
185
|
+
- lib/eggplant/slides.rb
|
186
|
+
- lib/eggplant/version.rb
|
187
|
+
- lib/eggplant/views/remote.slim
|
188
|
+
- lib/eggplant/views/show.slim
|
189
|
+
- lib/eggplant/public/css/eggplant/main.879444.css
|
190
|
+
- lib/eggplant/public/css/eggplant/main.css
|
191
|
+
- lib/eggplant/public/css/eggplant.879444.css
|
192
|
+
- lib/eggplant/public/css/eggplant.css
|
193
|
+
- lib/eggplant/public/css/vendor/deck.core.879444.css
|
194
|
+
- lib/eggplant/public/css/vendor/deck.core.css
|
195
|
+
- lib/eggplant/public/css/vendor/extensions/deck.codemirror.879444.css
|
196
|
+
- lib/eggplant/public/css/vendor/extensions/deck.codemirror.css
|
197
|
+
- lib/eggplant/public/css/vendor/extensions/deck.goto.879444.css
|
198
|
+
- lib/eggplant/public/css/vendor/extensions/deck.goto.css
|
199
|
+
- lib/eggplant/public/css/vendor/extensions/deck.hash.879444.css
|
200
|
+
- lib/eggplant/public/css/vendor/extensions/deck.hash.css
|
201
|
+
- lib/eggplant/public/css/vendor/extensions/deck.menu.879444.css
|
202
|
+
- lib/eggplant/public/css/vendor/extensions/deck.menu.css
|
203
|
+
- lib/eggplant/public/css/vendor/extensions/deck.navigation.879444.css
|
204
|
+
- lib/eggplant/public/css/vendor/extensions/deck.navigation.css
|
205
|
+
- lib/eggplant/public/css/vendor/extensions/deck.scale.879444.css
|
206
|
+
- lib/eggplant/public/css/vendor/extensions/deck.scale.css
|
207
|
+
- lib/eggplant/public/css/vendor/extensions/deck.status.879444.css
|
208
|
+
- lib/eggplant/public/css/vendor/extensions/deck.status.css
|
209
|
+
- lib/eggplant/public/css/vendor/extensions/deck.subslides.879444.css
|
210
|
+
- lib/eggplant/public/css/vendor/extensions/deck.subslides.css
|
211
|
+
- lib/eggplant/public/css/vendor/themes/neon.879444.css
|
212
|
+
- lib/eggplant/public/css/vendor/themes/neon.css
|
213
|
+
- lib/eggplant/public/css/vendor/themes/swiss.879444.css
|
214
|
+
- lib/eggplant/public/css/vendor/themes/swiss.css
|
215
|
+
- lib/eggplant/public/css/vendor/themes/web-2.0.879444.css
|
216
|
+
- lib/eggplant/public/css/vendor/themes/web-2.0.css
|
217
|
+
- lib/eggplant/public/css/vendor/transitions/fade.879444.css
|
218
|
+
- lib/eggplant/public/css/vendor/transitions/fade.css
|
219
|
+
- lib/eggplant/public/css/vendor/transitions/horizontal-slide.879444.css
|
220
|
+
- lib/eggplant/public/css/vendor/transitions/horizontal-slide.css
|
221
|
+
- lib/eggplant/public/css/vendor/transitions/vertical-slide.879444.css
|
222
|
+
- lib/eggplant/public/css/vendor/transitions/vertical-slide.css
|
223
|
+
- lib/eggplant/public/js/eggplant/main.129068.js
|
224
|
+
- lib/eggplant/public/js/eggplant/main.js
|
225
|
+
- lib/eggplant/public/js/eggplant/remote.879444.js
|
226
|
+
- lib/eggplant/public/js/eggplant/remote.js
|
227
|
+
- lib/eggplant/public/js/eggplant.129068.js
|
228
|
+
- lib/eggplant/public/js/eggplant.js
|
229
|
+
- lib/eggplant/public/js/eggplant_processors.879444.js
|
230
|
+
- lib/eggplant/public/js/eggplant_processors.js
|
231
|
+
- lib/eggplant/public/js/eggplant_remote.879444.js
|
232
|
+
- lib/eggplant/public/js/eggplant_remote.js
|
233
|
+
- lib/eggplant/public/js/vendor/coffee-script.879444.js
|
234
|
+
- lib/eggplant/public/js/vendor/coffee-script.js
|
235
|
+
- lib/eggplant/public/js/vendor/deck.core.879444.js
|
236
|
+
- lib/eggplant/public/js/vendor/deck.core.js
|
237
|
+
- lib/eggplant/public/js/vendor/extensions/deck.goto.879444.js
|
238
|
+
- lib/eggplant/public/js/vendor/extensions/deck.goto.js
|
239
|
+
- lib/eggplant/public/js/vendor/extensions/deck.hash.879444.js
|
240
|
+
- lib/eggplant/public/js/vendor/extensions/deck.hash.js
|
241
|
+
- lib/eggplant/public/js/vendor/extensions/deck.menu.879444.js
|
242
|
+
- lib/eggplant/public/js/vendor/extensions/deck.menu.js
|
243
|
+
- lib/eggplant/public/js/vendor/extensions/deck.navigation.879444.js
|
244
|
+
- lib/eggplant/public/js/vendor/extensions/deck.navigation.js
|
245
|
+
- lib/eggplant/public/js/vendor/extensions/deck.scale.879444.js
|
246
|
+
- lib/eggplant/public/js/vendor/extensions/deck.scale.js
|
247
|
+
- lib/eggplant/public/js/vendor/extensions/deck.status.879444.js
|
248
|
+
- lib/eggplant/public/js/vendor/extensions/deck.status.js
|
249
|
+
- lib/eggplant/public/js/vendor/extensions/deck.subslides.879444.js
|
250
|
+
- lib/eggplant/public/js/vendor/extensions/deck.subslides.js
|
251
|
+
- lib/eggplant/public/js/vendor/jquery.879444.js
|
252
|
+
- lib/eggplant/public/js/vendor/jquery.js
|
253
|
+
- lib/eggplant/public/js/vendor/less.879444.js
|
254
|
+
- lib/eggplant/public/js/vendor/less.js
|
255
|
+
- lib/eggplant/public/js/vendor/modernizr.879444.js
|
256
|
+
- lib/eggplant/public/js/vendor/modernizr.js
|
257
|
+
homepage: http://github.com/tchak/eggplant
|
258
|
+
licenses: []
|
259
|
+
post_install_message:
|
260
|
+
rdoc_options: []
|
261
|
+
require_paths:
|
262
|
+
- lib
|
263
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
264
|
+
none: false
|
265
|
+
requirements:
|
266
|
+
- - ! '>='
|
267
|
+
- !ruby/object:Gem::Version
|
268
|
+
version: '0'
|
269
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
270
|
+
none: false
|
271
|
+
requirements:
|
272
|
+
- - ! '>='
|
273
|
+
- !ruby/object:Gem::Version
|
274
|
+
version: '0'
|
275
|
+
requirements: []
|
276
|
+
rubyforge_project:
|
277
|
+
rubygems_version: 1.8.10
|
278
|
+
signing_key:
|
279
|
+
specification_version: 3
|
280
|
+
summary: Presentation software for developers
|
281
|
+
test_files: []
|