sass 3.1.16 → 3.1.17
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.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/sass/exec.rb +2 -2
- data/lib/sass/plugin/compiler.rb +51 -43
- data/lib/sass/script/color.rb +4 -9
- data/lib/sass/script/functions.rb +14 -28
- data/lib/sass/scss/parser.rb +1 -5
- data/lib/sass/tree/node.rb +8 -0
- data/lib/sass/tree/visitors/convert.rb +1 -0
- data/lib/sass/util.rb +28 -0
- data/test/sass/conversion_test.rb +26 -0
- data/test/sass/functions_test.rb +28 -22
- data/test/sass/script_test.rb +4 -4
- data/test/sass/scss/scss_test.rb +10 -0
- data/vendor/listen/CHANGELOG.md +19 -1
- data/vendor/listen/README.md +24 -12
- data/vendor/listen/lib/listen/adapters/windows.rb +7 -8
- data/vendor/listen/lib/listen/directory_record.rb +72 -38
- data/vendor/listen/lib/listen/listener.rb +12 -10
- data/vendor/listen/lib/listen/multi_listener.rb +6 -6
- data/vendor/listen/lib/listen/version.rb +1 -1
- data/vendor/listen/spec/listen/directory_record_spec.rb +241 -35
- data/vendor/listen/spec/listen/listener_spec.rb +8 -4
- data/vendor/listen/spec/listen/multi_listener_spec.rb +9 -4
- data/vendor/listen/spec/support/adapter_helper.rb +78 -0
- data/vendor/listen/spec/support/directory_record_helper.rb +13 -5
- metadata +211 -214
- data/lib/sass/plugin/listener.rb +0 -59
@@ -2,7 +2,7 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe Listen::Listener do
|
4
4
|
let(:adapter) { mock(Listen::Adapter, :start => true).as_null_object }
|
5
|
-
let(:watched_directory) {
|
5
|
+
let(:watched_directory) { File.dirname(__FILE__) }
|
6
6
|
|
7
7
|
subject { described_class.new(watched_directory) }
|
8
8
|
|
@@ -20,21 +20,25 @@ describe Listen::Listener do
|
|
20
20
|
subject.directory.should eq watched_directory
|
21
21
|
end
|
22
22
|
|
23
|
+
it 'converts the passed path into an absolute path - #21' do
|
24
|
+
described_class.new(File.join(watched_directory, '..')).directory.should eq File.expand_path('..', watched_directory)
|
25
|
+
end
|
26
|
+
|
23
27
|
it 'sets the option for using relative paths in the callback to the default one' do
|
24
28
|
subject.instance_variable_get(:@use_relative_paths).should eq described_class::DEFAULT_TO_RELATIVE_PATHS
|
25
29
|
end
|
26
30
|
end
|
27
31
|
|
28
32
|
context 'with custom options' do
|
29
|
-
subject { described_class.new(watched_directory, :ignore =>
|
33
|
+
subject { described_class.new(watched_directory, :ignore => /\.ssh/, :filter => [/.*\.rb/,/.*\.md/],
|
30
34
|
:latency => 0.5, :force_polling => true, :relative_paths => true) }
|
31
35
|
|
32
36
|
it 'passes the custom ignored paths to the directory record' do
|
33
|
-
subject.directory_record.
|
37
|
+
subject.directory_record.ignoring_patterns.should include /\.ssh/
|
34
38
|
end
|
35
39
|
|
36
40
|
it 'passes the custom filters to the directory record' do
|
37
|
-
subject.directory_record.
|
41
|
+
subject.directory_record.filtering_patterns.should =~ [/.*\.rb/,/.*\.md/]
|
38
42
|
end
|
39
43
|
|
40
44
|
it 'sets the cutom option for using relative paths in the callback' do
|
@@ -2,7 +2,7 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe Listen::MultiListener do
|
4
4
|
let(:adapter) { mock(Listen::Adapter, :start => true).as_null_object }
|
5
|
-
let(:watched_directories) { [File.dirname(__FILE__),
|
5
|
+
let(:watched_directories) { [File.dirname(__FILE__), File.expand_path('../..', __FILE__)] }
|
6
6
|
|
7
7
|
subject { described_class.new(*watched_directories) }
|
8
8
|
|
@@ -19,23 +19,28 @@ describe Listen::MultiListener do
|
|
19
19
|
it 'sets the directories' do
|
20
20
|
subject.directories.should =~ watched_directories
|
21
21
|
end
|
22
|
+
|
23
|
+
it 'converts the passed paths into absolute paths - #21' do
|
24
|
+
paths = watched_directories.map { |d| File.join(d, '..') }
|
25
|
+
described_class.new(*paths).directories.should =~ watched_directories.map{ |d| File.expand_path('..', d) }
|
26
|
+
end
|
22
27
|
end
|
23
28
|
|
24
29
|
context 'with custom options' do
|
25
30
|
subject do
|
26
|
-
args = watched_directories << {:ignore =>
|
31
|
+
args = watched_directories << {:ignore => /\.ssh/, :filter => [/.*\.rb/,/.*\.md/], :latency => 0.5, :force_polling => true}
|
27
32
|
described_class.new(*args)
|
28
33
|
end
|
29
34
|
|
30
35
|
it 'passes the custom ignored paths to each directory record' do
|
31
36
|
subject.directories_records.each do |r|
|
32
|
-
r.
|
37
|
+
r.ignoring_patterns.should include /\.ssh/
|
33
38
|
end
|
34
39
|
end
|
35
40
|
|
36
41
|
it 'passes the custom filters to each directory record' do
|
37
42
|
subject.directories_records.each do |r|
|
38
|
-
r.
|
43
|
+
r.filtering_patterns.should =~ [/.*\.rb/,/.*\.md/]
|
39
44
|
end
|
40
45
|
end
|
41
46
|
|
@@ -104,6 +104,24 @@ shared_examples_for 'an adapter that call properly listener#on_change' do |*args
|
|
104
104
|
end
|
105
105
|
end
|
106
106
|
end
|
107
|
+
|
108
|
+
context 'given a directory with subdirectories' do
|
109
|
+
it 'detects the added file' do
|
110
|
+
fixtures do |path|
|
111
|
+
if options[:recursive]
|
112
|
+
listener.should_receive(:on_change).once.with([path], :recursive => true)
|
113
|
+
else
|
114
|
+
listener.should_receive(:on_change).once.with(["#{path}/a_directory/subdirectory"], {})
|
115
|
+
end
|
116
|
+
|
117
|
+
mkdir_p 'a_directory/subdirectory'
|
118
|
+
|
119
|
+
watch(listener, path) do
|
120
|
+
touch 'a_directory/subdirectory/new_file.rb'
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
107
125
|
end
|
108
126
|
|
109
127
|
context 'when a file is modified' do
|
@@ -179,6 +197,25 @@ shared_examples_for 'an adapter that call properly listener#on_change' do |*args
|
|
179
197
|
end
|
180
198
|
end
|
181
199
|
end
|
200
|
+
|
201
|
+
context 'given a directory with subdirectories' do
|
202
|
+
it 'detects the modified file' do
|
203
|
+
fixtures do |path|
|
204
|
+
if options[:recursive]
|
205
|
+
listener.should_receive(:on_change).once.with([path], :recursive => true)
|
206
|
+
else
|
207
|
+
listener.should_receive(:on_change).once.with(["#{path}/a_directory/subdirectory"], {})
|
208
|
+
end
|
209
|
+
|
210
|
+
mkdir_p 'a_directory/subdirectory'
|
211
|
+
touch 'a_directory/subdirectory/existing_file.txt'
|
212
|
+
|
213
|
+
watch(listener, path) do
|
214
|
+
touch 'a_directory/subdirectory/new_file.rb'
|
215
|
+
end
|
216
|
+
end
|
217
|
+
end
|
218
|
+
end
|
182
219
|
end
|
183
220
|
|
184
221
|
context 'when a file is moved' do
|
@@ -257,6 +294,28 @@ shared_examples_for 'an adapter that call properly listener#on_change' do |*args
|
|
257
294
|
end
|
258
295
|
end
|
259
296
|
end
|
297
|
+
|
298
|
+
context 'given a directory with subdirectories' do
|
299
|
+
it 'detects files movements between subdirectories' do
|
300
|
+
fixtures do |path|
|
301
|
+
if options[:recursive]
|
302
|
+
listener.should_receive(:on_change).once.with([path], :recursive => true)
|
303
|
+
else
|
304
|
+
listener.should_receive(:on_change).once.with do |array, options|
|
305
|
+
array.should =~ ["#{path}/a_directory/subdirectory", "#{path}/b_directory/subdirectory"]
|
306
|
+
end
|
307
|
+
end
|
308
|
+
|
309
|
+
mkdir_p 'a_directory/subdirectory'
|
310
|
+
mkdir_p 'b_directory/subdirectory'
|
311
|
+
touch 'a_directory/subdirectory/move_me.txt'
|
312
|
+
|
313
|
+
watch(listener, path) do
|
314
|
+
mv 'a_directory/subdirectory/move_me.txt', 'b_directory/subdirectory'
|
315
|
+
end
|
316
|
+
end
|
317
|
+
end
|
318
|
+
end
|
260
319
|
end
|
261
320
|
|
262
321
|
context 'when a file is deleted' do
|
@@ -294,6 +353,25 @@ shared_examples_for 'an adapter that call properly listener#on_change' do |*args
|
|
294
353
|
end
|
295
354
|
end
|
296
355
|
end
|
356
|
+
|
357
|
+
context 'given a directory with subdirectories' do
|
358
|
+
it 'detects the file removal' do
|
359
|
+
fixtures do |path|
|
360
|
+
if options[:recursive]
|
361
|
+
listener.should_receive(:on_change).once.with([path], :recursive => true)
|
362
|
+
else
|
363
|
+
listener.should_receive(:on_change).once.with(["#{path}/a_directory/subdirectory"], {})
|
364
|
+
end
|
365
|
+
|
366
|
+
mkdir_p 'a_directory/subdirectory'
|
367
|
+
touch 'a_directory/subdirectory/do_not_use.rb'
|
368
|
+
|
369
|
+
watch(listener, path) do
|
370
|
+
rm 'a_directory/subdirectory/do_not_use.rb'
|
371
|
+
end
|
372
|
+
end
|
373
|
+
end
|
374
|
+
end
|
297
375
|
end
|
298
376
|
end
|
299
377
|
|
@@ -12,9 +12,11 @@
|
|
12
12
|
def changes(root_path, options = {})
|
13
13
|
unless @record || options[:use_last_record]
|
14
14
|
@record = Listen::DirectoryRecord.new(root_path)
|
15
|
-
@record.build
|
16
15
|
@record.filter(options.delete(:filter)) if options[:filter]
|
17
16
|
@record.ignore(options.delete(:ignore)) if options[:ignore]
|
17
|
+
|
18
|
+
# Build the record after adding the filtering and ignoring patterns
|
19
|
+
@record.build
|
18
20
|
end
|
19
21
|
|
20
22
|
yield
|
@@ -27,9 +29,15 @@ def changes(root_path, options = {})
|
|
27
29
|
[changes[:modified], changes[:added], changes[:removed]]
|
28
30
|
end
|
29
31
|
|
30
|
-
|
32
|
+
# Generates a small time difference before performing a time sensitive
|
33
|
+
# task (like comparing mtimes of files).
|
34
|
+
#
|
35
|
+
# @note Modification time for files only includes the milliseconds on Linux with MRI > 1.9.2,
|
36
|
+
# that's why we generate a difference that's greater than 1 second.
|
37
|
+
#
|
38
|
+
def small_time_difference
|
31
39
|
t = Time.now
|
32
|
-
|
33
|
-
|
34
|
-
|
40
|
+
diff = t.to_f - t.to_i
|
41
|
+
|
42
|
+
sleep( 1.5 - (diff < 0.5 ? diff : 0.4) )
|
35
43
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 33
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 3.1.
|
9
|
+
- 17
|
10
|
+
version: 3.1.17
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Nathan Weizenbaum
|
@@ -17,8 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2012-
|
21
|
-
default_executable:
|
20
|
+
date: 2012-05-05 00:00:00 Z
|
22
21
|
dependencies:
|
23
22
|
- !ruby/object:Gem::Dependency
|
24
23
|
name: yard
|
@@ -64,260 +63,258 @@ extra_rdoc_files: []
|
|
64
63
|
|
65
64
|
files:
|
66
65
|
- rails/init.rb
|
67
|
-
- lib/sass.rb
|
68
|
-
- lib/sass/
|
66
|
+
- lib/sass/util/multibyte_string_scanner.rb
|
67
|
+
- lib/sass/util/subset_map.rb
|
68
|
+
- lib/sass/shared.rb
|
69
|
+
- lib/sass/error.rb
|
70
|
+
- lib/sass/importers.rb
|
71
|
+
- lib/sass/cache_stores/filesystem.rb
|
72
|
+
- lib/sass/cache_stores/chain.rb
|
73
|
+
- lib/sass/cache_stores/memory.rb
|
74
|
+
- lib/sass/cache_stores/null.rb
|
75
|
+
- lib/sass/cache_stores/base.rb
|
76
|
+
- lib/sass/environment.rb
|
77
|
+
- lib/sass/plugin/rack.rb
|
78
|
+
- lib/sass/plugin/staleness_checker.rb
|
69
79
|
- lib/sass/plugin/compiler.rb
|
80
|
+
- lib/sass/plugin/configuration.rb
|
70
81
|
- lib/sass/plugin/merb.rb
|
71
|
-
- lib/sass/plugin/staleness_checker.rb
|
72
|
-
- lib/sass/plugin/rack.rb
|
73
|
-
- lib/sass/plugin/listener.rb
|
74
82
|
- lib/sass/plugin/rails.rb
|
75
|
-
- lib/sass/plugin/configuration.rb
|
76
83
|
- lib/sass/plugin/generic.rb
|
84
|
+
- lib/sass/railtie.rb
|
85
|
+
- lib/sass/logger.rb
|
86
|
+
- lib/sass/callbacks.rb
|
87
|
+
- lib/sass/script/string.rb
|
88
|
+
- lib/sass/script/node.rb
|
89
|
+
- lib/sass/script/lexer.rb
|
90
|
+
- lib/sass/script/string_interpolation.rb
|
91
|
+
- lib/sass/script/css_parser.rb
|
92
|
+
- lib/sass/script/variable.rb
|
93
|
+
- lib/sass/script/literal.rb
|
94
|
+
- lib/sass/script/bool.rb
|
95
|
+
- lib/sass/script/number.rb
|
96
|
+
- lib/sass/script/unary_operation.rb
|
97
|
+
- lib/sass/script/css_lexer.rb
|
98
|
+
- lib/sass/script/operation.rb
|
99
|
+
- lib/sass/script/parser.rb
|
100
|
+
- lib/sass/script/funcall.rb
|
101
|
+
- lib/sass/script/color.rb
|
102
|
+
- lib/sass/script/interpolation.rb
|
103
|
+
- lib/sass/script/list.rb
|
104
|
+
- lib/sass/script/functions.rb
|
77
105
|
- lib/sass/version.rb
|
78
|
-
- lib/sass/
|
79
|
-
- lib/sass/
|
80
|
-
- lib/sass/
|
81
|
-
- lib/sass/
|
82
|
-
- lib/sass/
|
83
|
-
- lib/sass/
|
84
|
-
- lib/sass/
|
85
|
-
- lib/sass/
|
86
|
-
- lib/sass/tree/import_node.rb
|
87
|
-
- lib/sass/tree/return_node.rb
|
106
|
+
- lib/sass/tree/visitors/deep_copy.rb
|
107
|
+
- lib/sass/tree/visitors/set_options.rb
|
108
|
+
- lib/sass/tree/visitors/cssize.rb
|
109
|
+
- lib/sass/tree/visitors/to_css.rb
|
110
|
+
- lib/sass/tree/visitors/perform.rb
|
111
|
+
- lib/sass/tree/visitors/base.rb
|
112
|
+
- lib/sass/tree/visitors/check_nesting.rb
|
113
|
+
- lib/sass/tree/visitors/convert.rb
|
88
114
|
- lib/sass/tree/root_node.rb
|
115
|
+
- lib/sass/tree/node.rb
|
89
116
|
- lib/sass/tree/if_node.rb
|
90
117
|
- lib/sass/tree/charset_node.rb
|
91
|
-
- lib/sass/tree/function_node.rb
|
92
|
-
- lib/sass/tree/media_node.rb
|
93
|
-
- lib/sass/tree/while_node.rb
|
94
|
-
- lib/sass/tree/for_node.rb
|
95
|
-
- lib/sass/tree/directive_node.rb
|
96
|
-
- lib/sass/tree/rule_node.rb
|
97
|
-
- lib/sass/tree/each_node.rb
|
98
|
-
- lib/sass/tree/node.rb
|
99
|
-
- lib/sass/tree/mixin_node.rb
|
100
118
|
- lib/sass/tree/extend_node.rb
|
119
|
+
- lib/sass/tree/rule_node.rb
|
101
120
|
- lib/sass/tree/mixin_def_node.rb
|
102
|
-
- lib/sass/tree/
|
103
|
-
- lib/sass/tree/
|
104
|
-
- lib/sass/tree/visitors/check_nesting.rb
|
105
|
-
- lib/sass/tree/visitors/deep_copy.rb
|
106
|
-
- lib/sass/tree/visitors/set_options.rb
|
107
|
-
- lib/sass/tree/visitors/cssize.rb
|
108
|
-
- lib/sass/tree/visitors/convert.rb
|
109
|
-
- lib/sass/tree/visitors/base.rb
|
110
|
-
- lib/sass/tree/comment_node.rb
|
111
|
-
- lib/sass/tree/warn_node.rb
|
112
|
-
- lib/sass/tree/debug_node.rb
|
121
|
+
- lib/sass/tree/return_node.rb
|
122
|
+
- lib/sass/tree/mixin_node.rb
|
113
123
|
- lib/sass/tree/prop_node.rb
|
124
|
+
- lib/sass/tree/warn_node.rb
|
125
|
+
- lib/sass/tree/directive_node.rb
|
126
|
+
- lib/sass/tree/each_node.rb
|
127
|
+
- lib/sass/tree/comment_node.rb
|
128
|
+
- lib/sass/tree/media_node.rb
|
114
129
|
- lib/sass/tree/variable_node.rb
|
115
|
-
- lib/sass/
|
116
|
-
- lib/sass/
|
117
|
-
- lib/sass/
|
118
|
-
- lib/sass/
|
119
|
-
- lib/sass/
|
120
|
-
- lib/sass/util/multibyte_string_scanner.rb
|
121
|
-
- lib/sass/util/subset_map.rb
|
122
|
-
- lib/sass/scss.rb
|
123
|
-
- lib/sass/scss/static_parser.rb
|
124
|
-
- lib/sass/scss/parser.rb
|
130
|
+
- lib/sass/tree/function_node.rb
|
131
|
+
- lib/sass/tree/debug_node.rb
|
132
|
+
- lib/sass/tree/import_node.rb
|
133
|
+
- lib/sass/tree/while_node.rb
|
134
|
+
- lib/sass/tree/for_node.rb
|
125
135
|
- lib/sass/scss/sass_parser.rb
|
126
|
-
- lib/sass/scss/script_lexer.rb
|
127
|
-
- lib/sass/scss/rx.rb
|
128
136
|
- lib/sass/scss/script_parser.rb
|
129
137
|
- lib/sass/scss/css_parser.rb
|
130
|
-
- lib/sass/
|
131
|
-
- lib/sass/
|
132
|
-
- lib/sass/
|
133
|
-
- lib/sass/
|
134
|
-
- lib/sass/util.rb
|
135
|
-
- lib/sass/importers/filesystem.rb
|
136
|
-
- lib/sass/importers/base.rb
|
137
|
-
- lib/sass/script/color.rb
|
138
|
-
- lib/sass/script/variable.rb
|
139
|
-
- lib/sass/script/operation.rb
|
140
|
-
- lib/sass/script/funcall.rb
|
141
|
-
- lib/sass/script/literal.rb
|
142
|
-
- lib/sass/script/parser.rb
|
143
|
-
- lib/sass/script/functions.rb
|
144
|
-
- lib/sass/script/number.rb
|
145
|
-
- lib/sass/script/string_interpolation.rb
|
146
|
-
- lib/sass/script/interpolation.rb
|
147
|
-
- lib/sass/script/node.rb
|
148
|
-
- lib/sass/script/bool.rb
|
149
|
-
- lib/sass/script/unary_operation.rb
|
150
|
-
- lib/sass/script/lexer.rb
|
151
|
-
- lib/sass/script/list.rb
|
152
|
-
- lib/sass/script/css_lexer.rb
|
153
|
-
- lib/sass/script/string.rb
|
154
|
-
- lib/sass/script/css_parser.rb
|
155
|
-
- lib/sass/selector.rb
|
138
|
+
- lib/sass/scss/script_lexer.rb
|
139
|
+
- lib/sass/scss/rx.rb
|
140
|
+
- lib/sass/scss/parser.rb
|
141
|
+
- lib/sass/scss/static_parser.rb
|
156
142
|
- lib/sass/less.rb
|
157
|
-
- lib/sass/
|
143
|
+
- lib/sass/selector/simple_sequence.rb
|
158
144
|
- lib/sass/selector/simple.rb
|
159
145
|
- lib/sass/selector/sequence.rb
|
160
146
|
- lib/sass/selector/abstract_sequence.rb
|
161
147
|
- lib/sass/selector/comma_sequence.rb
|
162
|
-
- lib/sass/
|
163
|
-
- lib/sass/
|
164
|
-
- lib/sass/
|
148
|
+
- lib/sass/root.rb
|
149
|
+
- lib/sass/importers/filesystem.rb
|
150
|
+
- lib/sass/importers/base.rb
|
151
|
+
- lib/sass/css.rb
|
152
|
+
- lib/sass/selector.rb
|
153
|
+
- lib/sass/engine.rb
|
154
|
+
- lib/sass/plugin.rb
|
155
|
+
- lib/sass/logger/log_level.rb
|
156
|
+
- lib/sass/logger/base.rb
|
157
|
+
- lib/sass/repl.rb
|
158
|
+
- lib/sass/scss.rb
|
165
159
|
- lib/sass/exec.rb
|
166
|
-
-
|
167
|
-
-
|
168
|
-
-
|
160
|
+
- lib/sass/util.rb
|
161
|
+
- lib/sass/cache_stores.rb
|
162
|
+
- lib/sass/script.rb
|
163
|
+
- lib/sass.rb
|
164
|
+
- vendor/listen/lib/listen.rb
|
169
165
|
- vendor/listen/lib/listen/turnstile.rb
|
170
|
-
- vendor/listen/lib/listen/directory_record.rb
|
171
|
-
- vendor/listen/lib/listen/version.rb
|
172
166
|
- vendor/listen/lib/listen/multi_listener.rb
|
173
|
-
- vendor/listen/lib/listen/listener.rb
|
174
|
-
- vendor/listen/lib/listen/adapters/polling.rb
|
175
167
|
- vendor/listen/lib/listen/adapters/darwin.rb
|
176
|
-
- vendor/listen/lib/listen/adapters/
|
168
|
+
- vendor/listen/lib/listen/adapters/polling.rb
|
177
169
|
- vendor/listen/lib/listen/adapters/windows.rb
|
170
|
+
- vendor/listen/lib/listen/adapters/linux.rb
|
178
171
|
- vendor/listen/lib/listen/adapter.rb
|
179
|
-
- vendor/listen/lib/listen.rb
|
172
|
+
- vendor/listen/lib/listen/listener.rb
|
173
|
+
- vendor/listen/lib/listen/version.rb
|
174
|
+
- vendor/listen/lib/listen/directory_record.rb
|
175
|
+
- vendor/listen/Vagrantfile
|
180
176
|
- vendor/listen/CHANGELOG.md
|
181
|
-
- vendor/listen/Rakefile
|
182
177
|
- vendor/listen/LICENSE
|
178
|
+
- vendor/listen/Rakefile
|
179
|
+
- vendor/listen/Gemfile
|
180
|
+
- vendor/listen/README.md
|
181
|
+
- vendor/listen/Guardfile
|
183
182
|
- vendor/listen/listen.gemspec
|
184
|
-
- vendor/listen/
|
185
|
-
- vendor/listen/spec/
|
186
|
-
- vendor/listen/spec/
|
183
|
+
- vendor/listen/spec/spec_helper.rb
|
184
|
+
- vendor/listen/spec/listen_spec.rb
|
185
|
+
- vendor/listen/spec/support/directory_record_helper.rb
|
186
|
+
- vendor/listen/spec/support/fixtures_helper.rb
|
187
|
+
- vendor/listen/spec/support/listeners_helper.rb
|
188
|
+
- vendor/listen/spec/support/platform_helper.rb
|
189
|
+
- vendor/listen/spec/support/adapter_helper.rb
|
190
|
+
- vendor/listen/spec/listen/turnstile_spec.rb
|
191
|
+
- vendor/listen/spec/listen/adapters/windows_spec.rb
|
187
192
|
- vendor/listen/spec/listen/adapters/darwin_spec.rb
|
193
|
+
- vendor/listen/spec/listen/adapters/linux_spec.rb
|
188
194
|
- vendor/listen/spec/listen/adapters/polling_spec.rb
|
189
|
-
- vendor/listen/spec/listen/adapters/windows_spec.rb
|
190
|
-
- vendor/listen/spec/listen/turnstile_spec.rb
|
191
195
|
- vendor/listen/spec/listen/adapter_spec.rb
|
196
|
+
- vendor/listen/spec/listen/directory_record_spec.rb
|
192
197
|
- vendor/listen/spec/listen/listener_spec.rb
|
193
198
|
- vendor/listen/spec/listen/multi_listener_spec.rb
|
194
|
-
- vendor/listen/spec/listen_spec.rb
|
195
|
-
- vendor/listen/spec/spec_helper.rb
|
196
|
-
- vendor/listen/spec/support/directory_record_helper.rb
|
197
|
-
- vendor/listen/spec/support/listeners_helper.rb
|
198
|
-
- vendor/listen/spec/support/adapter_helper.rb
|
199
|
-
- vendor/listen/spec/support/platform_helper.rb
|
200
|
-
- vendor/listen/spec/support/fixtures_helper.rb
|
201
|
-
- bin/sass-convert
|
202
|
-
- bin/scss
|
203
199
|
- bin/sass
|
204
|
-
-
|
205
|
-
-
|
206
|
-
- test/
|
207
|
-
- test/sass/
|
208
|
-
- test/sass/
|
209
|
-
- test/sass/fixtures/test_staleness_check_across_importers.scss
|
210
|
-
- test/sass/fixtures/test_staleness_check_across_importers.css
|
211
|
-
- test/sass/data/hsl-rgb.txt
|
212
|
-
- test/sass/extend_test.rb
|
213
|
-
- test/sass/logger_test.rb
|
214
|
-
- test/sass/css2sass_test.rb
|
200
|
+
- bin/scss
|
201
|
+
- bin/sass-convert
|
202
|
+
- test/sass/plugin_test.rb
|
203
|
+
- test/sass/util/subset_map_test.rb
|
204
|
+
- test/sass/util/multibyte_string_scanner_test.rb
|
215
205
|
- test/sass/templates/basic.sass
|
216
|
-
- test/sass/templates/mixins.sass
|
217
|
-
- test/sass/templates/options.sass
|
218
|
-
- test/sass/templates/scss_import.scss
|
219
|
-
- test/sass/templates/subdir/subdir.sass
|
220
|
-
- test/sass/templates/subdir/nested_subdir/_nested_partial.sass
|
221
|
-
- test/sass/templates/subdir/nested_subdir/nested_subdir.sass
|
222
|
-
- test/sass/templates/alt.sass
|
223
|
-
- test/sass/templates/nested_bork1.sass
|
224
|
-
- test/sass/templates/complex.sass
|
225
|
-
- test/sass/templates/units.sass
|
226
|
-
- test/sass/templates/nested_import.sass
|
227
|
-
- test/sass/templates/importee.sass
|
228
|
-
- test/sass/templates/importee.less
|
229
|
-
- test/sass/templates/scss_importee.scss
|
230
206
|
- test/sass/templates/line_numbers.sass
|
231
|
-
- test/sass/templates/
|
232
|
-
- test/sass/templates/
|
233
|
-
- test/sass/templates/
|
234
|
-
- test/sass/templates/
|
235
|
-
- test/sass/templates/
|
236
|
-
- test/sass/templates/import_charset_ibm866.sass
|
237
|
-
- test/sass/templates/bork1.sass
|
207
|
+
- test/sass/templates/nested_bork2.sass
|
208
|
+
- test/sass/templates/_imported_charset_utf8.sass
|
209
|
+
- test/sass/templates/mixin_bork.sass
|
210
|
+
- test/sass/templates/import_charset.sass
|
211
|
+
- test/sass/templates/importee.less
|
238
212
|
- test/sass/templates/warn.sass
|
239
|
-
- test/sass/templates/bork2.sass
|
240
|
-
- test/sass/templates/nested.sass
|
241
|
-
- test/sass/templates/compact.sass
|
242
213
|
- test/sass/templates/single_import_loop.sass
|
243
|
-
- test/sass/templates/multiline.sass
|
244
|
-
- test/sass/templates/_imported_charset_ibm866.sass
|
245
|
-
- test/sass/templates/double_import_loop1.sass
|
246
|
-
- test/sass/templates/_double_import_loop2.sass
|
247
|
-
- test/sass/templates/import_charset.sass
|
248
214
|
- test/sass/templates/parent_ref.sass
|
249
|
-
- test/sass/templates/import.sass
|
250
215
|
- test/sass/templates/nested_bork3.sass
|
251
216
|
- test/sass/templates/script.sass
|
252
|
-
- test/sass/templates/
|
253
|
-
- test/sass/templates/
|
217
|
+
- test/sass/templates/import.sass
|
218
|
+
- test/sass/templates/scss_importee.scss
|
219
|
+
- test/sass/templates/bork1.sass
|
220
|
+
- test/sass/templates/compressed.sass
|
221
|
+
- test/sass/templates/importee.sass
|
254
222
|
- test/sass/templates/_partial.sass
|
223
|
+
- test/sass/templates/units.sass
|
224
|
+
- test/sass/templates/nested_bork1.sass
|
225
|
+
- test/sass/templates/_double_import_loop2.sass
|
226
|
+
- test/sass/templates/bork3.sass
|
255
227
|
- test/sass/templates/nested_mixin_bork.sass
|
228
|
+
- test/sass/templates/complex.sass
|
229
|
+
- test/sass/templates/if.sass
|
230
|
+
- test/sass/templates/nested_bork5.sass
|
231
|
+
- test/sass/templates/import_charset_ibm866.sass
|
232
|
+
- test/sass/templates/double_import_loop1.sass
|
233
|
+
- test/sass/templates/alt.sass
|
234
|
+
- test/sass/templates/scss_import.scss
|
235
|
+
- test/sass/templates/compact.sass
|
236
|
+
- test/sass/templates/_imported_charset_ibm866.sass
|
237
|
+
- test/sass/templates/nested.sass
|
238
|
+
- test/sass/templates/subdir/subdir.sass
|
239
|
+
- test/sass/templates/subdir/nested_subdir/_nested_partial.sass
|
240
|
+
- test/sass/templates/subdir/nested_subdir/nested_subdir.sass
|
241
|
+
- test/sass/templates/warn_imported.sass
|
242
|
+
- test/sass/templates/options.sass
|
243
|
+
- test/sass/templates/bork4.sass
|
244
|
+
- test/sass/templates/bork5.sass
|
256
245
|
- test/sass/templates/import_charset_1_8.sass
|
257
|
-
- test/sass/templates/nested_bork2.sass
|
258
|
-
- test/sass/templates/mixin_bork.sass
|
259
|
-
- test/sass/templates/compressed.sass
|
260
246
|
- test/sass/templates/nested_bork4.sass
|
261
|
-
- test/sass/templates/
|
262
|
-
- test/sass/
|
263
|
-
- test/sass/
|
264
|
-
- test/sass/
|
265
|
-
- test/sass/
|
266
|
-
- test/sass/
|
267
|
-
- test/sass/
|
247
|
+
- test/sass/templates/nested_import.sass
|
248
|
+
- test/sass/templates/multiline.sass
|
249
|
+
- test/sass/templates/expanded.sass
|
250
|
+
- test/sass/templates/mixins.sass
|
251
|
+
- test/sass/templates/bork2.sass
|
252
|
+
- test/sass/script_conversion_test.rb
|
253
|
+
- test/sass/mock_importer.rb
|
254
|
+
- test/sass/test_helper.rb
|
255
|
+
- test/sass/logger_test.rb
|
256
|
+
- test/sass/fixtures/test_staleness_check_across_importers.css
|
257
|
+
- test/sass/fixtures/test_staleness_check_across_importers.scss
|
258
|
+
- test/sass/functions_test.rb
|
259
|
+
- test/sass/util_test.rb
|
260
|
+
- test/sass/less_conversion_test.rb
|
261
|
+
- test/sass/more_results/more1.css
|
262
|
+
- test/sass/more_results/more1_with_line_comments.css
|
263
|
+
- test/sass/more_results/more_import.css
|
264
|
+
- test/sass/data/hsl-rgb.txt
|
265
|
+
- test/sass/scss/test_helper.rb
|
268
266
|
- test/sass/scss/css_test.rb
|
269
|
-
- test/sass/scss/scss_test.rb
|
270
267
|
- test/sass/scss/rx_test.rb
|
271
|
-
- test/sass/scss/
|
272
|
-
- test/sass/
|
273
|
-
- test/sass/
|
274
|
-
- test/sass/
|
275
|
-
- test/sass/
|
276
|
-
- test/sass/
|
277
|
-
- test/sass/
|
278
|
-
- test/sass/
|
279
|
-
- test/sass/
|
280
|
-
- test/sass/
|
281
|
-
- test/sass/
|
282
|
-
- test/sass/
|
283
|
-
- test/sass/results/scss_import.css
|
268
|
+
- test/sass/scss/scss_test.rb
|
269
|
+
- test/sass/script_test.rb
|
270
|
+
- test/sass/importer_test.rb
|
271
|
+
- test/sass/cache_test.rb
|
272
|
+
- test/sass/conversion_test.rb
|
273
|
+
- test/sass/more_templates/more1.sass
|
274
|
+
- test/sass/more_templates/_more_partial.sass
|
275
|
+
- test/sass/more_templates/more_import.sass
|
276
|
+
- test/sass/extend_test.rb
|
277
|
+
- test/sass/engine_test.rb
|
278
|
+
- test/sass/css2sass_test.rb
|
279
|
+
- test/sass/callbacks_test.rb
|
284
280
|
- test/sass/results/units.css
|
285
|
-
- test/sass/results/parent_ref.css
|
286
|
-
- test/sass/results/script.css
|
287
|
-
- test/sass/results/complex.css
|
288
|
-
- test/sass/results/import_charset.css
|
289
281
|
- test/sass/results/alt.css
|
282
|
+
- test/sass/results/scss_importee.css
|
283
|
+
- test/sass/results/line_numbers.css
|
284
|
+
- test/sass/results/import_charset.css
|
285
|
+
- test/sass/results/expanded.css
|
286
|
+
- test/sass/results/warn.css
|
287
|
+
- test/sass/results/script.css
|
290
288
|
- test/sass/results/if.css
|
291
|
-
- test/sass/results/
|
289
|
+
- test/sass/results/scss_import.css
|
290
|
+
- test/sass/results/nested.css
|
291
|
+
- test/sass/results/options.css
|
292
292
|
- test/sass/results/import_charset_1_8.css
|
293
|
-
- test/sass/results/
|
293
|
+
- test/sass/results/parent_ref.css
|
294
|
+
- test/sass/results/multiline.css
|
294
295
|
- test/sass/results/import_charset_ibm866.css
|
296
|
+
- test/sass/results/subdir/subdir.css
|
297
|
+
- test/sass/results/subdir/nested_subdir/nested_subdir.css
|
298
|
+
- test/sass/results/warn_imported.css
|
299
|
+
- test/sass/results/compact.css
|
300
|
+
- test/sass/results/mixins.css
|
301
|
+
- test/sass/results/complex.css
|
302
|
+
- test/sass/results/compressed.css
|
295
303
|
- test/sass/results/import.css
|
296
|
-
- test/sass/results/
|
297
|
-
- test/
|
298
|
-
- test/
|
299
|
-
- test/
|
300
|
-
- test/sass/more_templates/more_import.sass
|
301
|
-
- test/sass/more_templates/more1.sass
|
302
|
-
- test/sass/script_conversion_test.rb
|
303
|
-
- test/sass/less_conversion_test.rb
|
304
|
-
- test/sass/more_results/more1.css
|
305
|
-
- test/sass/more_results/more1_with_line_comments.css
|
306
|
-
- test/sass/more_results/more_import.css
|
307
|
-
- test/sass/mock_importer.rb
|
308
|
-
- test/sass/cache_test.rb
|
309
|
-
- test/sass/plugin_test.rb
|
304
|
+
- test/sass/results/basic.css
|
305
|
+
- test/test_helper.rb
|
306
|
+
- test/Gemfile.lock
|
307
|
+
- test/Gemfile
|
310
308
|
- extra/update_watch.rb
|
311
309
|
- Rakefile
|
312
310
|
- init.rb
|
313
311
|
- .yardopts
|
314
|
-
- README.md
|
315
|
-
- VERSION_NAME
|
316
|
-
- REVISION
|
317
312
|
- MIT-LICENSE
|
313
|
+
- REVISION
|
318
314
|
- VERSION
|
315
|
+
- VERSION_NAME
|
316
|
+
- README.md
|
319
317
|
- CONTRIBUTING
|
320
|
-
has_rdoc: false
|
321
318
|
homepage: http://sass-lang.com/
|
322
319
|
licenses: []
|
323
320
|
|
@@ -349,27 +346,27 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
349
346
|
requirements: []
|
350
347
|
|
351
348
|
rubyforge_project: sass
|
352
|
-
rubygems_version: 1.
|
349
|
+
rubygems_version: 1.8.15
|
353
350
|
signing_key:
|
354
351
|
specification_version: 3
|
355
352
|
summary: A powerful but elegant CSS compiler that makes CSS fun again.
|
356
353
|
test_files:
|
357
|
-
- test/sass/
|
358
|
-
- test/sass/functions_test.rb
|
359
|
-
- test/sass/extend_test.rb
|
360
|
-
- test/sass/logger_test.rb
|
361
|
-
- test/sass/css2sass_test.rb
|
362
|
-
- test/sass/conversion_test.rb
|
363
|
-
- test/sass/script_test.rb
|
354
|
+
- test/sass/plugin_test.rb
|
364
355
|
- test/sass/util/subset_map_test.rb
|
365
356
|
- test/sass/util/multibyte_string_scanner_test.rb
|
366
|
-
- test/sass/callbacks_test.rb
|
367
|
-
- test/sass/importer_test.rb
|
368
|
-
- test/sass/scss/css_test.rb
|
369
|
-
- test/sass/scss/scss_test.rb
|
370
|
-
- test/sass/scss/rx_test.rb
|
371
|
-
- test/sass/util_test.rb
|
372
357
|
- test/sass/script_conversion_test.rb
|
358
|
+
- test/sass/logger_test.rb
|
359
|
+
- test/sass/functions_test.rb
|
360
|
+
- test/sass/util_test.rb
|
373
361
|
- test/sass/less_conversion_test.rb
|
362
|
+
- test/sass/scss/css_test.rb
|
363
|
+
- test/sass/scss/rx_test.rb
|
364
|
+
- test/sass/scss/scss_test.rb
|
365
|
+
- test/sass/script_test.rb
|
366
|
+
- test/sass/importer_test.rb
|
374
367
|
- test/sass/cache_test.rb
|
375
|
-
- test/sass/
|
368
|
+
- test/sass/conversion_test.rb
|
369
|
+
- test/sass/extend_test.rb
|
370
|
+
- test/sass/engine_test.rb
|
371
|
+
- test/sass/css2sass_test.rb
|
372
|
+
- test/sass/callbacks_test.rb
|