sass 3.3.0.alpha.129 → 3.3.0.alpha.132

Sign up to get free protection for your applications and to get access to all the features.
data/REVISION CHANGED
@@ -1 +1 @@
1
- 99f38d70e593c912cd570448280624a7feb6b7ab
1
+ f9bcfe554e74c03d2f0846f8cdfb9b3ec8cebbb7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.3.0.alpha.129
1
+ 3.3.0.alpha.132
@@ -1 +1 @@
1
- 20 April 2013 02:32:41 GMT
1
+ 18 April 2013 00:22:46 GMT
@@ -165,12 +165,6 @@ module Sass::Script
165
165
  # \{#append append($list1, $val, \[$separator\])}
166
166
  # : Appends a single value onto the end of a list.
167
167
  #
168
- # \{#zip zip($list1, $list2, ...)}
169
- # : Combines several lists into a single multidimensional list.
170
- #
171
- # \{#index index($list, $value)}
172
- # : Returns the position of a value within a list, or false.
173
- #
174
168
  # \{#list-separator list-separator(#list)}
175
169
  # : Returns the separator of a list.
176
170
  #
@@ -1564,8 +1558,8 @@ module Sass::Script
1564
1558
  declare :append, [:list, :val]
1565
1559
  declare :append, [:list, :val, :separator]
1566
1560
 
1567
- # Combines several lists into a single comma separated list, where the nth
1568
- # value is a space separated list of the source lists' nth values.
1561
+ # Combines several lists into a single comma separated list
1562
+ # space separated lists.
1569
1563
  #
1570
1564
  # The length of the resulting list is the length of the
1571
1565
  # shortest list.
@@ -1590,8 +1584,8 @@ module Sass::Script
1590
1584
  declare :zip, [], :var_args => true
1591
1585
 
1592
1586
 
1593
- # Returns the position of a value within a list. If not found, returns
1594
- # false.
1587
+ # Returns the position of the given value within the given
1588
+ # list. If not found, returns false.
1595
1589
  #
1596
1590
  # @example
1597
1591
  # index(1px solid red, solid) => 2
@@ -433,7 +433,7 @@ class Sass::Tree::Visitors::Perform < Sass::Tree::Visitors::Base
433
433
  end
434
434
  end
435
435
 
436
- return unless mixins.include?(node.name)
436
+ return if mixins.empty?
437
437
  raise Sass::SyntaxError.new("#{msg} #{node.name} includes itself") if mixins.size == 1
438
438
 
439
439
  msg << "\n" << Sass::Util.enum_cons(mixins.reverse + [node.name], 2).map do |m1, m2|
@@ -22,10 +22,6 @@ module Sass::Script::Functions::UserFunctions
22
22
  end
23
23
  end
24
24
 
25
- module Sass::Script::Functions
26
- include Sass::Script::Functions::UserFunctions
27
- end
28
-
29
25
  class SassEngineTest < Test::Unit::TestCase
30
26
  FAKE_FILE_NAME = __FILE__.gsub(/rb$/,"sass")
31
27
  # A map of erroneous Sass documents to the error messages they should produce.
@@ -524,21 +520,6 @@ MESSAGE
524
520
  assert_hash_has(err.sass_backtrace[2], :mixin => "foo", :line => 2)
525
521
  end
526
522
 
527
- def test_mixin_loop_with_content
528
- render <<SASS
529
- =foo
530
- @content
531
- =bar
532
- +foo
533
- +bar
534
- +bar
535
- SASS
536
- assert(false, "Exception not raised")
537
- rescue Sass::SyntaxError => err
538
- assert_equal("An @include loop has been found: bar includes itself", err.message)
539
- assert_hash_has(err.sass_backtrace[0], :mixin => "@content", :line => 5)
540
- end
541
-
542
523
  def test_basic_import_loop_exception
543
524
  import = filename_for_test
544
525
  importer = MockImporter.new
@@ -2435,24 +2416,6 @@ SASS
2435
2416
 
2436
2417
  # Regression tests
2437
2418
 
2438
- def test_parent_mixin_in_content_nested
2439
- assert_equal(<<CSS, render(<<SASS))
2440
- a {
2441
- b: c; }
2442
- CSS
2443
- =foo
2444
- @content
2445
-
2446
- =bar
2447
- +foo
2448
- +foo
2449
- a
2450
- b: c
2451
-
2452
- +bar
2453
- SASS
2454
- end
2455
-
2456
2419
  def test_supports_bubbles
2457
2420
  assert_equal <<CSS, render(<<SASS)
2458
2421
  parent {
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: 592302607
4
+ hash: 592302597
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 3
8
8
  - 3
9
9
  - 0
10
10
  - alpha
11
- - 129
12
- version: 3.3.0.alpha.129
11
+ - 132
12
+ version: 3.3.0.alpha.132
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-04-19 00:00:00 -04:00
22
+ date: 2013-04-17 00:00:00 -04:00
23
23
  default_executable:
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency