SassMyLess 0.9 → 1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/SassMyLess.rb +2 -1
- data/lib/SassMyLess/version.rb +1 -1
- 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: a814fabec9d002b7ee97571f379d66fc851a0313
|
4
|
+
data.tar.gz: 44a7e1b37509d247bd55286152d80148b2dd2d0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 110a0ed11d403f676af5eb5d1915add0a4f1da30b7dd5606c4ef68865a91442f9f95861862230b1e896fa6ff24dec2e937c55b9dbb1ccf6e537f6588c3f36a37
|
7
|
+
data.tar.gz: eefae563dc4e64c373d2b87951dc086717b7e4878996e5f5f466fedd927c2f00b060194917a160aae2c6bfd13c832e1956e0fc104e522383f0ef94be7014d3bf
|
data/lib/SassMyLess.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require "SassMyLess/version"
|
2
|
+
require 'fileutils'
|
2
3
|
|
3
4
|
module SassMyLess
|
4
5
|
class Base
|
@@ -14,7 +15,7 @@ module SassMyLess
|
|
14
15
|
def self.convert(input_dir, output_dir)
|
15
16
|
input_path = File.expand_path("#{input_dir}")
|
16
17
|
output_path = File.expand_path("#{output_dir}")
|
17
|
-
FileUtils.mkdir_p(
|
18
|
+
FileUtils.mkdir_p(output_path) unless Dir.exists?(output_path)
|
18
19
|
FileUtils.cp_r "#{input_path}/.", "#{output_path}"
|
19
20
|
self.traverse_dir output_path
|
20
21
|
end
|
data/lib/SassMyLess/version.rb
CHANGED