slideshow-service 0.0.1 → 0.1.0

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: 83bbdcbba9b3de431e8d9fb363f869f85ab0645b
4
- data.tar.gz: 56f4a6aba0068ce37d1ec34513b89ba4d6b8aeba
3
+ metadata.gz: 7d8adc5055356708f840bcf1121648f1d88cb0a2
4
+ data.tar.gz: 443852c40a9c73936dea6f1995d3c04feea384e0
5
5
  SHA512:
6
- metadata.gz: 5cb4a42633034df9dbaefc9a392c0681e1c724b1cfd18b0c0f042ceecd6a5fca94d5b9042b1e513b7c5fffaf1df4b26d00f34b0a3fe5f1059342989c13053ce2
7
- data.tar.gz: d47e589cf3584a0ee526b2b7727e0b3cc5e7c502827364e32079236e6904dcb83f3d3dc3699ab2e9006b70305b704184c76f125c209e1425ec8e8faa24a271cb
6
+ metadata.gz: cd6abe45f423a587c987310b54288fcbc5ca01001eaefe41b8b8c069ef46b146ea13fe23e4e4aa9d1fea41f3f24bcf3352c5f43d8de8d60eae0b2bc7ffbb2361
7
+ data.tar.gz: cb4881c70e3fed218cf1736a68d9848bf59f6a9e673143365d2c1e30918841be9a31117cb4c68be409a3c0604299ef0e3e96ef2306fd99e81393fd62c258a104
@@ -3,8 +3,8 @@
3
3
  module SlideshowService
4
4
 
5
5
  MAJOR = 0
6
- MINOR = 0
7
- PATCH = 1
6
+ MINOR = 1
7
+ PATCH = 0
8
8
  VERSION = [MAJOR,MINOR,PATCH].join('.')
9
9
 
10
10
  def self.version
@@ -77,6 +77,16 @@ class Service < Sinatra::Base
77
77
 
78
78
  render_slideshow( text, 'slideshow-s6-blank/slides.pdf.html' )
79
79
  end
80
+
81
+
82
+ get '/slideshow-deck.js/slides' do
83
+
84
+ text = params.delete('text') || welcome_sample
85
+ ## todo - check if ascii-7bit encoding ??
86
+ ## use (always) utf8 for now
87
+
88
+ render_slideshow( text, 'slideshow-deck.js/slides.html' )
89
+ end
80
90
 
81
91
 
82
92
  get '/' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slideshow-service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer