sass 3.3.0.rc.1 → 3.3.0.rc.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/Rakefile +1 -1
  2. data/VERSION +1 -1
  3. data/VERSION_DATE +1 -1
  4. data/lib/sass.rb +5 -0
  5. data/lib/sass/engine.rb +3 -5
  6. data/lib/sass/plugin.rb +0 -1
  7. data/lib/sass/plugin/compiler.rb +1 -2
  8. data/lib/sass/script/functions.rb +16 -2
  9. data/lib/sass/script/lexer.rb +22 -12
  10. data/lib/sass/script/parser.rb +27 -14
  11. data/lib/sass/script/tree/variable.rb +1 -1
  12. data/lib/sass/script/value/base.rb +1 -1
  13. data/lib/sass/script/value/color.rb +29 -17
  14. data/lib/sass/script/value/list.rb +1 -1
  15. data/lib/sass/script/value/number.rb +8 -1
  16. data/lib/sass/scss/parser.rb +2 -2
  17. data/lib/sass/selector/sequence.rb +18 -19
  18. data/lib/sass/selector/simple_sequence.rb +5 -5
  19. data/lib/sass/source/map.rb +1 -1
  20. data/lib/sass/tree/node.rb +25 -0
  21. data/lib/sass/tree/variable_node.rb +5 -0
  22. data/lib/sass/tree/visitors/base.rb +4 -7
  23. data/lib/sass/tree/visitors/check_nesting.rb +2 -2
  24. data/lib/sass/tree/visitors/perform.rb +12 -7
  25. data/lib/sass/util.rb +95 -50
  26. data/lib/sass/util/normalized_map.rb +63 -14
  27. data/lib/sass/util/ordered_hash.rb +9 -5
  28. data/lib/sass/version.rb +10 -12
  29. data/test/sass/engine_test.rb +37 -0
  30. data/test/sass/functions_test.rb +9 -2
  31. data/test/sass/importer_test.rb +3 -3
  32. data/test/sass/script_test.rb +12 -10
  33. data/test/sass/source_map_test.rb +8 -8
  34. data/test/sass/util/normalized_map_test.rb +22 -1
  35. data/test/sass/util_test.rb +18 -0
  36. data/test/test_helper.rb +16 -0
  37. data/vendor/listen/CHANGELOG.md +228 -0
  38. data/vendor/listen/CONTRIBUTING.md +38 -0
  39. data/vendor/listen/Gemfile +30 -0
  40. data/vendor/listen/Guardfile +8 -0
  41. data/vendor/listen/LICENSE +20 -0
  42. data/vendor/listen/README.md +315 -0
  43. data/vendor/listen/Rakefile +47 -0
  44. data/vendor/listen/Vagrantfile +96 -0
  45. data/vendor/listen/lib/listen.rb +40 -0
  46. data/vendor/listen/lib/listen/adapter.rb +214 -0
  47. data/vendor/listen/lib/listen/adapters/bsd.rb +112 -0
  48. data/vendor/listen/lib/listen/adapters/darwin.rb +85 -0
  49. data/vendor/listen/lib/listen/adapters/linux.rb +113 -0
  50. data/vendor/listen/lib/listen/adapters/polling.rb +67 -0
  51. data/vendor/listen/lib/listen/adapters/windows.rb +87 -0
  52. data/vendor/listen/lib/listen/dependency_manager.rb +126 -0
  53. data/vendor/listen/lib/listen/directory_record.rb +371 -0
  54. data/vendor/listen/lib/listen/listener.rb +225 -0
  55. data/vendor/listen/lib/listen/multi_listener.rb +143 -0
  56. data/vendor/listen/lib/listen/turnstile.rb +28 -0
  57. data/vendor/listen/lib/listen/version.rb +3 -0
  58. data/vendor/listen/listen.gemspec +22 -0
  59. data/vendor/listen/spec/listen/adapter_spec.rb +183 -0
  60. data/vendor/listen/spec/listen/adapters/bsd_spec.rb +36 -0
  61. data/vendor/listen/spec/listen/adapters/darwin_spec.rb +37 -0
  62. data/vendor/listen/spec/listen/adapters/linux_spec.rb +47 -0
  63. data/vendor/listen/spec/listen/adapters/polling_spec.rb +68 -0
  64. data/vendor/listen/spec/listen/adapters/windows_spec.rb +30 -0
  65. data/vendor/listen/spec/listen/dependency_manager_spec.rb +107 -0
  66. data/vendor/listen/spec/listen/directory_record_spec.rb +1225 -0
  67. data/vendor/listen/spec/listen/listener_spec.rb +169 -0
  68. data/vendor/listen/spec/listen/multi_listener_spec.rb +174 -0
  69. data/vendor/listen/spec/listen/turnstile_spec.rb +56 -0
  70. data/vendor/listen/spec/listen_spec.rb +73 -0
  71. data/vendor/listen/spec/spec_helper.rb +21 -0
  72. data/vendor/listen/spec/support/adapter_helper.rb +629 -0
  73. data/vendor/listen/spec/support/directory_record_helper.rb +55 -0
  74. data/vendor/listen/spec/support/fixtures_helper.rb +29 -0
  75. data/vendor/listen/spec/support/listeners_helper.rb +156 -0
  76. data/vendor/listen/spec/support/platform_helper.rb +15 -0
  77. metadata +318 -300
  78. data/test/Gemfile.lock +0 -10
@@ -0,0 +1,55 @@
1
+ # Prepares a record for the test and fetches changes
2
+ # afterwards.
3
+ #
4
+ # @param [String] root_path the path to watch
5
+ # @param [Hash] options
6
+ # @option options [Array<string>] :paths optional paths fetch changes for
7
+ # @option options [Boolean] :use_last_record allow the use of an already
8
+ # created record, handy for ordered tests.
9
+ #
10
+ # @return [Array, Array, Array] the changes
11
+ #
12
+ def changes(root_path, options = {})
13
+ unless @record || options[:use_last_record]
14
+ @record = Listen::DirectoryRecord.new(root_path)
15
+ @record.filter(options.delete(:filter)) if options[:filter]
16
+ @record.ignore(options.delete(:ignore)) if options[:ignore]
17
+
18
+ # Build the record after adding the filtering and ignoring patterns
19
+ @record.build
20
+ end
21
+
22
+ yield if block_given?
23
+
24
+ paths = options.delete(:paths) || [root_path]
25
+ options[:recursive] = true if options[:recursive].nil?
26
+
27
+ changes = @record.fetch_changes(paths, {:relative_paths => true}.merge(options))
28
+
29
+ [changes[:modified], changes[:added], changes[:removed]]
30
+ end
31
+
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
39
+ t = Time.now
40
+ diff = t.to_f - t.to_i
41
+
42
+ sleep( 1.5 - (diff < 0.5 ? diff : 0.4) )
43
+ end
44
+
45
+ # Ensures that the test runs at almost the same second at which
46
+ # changes are being checked.
47
+ #
48
+ def ensure_same_second
49
+ t = Time.now
50
+ diff = t.to_f - t.to_i
51
+
52
+ if diff > 0.1 # We are not at the beginning of a second
53
+ sleep 1.1 - diff # 1.1 is used instead of 1 to account for the processing time (estimated at 0.1 sec)
54
+ end
55
+ end
@@ -0,0 +1,29 @@
1
+ require 'tmpdir'
2
+
3
+ include FileUtils
4
+
5
+ # Prepares temporary fixture-directories and
6
+ # cleans them afterwards.
7
+ #
8
+ # @param [Fixnum] number_of_directories the number of fixture-directories to make
9
+ #
10
+ # @yield [path1, path2, ...] the empty fixture-directories
11
+ # @yieldparam [String] path the path to a fixture directory
12
+ #
13
+ def fixtures(number_of_directories = 1)
14
+ current_pwd = pwd
15
+ paths = 1.upto(number_of_directories).map do
16
+ File.expand_path(File.join(pwd, "spec/.fixtures/#{Time.now.to_f.to_s.sub('.', '') + rand(9999).to_s}"))
17
+ end
18
+
19
+ # Create the dirs
20
+ paths.each { |p| mkdir_p(p) }
21
+
22
+ cd(paths.first) if number_of_directories == 1
23
+
24
+ yield(*paths)
25
+
26
+ ensure
27
+ cd current_pwd
28
+ paths.map { |p| rm_rf(p) if File.exists?(p) }
29
+ end
@@ -0,0 +1,156 @@
1
+ shared_examples_for 'a listener to changes on a file-system' do
2
+ describe '#start' do
3
+ before do
4
+ subject.stub(:initialize_adapter) { adapter }
5
+ end
6
+
7
+ it 'starts the adapter' do
8
+ adapter.should_receive(:start)
9
+ subject.start
10
+ end
11
+
12
+ context 'with the blocking param set to false' do
13
+ it 'passes the blocking param to the adapter' do
14
+ adapter.should_receive(:start).with(false)
15
+ subject.start(false)
16
+ end
17
+ end
18
+ end
19
+
20
+ context 'with a started listener' do
21
+ before do
22
+ subject.start
23
+ end
24
+
25
+ describe '#stop' do
26
+ it "stops adapter" do
27
+ adapter.should_receive(:stop)
28
+ subject.stop
29
+ end
30
+ end
31
+
32
+ describe '#pause' do
33
+ it 'sets adapter.paused to true' do
34
+ adapter.should_receive(:paused=).with(true)
35
+ subject.pause
36
+ end
37
+
38
+ it 'returns the same listener to allow chaining' do
39
+ subject.pause.should equal subject
40
+ end
41
+ end
42
+
43
+ describe '#unpause' do
44
+ it 'sets adapter.paused to false' do
45
+ adapter.should_receive(:paused=).with(false)
46
+ subject.unpause
47
+ end
48
+
49
+ it 'returns the same listener to allow chaining' do
50
+ subject.unpause.should equal subject
51
+ end
52
+ end
53
+
54
+ describe '#paused?' do
55
+ it 'returns false when there is no adapter' do
56
+ subject.instance_variable_set(:@adapter, nil)
57
+ subject.should_not be_paused
58
+ end
59
+
60
+ it 'returns true when adapter is paused' do
61
+ adapter.should_receive(:paused) { true }
62
+ subject.should be_paused
63
+ end
64
+
65
+ it 'returns false when adapter is not paused' do
66
+ adapter.should_receive(:paused) { false }
67
+ subject.should_not be_paused
68
+ end
69
+ end
70
+ end
71
+
72
+ describe '#change' do
73
+ it 'sets the callback block' do
74
+ callback = lambda { |modified, added, removed| }
75
+ subject.change(&callback)
76
+ subject.instance_variable_get(:@block).should eq callback
77
+ end
78
+
79
+ it 'returns the same listener to allow chaining' do
80
+ subject.change(&Proc.new{}).should equal subject
81
+ end
82
+ end
83
+
84
+ describe '#ignore' do
85
+ it 'returns the same listener to allow chaining' do
86
+ subject.ignore('some_directory').should equal subject
87
+ end
88
+ end
89
+
90
+ describe '#ignore!' do
91
+ it 'returns the same listener to allow chaining' do
92
+ subject.ignore!('some_directory').should equal subject
93
+ end
94
+ end
95
+
96
+ describe '#filter' do
97
+ it 'returns the same listener to allow chaining' do
98
+ subject.filter(/\.txt$/).should equal subject
99
+ end
100
+ end
101
+
102
+ describe '#filter!' do
103
+ it 'returns the same listener to allow chaining' do
104
+ subject.filter!(/\.txt$/).should equal subject
105
+ end
106
+ end
107
+
108
+ describe '#latency' do
109
+ it 'sets the latency to @adapter_options' do
110
+ subject.latency(0.7)
111
+ subject.instance_variable_get(:@adapter_options).should eq(:latency => 0.7)
112
+ end
113
+
114
+ it 'returns the same listener to allow chaining' do
115
+ subject.latency(0.7).should equal subject
116
+ end
117
+ end
118
+
119
+ describe '#force_polling' do
120
+ it 'sets force_polling to @adapter_options' do
121
+ subject.force_polling(false)
122
+ subject.instance_variable_get(:@adapter_options).should eq(:force_polling => false)
123
+ end
124
+
125
+ it 'returns the same listener to allow chaining' do
126
+ subject.force_polling(true).should equal subject
127
+ end
128
+ end
129
+
130
+ describe '#relative_paths' do
131
+ it 'sets the relative paths option for paths in the callback' do
132
+ subject.relative_paths(true)
133
+ subject.instance_variable_get(:@use_relative_paths).should be_true
134
+ end
135
+
136
+ it 'returns the same listener to allow chaining' do
137
+ subject.relative_paths(true).should equal subject
138
+ end
139
+ end
140
+
141
+ describe '#polling_fallback_message' do
142
+ it 'sets custom polling fallback message to @adapter_options' do
143
+ subject.polling_fallback_message('custom message')
144
+ subject.instance_variable_get(:@adapter_options).should eq(:polling_fallback_message => 'custom message')
145
+ end
146
+
147
+ it 'sets polling fallback message to false in @adapter_options' do
148
+ subject.polling_fallback_message(false)
149
+ subject.instance_variable_get(:@adapter_options).should eq(:polling_fallback_message => false)
150
+ end
151
+
152
+ it 'returns the same listener to allow chaining' do
153
+ subject.polling_fallback_message('custom message').should equal subject
154
+ end
155
+ end
156
+ end
@@ -0,0 +1,15 @@
1
+ def mac?
2
+ RbConfig::CONFIG['target_os'] =~ /darwin/i
3
+ end
4
+
5
+ def linux?
6
+ RbConfig::CONFIG['target_os'] =~ /linux/i
7
+ end
8
+
9
+ def bsd?
10
+ RbConfig::CONFIG['target_os'] =~ /freebsd/i
11
+ end
12
+
13
+ def windows?
14
+ RbConfig::CONFIG['target_os'] =~ /mswin|mingw/i
15
+ end
metadata CHANGED
@@ -1,404 +1,422 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: sass
3
- version: !ruby/object:Gem::Version
4
- hash: 15424071
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.3.0.rc.2
5
5
  prerelease: 6
6
- segments:
7
- - 3
8
- - 3
9
- - 0
10
- - rc
11
- - 1
12
- version: 3.3.0.rc.1
13
6
  platform: ruby
14
- authors:
7
+ authors:
15
8
  - Nathan Weizenbaum
16
9
  - Chris Eppstein
17
10
  - Hampton Catlin
18
11
  autorequire:
19
12
  bindir: bin
20
13
  cert_chain: []
21
-
22
- date: 2013-10-12 00:00:00 -04:00
23
- default_executable:
24
- dependencies:
25
- - !ruby/object:Gem::Dependency
14
+ date: 2013-11-23 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
26
17
  name: listen
27
- prerelease: false
28
- requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirement: !ruby/object:Gem::Requirement
29
19
  none: false
30
- requirements:
20
+ requirements:
31
21
  - - ~>
32
- - !ruby/object:Gem::Version
33
- hash: 19
34
- segments:
35
- - 1
36
- - 1
37
- - 0
22
+ - !ruby/object:Gem::Version
38
23
  version: 1.1.0
39
24
  type: :runtime
40
- version_requirements: *id001
41
- - !ruby/object:Gem::Dependency
42
- name: yard
43
25
  prerelease: false
44
- requirement: &id002 !ruby/object:Gem::Requirement
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ~>
30
+ - !ruby/object:Gem::Version
31
+ version: 1.1.0
32
+ - !ruby/object:Gem::Dependency
33
+ name: yard
34
+ requirement: !ruby/object:Gem::Requirement
45
35
  none: false
46
- requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- hash: 13
50
- segments:
51
- - 0
52
- - 5
53
- - 3
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
54
39
  version: 0.5.3
55
40
  type: :development
56
- version_requirements: *id002
57
- - !ruby/object:Gem::Dependency
58
- name: maruku
59
41
  prerelease: false
60
- requirement: &id003 !ruby/object:Gem::Requirement
42
+ version_requirements: !ruby/object:Gem::Requirement
61
43
  none: false
62
- requirements:
63
- - - ">="
64
- - !ruby/object:Gem::Version
65
- hash: 25
66
- segments:
67
- - 0
68
- - 5
69
- - 9
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: 0.5.3
48
+ - !ruby/object:Gem::Dependency
49
+ name: maruku
50
+ requirement: !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
70
55
  version: 0.5.9
71
56
  type: :development
72
- version_requirements: *id003
73
- description: " Sass makes CSS fun again. Sass is an extension of CSS3, adding\n nested rules, variables, mixins, selector inheritance, and more.\n It's translated to well-formatted, standard CSS using the\n command line tool or a web-framework plugin.\n"
57
+ prerelease: false
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: 0.5.9
64
+ description: ! " Sass makes CSS fun again. Sass is an extension of CSS3, adding\n
65
+ \ nested rules, variables, mixins, selector inheritance, and more.\n It's
66
+ translated to well-formatted, standard CSS using the\n command line tool or
67
+ a web-framework plugin.\n"
74
68
  email: sass-lang@googlegroups.com
75
- executables:
69
+ executables:
76
70
  - sass
77
71
  - sass-convert
78
72
  - scss
79
73
  extensions: []
80
-
81
74
  extra_rdoc_files: []
82
-
83
- files:
75
+ files:
84
76
  - rails/init.rb
85
77
  - lib/sass.rb
86
78
  - lib/sass/cache_stores.rb
87
- - lib/sass/cache_stores/base.rb
79
+ - lib/sass/plugin/compiler.rb
80
+ - lib/sass/plugin/merb.rb
81
+ - lib/sass/plugin/staleness_checker.rb
82
+ - lib/sass/plugin/rack.rb
83
+ - lib/sass/plugin/rails.rb
84
+ - lib/sass/plugin/configuration.rb
85
+ - lib/sass/plugin/generic.rb
86
+ - lib/sass/version.rb
87
+ - lib/sass/supports.rb
88
+ - lib/sass/media.rb
89
+ - lib/sass/stack.rb
88
90
  - lib/sass/cache_stores/chain.rb
89
- - lib/sass/cache_stores/filesystem.rb
90
91
  - lib/sass/cache_stores/memory.rb
91
92
  - lib/sass/cache_stores/null.rb
92
- - lib/sass/callbacks.rb
93
- - lib/sass/css.rb
94
- - lib/sass/engine.rb
95
- - lib/sass/environment.rb
93
+ - lib/sass/cache_stores/filesystem.rb
94
+ - lib/sass/cache_stores/base.rb
95
+ - lib/sass/shared.rb
96
+ - lib/sass/repl.rb
96
97
  - lib/sass/error.rb
97
- - lib/sass/exec.rb
98
+ - lib/sass/tree/import_node.rb
99
+ - lib/sass/tree/trace_node.rb
100
+ - lib/sass/tree/return_node.rb
101
+ - lib/sass/tree/root_node.rb
102
+ - lib/sass/tree/if_node.rb
103
+ - lib/sass/tree/charset_node.rb
104
+ - lib/sass/tree/css_import_node.rb
105
+ - lib/sass/tree/function_node.rb
106
+ - lib/sass/tree/media_node.rb
107
+ - lib/sass/tree/while_node.rb
108
+ - lib/sass/tree/for_node.rb
109
+ - lib/sass/tree/directive_node.rb
110
+ - lib/sass/tree/rule_node.rb
111
+ - lib/sass/tree/each_node.rb
112
+ - lib/sass/tree/at_root_node.rb
113
+ - lib/sass/tree/node.rb
114
+ - lib/sass/tree/mixin_node.rb
115
+ - lib/sass/tree/extend_node.rb
116
+ - lib/sass/tree/mixin_def_node.rb
117
+ - lib/sass/tree/supports_node.rb
118
+ - lib/sass/tree/visitors/perform.rb
119
+ - lib/sass/tree/visitors/to_css.rb
120
+ - lib/sass/tree/visitors/check_nesting.rb
121
+ - lib/sass/tree/visitors/deep_copy.rb
122
+ - lib/sass/tree/visitors/extend.rb
123
+ - lib/sass/tree/visitors/set_options.rb
124
+ - lib/sass/tree/visitors/cssize.rb
125
+ - lib/sass/tree/visitors/convert.rb
126
+ - lib/sass/tree/visitors/base.rb
127
+ - lib/sass/tree/content_node.rb
128
+ - lib/sass/tree/comment_node.rb
129
+ - lib/sass/tree/warn_node.rb
130
+ - lib/sass/tree/debug_node.rb
131
+ - lib/sass/tree/prop_node.rb
132
+ - lib/sass/tree/variable_node.rb
133
+ - lib/sass/engine.rb
134
+ - lib/sass/plugin.rb
135
+ - lib/sass/root.rb
136
+ - lib/sass/features.rb
98
137
  - lib/sass/importers.rb
99
- - lib/sass/importers/base.rb
100
- - lib/sass/importers/filesystem.rb
101
- - lib/sass/importers/deprecated_path.rb
138
+ - lib/sass/source/map.rb
139
+ - lib/sass/source/range.rb
140
+ - lib/sass/source/position.rb
102
141
  - lib/sass/logger.rb
103
- - lib/sass/logger/base.rb
142
+ - lib/sass/util/normalized_map.rb
143
+ - lib/sass/util/test.rb
144
+ - lib/sass/util/ordered_hash.rb
145
+ - lib/sass/util/multibyte_string_scanner.rb
146
+ - lib/sass/util/subset_map.rb
147
+ - lib/sass/scss.rb
148
+ - lib/sass/scss/static_parser.rb
149
+ - lib/sass/scss/parser.rb
150
+ - lib/sass/scss/script_lexer.rb
151
+ - lib/sass/scss/rx.rb
152
+ - lib/sass/scss/script_parser.rb
153
+ - lib/sass/scss/css_parser.rb
104
154
  - lib/sass/logger/log_level.rb
105
- - lib/sass/media.rb
106
- - lib/sass/plugin.rb
107
- - lib/sass/plugin/compiler.rb
108
- - lib/sass/plugin/configuration.rb
109
- - lib/sass/plugin/generic.rb
110
- - lib/sass/plugin/merb.rb
111
- - lib/sass/plugin/rack.rb
112
- - lib/sass/plugin/rails.rb
113
- - lib/sass/plugin/staleness_checker.rb
114
- - lib/sass/railtie.rb
115
- - lib/sass/repl.rb
116
- - lib/sass/root.rb
155
+ - lib/sass/logger/base.rb
156
+ - lib/sass/css.rb
117
157
  - lib/sass/script.rb
118
- - lib/sass/script/css_lexer.rb
119
- - lib/sass/script/css_parser.rb
120
- - lib/sass/script/functions.rb
121
- - lib/sass/script/lexer.rb
158
+ - lib/sass/util.rb
159
+ - lib/sass/importers/filesystem.rb
160
+ - lib/sass/importers/deprecated_path.rb
161
+ - lib/sass/importers/base.rb
122
162
  - lib/sass/script/parser.rb
123
- - lib/sass/script/tree.rb
163
+ - lib/sass/script/functions.rb
164
+ - lib/sass/script/tree/variable.rb
165
+ - lib/sass/script/tree/operation.rb
124
166
  - lib/sass/script/tree/funcall.rb
167
+ - lib/sass/script/tree/literal.rb
168
+ - lib/sass/script/tree/string_interpolation.rb
125
169
  - lib/sass/script/tree/interpolation.rb
126
170
  - lib/sass/script/tree/list_literal.rb
127
- - lib/sass/script/tree/literal.rb
128
- - lib/sass/script/tree/map_literal.rb
129
171
  - lib/sass/script/tree/node.rb
130
- - lib/sass/script/tree/operation.rb
131
- - lib/sass/script/tree/selector.rb
132
- - lib/sass/script/tree/string_interpolation.rb
133
172
  - lib/sass/script/tree/unary_operation.rb
134
- - lib/sass/script/tree/variable.rb
173
+ - lib/sass/script/tree/selector.rb
174
+ - lib/sass/script/tree/map_literal.rb
175
+ - lib/sass/script/tree.rb
176
+ - lib/sass/script/lexer.rb
177
+ - lib/sass/script/css_lexer.rb
135
178
  - lib/sass/script/value.rb
179
+ - lib/sass/script/value/color.rb
180
+ - lib/sass/script/value/number.rb
181
+ - lib/sass/script/value/map.rb
136
182
  - lib/sass/script/value/arg_list.rb
137
- - lib/sass/script/value/base.rb
138
183
  - lib/sass/script/value/bool.rb
139
- - lib/sass/script/value/color.rb
140
- - lib/sass/script/value/helpers.rb
141
184
  - lib/sass/script/value/list.rb
142
- - lib/sass/script/value/map.rb
185
+ - lib/sass/script/value/helpers.rb
143
186
  - lib/sass/script/value/null.rb
144
- - lib/sass/script/value/number.rb
145
187
  - lib/sass/script/value/string.rb
146
- - lib/sass/scss.rb
147
- - lib/sass/scss/css_parser.rb
148
- - lib/sass/scss/parser.rb
149
- - lib/sass/scss/rx.rb
150
- - lib/sass/scss/script_lexer.rb
151
- - lib/sass/scss/script_parser.rb
152
- - lib/sass/scss/static_parser.rb
188
+ - lib/sass/script/value/base.rb
189
+ - lib/sass/script/css_parser.rb
153
190
  - lib/sass/selector.rb
191
+ - lib/sass/callbacks.rb
192
+ - lib/sass/selector/simple.rb
193
+ - lib/sass/selector/sequence.rb
154
194
  - lib/sass/selector/abstract_sequence.rb
155
195
  - lib/sass/selector/comma_sequence.rb
156
- - lib/sass/selector/sequence.rb
157
- - lib/sass/selector/simple.rb
158
196
  - lib/sass/selector/simple_sequence.rb
159
- - lib/sass/shared.rb
160
- - lib/sass/supports.rb
161
- - lib/sass/tree/charset_node.rb
162
- - lib/sass/tree/comment_node.rb
163
- - lib/sass/tree/content_node.rb
164
- - lib/sass/tree/css_import_node.rb
165
- - lib/sass/tree/debug_node.rb
166
- - lib/sass/tree/directive_node.rb
167
- - lib/sass/tree/each_node.rb
168
- - lib/sass/tree/extend_node.rb
169
- - lib/sass/tree/for_node.rb
170
- - lib/sass/tree/function_node.rb
171
- - lib/sass/tree/if_node.rb
172
- - lib/sass/tree/import_node.rb
173
- - lib/sass/tree/media_node.rb
174
- - lib/sass/tree/mixin_def_node.rb
175
- - lib/sass/tree/mixin_node.rb
176
- - lib/sass/tree/node.rb
177
- - lib/sass/tree/prop_node.rb
178
- - lib/sass/tree/return_node.rb
179
- - lib/sass/tree/root_node.rb
180
- - lib/sass/tree/rule_node.rb
181
- - lib/sass/tree/supports_node.rb
182
- - lib/sass/tree/trace_node.rb
183
- - lib/sass/tree/variable_node.rb
184
- - lib/sass/tree/visitors/base.rb
185
- - lib/sass/tree/visitors/check_nesting.rb
186
- - lib/sass/tree/visitors/convert.rb
187
- - lib/sass/tree/visitors/cssize.rb
188
- - lib/sass/tree/visitors/deep_copy.rb
189
- - lib/sass/tree/visitors/extend.rb
190
- - lib/sass/tree/visitors/perform.rb
191
- - lib/sass/tree/visitors/set_options.rb
192
- - lib/sass/tree/visitors/to_css.rb
193
- - lib/sass/tree/warn_node.rb
194
- - lib/sass/tree/while_node.rb
195
- - lib/sass/tree/at_root_node.rb
196
- - lib/sass/util.rb
197
- - lib/sass/util/multibyte_string_scanner.rb
198
- - lib/sass/util/subset_map.rb
199
- - lib/sass/util/test.rb
200
- - lib/sass/util/normalized_map.rb
201
- - lib/sass/util/ordered_hash.rb
202
- - lib/sass/version.rb
203
- - lib/sass/features.rb
204
- - lib/sass/source/map.rb
205
- - lib/sass/source/position.rb
206
- - lib/sass/source/range.rb
207
- - lib/sass/stack.rb
208
- - bin/sass
197
+ - lib/sass/railtie.rb
198
+ - lib/sass/environment.rb
199
+ - lib/sass/exec.rb
200
+ - vendor/listen/README.md
201
+ - vendor/listen/CONTRIBUTING.md
202
+ - vendor/listen/Guardfile
203
+ - vendor/listen/Gemfile
204
+ - vendor/listen/lib/listen/turnstile.rb
205
+ - vendor/listen/lib/listen/directory_record.rb
206
+ - vendor/listen/lib/listen/version.rb
207
+ - vendor/listen/lib/listen/dependency_manager.rb
208
+ - vendor/listen/lib/listen/multi_listener.rb
209
+ - vendor/listen/lib/listen/listener.rb
210
+ - vendor/listen/lib/listen/adapters/polling.rb
211
+ - vendor/listen/lib/listen/adapters/darwin.rb
212
+ - vendor/listen/lib/listen/adapters/linux.rb
213
+ - vendor/listen/lib/listen/adapters/bsd.rb
214
+ - vendor/listen/lib/listen/adapters/windows.rb
215
+ - vendor/listen/lib/listen/adapter.rb
216
+ - vendor/listen/lib/listen.rb
217
+ - vendor/listen/CHANGELOG.md
218
+ - vendor/listen/Rakefile
219
+ - vendor/listen/LICENSE
220
+ - vendor/listen/listen.gemspec
221
+ - vendor/listen/Vagrantfile
222
+ - vendor/listen/spec/listen/dependency_manager_spec.rb
223
+ - vendor/listen/spec/listen/directory_record_spec.rb
224
+ - vendor/listen/spec/listen/adapters/linux_spec.rb
225
+ - vendor/listen/spec/listen/adapters/darwin_spec.rb
226
+ - vendor/listen/spec/listen/adapters/bsd_spec.rb
227
+ - vendor/listen/spec/listen/adapters/polling_spec.rb
228
+ - vendor/listen/spec/listen/adapters/windows_spec.rb
229
+ - vendor/listen/spec/listen/turnstile_spec.rb
230
+ - vendor/listen/spec/listen/adapter_spec.rb
231
+ - vendor/listen/spec/listen/listener_spec.rb
232
+ - vendor/listen/spec/listen/multi_listener_spec.rb
233
+ - vendor/listen/spec/listen_spec.rb
234
+ - vendor/listen/spec/spec_helper.rb
235
+ - vendor/listen/spec/support/directory_record_helper.rb
236
+ - vendor/listen/spec/support/listeners_helper.rb
237
+ - vendor/listen/spec/support/adapter_helper.rb
238
+ - vendor/listen/spec/support/platform_helper.rb
239
+ - vendor/listen/spec/support/fixtures_helper.rb
209
240
  - bin/sass-convert
210
241
  - bin/scss
211
- - test/Gemfile.lock
212
- - test/sass/cache_test.rb
213
- - test/sass/callbacks_test.rb
214
- - test/sass/conversion_test.rb
215
- - test/sass/css2sass_test.rb
216
- - test/sass/data/hsl-rgb.txt
242
+ - bin/sass
243
+ - test/test_helper.rb
217
244
  - test/sass/engine_test.rb
218
- - test/sass/exec_test.rb
219
- - test/sass/extend_test.rb
220
- - test/sass/fixtures/test_staleness_check_across_importers.css
221
- - test/sass/fixtures/test_staleness_check_across_importers.scss
222
245
  - test/sass/functions_test.rb
223
- - test/sass/importer_test.rb
246
+ - test/sass/value_helpers_test.rb
247
+ - test/sass/fixtures/test_staleness_check_across_importers.scss
248
+ - test/sass/fixtures/test_staleness_check_across_importers.css
249
+ - test/sass/data/hsl-rgb.txt
250
+ - test/sass/extend_test.rb
224
251
  - test/sass/logger_test.rb
225
- - test/sass/mock_importer.rb
226
- - test/sass/more_results/more1.css
227
- - test/sass/more_results/more1_with_line_comments.css
228
- - test/sass/more_results/more_import.css
229
- - test/sass/more_templates/_more_partial.sass
230
- - test/sass/more_templates/more1.sass
231
- - test/sass/more_templates/more_import.sass
232
- - test/sass/plugin_test.rb
233
- - test/sass/results/alt.css
234
- - test/sass/results/basic.css
235
- - test/sass/results/cached_import_option.css
236
- - test/sass/results/compact.css
237
- - test/sass/results/complex.css
238
- - test/sass/results/compressed.css
239
- - test/sass/results/expanded.css
240
- - test/sass/results/filename_fn.css
241
- - test/sass/results/if.css
242
- - test/sass/results/import.css
243
- - test/sass/results/import_charset.css
244
- - test/sass/results/import_charset_1_8.css
245
- - test/sass/results/import_charset_ibm866.css
246
- - test/sass/results/import_content.css
247
- - test/sass/results/line_numbers.css
248
- - test/sass/results/mixins.css
249
- - test/sass/results/multiline.css
250
- - test/sass/results/nested.css
251
- - test/sass/results/options.css
252
- - test/sass/results/parent_ref.css
253
- - test/sass/results/script.css
254
- - test/sass/results/scss_import.css
255
- - test/sass/results/scss_importee.css
256
- - test/sass/results/subdir/nested_subdir/nested_subdir.css
257
- - test/sass/results/subdir/subdir.css
258
- - test/sass/results/units.css
259
- - test/sass/results/warn.css
260
- - test/sass/results/warn_imported.css
261
- - test/sass/script_conversion_test.rb
262
- - test/sass/script_test.rb
263
- - test/sass/scss/css_test.rb
264
- - test/sass/scss/rx_test.rb
265
- - test/sass/scss/scss_test.rb
266
- - test/sass/scss/test_helper.rb
267
- - test/sass/templates/_cached_import_option_partial.scss
268
- - test/sass/templates/_double_import_loop2.sass
252
+ - test/sass/compiler_test.rb
253
+ - test/sass/css2sass_test.rb
269
254
  - test/sass/templates/_filename_fn_import.scss
270
- - test/sass/templates/_imported_charset_ibm866.sass
271
- - test/sass/templates/_imported_charset_utf8.sass
255
+ - test/sass/templates/basic.sass
256
+ - test/sass/templates/mixins.sass
257
+ - test/sass/templates/options.sass
258
+ - test/sass/templates/scss_import.scss
259
+ - test/sass/templates/subdir/subdir.sass
260
+ - test/sass/templates/subdir/nested_subdir/_nested_partial.sass
261
+ - test/sass/templates/subdir/nested_subdir/nested_subdir.sass
272
262
  - test/sass/templates/_imported_content.sass
273
- - test/sass/templates/_partial.sass
274
- - test/sass/templates/_same_name_different_partiality.scss
263
+ - test/sass/templates/filename_fn.scss
275
264
  - test/sass/templates/alt.sass
276
- - test/sass/templates/basic.sass
277
- - test/sass/templates/bork1.sass
278
- - test/sass/templates/bork2.sass
265
+ - test/sass/templates/nested_bork1.sass
266
+ - test/sass/templates/same_name_different_partiality.scss
267
+ - test/sass/templates/complex.sass
268
+ - test/sass/templates/units.sass
269
+ - test/sass/templates/nested_import.sass
270
+ - test/sass/templates/importee.sass
271
+ - test/sass/templates/importee.less
272
+ - test/sass/templates/_cached_import_option_partial.scss
273
+ - test/sass/templates/scss_importee.scss
274
+ - test/sass/templates/line_numbers.sass
275
+ - test/sass/templates/expanded.sass
279
276
  - test/sass/templates/bork3.sass
280
- - test/sass/templates/bork4.sass
281
277
  - test/sass/templates/bork5.sass
282
- - test/sass/templates/cached_import_option.scss
278
+ - test/sass/templates/import_content.sass
279
+ - test/sass/templates/warn_imported.sass
280
+ - test/sass/templates/import_charset_ibm866.sass
281
+ - test/sass/templates/bork1.sass
282
+ - test/sass/templates/warn.sass
283
+ - test/sass/templates/bork2.sass
284
+ - test/sass/templates/nested.sass
283
285
  - test/sass/templates/compact.sass
284
- - test/sass/templates/complex.sass
285
- - test/sass/templates/compressed.sass
286
+ - test/sass/templates/single_import_loop.sass
287
+ - test/sass/templates/_same_name_different_partiality.scss
288
+ - test/sass/templates/multiline.sass
289
+ - test/sass/templates/_imported_charset_ibm866.sass
286
290
  - test/sass/templates/double_import_loop1.sass
287
- - test/sass/templates/expanded.sass
288
- - test/sass/templates/filename_fn.scss
289
- - test/sass/templates/if.sass
290
- - test/sass/templates/import.sass
291
+ - test/sass/templates/_double_import_loop2.sass
291
292
  - test/sass/templates/import_charset.sass
292
- - test/sass/templates/import_charset_1_8.sass
293
- - test/sass/templates/import_charset_ibm866.sass
294
- - test/sass/templates/import_content.sass
295
- - test/sass/templates/importee.less
296
- - test/sass/templates/importee.sass
297
- - test/sass/templates/line_numbers.sass
298
- - test/sass/templates/mixin_bork.sass
299
- - test/sass/templates/mixins.sass
300
- - test/sass/templates/multiline.sass
301
- - test/sass/templates/nested.sass
302
- - test/sass/templates/nested_bork1.sass
303
- - test/sass/templates/nested_bork2.sass
293
+ - test/sass/templates/parent_ref.sass
294
+ - test/sass/templates/import.sass
304
295
  - test/sass/templates/nested_bork3.sass
305
- - test/sass/templates/nested_bork4.sass
306
- - test/sass/templates/nested_import.sass
296
+ - test/sass/templates/script.sass
297
+ - test/sass/templates/same_name_different_ext.scss
298
+ - test/sass/templates/bork4.sass
299
+ - test/sass/templates/if.sass
300
+ - test/sass/templates/_partial.sass
307
301
  - test/sass/templates/nested_mixin_bork.sass
308
- - test/sass/templates/options.sass
309
- - test/sass/templates/parent_ref.sass
302
+ - test/sass/templates/import_charset_1_8.sass
310
303
  - test/sass/templates/same_name_different_ext.sass
311
- - test/sass/templates/same_name_different_ext.scss
312
- - test/sass/templates/same_name_different_partiality.scss
313
- - test/sass/templates/script.sass
314
- - test/sass/templates/scss_import.scss
315
- - test/sass/templates/scss_importee.scss
316
- - test/sass/templates/single_import_loop.sass
317
- - test/sass/templates/subdir/nested_subdir/_nested_partial.sass
318
- - test/sass/templates/subdir/nested_subdir/nested_subdir.sass
319
- - test/sass/templates/subdir/subdir.sass
320
- - test/sass/templates/units.sass
321
- - test/sass/templates/warn.sass
322
- - test/sass/templates/warn_imported.sass
323
- - test/sass/test_helper.rb
324
- - test/sass/util/multibyte_string_scanner_test.rb
304
+ - test/sass/templates/nested_bork2.sass
305
+ - test/sass/templates/mixin_bork.sass
306
+ - test/sass/templates/compressed.sass
307
+ - test/sass/templates/nested_bork4.sass
308
+ - test/sass/templates/cached_import_option.scss
309
+ - test/sass/templates/_imported_charset_utf8.sass
310
+ - test/sass/conversion_test.rb
311
+ - test/sass/script_test.rb
312
+ - test/sass/exec_test.rb
325
313
  - test/sass/util/subset_map_test.rb
314
+ - test/sass/util/multibyte_string_scanner_test.rb
326
315
  - test/sass/util/normalized_map_test.rb
316
+ - test/sass/callbacks_test.rb
317
+ - test/sass/importer_test.rb
318
+ - test/sass/scss/css_test.rb
319
+ - test/sass/scss/scss_test.rb
320
+ - test/sass/scss/rx_test.rb
321
+ - test/sass/scss/test_helper.rb
327
322
  - test/sass/util_test.rb
328
- - test/sass/compiler_test.rb
323
+ - test/sass/results/mixins.css
324
+ - test/sass/results/warn_imported.css
325
+ - test/sass/results/expanded.css
326
+ - test/sass/results/compact.css
327
+ - test/sass/results/import_content.css
328
+ - test/sass/results/compressed.css
329
+ - test/sass/results/scss_importee.css
330
+ - test/sass/results/basic.css
331
+ - test/sass/results/subdir/nested_subdir/nested_subdir.css
332
+ - test/sass/results/subdir/subdir.css
333
+ - test/sass/results/options.css
334
+ - test/sass/results/scss_import.css
335
+ - test/sass/results/units.css
336
+ - test/sass/results/parent_ref.css
337
+ - test/sass/results/script.css
338
+ - test/sass/results/complex.css
339
+ - test/sass/results/cached_import_option.css
340
+ - test/sass/results/import_charset.css
341
+ - test/sass/results/alt.css
342
+ - test/sass/results/if.css
343
+ - test/sass/results/multiline.css
344
+ - test/sass/results/import_charset_1_8.css
345
+ - test/sass/results/warn.css
346
+ - test/sass/results/import_charset_ibm866.css
347
+ - test/sass/results/filename_fn.css
348
+ - test/sass/results/import.css
349
+ - test/sass/results/nested.css
350
+ - test/sass/results/line_numbers.css
351
+ - test/sass/test_helper.rb
352
+ - test/sass/more_templates/_more_partial.sass
353
+ - test/sass/more_templates/more_import.sass
354
+ - test/sass/more_templates/more1.sass
355
+ - test/sass/script_conversion_test.rb
356
+ - test/sass/more_results/more1.css
357
+ - test/sass/more_results/more1_with_line_comments.css
358
+ - test/sass/more_results/more_import.css
359
+ - test/sass/mock_importer.rb
360
+ - test/sass/cache_test.rb
329
361
  - test/sass/source_map_test.rb
330
- - test/sass/value_helpers_test.rb
331
- - test/test_helper.rb
362
+ - test/sass/plugin_test.rb
332
363
  - extra/update_watch.rb
333
364
  - Rakefile
334
365
  - init.rb
335
366
  - .yardopts
336
- - CONTRIBUTING
337
- - MIT-LICENSE
338
367
  - README.md
339
- - VERSION
340
368
  - VERSION_NAME
341
- - REVISION
342
369
  - VERSION_DATE
343
- has_rdoc: true
370
+ - REVISION
371
+ - MIT-LICENSE
372
+ - VERSION
373
+ - CONTRIBUTING
344
374
  homepage: http://sass-lang.com/
345
- licenses:
375
+ licenses:
346
376
  - MIT
347
377
  post_install_message:
348
378
  rdoc_options: []
349
-
350
- require_paths:
379
+ require_paths:
351
380
  - lib
352
- required_ruby_version: !ruby/object:Gem::Requirement
381
+ required_ruby_version: !ruby/object:Gem::Requirement
353
382
  none: false
354
- requirements:
355
- - - ">="
356
- - !ruby/object:Gem::Version
357
- hash: 57
358
- segments:
359
- - 1
360
- - 8
361
- - 7
383
+ requirements:
384
+ - - ! '>='
385
+ - !ruby/object:Gem::Version
362
386
  version: 1.8.7
363
- required_rubygems_version: !ruby/object:Gem::Requirement
387
+ required_rubygems_version: !ruby/object:Gem::Requirement
364
388
  none: false
365
- requirements:
366
- - - ">"
367
- - !ruby/object:Gem::Version
368
- hash: 25
369
- segments:
370
- - 1
371
- - 3
372
- - 1
389
+ requirements:
390
+ - - ! '>'
391
+ - !ruby/object:Gem::Version
373
392
  version: 1.3.1
374
393
  requirements: []
375
-
376
394
  rubyforge_project: sass
377
- rubygems_version: 1.5.0
395
+ rubygems_version: 1.8.24
378
396
  signing_key:
379
397
  specification_version: 3
380
398
  summary: A powerful but elegant CSS compiler that makes CSS fun again.
381
- test_files:
382
- - test/sass/cache_test.rb
383
- - test/sass/callbacks_test.rb
384
- - test/sass/conversion_test.rb
385
- - test/sass/css2sass_test.rb
399
+ test_files:
386
400
  - test/sass/engine_test.rb
387
- - test/sass/exec_test.rb
388
- - test/sass/extend_test.rb
389
401
  - test/sass/functions_test.rb
390
- - test/sass/importer_test.rb
402
+ - test/sass/value_helpers_test.rb
403
+ - test/sass/extend_test.rb
391
404
  - test/sass/logger_test.rb
392
- - test/sass/plugin_test.rb
393
- - test/sass/script_conversion_test.rb
405
+ - test/sass/compiler_test.rb
406
+ - test/sass/css2sass_test.rb
407
+ - test/sass/conversion_test.rb
394
408
  - test/sass/script_test.rb
395
- - test/sass/scss/css_test.rb
396
- - test/sass/scss/rx_test.rb
397
- - test/sass/scss/scss_test.rb
398
- - test/sass/util/multibyte_string_scanner_test.rb
409
+ - test/sass/exec_test.rb
399
410
  - test/sass/util/subset_map_test.rb
411
+ - test/sass/util/multibyte_string_scanner_test.rb
400
412
  - test/sass/util/normalized_map_test.rb
413
+ - test/sass/callbacks_test.rb
414
+ - test/sass/importer_test.rb
415
+ - test/sass/scss/css_test.rb
416
+ - test/sass/scss/scss_test.rb
417
+ - test/sass/scss/rx_test.rb
401
418
  - test/sass/util_test.rb
402
- - test/sass/compiler_test.rb
419
+ - test/sass/script_conversion_test.rb
420
+ - test/sass/cache_test.rb
403
421
  - test/sass/source_map_test.rb
404
- - test/sass/value_helpers_test.rb
422
+ - test/sass/plugin_test.rb