guard-sass 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/guard/sass/version.rb +1 -1
- data/lib/guard/sass.rb +2 -2
- metadata +11 -13
data/lib/guard/sass/version.rb
CHANGED
data/lib/guard/sass.rb
CHANGED
@@ -61,7 +61,7 @@ module Guard
|
|
61
61
|
watchers.product([file]).each do |watcher, file|
|
62
62
|
if matches = file.match(watcher.pattern)
|
63
63
|
if matches[1]
|
64
|
-
folder = File.join(
|
64
|
+
folder = File.join(options[:output], File.dirname(matches[1])).gsub(/\/\.$/, '')
|
65
65
|
break
|
66
66
|
end
|
67
67
|
end
|
@@ -96,7 +96,7 @@ module Guard
|
|
96
96
|
begin
|
97
97
|
contents = build_sass(file)
|
98
98
|
if contents
|
99
|
-
message = options[:noop] ? "verified #{file}" : "
|
99
|
+
message = options[:noop] ? "verified #{file}" : "compiled #{file} to #{css_file}"
|
100
100
|
|
101
101
|
File.open(css_file, 'w') {|f| f.write(contents) } unless options[:noop]
|
102
102
|
::Guard::UI.info "-> #{message}", :reset => true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,12 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-09-
|
13
|
-
default_executable:
|
12
|
+
date: 2011-09-26 00:00:00.000000000Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: guard
|
17
|
-
requirement: &
|
16
|
+
requirement: &2160420520 !ruby/object:Gem::Requirement
|
18
17
|
none: false
|
19
18
|
requirements:
|
20
19
|
- - ! '>='
|
@@ -22,10 +21,10 @@ dependencies:
|
|
22
21
|
version: 0.4.0
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
|
-
version_requirements: *
|
24
|
+
version_requirements: *2160420520
|
26
25
|
- !ruby/object:Gem::Dependency
|
27
26
|
name: sass
|
28
|
-
requirement: &
|
27
|
+
requirement: &2160419700 !ruby/object:Gem::Requirement
|
29
28
|
none: false
|
30
29
|
requirements:
|
31
30
|
- - ! '>='
|
@@ -33,10 +32,10 @@ dependencies:
|
|
33
32
|
version: '3.1'
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
|
-
version_requirements: *
|
35
|
+
version_requirements: *2160419700
|
37
36
|
- !ruby/object:Gem::Dependency
|
38
37
|
name: bundler
|
39
|
-
requirement: &
|
38
|
+
requirement: &2160418160 !ruby/object:Gem::Requirement
|
40
39
|
none: false
|
41
40
|
requirements:
|
42
41
|
- - ~>
|
@@ -44,10 +43,10 @@ dependencies:
|
|
44
43
|
version: 1.0.2
|
45
44
|
type: :development
|
46
45
|
prerelease: false
|
47
|
-
version_requirements: *
|
46
|
+
version_requirements: *2160418160
|
48
47
|
- !ruby/object:Gem::Dependency
|
49
48
|
name: rspec
|
50
|
-
requirement: &
|
49
|
+
requirement: &2160417240 !ruby/object:Gem::Requirement
|
51
50
|
none: false
|
52
51
|
requirements:
|
53
52
|
- - ! '>'
|
@@ -55,7 +54,7 @@ dependencies:
|
|
55
54
|
version: 2.0.0.rc
|
56
55
|
type: :development
|
57
56
|
prerelease: false
|
58
|
-
version_requirements: *
|
57
|
+
version_requirements: *2160417240
|
59
58
|
description: Guard::Sass automatically rebuilds sass (like sass --watch)
|
60
59
|
email:
|
61
60
|
- m@hawx.me
|
@@ -68,7 +67,6 @@ files:
|
|
68
67
|
- lib/guard/sass.rb
|
69
68
|
- LICENSE
|
70
69
|
- README.md
|
71
|
-
has_rdoc: true
|
72
70
|
homepage: http://rubygems.org/gems/guard-sass
|
73
71
|
licenses: []
|
74
72
|
post_install_message:
|
@@ -89,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
87
|
version: 1.3.6
|
90
88
|
requirements: []
|
91
89
|
rubyforge_project: guard-sass
|
92
|
-
rubygems_version: 1.
|
90
|
+
rubygems_version: 1.8.10
|
93
91
|
signing_key:
|
94
92
|
specification_version: 3
|
95
93
|
summary: Guard gem for Sass
|