sass 3.2.5 → 3.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/VERSION +1 -1
  2. data/VERSION_DATE +1 -1
  3. data/bin/sass +2 -1
  4. data/bin/sass-convert +2 -1
  5. data/bin/scss +2 -1
  6. data/lib/sass/cache_stores/chain.rb +1 -1
  7. data/lib/sass/cache_stores/filesystem.rb +0 -1
  8. data/lib/sass/engine.rb +7 -1
  9. data/lib/sass/importers/filesystem.rb +1 -1
  10. data/lib/sass/media.rb +1 -4
  11. data/lib/sass/script/funcall.rb +43 -8
  12. data/lib/sass/script/lexer.rb +0 -2
  13. data/lib/sass/script/parser.rb +0 -2
  14. data/lib/sass/scss/parser.rb +13 -1
  15. data/lib/sass/selector/simple_sequence.rb +1 -1
  16. data/lib/sass/tree/comment_node.rb +2 -2
  17. data/lib/sass/tree/visitors/cssize.rb +10 -1
  18. data/lib/sass/tree/visitors/perform.rb +4 -2
  19. data/lib/sass/util.rb +54 -1
  20. data/lib/sass/util/multibyte_string_scanner.rb +29 -8
  21. data/test/sass/engine_test.rb +16 -0
  22. data/test/sass/extend_test.rb +15 -0
  23. data/test/sass/script_test.rb +3 -1
  24. data/vendor/listen/CHANGELOG.md +76 -2
  25. data/vendor/listen/CONTRIBUTING.md +38 -0
  26. data/vendor/listen/Gemfile +8 -1
  27. data/vendor/listen/Guardfile +1 -1
  28. data/vendor/listen/LICENSE +1 -1
  29. data/vendor/listen/README.md +8 -5
  30. data/vendor/listen/lib/listen.rb +7 -5
  31. data/vendor/listen/lib/listen/adapter.rb +76 -29
  32. data/vendor/listen/lib/listen/adapters/bsd.rb +112 -0
  33. data/vendor/listen/lib/listen/adapters/darwin.rb +11 -10
  34. data/vendor/listen/lib/listen/adapters/linux.rb +33 -30
  35. data/vendor/listen/lib/listen/adapters/polling.rb +2 -1
  36. data/vendor/listen/lib/listen/adapters/windows.rb +27 -21
  37. data/vendor/listen/lib/listen/dependency_manager.rb +126 -0
  38. data/vendor/listen/lib/listen/directory_record.rb +63 -10
  39. data/vendor/listen/lib/listen/listener.rb +22 -0
  40. data/vendor/listen/lib/listen/multi_listener.rb +22 -0
  41. data/vendor/listen/lib/listen/version.rb +1 -1
  42. data/vendor/listen/listen.gemspec +0 -4
  43. data/vendor/listen/spec/listen/adapter_spec.rb +45 -4
  44. data/vendor/listen/spec/listen/adapters/bsd_spec.rb +36 -0
  45. data/vendor/listen/spec/listen/adapters/darwin_spec.rb +6 -0
  46. data/vendor/listen/spec/listen/adapters/linux_spec.rb +6 -0
  47. data/vendor/listen/spec/listen/adapters/windows_spec.rb +7 -1
  48. data/vendor/listen/spec/listen/dependency_manager_spec.rb +107 -0
  49. data/vendor/listen/spec/listen/directory_record_spec.rb +91 -4
  50. data/vendor/listen/spec/listen/listener_spec.rb +14 -0
  51. data/vendor/listen/spec/listen/multi_listener_spec.rb +19 -1
  52. data/vendor/listen/spec/spec_helper.rb +6 -3
  53. data/vendor/listen/spec/support/adapter_helper.rb +125 -212
  54. data/vendor/listen/spec/support/listeners_helper.rb +13 -1
  55. data/vendor/listen/spec/support/platform_helper.rb +4 -0
  56. metadata +9 -3
@@ -81,18 +81,30 @@ shared_examples_for 'a listener to changes on a file-system' do
81
81
  end
82
82
  end
83
83
 
84
- describe '#ignore'do
84
+ describe '#ignore' do
85
85
  it 'returns the same listener to allow chaining' do
86
86
  subject.ignore('some_directory').should equal subject
87
87
  end
88
88
  end
89
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
+
90
96
  describe '#filter' do
91
97
  it 'returns the same listener to allow chaining' do
92
98
  subject.filter(/\.txt$/).should equal subject
93
99
  end
94
100
  end
95
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
+
96
108
  describe '#latency' do
97
109
  it 'sets the latency to @adapter_options' do
98
110
  subject.latency(0.7)
@@ -6,6 +6,10 @@ def linux?
6
6
  RbConfig::CONFIG['target_os'] =~ /linux/i
7
7
  end
8
8
 
9
+ def bsd?
10
+ RbConfig::CONFIG['target_os'] =~ /freebsd/i
11
+ end
12
+
9
13
  def windows?
10
14
  RbConfig::CONFIG['target_os'] =~ /mswin|mingw/i
11
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.5
4
+ version: 3.2.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-01-05 00:00:00.000000000 Z
14
+ date: 2013-02-23 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: yard
@@ -164,16 +164,19 @@ files:
164
164
  - lib/sass/environment.rb
165
165
  - lib/sass/exec.rb
166
166
  - vendor/listen/README.md
167
+ - vendor/listen/CONTRIBUTING.md
167
168
  - vendor/listen/Guardfile
168
169
  - vendor/listen/Gemfile
169
170
  - vendor/listen/lib/listen/turnstile.rb
170
171
  - vendor/listen/lib/listen/directory_record.rb
171
172
  - vendor/listen/lib/listen/version.rb
173
+ - vendor/listen/lib/listen/dependency_manager.rb
172
174
  - vendor/listen/lib/listen/multi_listener.rb
173
175
  - vendor/listen/lib/listen/listener.rb
174
176
  - vendor/listen/lib/listen/adapters/polling.rb
175
177
  - vendor/listen/lib/listen/adapters/darwin.rb
176
178
  - vendor/listen/lib/listen/adapters/linux.rb
179
+ - vendor/listen/lib/listen/adapters/bsd.rb
177
180
  - vendor/listen/lib/listen/adapters/windows.rb
178
181
  - vendor/listen/lib/listen/adapter.rb
179
182
  - vendor/listen/lib/listen.rb
@@ -182,9 +185,11 @@ files:
182
185
  - vendor/listen/LICENSE
183
186
  - vendor/listen/listen.gemspec
184
187
  - vendor/listen/Vagrantfile
188
+ - vendor/listen/spec/listen/dependency_manager_spec.rb
185
189
  - vendor/listen/spec/listen/directory_record_spec.rb
186
190
  - vendor/listen/spec/listen/adapters/linux_spec.rb
187
191
  - vendor/listen/spec/listen/adapters/darwin_spec.rb
192
+ - vendor/listen/spec/listen/adapters/bsd_spec.rb
188
193
  - vendor/listen/spec/listen/adapters/polling_spec.rb
189
194
  - vendor/listen/spec/listen/adapters/windows_spec.rb
190
195
  - vendor/listen/spec/listen/turnstile_spec.rb
@@ -329,7 +334,8 @@ files:
329
334
  - VERSION
330
335
  - CONTRIBUTING
331
336
  homepage: http://sass-lang.com/
332
- licenses: []
337
+ licenses:
338
+ - MIT
333
339
  post_install_message:
334
340
  rdoc_options: []
335
341
  require_paths: