roger_sassc 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/roger_sassc/processor.rb +0 -9
- data/lib/roger_sassc/version.rb +1 -1
- data/test/roger_sassc_test.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eeb2783dfe32f2b8cd74d046b434a9efce234e17
|
4
|
+
data.tar.gz: 6258f6747a09de3daec2cf33d3c45462994373f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca96cd0ffcaa556cdf083f19d693d81f3d3e5b1934bfbf133f527e09094493ca92767d7fa8fe9b68eaef22dcf71e590ffcf5b3c7735846fbc87b764d7af77174
|
7
|
+
data.tar.gz: c2a7d2fc52d6defffa55183b45a91626b34d0430af85187a163232d60c29c3bdd97cdca19087acc8d0f761ad3572511d8b0c6806b802d5d127bebafcb39c92f5
|
@@ -18,16 +18,11 @@ module RogerSassc
|
|
18
18
|
# @option options [Hash]
|
19
19
|
# :build_files
|
20
20
|
def call(release, options = {})
|
21
|
-
@release = release
|
22
21
|
@options = @options.update(options)
|
23
22
|
|
24
23
|
match = @options.delete(:match)
|
25
24
|
skip = @options.delete(:skip)
|
26
25
|
|
27
|
-
@options[:load_paths] = @options[:load_paths].map do |path|
|
28
|
-
build_path + path
|
29
|
-
end
|
30
|
-
|
31
26
|
# Sassify SCSS files
|
32
27
|
files = release.get_files(match)
|
33
28
|
|
@@ -50,10 +45,6 @@ module RogerSassc
|
|
50
45
|
files.each { |f| File.unlink(f) }
|
51
46
|
end
|
52
47
|
|
53
|
-
def build_path
|
54
|
-
@release.project.path
|
55
|
-
end
|
56
|
-
|
57
48
|
def compile_file(path)
|
58
49
|
@options[:filename] = path.to_s
|
59
50
|
scss = File.read(path)
|
data/lib/roger_sassc/version.rb
CHANGED
data/test/roger_sassc_test.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roger_sassc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edwin van der Graaf
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sassc
|