vstheme2scss 0.0.11 → 0.0.13
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/vstheme2scss/converter.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 07506f7a917d8770a082231465b78bdb601a490769dab77cc050c5c24046461b
|
|
4
|
+
data.tar.gz: 76026fcde9b1559417ca91dfe686b24326974634cfe48a497f54b04bf96b680a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b321b57d5a3553bcce16dee09cbaf829e2b49ce6d03bc1a324d2d4cc577f591280b9796bd7aa59a25beb2845f7098862e78f5423149f43e6145104e53bfd7b97
|
|
7
|
+
data.tar.gz: f9560b1729b7bec615cba1172567a6781e118d505ea33338aa954f926733f6738f32c29a0feb2c89e097bb503ab7c00a3742b70a0a00a8cd437b00c9bcdd7232
|
|
@@ -28,14 +28,15 @@ module Converter
|
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
def theme_files_to_hash(themes)
|
|
31
|
-
|
|
31
|
+
themes.map{ |theme_file|
|
|
32
32
|
theme_path = Pathname.new(theme_file)
|
|
33
|
+
theme = nil
|
|
33
34
|
if not theme_path.directory?
|
|
34
35
|
theme = JSON.parse(theme_path.read)
|
|
35
36
|
else
|
|
36
37
|
puts "Error: #{theme_path.dirname}#{theme_path.basename} was not a file."
|
|
37
38
|
end
|
|
38
|
-
|
|
39
|
+
theme
|
|
39
40
|
}.select{ |theme| theme != nil }
|
|
40
41
|
end
|
|
41
42
|
|