rhet-butler 0.12.1 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/default-configuration/assets/stylesheets/font.sass +33 -0
- data/default-configuration/assets/stylesheets/rhet.css.sass +1 -1
- data/default-configuration/common/config.yaml +2 -2
- data/default-configuration/skels/slides.yaml +2 -2
- data/lib/rhet-butler/filter-resolver.rb +0 -1
- data/lib/rhet-butler/slide-renderer.rb +1 -0
- data/lib/rhet-butler/slide-renderers/markdown.rb +15 -0
- data/lib/rhet-butler/slide-rendering.rb +3 -0
- data/lib/rhet-butler/stasis/css-transform.rb +1 -0
- metadata +19 -4
- data/default-configuration/assets/stylesheets/font.css +0 -30
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODZlMjBlZjY5N2JhNjhiNjkwYjA0MWE0YjBmNDhmZTRiY2M5MTVhNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZWI4OWU5YzZlZWM3ODdjYzBlOTA1NTE5MTAwYTEyYmUyMzJlMWVlYQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTJjYjA1Nzg4NGI5ZWQyYTczZGYwOTViNWIxYTc5OTJiYmMwODNkN2RkNDFh
|
10
|
+
MDRjZDIzNTVlNzE2MTVkOGFiNDljYTdhMTZkYWZjMTk2ZTNmMzQ5ODc3MmNh
|
11
|
+
NDg0Yzc5YzRkM2VmN2UxMDBlOGU2YTVjYTVkMDJkZjNhYzI0YzI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Mzg5OTE4YzNjYjc5ZjliZmU1MGJjNzFkN2M2MTBkMjBiNGNiZTEwZjdjZmRj
|
14
|
+
ZTFkOGVhYzc3ODFjZDY3MGRiOGY2NGU4NWUwY2VlNGI3NWQxMDQ0NjdkYTll
|
15
|
+
NzNhMTFiOWFiYmZkOTU4MzQ5YzhiODk0N2Q2YmIyYTkxYmRkM2Q=
|
@@ -0,0 +1,33 @@
|
|
1
|
+
@font-face
|
2
|
+
font-family: 'Arimo'
|
3
|
+
font-style: normal
|
4
|
+
font-weight: 700
|
5
|
+
src: local("Arimo Bold"), local("Arimo-Bold"), url(../../themes.googleusercontent.com/static/fonts/arimo/v5/K-bXE71xZHgbUS_UdQjugvesZW2xOQ-xsNqO47m55DA.ttf) format("truetype")
|
6
|
+
|
7
|
+
|
8
|
+
@font-face
|
9
|
+
font-family: 'Cinzel Decorative'
|
10
|
+
font-style: normal
|
11
|
+
font-weight: 700
|
12
|
+
src: local("Cinzel Decorative Bold"), local("CinzelDecorative-Bold"), url(../../themes.googleusercontent.com/static/fonts/cinzeldecorative/v1/pXhIVnhFtL_B9Vb1wq2F9wIh9oxuYcmvOvyh_107lQs.ttf) format("truetype")
|
13
|
+
|
14
|
+
|
15
|
+
@font-face
|
16
|
+
font-family: 'Cinzel Decorative'
|
17
|
+
font-style: normal
|
18
|
+
font-weight: 900
|
19
|
+
src: local("Cinzel Decorative Black"), local("CinzelDecorative-Black"), url(../../themes.googleusercontent.com/static/fonts/cinzeldecorative/v1/pXhIVnhFtL_B9Vb1wq2F9zCUrkmwPfdnoTjOU_kXqBI.ttf) format("truetype")
|
20
|
+
|
21
|
+
|
22
|
+
@font-face
|
23
|
+
font-family: 'Droid Sans Mono'
|
24
|
+
font-style: normal
|
25
|
+
font-weight: 400
|
26
|
+
src: local("Droid Sans Mono"), local("DroidSansMono"), url(../../themes.googleusercontent.com/static/fonts/droidsansmono/v4/ns-m2xQYezAtqh7ai59hJYW_AySPyikQrZReizgrnuw.ttf) format("truetype")
|
27
|
+
|
28
|
+
|
29
|
+
@font-face
|
30
|
+
font-family: 'Slackey'
|
31
|
+
font-style: normal
|
32
|
+
font-weight: 400
|
33
|
+
src: local("Slackey"), url(../../themes.googleusercontent.com/static/fonts/slackey/v3/bJZDrYrGx8atJRHR9DVdqg.ttf) format("truetype")
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'kramdown'
|
2
|
+
|
3
|
+
module RhetButler
|
4
|
+
module SlideRenderers
|
5
|
+
class Markdown < SlideRenderer
|
6
|
+
register "markdown"
|
7
|
+
register "kramdown"
|
8
|
+
register "gfm"
|
9
|
+
|
10
|
+
def process(string)
|
11
|
+
Kramdown::Document.new(string).to_html
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -13,6 +13,9 @@ module RhetButler
|
|
13
13
|
slide.notes = filter_text(slide.raw_notes, slide.note_filters)
|
14
14
|
raise "Slide content needs to be a string, was: #{slide.content.inspect}" unless String === slide.content
|
15
15
|
raise "Slide notes needs to be a string, was: #{slide.notes.inspect}" unless String === slide.notes
|
16
|
+
rescue
|
17
|
+
puts "While processing #{slide}:"
|
18
|
+
raise
|
16
19
|
end
|
17
20
|
|
18
21
|
def filter_text(content, filters)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rhet-butler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Judson Lester
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: compass-core
|
@@ -206,6 +206,20 @@ dependencies:
|
|
206
206
|
- - ~>
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: 4.2.9
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: kramdown
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ~>
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: 1.7.0
|
216
|
+
type: :runtime
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ~>
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 1.7.0
|
209
223
|
description: ! " Rhet Butler is a presentation assistant. Build a slide deck in simple
|
210
224
|
YAML,\n design it in CSS, run the presentation with your smartphone over Websockets.\n"
|
211
225
|
email:
|
@@ -240,6 +254,7 @@ files:
|
|
240
254
|
- lib/rhet-butler/slide-renderers/code.rb
|
241
255
|
- lib/rhet-butler/slide-renderers/cues.rb
|
242
256
|
- lib/rhet-butler/slide-renderers/textile.rb
|
257
|
+
- lib/rhet-butler/slide-renderers/markdown.rb
|
243
258
|
- lib/rhet-butler/slide-rendering.rb
|
244
259
|
- lib/rhet-butler/slide-traverser.rb
|
245
260
|
- lib/rhet-butler/resource-localizer.rb
|
@@ -285,7 +300,7 @@ files:
|
|
285
300
|
- default-configuration/assets/stylesheets/solarized.scss
|
286
301
|
- default-configuration/assets/stylesheets/google-open-sans.css
|
287
302
|
- default-configuration/assets/stylesheets/rhet.css.sass
|
288
|
-
- default-configuration/assets/stylesheets/font.
|
303
|
+
- default-configuration/assets/stylesheets/font.sass
|
289
304
|
- default-configuration/assets/stylesheets/presenter/rhet.css.sass
|
290
305
|
- default-configuration/assets/stylesheets/_animate-helpers.scss
|
291
306
|
- default-configuration/assets/stylesheets/animate/fade/_fadeIn.sass
|
@@ -390,7 +405,7 @@ rdoc_options:
|
|
390
405
|
- --main
|
391
406
|
- doc/README
|
392
407
|
- --title
|
393
|
-
- rhet-butler-0.
|
408
|
+
- rhet-butler-0.13.0 Documentation
|
394
409
|
require_paths:
|
395
410
|
- lib/
|
396
411
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -1,30 +0,0 @@
|
|
1
|
-
@font-face {
|
2
|
-
font-family: 'Arimo';
|
3
|
-
font-style: normal;
|
4
|
-
font-weight: 700;
|
5
|
-
src: local('Arimo Bold'), local('Arimo-Bold'), url(../../themes.googleusercontent.com/static/fonts/arimo/v5/K-bXE71xZHgbUS_UdQjugvesZW2xOQ-xsNqO47m55DA.ttf) format('truetype');
|
6
|
-
}
|
7
|
-
@font-face {
|
8
|
-
font-family: 'Cinzel Decorative';
|
9
|
-
font-style: normal;
|
10
|
-
font-weight: 700;
|
11
|
-
src: local('Cinzel Decorative Bold'), local('CinzelDecorative-Bold'), url(../../themes.googleusercontent.com/static/fonts/cinzeldecorative/v1/pXhIVnhFtL_B9Vb1wq2F9wIh9oxuYcmvOvyh_107lQs.ttf) format('truetype');
|
12
|
-
}
|
13
|
-
@font-face {
|
14
|
-
font-family: 'Cinzel Decorative';
|
15
|
-
font-style: normal;
|
16
|
-
font-weight: 900;
|
17
|
-
src: local('Cinzel Decorative Black'), local('CinzelDecorative-Black'), url(../../themes.googleusercontent.com/static/fonts/cinzeldecorative/v1/pXhIVnhFtL_B9Vb1wq2F9zCUrkmwPfdnoTjOU_kXqBI.ttf) format('truetype');
|
18
|
-
}
|
19
|
-
@font-face {
|
20
|
-
font-family: 'Droid Sans Mono';
|
21
|
-
font-style: normal;
|
22
|
-
font-weight: 400;
|
23
|
-
src: local('Droid Sans Mono'), local('DroidSansMono'), url(../../themes.googleusercontent.com/static/fonts/droidsansmono/v4/ns-m2xQYezAtqh7ai59hJYW_AySPyikQrZReizgrnuw.ttf) format('truetype');
|
24
|
-
}
|
25
|
-
@font-face {
|
26
|
-
font-family: 'Slackey';
|
27
|
-
font-style: normal;
|
28
|
-
font-weight: 400;
|
29
|
-
src: local('Slackey'), url(../../themes.googleusercontent.com/static/fonts/slackey/v3/bJZDrYrGx8atJRHR9DVdqg.ttf) format('truetype');
|
30
|
-
}
|