guard-sass 1.3.2 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +3 -12
- data/lib/guard/sass/runner.rb +2 -6
- data/lib/guard/sass/version.rb +1 -1
- metadata +16 -27
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7df92185490044f30cb6b2bc381ae657a4b72cb0
|
4
|
+
data.tar.gz: 3eff9477b09890b86c70ac8568c46512a826f6a9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 37409e146c998fb66805a0a999fe1b5a82bacf79b9c6fe9edb677d214a8f9967858f258d484bacab2f6511df431e9f9945d094ff36528314b313e41a87943279
|
7
|
+
data.tar.gz: 253096cd77d738f0151df002739fc3700ab58063267fcb02a297f9c202072511c26c031d44c37af16e60f3a4a01258ec3c7917c153029cbaad438fd3552a42a6
|
data/README.md
CHANGED
@@ -109,22 +109,13 @@ The following options can be passed to guard-sass:
|
|
109
109
|
:shallow => true # Do not create nested output directories.
|
110
110
|
# default: false
|
111
111
|
|
112
|
-
:style => :nested # Controls the output style. Accepted options are :nested,
|
113
|
-
# :compact, :compressed and :expanded
|
114
|
-
# default: :nested
|
115
|
-
|
116
|
-
:load_paths => ['sass/partials'] # Paths for sass to find imported sass files from.
|
117
|
-
# default: template locations provided by the sass gem
|
118
|
-
|
119
112
|
:noop => true # No operation: Do not write output file
|
120
113
|
# default: false
|
121
114
|
|
122
|
-
|
123
|
-
|
124
|
-
|
115
|
+
As well as any option that sass itself can take (eg. `:style => :compact`). See
|
116
|
+
[the reference](http://sass-lang.com/documentation/file.SASS_REFERENCE.html#options)
|
117
|
+
for a list.
|
125
118
|
|
126
|
-
:debug_info => true # File and line number info for FireSass.
|
127
|
-
# default: false
|
128
119
|
|
129
120
|
### Output Short Notation
|
130
121
|
|
data/lib/guard/sass/runner.rb
CHANGED
@@ -78,11 +78,7 @@ module Guard
|
|
78
78
|
def compile(file)
|
79
79
|
sass_options = {
|
80
80
|
:filesystem_importer => Importer,
|
81
|
-
|
82
|
-
:style => options[:style],
|
83
|
-
:debug_info => options[:debug_info],
|
84
|
-
:line_numbers => options[:line_numbers]
|
85
|
-
}
|
81
|
+
}.merge(options)
|
86
82
|
|
87
83
|
::Sass::Engine.for_file(file, sass_options).render
|
88
84
|
end
|
@@ -127,4 +123,4 @@ module Guard
|
|
127
123
|
end
|
128
124
|
end
|
129
125
|
|
130
|
-
require 'guard/sass/importer'
|
126
|
+
require 'guard/sass/importer'
|
data/lib/guard/sass/version.rb
CHANGED
metadata
CHANGED
@@ -1,52 +1,46 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.4.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Joshua Hawxwell
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-12-24 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: guard
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 1.1.0
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 1.1.0
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: sass
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '3.1'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '3.1'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: bundler
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,17 +55,15 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rspec
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>'
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: 2.0.0.rc
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>'
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: 2.0.0.rc
|
78
69
|
description: Guard::Sass automatically rebuilds sass (like sass --watch)
|
@@ -82,37 +73,35 @@ executables: []
|
|
82
73
|
extensions: []
|
83
74
|
extra_rdoc_files: []
|
84
75
|
files:
|
85
|
-
- lib/guard/sass/formatter.rb
|
86
|
-
- lib/guard/sass/importer.rb
|
87
|
-
- lib/guard/sass/runner.rb
|
88
76
|
- lib/guard/sass/templates/Guardfile
|
89
77
|
- lib/guard/sass/version.rb
|
78
|
+
- lib/guard/sass/importer.rb
|
79
|
+
- lib/guard/sass/formatter.rb
|
80
|
+
- lib/guard/sass/runner.rb
|
90
81
|
- lib/guard/sass.rb
|
91
82
|
- LICENSE
|
92
83
|
- README.md
|
93
84
|
homepage: http://rubygems.org/gems/guard-sass
|
94
85
|
licenses: []
|
86
|
+
metadata: {}
|
95
87
|
post_install_message:
|
96
88
|
rdoc_options: []
|
97
89
|
require_paths:
|
98
90
|
- lib
|
99
91
|
required_ruby_version: !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
92
|
requirements:
|
102
|
-
- -
|
93
|
+
- - '>='
|
103
94
|
- !ruby/object:Gem::Version
|
104
95
|
version: '0'
|
105
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
|
-
none: false
|
107
97
|
requirements:
|
108
|
-
- -
|
98
|
+
- - '>='
|
109
99
|
- !ruby/object:Gem::Version
|
110
100
|
version: 1.3.6
|
111
101
|
requirements: []
|
112
102
|
rubyforge_project: guard-sass
|
113
|
-
rubygems_version:
|
103
|
+
rubygems_version: 2.0.14
|
114
104
|
signing_key:
|
115
|
-
specification_version:
|
105
|
+
specification_version: 4
|
116
106
|
summary: Guard gem for Sass
|
117
107
|
test_files: []
|
118
|
-
has_rdoc:
|