sass 3.3.0.alpha.93 → 3.3.0.alpha.101

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. data/REVISION +1 -1
  2. data/VERSION +1 -1
  3. data/VERSION_DATE +1 -1
  4. data/bin/sass +2 -1
  5. data/bin/sass-convert +2 -1
  6. data/bin/scss +2 -1
  7. data/lib/sass/cache_stores/chain.rb +1 -1
  8. data/lib/sass/cache_stores/filesystem.rb +0 -1
  9. data/lib/sass/engine.rb +7 -1
  10. data/lib/sass/exec.rb +1 -0
  11. data/lib/sass/importers/filesystem.rb +1 -1
  12. data/lib/sass/media.rb +1 -4
  13. data/lib/sass/plugin/compiler.rb +1 -1
  14. data/lib/sass/script/funcall.rb +43 -8
  15. data/lib/sass/script/functions.rb +8 -16
  16. data/lib/sass/script/lexer.rb +0 -2
  17. data/lib/sass/script/parser.rb +26 -25
  18. data/lib/sass/scss/parser.rb +13 -1
  19. data/lib/sass/selector/simple_sequence.rb +1 -1
  20. data/lib/sass/tree/comment_node.rb +2 -2
  21. data/lib/sass/tree/visitors/cssize.rb +10 -1
  22. data/lib/sass/tree/visitors/perform.rb +4 -2
  23. data/lib/sass/util.rb +54 -1
  24. data/lib/sass/util/multibyte_string_scanner.rb +29 -8
  25. data/test/sass/engine_test.rb +20 -4
  26. data/test/sass/extend_test.rb +15 -0
  27. data/test/sass/functions_test.rb +20 -1
  28. data/test/sass/script_test.rb +5 -1
  29. data/vendor/listen/CHANGELOG.md +76 -2
  30. data/vendor/listen/CONTRIBUTING.md +38 -0
  31. data/vendor/listen/Gemfile +8 -1
  32. data/vendor/listen/Guardfile +1 -1
  33. data/vendor/listen/LICENSE +1 -1
  34. data/vendor/listen/README.md +8 -5
  35. data/vendor/listen/lib/listen.rb +7 -5
  36. data/vendor/listen/lib/listen/adapter.rb +76 -29
  37. data/vendor/listen/lib/listen/adapters/bsd.rb +112 -0
  38. data/vendor/listen/lib/listen/adapters/darwin.rb +11 -10
  39. data/vendor/listen/lib/listen/adapters/linux.rb +33 -30
  40. data/vendor/listen/lib/listen/adapters/polling.rb +2 -1
  41. data/vendor/listen/lib/listen/adapters/windows.rb +27 -21
  42. data/vendor/listen/lib/listen/dependency_manager.rb +126 -0
  43. data/vendor/listen/lib/listen/directory_record.rb +63 -10
  44. data/vendor/listen/lib/listen/listener.rb +22 -0
  45. data/vendor/listen/lib/listen/multi_listener.rb +22 -0
  46. data/vendor/listen/lib/listen/version.rb +1 -1
  47. data/vendor/listen/listen.gemspec +0 -4
  48. data/vendor/listen/spec/listen/adapter_spec.rb +45 -4
  49. data/vendor/listen/spec/listen/adapters/bsd_spec.rb +36 -0
  50. data/vendor/listen/spec/listen/adapters/darwin_spec.rb +6 -0
  51. data/vendor/listen/spec/listen/adapters/linux_spec.rb +6 -0
  52. data/vendor/listen/spec/listen/adapters/windows_spec.rb +7 -1
  53. data/vendor/listen/spec/listen/dependency_manager_spec.rb +107 -0
  54. data/vendor/listen/spec/listen/directory_record_spec.rb +91 -4
  55. data/vendor/listen/spec/listen/listener_spec.rb +14 -0
  56. data/vendor/listen/spec/listen/multi_listener_spec.rb +19 -1
  57. data/vendor/listen/spec/spec_helper.rb +6 -3
  58. data/vendor/listen/spec/support/adapter_helper.rb +125 -212
  59. data/vendor/listen/spec/support/listeners_helper.rb +13 -1
  60. data/vendor/listen/spec/support/platform_helper.rb +4 -0
  61. metadata +11 -6
@@ -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,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass
3
3
  version: !ruby/object:Gem::Version
4
- hash: 592303031
4
+ hash: 592303047
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 3
8
8
  - 3
9
9
  - 0
10
10
  - alpha
11
- - 93
12
- version: 3.3.0.alpha.93
11
+ - 101
12
+ version: 3.3.0.alpha.101
13
13
  platform: ruby
14
14
  authors:
15
15
  - Nathan Weizenbaum
@@ -19,7 +19,7 @@ autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2013-02-22 00:00:00 -05:00
22
+ date: 2013-02-27 00:00:00 -05:00
23
23
  default_executable:
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
@@ -175,6 +175,7 @@ files:
175
175
  - lib/sass/util/subset_map.rb
176
176
  - lib/sass/version.rb
177
177
  - vendor/listen/CHANGELOG.md
178
+ - vendor/listen/CONTRIBUTING.md
178
179
  - vendor/listen/Gemfile
179
180
  - vendor/listen/Guardfile
180
181
  - vendor/listen/LICENSE
@@ -183,10 +184,12 @@ files:
183
184
  - vendor/listen/Vagrantfile
184
185
  - vendor/listen/lib/listen.rb
185
186
  - vendor/listen/lib/listen/adapter.rb
187
+ - vendor/listen/lib/listen/adapters/bsd.rb
186
188
  - vendor/listen/lib/listen/adapters/darwin.rb
187
189
  - vendor/listen/lib/listen/adapters/linux.rb
188
190
  - vendor/listen/lib/listen/adapters/polling.rb
189
191
  - vendor/listen/lib/listen/adapters/windows.rb
192
+ - vendor/listen/lib/listen/dependency_manager.rb
190
193
  - vendor/listen/lib/listen/directory_record.rb
191
194
  - vendor/listen/lib/listen/listener.rb
192
195
  - vendor/listen/lib/listen/multi_listener.rb
@@ -194,10 +197,12 @@ files:
194
197
  - vendor/listen/lib/listen/version.rb
195
198
  - vendor/listen/listen.gemspec
196
199
  - vendor/listen/spec/listen/adapter_spec.rb
200
+ - vendor/listen/spec/listen/adapters/bsd_spec.rb
197
201
  - vendor/listen/spec/listen/adapters/darwin_spec.rb
198
202
  - vendor/listen/spec/listen/adapters/linux_spec.rb
199
203
  - vendor/listen/spec/listen/adapters/polling_spec.rb
200
204
  - vendor/listen/spec/listen/adapters/windows_spec.rb
205
+ - vendor/listen/spec/listen/dependency_manager_spec.rb
201
206
  - vendor/listen/spec/listen/directory_record_spec.rb
202
207
  - vendor/listen/spec/listen/listener_spec.rb
203
208
  - vendor/listen/spec/listen/multi_listener_spec.rb
@@ -342,8 +347,8 @@ files:
342
347
  - VERSION_DATE
343
348
  has_rdoc: true
344
349
  homepage: http://sass-lang.com/
345
- licenses: []
346
-
350
+ licenses:
351
+ - MIT
347
352
  post_install_message:
348
353
  rdoc_options: []
349
354