prezio 0.0.2 → 0.0.3

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.
data/bin/prezio CHANGED
@@ -40,6 +40,8 @@ command :preview do |c|
40
40
  template = args[0]
41
41
  out_file = Tempfile.new(File.basename(template)).path
42
42
 
43
+ set :public_folder, File.dirname(template)
44
+
43
45
  get "/" do
44
46
  Prezio.convert(template, out_file)
45
47
  File.read(out_file)
@@ -1,3 +1,3 @@
1
1
  module Prezio
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
Binary file
@@ -23,3 +23,9 @@ def foo
23
23
  end
24
24
  </code>
25
25
  </section>
26
+
27
+ <section>
28
+ <figure>
29
+ <img src="cunning.jpg" alt="Cunning Plan" />
30
+ </figure>
31
+ </section>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prezio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-25 00:00:00.000000000 Z
12
+ date: 2012-08-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra
@@ -130,6 +130,7 @@ files:
130
130
  - lib/prezio/version.rb
131
131
  - prezio.gemspec
132
132
  - spec/convert_spec.rb
133
+ - spec/fixtures/cunning.jpg
133
134
  - spec/fixtures/sample_slides.html
134
135
  - spec/prezio/dz_slides_wrapper_spec.rb
135
136
  - spec/prezio/syntax_highlighter_spec.rb
@@ -148,7 +149,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
149
  version: '0'
149
150
  segments:
150
151
  - 0
151
- hash: -883888879
152
+ hash: -661907091
152
153
  required_rubygems_version: !ruby/object:Gem::Requirement
153
154
  none: false
154
155
  requirements:
@@ -157,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
158
  version: '0'
158
159
  segments:
159
160
  - 0
160
- hash: -883888879
161
+ hash: -661907091
161
162
  requirements: []
162
163
  rubyforge_project:
163
164
  rubygems_version: 1.8.24
@@ -166,6 +167,7 @@ specification_version: 3
166
167
  summary: HTML5 presentation generator
167
168
  test_files:
168
169
  - spec/convert_spec.rb
170
+ - spec/fixtures/cunning.jpg
169
171
  - spec/fixtures/sample_slides.html
170
172
  - spec/prezio/dz_slides_wrapper_spec.rb
171
173
  - spec/prezio/syntax_highlighter_spec.rb