showoff 0.9.8 → 0.9.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0cff52fdf5f38360a5e10678acb81713da42532
4
- data.tar.gz: 3dd12a4a362f8b0de756df4de1a34727533ee89c
3
+ metadata.gz: fca9e8bcaae915b49026c82cc34298fd4413505c
4
+ data.tar.gz: 8aef14fae196f0aeadefbe9831419a57c3352021
5
5
  SHA512:
6
- metadata.gz: fe5086466395d08f3667f90a76729d16d0546e5e57144ddf9a3dbcf69a1715f4cf57c6c658801f8a47d6ec4bb2e6090e707c69720eb7d4387d8670981d23b74b
7
- data.tar.gz: 45a82534917bbdf68e3f792a381bac569a699184aa4bb3efe3b3013eda3b2367c89e3ef54f8b634d2ddaece0bd6b88fef46f7a171f9827ae23ac4e580028900b
6
+ metadata.gz: 17c1bca3813b395bbc4e5d3e281a73cea6ebba13637e77b90a026fa65be83759e226ab514b9b45be0b2d1a31550dbc35a4bb89515b2674e69a22e4cf9e87b441
7
+ data.tar.gz: edcf51738ef555ddcb356a69a39069ab68deae628ab785eed81114e229c3570f1f552bd03119d270b8e9c9ea72f49b88dd37f21db65d91d07c107a242191f115
data/bin/showoff CHANGED
@@ -14,6 +14,26 @@ else
14
14
  end
15
15
 
16
16
  version SHOWOFF_VERSION
17
+ program_desc <<-desc
18
+ A web based presentation engine with awesome interaction features.
19
+
20
+ ShowOff uses Markdown files with a few custom extensions to generate slides
21
+ that are served locally for presentation via web browser. Your audience can
22
+ view presentations directly as well, and interact with you in many ways.
23
+
24
+ ShowOff can optionally use the RMagick gem for automatic image resizing
25
+ functionality. If RMagick is available, images included in your presentation
26
+ will be resized down to meet size constraints of your presentation if needed.
27
+
28
+ Showoff can optionally use the PDFKit gem to autogenerate PDF files on demand.
29
+ Viewers can access the /pdf endpoint to download a generated PDF file. This
30
+ functionality is likely to be deprecated, since it is simpler and easier to
31
+ just print the /print endpoint directly from your browser.
32
+
33
+ The simplest use case is to run `showoff serve` from the directory containing
34
+ the showoff.json file.
35
+ desc
36
+
17
37
 
18
38
  desc 'Create new showoff presentation'
19
39
  arg_name 'dir_name'
@@ -1,3 +1,3 @@
1
1
  # No namespace here since ShowOff is a class and I'd have to inherit from
2
2
  # Sinatra::Application (which we don't want to load here)
3
- SHOWOFF_VERSION = '0.9.8'
3
+ SHOWOFF_VERSION = '0.9.8.1'
data/lib/showoff.rb CHANGED
@@ -14,15 +14,13 @@ require "#{here}/commandline_parser"
14
14
  begin
15
15
  require 'RMagick'
16
16
  rescue LoadError
17
- $stderr.puts 'NOTICE: * automatic image sizing unavailable; install RMagick for this functionality.'
17
+ # nop
18
18
  end
19
19
 
20
20
  begin
21
21
  require 'pdfkit'
22
22
  rescue LoadError
23
- $stderr.puts 'NOTICE: * internal pdf generation disabled; install PDFKit for this functionality'
24
- $stderr.puts 'NOTICE: the PDFKit integration will likely be deprecated. Instead, you should'
25
- $stderr.puts 'NOTICE: simply use your browser to print from the /print endpoint.'
23
+ # nop
26
24
  end
27
25
 
28
26
  require 'tilt'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: showoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8
4
+ version: 0.9.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Chacon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-23 00:00:00.000000000 Z
11
+ date: 2014-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: thin
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: '1.3'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: '1.3'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: redcarpet
99
113
  requirement: !ruby/object:Gem::Requirement
@@ -287,7 +301,19 @@ files:
287
301
  homepage: http://github.com/schacon/showoff
288
302
  licenses: []
289
303
  metadata: {}
290
- post_install_message:
304
+ post_install_message: |2+
305
+
306
+ ************************************************************************
307
+ ShowOff can optionally use the RMagick gem for automatic image resizing
308
+ functionality. If RMagick is available, images included in your presentation
309
+ will be resized down to meet size constraints of your presentation, if required.
310
+
311
+ Showoff can optionally use the PDFKit gem to autogenerate PDF files on demand.
312
+ Viewers can access the /pdf endpoint to download a generated PDF file. This
313
+ functionality is likely to be deprecated, since it is simpler and easier to
314
+ just print the /print endpoint directly from your browser.
315
+ ************************************************************************
316
+
291
317
  rdoc_options: []
292
318
  require_paths:
293
319
  - lib