slideshow-models 3.0.2 → 3.1.0
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.
- checksums.yaml +4 -4
- data/lib/slideshow/commands/build.rb +3 -3
- data/lib/slideshow/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bb9cbcd952a383efa7504dd64c834d1f2651263
|
4
|
+
data.tar.gz: f02ef369b3414a6a4e256a3954149c82a25ff093
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdf7d952dd7c4afc1893dd87b7a0f6dc0a01cdf2394af1228f32ab1e27c3ea0796733c565d651d905b9524102c70c7c4f197586779676d6c620cd0db50249a3d
|
7
|
+
data.tar.gz: 1de294d489c5213fdcb9a527b69581bcf76c34d291b12bdb2c9efe279e57328ca75f49c2aef04eb7c05bfbbd5756ed5f8445aeafe18ab73e4c01d12e744f6356
|
@@ -36,15 +36,15 @@ class Build
|
|
36
36
|
|
37
37
|
dirname = File.dirname( fn )
|
38
38
|
basename = File.basename( fn, '.*' )
|
39
|
-
extname = File.extname( fn )
|
39
|
+
extname = File.extname( fn ) ## note: returns ext with dot (e.g. .css or .js etc.)
|
40
40
|
|
41
41
|
logger.debug "dirname=#{dirname}, basename=#{basename}, extname=#{extname}"
|
42
42
|
|
43
43
|
content = File.read_utf8( fn )
|
44
44
|
|
45
|
-
if extname.downcase == 'css'
|
45
|
+
if extname.downcase == '.css'
|
46
46
|
key = :css # buffer key
|
47
|
-
elsif extname.downcase == 'js'
|
47
|
+
elsif extname.downcase == '.js'
|
48
48
|
key = :js
|
49
49
|
else ## assume main text/content
|
50
50
|
##
|
data/lib/slideshow/version.rb
CHANGED