deckrb 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +55 -20
- data/bin/deck +5 -10
- data/lib/deck.rb +1 -1
- data/lib/deck/noko.rb +15 -0
- data/lib/deck/rack_app.rb +61 -0
- data/lib/deck/slide.rb +50 -28
- data/lib/deck/{deck.rb → slide_deck.rb} +42 -41
- data/lib/deck/version.rb +1 -1
- data/spec/rack_app_spec.rb +177 -0
- data/spec/slide_deck_spec.rb +46 -0
- data/spec/slide_spec.rb +24 -21
- data/spec/spec_helper.rb +5 -0
- metadata +51 -81
- data/deck/GPL-license.txt +0 -278
- data/deck/MIT-license.txt +0 -21
- data/deck/README.md +0 -57
- data/deck/core/deck.core.css +0 -404
- data/deck/core/deck.core.html +0 -39
- data/deck/core/deck.core.js +0 -498
- data/deck/core/deck.core.scss +0 -447
- data/deck/extensions/goto/deck.goto.css +0 -41
- data/deck/extensions/goto/deck.goto.html +0 -7
- data/deck/extensions/goto/deck.goto.js +0 -134
- data/deck/extensions/goto/deck.goto.scss +0 -46
- data/deck/extensions/hash/deck.hash.css +0 -13
- data/deck/extensions/hash/deck.hash.html +0 -2
- data/deck/extensions/hash/deck.hash.js +0 -129
- data/deck/extensions/hash/deck.hash.scss +0 -15
- data/deck/extensions/menu/deck.menu.css +0 -47
- data/deck/extensions/menu/deck.menu.js +0 -187
- data/deck/extensions/menu/deck.menu.scss +0 -58
- data/deck/extensions/navigation/deck.navigation.css +0 -43
- data/deck/extensions/navigation/deck.navigation.html +0 -3
- data/deck/extensions/navigation/deck.navigation.js +0 -91
- data/deck/extensions/navigation/deck.navigation.scss +0 -56
- data/deck/extensions/scale/deck.scale.css +0 -16
- data/deck/extensions/scale/deck.scale.js +0 -155
- data/deck/extensions/scale/deck.scale.scss +0 -17
- data/deck/extensions/status/deck.status.css +0 -18
- data/deck/extensions/status/deck.status.html +0 -6
- data/deck/extensions/status/deck.status.js +0 -95
- data/deck/extensions/status/deck.status.scss +0 -22
- data/deck/extensions/theme-picker/deck.theme-picker.css +0 -55
- data/deck/extensions/theme-picker/deck.theme-picker.js +0 -13
- data/deck/introduction/index.html +0 -221
- data/deck/introduction/index.rb +0 -101
- data/deck/jquery-1.7.min.js +0 -4
- data/deck/modernizr.custom.js +0 -4
- data/deck/test/fixtures/complex.html +0 -24
- data/deck/test/fixtures/empty.html +0 -19
- data/deck/test/fixtures/iframe_simple.html +0 -10
- data/deck/test/fixtures/iframes.html +0 -32
- data/deck/test/fixtures/nesteds.html +0 -36
- data/deck/test/fixtures/standard.html +0 -42
- data/deck/test/index.html +0 -39
- data/deck/test/lib/jasmine-html.js +0 -190
- data/deck/test/lib/jasmine-jquery.js +0 -288
- data/deck/test/lib/jasmine.css +0 -166
- data/deck/test/lib/jasmine.js +0 -2477
- data/deck/test/settings.js +0 -3
- data/deck/test/spec.core.js +0 -434
- data/deck/test/spec.goto.js +0 -119
- data/deck/test/spec.hash.js +0 -81
- data/deck/test/spec.menu.js +0 -66
- data/deck/test/spec.navigation.js +0 -51
- data/deck/test/spec.scale.js +0 -57
- data/deck/test/spec.status.js +0 -58
- data/deck/themes/style/neon.css +0 -114
- data/deck/themes/style/neon.scss +0 -139
- data/deck/themes/style/swiss.css +0 -75
- data/deck/themes/style/swiss.scss +0 -91
- data/deck/themes/style/web-2.0.css +0 -205
- data/deck/themes/style/web-2.0.scss +0 -236
- data/deck/themes/transition/fade.css +0 -44
- data/deck/themes/transition/fade.scss +0 -70
- data/deck/themes/transition/horizontal-slide.css +0 -79
- data/deck/themes/transition/horizontal-slide.scss +0 -94
- data/deck/themes/transition/vertical-slide.css +0 -97
- data/deck/themes/transition/vertical-slide.scss +0 -116
- data/lib/deck/app.rb +0 -16
- data/spec/deck_spec.rb +0 -98
data/lib/deck/version.rb
CHANGED
@@ -0,0 +1,177 @@
|
|
1
|
+
here = File.expand_path File.dirname(__FILE__)
|
2
|
+
require "#{here}/spec_helper"
|
3
|
+
|
4
|
+
require "deck/rack_app"
|
5
|
+
|
6
|
+
require "rack/test"
|
7
|
+
|
8
|
+
describe Deck::RackApp do
|
9
|
+
include Rack::Test::Methods
|
10
|
+
|
11
|
+
describe "app with middleware" do
|
12
|
+
def app
|
13
|
+
@app ||= Deck::RackApp.build []
|
14
|
+
end
|
15
|
+
|
16
|
+
def apps
|
17
|
+
@apps ||= begin
|
18
|
+
[app].tap do |apps|
|
19
|
+
while (next_app = apps.last.instance_variable_get(:@app))
|
20
|
+
apps << next_app
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def raw_app
|
27
|
+
apps.last
|
28
|
+
end
|
29
|
+
|
30
|
+
it "middleware chain resolves to the real app" do
|
31
|
+
assert { raw_app.is_a? Deck::RackApp }
|
32
|
+
end
|
33
|
+
|
34
|
+
it "serves up deck.js source files" do
|
35
|
+
deckjs_core_path = "deck.js/core/deck.core.js"
|
36
|
+
get "/#{deckjs_core_path}"
|
37
|
+
assert { last_response.body ==
|
38
|
+
File.read("#{here}/../public/#{deckjs_core_path}", :encoding => last_response.body.encoding)}
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
|
43
|
+
describe "raw app" do
|
44
|
+
def app
|
45
|
+
@app ||= Deck::RackApp.new []
|
46
|
+
end
|
47
|
+
|
48
|
+
it "serves a .md file as a deck.js HTML file" do
|
49
|
+
dir = Files do
|
50
|
+
file "foo.md"
|
51
|
+
end
|
52
|
+
@app = Deck::RackApp.new ["#{dir}/foo.md"]
|
53
|
+
get "/"
|
54
|
+
assert_ok
|
55
|
+
assert { last_response.body.include? "contents of foo.md" }
|
56
|
+
assert { last_response.body.include? "<script src=\"deck.js/core/deck.core.js\"" }
|
57
|
+
end
|
58
|
+
|
59
|
+
it "404s anything but the root path" do
|
60
|
+
get "/something"
|
61
|
+
assert { last_response.status == 404 }
|
62
|
+
end
|
63
|
+
|
64
|
+
it "serves up non-markdown files in the top directory" do
|
65
|
+
dir = Files do
|
66
|
+
file "foo.md"
|
67
|
+
file "foo.css"
|
68
|
+
end
|
69
|
+
@app = Deck::RackApp.build ["#{dir}/foo.md"]
|
70
|
+
get "/foo.css"
|
71
|
+
assert_ok
|
72
|
+
assert { last_response.body.include? "contents of foo.css" }
|
73
|
+
end
|
74
|
+
|
75
|
+
def assert_ok
|
76
|
+
unless last_response.ok?
|
77
|
+
status, errors = last_response.status, last_response.errors
|
78
|
+
assert(last_response.inspect) { errors.empty? && status == 200 }
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe "serving multiple slide files from multiple subdirs" do
|
83
|
+
|
84
|
+
before do
|
85
|
+
@dir = Files do
|
86
|
+
dir "foo" do
|
87
|
+
file "foo.md", "# foo"
|
88
|
+
file "foo.css"
|
89
|
+
end
|
90
|
+
dir "bar" do
|
91
|
+
file "bar.md", "# barista\n\n# barbie\n\n# bartles & james"
|
92
|
+
file "bar.css"
|
93
|
+
dir "img" do
|
94
|
+
file "bar.png"
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
@app = Deck::RackApp.build ["#{@dir}/foo/foo.md", "#{@dir}/bar/bar.md"]
|
100
|
+
end
|
101
|
+
|
102
|
+
it "stuffs all the source files into a single slide deck served off /" do
|
103
|
+
get "/"
|
104
|
+
assert_ok
|
105
|
+
|
106
|
+
doc = noko_doc(last_response.body)
|
107
|
+
|
108
|
+
slides = doc.css('section.slide')
|
109
|
+
assert { slides.size == 4 }
|
110
|
+
assert { slides[0].inner_html.include?("<h1>foo</h1>") }
|
111
|
+
assert { slides[1].inner_html.include?("<h1>barista</h1>") }
|
112
|
+
assert { slides[2].inner_html.include?("<h1>barbie</h1>") }
|
113
|
+
assert { slides[3].inner_html.include?("<h1>bartles & james</h1>") }
|
114
|
+
end
|
115
|
+
|
116
|
+
it "serves sibling and child files too" do
|
117
|
+
|
118
|
+
get "/foo.css"
|
119
|
+
assert_ok
|
120
|
+
assert { last_response.body.include? "contents of foo.css" }
|
121
|
+
|
122
|
+
get "/bar.css"
|
123
|
+
assert_ok
|
124
|
+
assert { last_response.body.include? "contents of bar.css" }
|
125
|
+
|
126
|
+
get "/img/bar.png"
|
127
|
+
assert_ok
|
128
|
+
assert { last_response.body.include? "contents of bar.png" }
|
129
|
+
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
describe "highlights code blocks" do
|
134
|
+
def build_app markdown
|
135
|
+
@dir = Files do
|
136
|
+
file "foo.md", markdown
|
137
|
+
end
|
138
|
+
@app = Deck::RackApp.build ["#{@dir}/foo.md"]
|
139
|
+
end
|
140
|
+
|
141
|
+
def assert_code_is_highlighted
|
142
|
+
get "/"
|
143
|
+
assert_ok
|
144
|
+
doc = noko_doc(last_response.body)
|
145
|
+
|
146
|
+
slides = doc.css('section.slide')
|
147
|
+
assert { slides.size == 1 }
|
148
|
+
slide = slides.first
|
149
|
+
code_block = slide.css('pre').first
|
150
|
+
assert { code_block.inner_html == "sum = <span class=\"integer\">2</span> + <span class=\"integer\">2</span>\n" }
|
151
|
+
end
|
152
|
+
|
153
|
+
it "with :::" do
|
154
|
+
build_app <<-MARKDOWN
|
155
|
+
# some code
|
156
|
+
|
157
|
+
:::ruby
|
158
|
+
sum = 2 + 2
|
159
|
+
MARKDOWN
|
160
|
+
|
161
|
+
assert_code_is_highlighted
|
162
|
+
end
|
163
|
+
|
164
|
+
it "with @@@" do
|
165
|
+
build_app <<-MARKDOWN
|
166
|
+
# some code
|
167
|
+
|
168
|
+
@@@ruby
|
169
|
+
sum = 2 + 2
|
170
|
+
MARKDOWN
|
171
|
+
|
172
|
+
assert_code_is_highlighted
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
end
|
177
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
here = File.expand_path File.dirname(__FILE__)
|
2
|
+
require "#{here}/spec_helper"
|
3
|
+
|
4
|
+
require "deck/slide_deck"
|
5
|
+
|
6
|
+
module Deck
|
7
|
+
describe SlideDeck do
|
8
|
+
|
9
|
+
def doc
|
10
|
+
@doc ||= begin
|
11
|
+
@html = deck_widget.to_html
|
12
|
+
noko_doc @html
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def deck_widget options = {}
|
17
|
+
@deck_widget ||= SlideDeck.new options
|
18
|
+
end
|
19
|
+
|
20
|
+
it "renders a basic deck.js HTML page" do
|
21
|
+
assert { doc }
|
22
|
+
assert { @html.include? '<link href="deck.js/core/deck.core.css" rel="stylesheet" />' }
|
23
|
+
end
|
24
|
+
|
25
|
+
it "contains a single dummy slide" do
|
26
|
+
assert { doc.css('section.slide').size == 1 }
|
27
|
+
end
|
28
|
+
|
29
|
+
it "renders a markdown file with one slide" do
|
30
|
+
file = nil
|
31
|
+
dir = Files do
|
32
|
+
file = file("hello.md", "# hello")
|
33
|
+
end
|
34
|
+
|
35
|
+
deck_widget :slides => Slide.split(File.read file)
|
36
|
+
assert { doc.css('section.slide').size == 1 }
|
37
|
+
slide = doc.css('section.slide').first
|
38
|
+
assert { slide["id"] == "hello" }
|
39
|
+
assert { noko_html(slide) == "<section class=\"slide\" id=\"hello\">" +
|
40
|
+
"<h1>hello</h1>\n" +
|
41
|
+
"</section>"
|
42
|
+
}
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
46
|
+
end
|
data/spec/slide_spec.rb
CHANGED
@@ -5,21 +5,21 @@ require "deck/slide"
|
|
5
5
|
|
6
6
|
module Deck
|
7
7
|
describe Slide do
|
8
|
-
|
8
|
+
|
9
9
|
describe "classes" do
|
10
10
|
it "by default" do
|
11
11
|
assert {Slide.new.classes == ["slide"]}
|
12
12
|
end
|
13
|
-
|
13
|
+
|
14
14
|
it "when passed a string" do
|
15
15
|
assert {Slide.new(:classes => "foo bar").classes == ["slide", "foo", "bar"]}
|
16
16
|
end
|
17
|
-
|
17
|
+
|
18
18
|
it "when passed an array" do
|
19
19
|
assert {Slide.new(:classes => ["foo", "bar"]).classes == ["slide", "foo", "bar"]}
|
20
20
|
end
|
21
21
|
end
|
22
|
-
|
22
|
+
|
23
23
|
describe "splits Markdown into slides" do
|
24
24
|
it "from an empty string" do
|
25
25
|
slides = Slide.split ""
|
@@ -90,6 +90,10 @@ module Deck
|
|
90
90
|
assert { slides.size == 2 }
|
91
91
|
end
|
92
92
|
|
93
|
+
def inner_html slide
|
94
|
+
noko_doc(slide.to_html).css("section.slide").first.inner_html
|
95
|
+
end
|
96
|
+
|
93
97
|
describe "every H1 defines a new slide" do
|
94
98
|
it "if there are no !SLIDE markers at all" do
|
95
99
|
slides = Slide.split <<-MARKDOWN
|
@@ -100,16 +104,17 @@ module Deck
|
|
100
104
|
* dos
|
101
105
|
MARKDOWN
|
102
106
|
assert { slides.size == 2 }
|
107
|
+
|
103
108
|
slide = slides.first
|
104
109
|
assert { slide.classes == ["slide"] }
|
105
|
-
assert {
|
110
|
+
assert { slide.markdown_text == "# One\n* uno\n\n" }
|
111
|
+
|
106
112
|
slide = slides[1]
|
107
113
|
assert { slide.classes == ["slide"] }
|
108
114
|
assert { slide.markdown_text == "# Two\n* dos\n" }
|
109
115
|
end
|
110
116
|
|
111
117
|
it "with underline-style H1s" do
|
112
|
-
pending "parsing underline-style H1s"
|
113
118
|
slides = Slide.split <<-MARKDOWN
|
114
119
|
One
|
115
120
|
===
|
@@ -121,9 +126,9 @@ Two
|
|
121
126
|
MARKDOWN
|
122
127
|
assert { slides.size == 2 }
|
123
128
|
|
124
|
-
slide = slides
|
129
|
+
slide = slides[0]
|
125
130
|
assert { slide.classes == ["slide"] }
|
126
|
-
assert {
|
131
|
+
assert { slide.markdown_text == "One\n===\n* uno\n\n" }
|
127
132
|
|
128
133
|
slide = slides[1]
|
129
134
|
assert { slide.classes == ["slide"] }
|
@@ -170,28 +175,28 @@ Two
|
|
170
175
|
end
|
171
176
|
end
|
172
177
|
end
|
173
|
-
|
178
|
+
|
174
179
|
def slide_from markdown_text
|
175
180
|
Slide.split(markdown_text).first
|
176
181
|
end
|
177
|
-
|
182
|
+
|
178
183
|
describe "sets the slide's id" do
|
179
184
|
it "based on the first header" do
|
180
185
|
assert { slide_from("# foo").slide_id == "foo" }
|
181
186
|
end
|
182
|
-
|
187
|
+
|
183
188
|
it "lowercases and sanitizes" do
|
184
189
|
assert { slide_from("# Foo's #1!").slide_id == "foos_1" }
|
185
190
|
end
|
186
|
-
|
191
|
+
|
187
192
|
it "from a parameter if one is passed" do
|
188
193
|
slide = Slide.new(:markdown_text => "# foo", :slide_id => "bar")
|
189
194
|
assert { slide.slide_id == "bar" }
|
190
195
|
end
|
191
196
|
end
|
192
|
-
|
197
|
+
|
193
198
|
describe "renders deck.js-compatible HTML" do
|
194
|
-
it "
|
199
|
+
it "leaves a solo H1 as an H1" do
|
195
200
|
html = slide_from(<<-MARKDOWN).to_pretty
|
196
201
|
# foo
|
197
202
|
MARKDOWN
|
@@ -203,7 +208,7 @@ Two
|
|
203
208
|
assert { html == expected_html }
|
204
209
|
end
|
205
210
|
|
206
|
-
it "
|
211
|
+
it "converts a non-solo H1 into an H2 for deck.js style compatibility)" do
|
207
212
|
html = slide_from(<<-MARKDOWN).to_pretty
|
208
213
|
# foo
|
209
214
|
* bar
|
@@ -223,7 +228,6 @@ Two
|
|
223
228
|
end
|
224
229
|
|
225
230
|
it "with only a underline-style header, leaving a solo H1 as an H1" do
|
226
|
-
pending "parsing underline-style H1s"
|
227
231
|
html = slide_from(<<-MARKDOWN).to_pretty
|
228
232
|
foo
|
229
233
|
===
|
@@ -237,7 +241,6 @@ foo
|
|
237
241
|
end
|
238
242
|
|
239
243
|
it "converts a non-solo underline-style H1 into an H2 for deck.js style compatibility)" do
|
240
|
-
pending "parsing underline-style H1s"
|
241
244
|
html = slide_from(<<-MARKDOWN).to_pretty
|
242
245
|
foo
|
243
246
|
===
|
@@ -256,10 +259,10 @@ foo
|
|
256
259
|
HTML
|
257
260
|
assert { html == expected_html }
|
258
261
|
end
|
259
|
-
|
260
|
-
|
262
|
+
|
263
|
+
|
261
264
|
end
|
262
|
-
|
265
|
+
|
263
266
|
describe "slide classes" do
|
264
267
|
it "are added to the section element" do
|
265
268
|
html = slide_from(<<-MARKDOWN).to_pretty
|
@@ -280,6 +283,6 @@ foo
|
|
280
283
|
HTML
|
281
284
|
assert { html == expected_html }
|
282
285
|
end
|
283
|
-
end
|
286
|
+
end
|
284
287
|
end
|
285
288
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deckrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-01-
|
12
|
+
date: 2012-01-18 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: erector
|
16
|
-
requirement: &
|
16
|
+
requirement: &70283473244720 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.9.0.pre1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70283473244720
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: redcarpet
|
27
|
-
requirement: &
|
27
|
+
requirement: &70283473244220 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '2'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70283473244220
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rack
|
38
|
-
requirement: &
|
38
|
+
requirement: &70283473243820 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,40 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70283473243820
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: nokogiri
|
49
|
+
requirement: &70283473243360 !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: *70283473243360
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: coderay
|
60
|
+
requirement: &70283473242860 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
type: :runtime
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70283473242860
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rack-codehighlighter
|
71
|
+
requirement: &70283473242380 !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: *70283473242380
|
47
80
|
description: deck.js (http://imakewebthings.github.com/deck.js) is a JavaScript library
|
48
81
|
for building slide presentations using HTML 5. deck.rb (http://github.com/alexch/deck.rb)
|
49
82
|
builds on top of deck.js, adding some features and letting you focus on your slides,
|
@@ -55,82 +88,18 @@ extensions: []
|
|
55
88
|
extra_rdoc_files:
|
56
89
|
- README.md
|
57
90
|
files:
|
58
|
-
- lib/deck/
|
59
|
-
- lib/deck/
|
91
|
+
- lib/deck/noko.rb
|
92
|
+
- lib/deck/rack_app.rb
|
60
93
|
- lib/deck/rack_static_patch.rb
|
61
94
|
- lib/deck/slide.rb
|
95
|
+
- lib/deck/slide_deck.rb
|
62
96
|
- lib/deck/version.rb
|
63
97
|
- lib/deck.rb
|
64
|
-
- deck/core/deck.core.css
|
65
|
-
- deck/core/deck.core.html
|
66
|
-
- deck/core/deck.core.js
|
67
|
-
- deck/core/deck.core.scss
|
68
|
-
- deck/extensions/goto/deck.goto.css
|
69
|
-
- deck/extensions/goto/deck.goto.html
|
70
|
-
- deck/extensions/goto/deck.goto.js
|
71
|
-
- deck/extensions/goto/deck.goto.scss
|
72
|
-
- deck/extensions/hash/deck.hash.css
|
73
|
-
- deck/extensions/hash/deck.hash.html
|
74
|
-
- deck/extensions/hash/deck.hash.js
|
75
|
-
- deck/extensions/hash/deck.hash.scss
|
76
|
-
- deck/extensions/menu/deck.menu.css
|
77
|
-
- deck/extensions/menu/deck.menu.js
|
78
|
-
- deck/extensions/menu/deck.menu.scss
|
79
|
-
- deck/extensions/navigation/deck.navigation.css
|
80
|
-
- deck/extensions/navigation/deck.navigation.html
|
81
|
-
- deck/extensions/navigation/deck.navigation.js
|
82
|
-
- deck/extensions/navigation/deck.navigation.scss
|
83
|
-
- deck/extensions/scale/deck.scale.css
|
84
|
-
- deck/extensions/scale/deck.scale.js
|
85
|
-
- deck/extensions/scale/deck.scale.scss
|
86
|
-
- deck/extensions/status/deck.status.css
|
87
|
-
- deck/extensions/status/deck.status.html
|
88
|
-
- deck/extensions/status/deck.status.js
|
89
|
-
- deck/extensions/status/deck.status.scss
|
90
|
-
- deck/extensions/theme-picker/deck.theme-picker.css
|
91
|
-
- deck/extensions/theme-picker/deck.theme-picker.js
|
92
|
-
- deck/GPL-license.txt
|
93
|
-
- deck/introduction/index.html
|
94
|
-
- deck/introduction/index.rb
|
95
|
-
- deck/jquery-1.7.min.js
|
96
|
-
- deck/MIT-license.txt
|
97
|
-
- deck/modernizr.custom.js
|
98
|
-
- deck/README.md
|
99
|
-
- deck/test/fixtures/complex.html
|
100
|
-
- deck/test/fixtures/empty.html
|
101
|
-
- deck/test/fixtures/iframe_simple.html
|
102
|
-
- deck/test/fixtures/iframes.html
|
103
|
-
- deck/test/fixtures/nesteds.html
|
104
|
-
- deck/test/fixtures/standard.html
|
105
|
-
- deck/test/index.html
|
106
|
-
- deck/test/lib/jasmine-html.js
|
107
|
-
- deck/test/lib/jasmine-jquery.js
|
108
|
-
- deck/test/lib/jasmine.css
|
109
|
-
- deck/test/lib/jasmine.js
|
110
|
-
- deck/test/settings.js
|
111
|
-
- deck/test/spec.core.js
|
112
|
-
- deck/test/spec.goto.js
|
113
|
-
- deck/test/spec.hash.js
|
114
|
-
- deck/test/spec.menu.js
|
115
|
-
- deck/test/spec.navigation.js
|
116
|
-
- deck/test/spec.scale.js
|
117
|
-
- deck/test/spec.status.js
|
118
|
-
- deck/themes/style/neon.css
|
119
|
-
- deck/themes/style/neon.scss
|
120
|
-
- deck/themes/style/swiss.css
|
121
|
-
- deck/themes/style/swiss.scss
|
122
|
-
- deck/themes/style/web-2.0.css
|
123
|
-
- deck/themes/style/web-2.0.scss
|
124
|
-
- deck/themes/transition/fade.css
|
125
|
-
- deck/themes/transition/fade.scss
|
126
|
-
- deck/themes/transition/horizontal-slide.css
|
127
|
-
- deck/themes/transition/horizontal-slide.scss
|
128
|
-
- deck/themes/transition/vertical-slide.css
|
129
|
-
- deck/themes/transition/vertical-slide.scss
|
130
98
|
- README.md
|
131
|
-
- spec/deck_spec.rb
|
132
99
|
- spec/javascripts/support/jasmine_config.rb
|
133
100
|
- spec/javascripts/support/jasmine_runner.rb
|
101
|
+
- spec/rack_app_spec.rb
|
102
|
+
- spec/slide_deck_spec.rb
|
134
103
|
- spec/slide_spec.rb
|
135
104
|
- spec/spec_helper.rb
|
136
105
|
- bin/deck
|
@@ -148,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
148
117
|
version: '0'
|
149
118
|
segments:
|
150
119
|
- 0
|
151
|
-
hash:
|
120
|
+
hash: -1729834170497065106
|
152
121
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
122
|
none: false
|
154
123
|
requirements:
|
@@ -157,16 +126,17 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
126
|
version: '0'
|
158
127
|
segments:
|
159
128
|
- 0
|
160
|
-
hash:
|
129
|
+
hash: -1729834170497065106
|
161
130
|
requirements: []
|
162
131
|
rubyforge_project:
|
163
|
-
rubygems_version: 1.8.
|
132
|
+
rubygems_version: 1.8.6
|
164
133
|
signing_key:
|
165
134
|
specification_version: 3
|
166
135
|
summary: Make HTML slide shows; wraps deck.js
|
167
136
|
test_files:
|
168
|
-
- spec/deck_spec.rb
|
169
137
|
- spec/javascripts/support/jasmine_config.rb
|
170
138
|
- spec/javascripts/support/jasmine_runner.rb
|
139
|
+
- spec/rack_app_spec.rb
|
140
|
+
- spec/slide_deck_spec.rb
|
171
141
|
- spec/slide_spec.rb
|
172
142
|
- spec/spec_helper.rb
|