slide-em-up 0.3.3 → 0.3.4

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.
@@ -1,5 +1,5 @@
1
1
  # Encoding: utf-8
2
- require "albino"
2
+ require "pygments"
3
3
  require "redcarpet"
4
4
 
5
5
 
@@ -21,7 +21,7 @@ module SlideEmUp
21
21
  end
22
22
 
23
23
  def block_code(code, lang)
24
- colorized = Albino.new(code, lang || "text").colorize(:P => "nowrap")
24
+ colorized = Pygments.highlight(code, :lexer => lang || "text", :options => {:nowrap => true})
25
25
  "<pre><code class=\"#{lang}\">#{colorized}</code></pre>"
26
26
  end
27
27
 
@@ -1,3 +1,3 @@
1
1
  module SlideEmUp
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,82 +1,112 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slide-em-up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
5
4
  prerelease:
5
+ version: 0.3.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Bruno Michel
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-11 00:00:00.000000000 Z
12
+ date: 2013-01-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: goliath
16
- requirement: &69248210 !ruby/object:Gem::Requirement
15
+ type: :runtime
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
21
  version: '1.0'
22
- type: :runtime
23
22
  prerelease: false
24
- version_requirements: *69248210
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ version: '1.0'
29
+ name: goliath
25
30
  - !ruby/object:Gem::Dependency
26
- name: redcarpet
27
- requirement: &69247840 !ruby/object:Gem::Requirement
31
+ type: :runtime
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
31
36
  - !ruby/object:Gem::Version
32
37
  version: '2.1'
33
- type: :runtime
34
38
  prerelease: false
35
- version_requirements: *69247840
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ version: '2.1'
45
+ name: redcarpet
36
46
  - !ruby/object:Gem::Dependency
37
- name: erubis
38
- requirement: &69247530 !ruby/object:Gem::Requirement
47
+ type: :runtime
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
42
52
  - !ruby/object:Gem::Version
43
53
  version: '2.7'
44
- type: :runtime
45
54
  prerelease: false
46
- version_requirements: *69247530
55
+ version_requirements: !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ~>
59
+ - !ruby/object:Gem::Version
60
+ version: '2.7'
61
+ name: erubis
47
62
  - !ruby/object:Gem::Dependency
48
- name: yajl-ruby
49
- requirement: &69247190 !ruby/object:Gem::Requirement
63
+ type: :runtime
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
53
68
  - !ruby/object:Gem::Version
54
69
  version: '1.1'
55
- type: :runtime
56
70
  prerelease: false
57
- version_requirements: *69247190
58
- - !ruby/object:Gem::Dependency
59
- name: albino
60
- requirement: &69246940 !ruby/object:Gem::Requirement
71
+ version_requirements: !ruby/object:Gem::Requirement
61
72
  none: false
62
73
  requirements:
63
74
  - - ~>
64
75
  - !ruby/object:Gem::Version
65
- version: '1.3'
76
+ version: '1.1'
77
+ name: yajl-ruby
78
+ - !ruby/object:Gem::Dependency
66
79
  type: :runtime
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: '0.3'
67
86
  prerelease: false
68
- version_requirements: *69246940
87
+ version_requirements: !ruby/object:Gem::Requirement
88
+ none: false
89
+ requirements:
90
+ - - ~>
91
+ - !ruby/object:Gem::Version
92
+ version: '0.3'
93
+ name: pygments.rb
69
94
  - !ruby/object:Gem::Dependency
70
- name: minitest
71
- requirement: &69246570 !ruby/object:Gem::Requirement
95
+ type: :development
96
+ requirement: !ruby/object:Gem::Requirement
72
97
  none: false
73
98
  requirements:
74
99
  - - ~>
75
100
  - !ruby/object:Gem::Version
76
101
  version: '2.3'
77
- type: :development
78
102
  prerelease: false
79
- version_requirements: *69246570
103
+ version_requirements: !ruby/object:Gem::Requirement
104
+ none: false
105
+ requirements:
106
+ - - ~>
107
+ - !ruby/object:Gem::Version
108
+ version: '2.3'
109
+ name: minitest
80
110
  description: Slide'em up is a presentation tool that displays markdown-formatted slides
81
111
  email: bruno.michel@af83.com
82
112
  executables:
@@ -89,128 +119,128 @@ files:
89
119
  - MIT-LICENSE
90
120
  - README.md
91
121
  - Gemfile
92
- - bin/slide-em-up
93
122
  - bin/slide-em-up2pdf
94
- - lib/slide-em-up/presentation.rb
95
- - lib/slide-em-up/slides_api.rb
123
+ - bin/slide-em-up
124
+ - lib/slide-em-up.rb
96
125
  - lib/slide-em-up/markdown.rb
97
- - lib/slide-em-up/version.rb
126
+ - lib/slide-em-up/slides_api.rb
98
127
  - lib/slide-em-up/remote_api.rb
99
128
  - lib/slide-em-up/routes.rb
100
- - lib/slide-em-up.rb
129
+ - lib/slide-em-up/presentation.rb
130
+ - lib/slide-em-up/version.rb
131
+ - themes/shower/index.erb
132
+ - themes/shower/js/script.js
133
+ - themes/shower/css/fonts.css
134
+ - themes/shower/css/reset.css
135
+ - themes/shower/css/style.css
101
136
  - themes/shower/images/ribbon.svg
102
- - themes/shower/images/linen.png
103
137
  - themes/shower/images/grid.png
104
- - themes/shower/css/style.css
105
- - themes/shower/css/reset.css
106
- - themes/shower/css/fonts.css
138
+ - themes/shower/images/linen.png
107
139
  - themes/shower/README
108
- - themes/shower/index.erb
109
- - themes/shower/js/script.js
110
- - themes/memories/css/slideshow.css
111
- - themes/memories/css/theme.css
112
- - themes/memories/css/fonts.css
113
- - themes/memories/README
114
- - themes/memories/index.erb
115
- - themes/memories/js/prefixfree.min.js
116
- - themes/memories/js/slideshow.js
117
- - themes/reveal/css/reset.css
118
- - themes/reveal/css/main.css
119
- - themes/reveal/README
120
- - themes/reveal/index.erb
121
- - themes/reveal/js/head.min.js
122
- - themes/reveal/js/reveal.js
123
- - themes/reveal/js/classList.js
124
- - themes/io2012/images/google_developers_icon_128.png
125
- - themes/io2012/images/io2012_logo.png
126
- - themes/io2012/css/phone.css
127
- - themes/io2012/css/default.css
128
- - themes/io2012/css/fonts.css
129
- - themes/io2012/README
130
140
  - themes/io2012/index.erb
131
- - themes/io2012/js/modernizr.custom.45394.js
132
- - themes/io2012/js/slide-controller.js
133
- - themes/io2012/js/require-1.0.8.min.js
134
- - themes/io2012/js/order.js
135
- - themes/io2012/js/polyfills/dataset.min.js
136
- - themes/io2012/js/polyfills/classList.min.js
137
- - themes/io2012/js/polyfills/history.min.js
138
141
  - themes/io2012/js/slide-deck.js
139
- - themes/io2012/js/hammer.js
140
- - themes/io2012/js/slides.js
141
- - themes/io2012/js/prettify/lang-lua.js
142
+ - themes/io2012/js/prettify/lang-clj.js
143
+ - themes/io2012/js/prettify/lang-apollo.js
142
144
  - themes/io2012/js/prettify/lang-css.js
145
+ - themes/io2012/js/prettify/lang-go.js
146
+ - themes/io2012/js/prettify/lang-ml.js
147
+ - themes/io2012/js/prettify/lang-lua.js
148
+ - themes/io2012/js/prettify/prettify.css
149
+ - themes/io2012/js/prettify/lang-lisp.js
150
+ - themes/io2012/js/prettify/lang-vb.js
143
151
  - themes/io2012/js/prettify/lang-n.js
144
- - themes/io2012/js/prettify/lang-vhdl.js
152
+ - themes/io2012/js/prettify/lang-scala.js
153
+ - themes/io2012/js/prettify/lang-wiki.js
154
+ - themes/io2012/js/prettify/lang-xq.js
145
155
  - themes/io2012/js/prettify/lang-yaml.js
146
- - themes/io2012/js/prettify/lang-lisp.js
147
156
  - themes/io2012/js/prettify/lang-sql.js
148
- - themes/io2012/js/prettify/lang-scala.js
149
- - themes/io2012/js/prettify/prettify.css
157
+ - themes/io2012/js/prettify/prettify.js
150
158
  - themes/io2012/js/prettify/lang-hs.js
151
- - themes/io2012/js/prettify/lang-go.js
152
159
  - themes/io2012/js/prettify/lang-proto.js
153
- - themes/io2012/js/prettify/lang-wiki.js
154
- - themes/io2012/js/prettify/prettify.js
155
- - themes/io2012/js/prettify/lang-ml.js
156
160
  - themes/io2012/js/prettify/lang-tex.js
157
- - themes/io2012/js/prettify/lang-xq.js
158
- - themes/io2012/js/prettify/lang-clj.js
159
- - themes/io2012/js/prettify/lang-apollo.js
160
- - themes/io2012/js/prettify/lang-vb.js
161
- - themes/template/css/reset.css
162
- - themes/template/README
163
- - themes/template/index.erb
164
- - themes/template/js/prefixfree.min.js
165
- - themes/html5rocks/css/sea_wave.css
166
- - themes/html5rocks/css/moon.css
167
- - themes/html5rocks/css/sand.css
168
- - themes/html5rocks/css/default.css
169
- - themes/html5rocks/README
170
- - themes/html5rocks/index.erb
171
- - themes/html5rocks/js/slides.js
172
- - themes/common/css/pygments/manni.css
173
- - themes/common/css/pygments/solarized.css
174
- - themes/common/css/pygments/colorful.css
175
- - themes/common/css/pygments/native.css
176
- - themes/common/fonts/Lato.woff
177
- - themes/common/fonts/PTSans.Bold.Italic.woff
178
- - themes/common/fonts/PTSans.woff
179
- - themes/common/fonts/TargetBlank.otf
180
- - themes/common/fonts/PTSans.Italic.woff
181
- - themes/common/fonts/crimson_text_bold.ttf
182
- - themes/common/fonts/PTSans.Bold.woff
183
- - themes/common/fonts/OpenSans-BoldItalic.woff
161
+ - themes/io2012/js/prettify/lang-vhdl.js
162
+ - themes/io2012/js/polyfills/classList.min.js
163
+ - themes/io2012/js/polyfills/dataset.min.js
164
+ - themes/io2012/js/polyfills/history.min.js
165
+ - themes/io2012/js/hammer.js
166
+ - themes/io2012/js/slide-controller.js
167
+ - themes/io2012/js/order.js
168
+ - themes/io2012/js/slides.js
169
+ - themes/io2012/js/require-1.0.8.min.js
170
+ - themes/io2012/js/modernizr.custom.45394.js
171
+ - themes/io2012/css/fonts.css
172
+ - themes/io2012/css/phone.css
173
+ - themes/io2012/css/default.css
174
+ - themes/io2012/images/google_developers_icon_128.png
175
+ - themes/io2012/images/io2012_logo.png
176
+ - themes/io2012/README
177
+ - themes/common/fonts/league_gothic-webfont.ttf
178
+ - themes/common/fonts/OpenSans.woff
179
+ - themes/common/fonts/Lato-Italic.woff
180
+ - themes/common/fonts/OpenSans-Italic.woff
181
+ - themes/common/fonts/YanoneKaffeesatz-Regular.woff
184
182
  - themes/common/fonts/Lato-BoldItalic.woff
185
- - themes/common/fonts/DroidSansMono.ttf
186
183
  - themes/common/fonts/OpenSans-Bold.woff
187
184
  - themes/common/fonts/PTSans.Narrow.woff
188
- - themes/common/fonts/Lato-Italic.woff
189
- - themes/common/fonts/OpenSans-Italic.woff
190
- - themes/common/fonts/crimson_text_semibold.ttf
191
- - themes/common/fonts/PTMono.woff
192
- - themes/common/fonts/league_gothic-webfont.ttf
193
- - themes/common/fonts/crimson_text.ttf
194
185
  - themes/common/fonts/PTSans.Narrow.Bold.woff
186
+ - themes/common/fonts/crimson_text.ttf
187
+ - themes/common/fonts/OpenSans-BoldItalic.woff
188
+ - themes/common/fonts/DroidSansMono.ttf
189
+ - themes/common/fonts/YanoneKaffeesatz-Bold.woff
190
+ - themes/common/fonts/TargetBlank.otf
191
+ - themes/common/fonts/PTSans.Italic.woff
192
+ - themes/common/fonts/PTSans.Bold.woff
193
+ - themes/common/fonts/Lato.woff
194
+ - themes/common/fonts/Lato-bold.woff
195
195
  - themes/common/fonts/DroidSansMono.svg
196
- - themes/common/fonts/OpenSans.woff
197
196
  - themes/common/fonts/TargetBlank.svg
198
- - themes/common/fonts/Lato-bold.woff
199
- - themes/common/fonts/YanoneKaffeesatz-Regular.woff
200
- - themes/common/fonts/YanoneKaffeesatz-Bold.woff
201
- - themes/CSSS/images/rainbow-wood.jpg
202
- - themes/CSSS/css/slideshow.css
203
- - themes/CSSS/css/theme.css
204
- - themes/CSSS/README
197
+ - themes/common/fonts/crimson_text_bold.ttf
198
+ - themes/common/fonts/PTSans.woff
199
+ - themes/common/fonts/PTMono.woff
200
+ - themes/common/fonts/PTSans.Bold.Italic.woff
201
+ - themes/common/fonts/crimson_text_semibold.ttf
202
+ - themes/common/css/pygments/manni.css
203
+ - themes/common/css/pygments/colorful.css
204
+ - themes/common/css/pygments/native.css
205
+ - themes/common/css/pygments/solarized.css
206
+ - themes/template/index.erb
207
+ - themes/template/js/prefixfree.min.js
208
+ - themes/template/css/reset.css
209
+ - themes/template/README
210
+ - themes/reveal/index.erb
211
+ - themes/reveal/js/head.min.js
212
+ - themes/reveal/js/classList.js
213
+ - themes/reveal/js/reveal.js
214
+ - themes/reveal/css/main.css
215
+ - themes/reveal/css/reset.css
216
+ - themes/reveal/README
217
+ - themes/3d_slideshow/index.erb
218
+ - themes/3d_slideshow/js/slideshow.js
219
+ - themes/3d_slideshow/css/main.css
220
+ - themes/3d_slideshow/css/reset.css
221
+ - themes/3d_slideshow/README
222
+ - themes/html5rocks/index.erb
223
+ - themes/html5rocks/js/slides.js
224
+ - themes/html5rocks/css/sand.css
225
+ - themes/html5rocks/css/moon.css
226
+ - themes/html5rocks/css/default.css
227
+ - themes/html5rocks/css/sea_wave.css
228
+ - themes/html5rocks/README
205
229
  - themes/CSSS/index.erb
230
+ - themes/CSSS/js/classList.js
206
231
  - themes/CSSS/js/prefixfree.min.js
207
232
  - themes/CSSS/js/slideshow.js
208
- - themes/CSSS/js/classList.js
209
- - themes/3d_slideshow/css/reset.css
210
- - themes/3d_slideshow/css/main.css
211
- - themes/3d_slideshow/README
212
- - themes/3d_slideshow/index.erb
213
- - themes/3d_slideshow/js/slideshow.js
233
+ - themes/CSSS/css/slideshow.css
234
+ - themes/CSSS/css/theme.css
235
+ - themes/CSSS/images/rainbow-wood.jpg
236
+ - themes/CSSS/README
237
+ - themes/memories/index.erb
238
+ - themes/memories/js/prefixfree.min.js
239
+ - themes/memories/js/slideshow.js
240
+ - themes/memories/css/fonts.css
241
+ - themes/memories/css/slideshow.css
242
+ - themes/memories/css/theme.css
243
+ - themes/memories/README
214
244
  homepage: http://github.com/nono/slide-em-up
215
245
  licenses: []
216
246
  post_install_message:
@@ -231,7 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
231
261
  version: '0'
232
262
  requirements: []
233
263
  rubyforge_project:
234
- rubygems_version: 1.8.16
264
+ rubygems_version: 1.8.24
235
265
  signing_key:
236
266
  specification_version: 3
237
267
  summary: Slide'em up is a presentation tool. You write some slides in markdown, choose