slideshow 0.9.8 → 0.9.9

Sign up to get free protection for your applications and to get access to all the features.
data/lib/slideshow.rb CHANGED
@@ -55,7 +55,7 @@ require 'slideshow/filters/slide_filter'
55
55
 
56
56
  module Slideshow
57
57
 
58
- VERSION = '0.9.8'
58
+ VERSION = '0.9.9'
59
59
 
60
60
  # version string for generator meta tag (includes ruby version)
61
61
  def Slideshow.generator
@@ -105,7 +105,7 @@ module Slideshow
105
105
  # src = 'http://github.com/geraldb/sandbox/raw/13d4fec0908fbfcc456b74dfe2f88621614b5244/s5blank/s5blank.txt'
106
106
  uri = URI.parse( src )
107
107
 
108
- logger.debug "host: #{uri.host}, port: #{uri.port}, path: #{uri.path}"
108
+ logger.debug "scheme: #{uri.scheme}, host: #{uri.host}, port: #{uri.port}, path: #{uri.path}"
109
109
 
110
110
  dirname = File.dirname( uri.path )
111
111
  basename = File.basename( uri.path, '.*' ) # e.g. fullerscreen (without extension)
@@ -114,7 +114,7 @@ module Slideshow
114
114
  logger.debug "dirname: #{dirname}"
115
115
  logger.debug "basename: #{basename}, filename: #{filename}"
116
116
 
117
- dlbase = "http://#{uri.host}:#{uri.port}#{dirname}"
117
+ dlbase = "#{uri.scheme}://#{uri.host}:#{uri.port}#{dirname}"
118
118
  pkgpath = File.expand_path( "#{config_dir}/templates/#{basename}" )
119
119
 
120
120
  logger.debug "dlpath: #{dlbase}"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slideshow
3
3
  version: !ruby/object:Gem::Version
4
- hash: 43
4
+ hash: 41
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 8
10
- version: 0.9.8
9
+ - 9
10
+ version: 0.9.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gerald Bauer