zenml-slide 1.1.0 → 1.1.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
  SHA256:
3
- metadata.gz: f62c999fa7c6c65551a0f86aeb2ef5ae23b937ab694241303cc7f0d58e06a0c1
4
- data.tar.gz: 315cb39a7434912b14e7037eaf01e0b2b0f1fab15a3de72aa80f73843882d843
3
+ metadata.gz: 911117223fc3918966bcfabe23d3e77b9da527230c7f80aad577f2143ddf63a5
4
+ data.tar.gz: 1d2846a5791849ca1bd49d2a56dc9e67e1ddf4ef1df99dcf90e4a27ed220d3df
5
5
  SHA512:
6
- metadata.gz: 8f1f73aefd08ff49652df3b0aea59ff2b6f484289a9e535da8adc9fc75c6cfb622b26b94bc77ab58f149ba3c5e66f3658b561bd0065be0a9353ff29fb1449448
7
- data.tar.gz: 25c339d308f0e732eca237eda687fb18f8cf6e2231b0ac6b85bbcc52b5a28ec3c6039b4d16cd74ff047dd5ec62f7a78cc104926566a109fef0dcaa0222fabdfd
6
+ metadata.gz: 31a789c6eefbb66fd01f7ac825840e99eabc3816a679c9b256486db4b825202a7b7c9c09a2cf390177405504e6d18f76a1bdac388f18e2a7b41e9bd006287be6
7
+ data.tar.gz: f8059e9d58529b7fa87e86dafb515b13358a6442b65aec8c9a5a9c7fe96eeee2b4864d42cb993dd52a446a5154fb803042010351d77d83c96072f5ad3fbbcbe0
@@ -3,7 +3,7 @@
3
3
 
4
4
  module Zenithal::Slide
5
5
 
6
- VERSION = "1.1.0"
6
+ VERSION = "1.1.1"
7
7
  VERSION_ARRAY = VERSION.split(/\./).map(&:to_i)
8
8
 
9
9
  end
@@ -9,7 +9,7 @@ class Zenithal::Slide::WholeSlideConverter
9
9
  def initialize(args)
10
10
  @mode, @open = nil, false
11
11
  @dirs = {:output => "out", :document => "document", :template => "template"}
12
- @asset_paths = {:style => ["style/style.css"]}
12
+ @asset_paths = {:style => ["style/style.scss"]}
13
13
  @title = "Slide"
14
14
  @image_size = [1920, 1080]
15
15
  options, rest_args = args.partition{|s| s =~ /^\-\w$/}
@@ -68,7 +68,7 @@ class Zenithal::Slide::WholeSlideConverter
68
68
  main_string = @converter.convert
69
69
  count = @converter.variables[:slide_count].to_i.to_s
70
70
  header_string << "<script type=\"text/javascript\">#{SCRIPT}</script>\n"
71
- header_string << @asset_paths[:style].map{|s| "<link rel=\"stylesheet\" type=\"text/css\" href=\"../#{s}\">\n"}.join
71
+ header_string << @asset_paths[:style].map{|s| "<link rel=\"stylesheet\" type=\"text/css\" href=\"../#{modify_extension(s)}\">\n"}.join
72
72
  output = TEMPLATE.gsub(/#\{(.*?)\}/){instance_eval($1)}.gsub(/\r/, "")
73
73
  File.write(output_path, output)
74
74
  File.write(count_path, count)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zenml-slide
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ziphil