sass 3.2.0.alpha.70 → 3.2.0.alpha.71

Sign up to get free protection for your applications and to get access to all the features.
data/REVISION CHANGED
@@ -1 +1 @@
1
- ba7e79376e9d6d6b78d9ddf79fbba00239f6e675
1
+ 11b0709ef5f2e34f361aca48f22b6dae4019c0fb
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.0.alpha.70
1
+ 3.2.0.alpha.71
@@ -169,7 +169,7 @@ module Sass::Script
169
169
  }) {|color| (0..2).map {|n| color >> (n << 3) & 0xff}.reverse}
170
170
 
171
171
  # A hash from `[red, green, blue]` value arrays to color names.
172
- COLOR_NAMES_REVERSE = map_hash(COLOR_NAMES) {|k, v| [v, k]}
172
+ COLOR_NAMES_REVERSE = map_hash(hash_to_a(COLOR_NAMES)) {|k, v| [v, k]}
173
173
 
174
174
  # Constructs an RGB or HSL color object,
175
175
  # optionally with an alpha channel.
@@ -790,8 +790,8 @@ class SassFunctionTest < Test::Unit::TestCase
790
790
 
791
791
  def test_complement
792
792
  assert_equal("#ccbbaa", evaluate("complement(#abc)"))
793
- assert_equal("aqua", evaluate("complement(red)"))
794
- assert_equal("red", evaluate("complement(aqua)"))
793
+ assert_equal("cyan", evaluate("complement(red)"))
794
+ assert_equal("red", evaluate("complement(cyan)"))
795
795
  assert_equal("white", evaluate("complement(white)"))
796
796
  assert_equal("black", evaluate("complement(black)"))
797
797
  assert_equal("black", evaluate("complement($color: black)"))
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: 592302993
4
+ hash: 592302995
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 3
8
8
  - 2
9
9
  - 0
10
10
  - alpha
11
- - 70
12
- version: 3.2.0.alpha.70
11
+ - 71
12
+ version: 3.2.0.alpha.71
13
13
  platform: ruby
14
14
  authors:
15
15
  - Nathan Weizenbaum
@@ -86,7 +86,7 @@ files:
86
86
  - lib/sass/logger.rb
87
87
  - lib/sass/logger/base.rb
88
88
  - lib/sass/logger/log_level.rb
89
- - lib/sass/repl.rb
89
+ - lib/sass/media.rb
90
90
  - lib/sass/plugin.rb
91
91
  - lib/sass/plugin/compiler.rb
92
92
  - lib/sass/plugin/configuration.rb
@@ -96,7 +96,7 @@ files:
96
96
  - lib/sass/plugin/rails.rb
97
97
  - lib/sass/plugin/staleness_checker.rb
98
98
  - lib/sass/railtie.rb
99
- - lib/sass/media.rb
99
+ - lib/sass/repl.rb
100
100
  - lib/sass/root.rb
101
101
  - lib/sass/script.rb
102
102
  - lib/sass/script/bool.rb
@@ -261,6 +261,7 @@ files:
261
261
  - test/sass/scss/rx_test.rb
262
262
  - test/sass/scss/scss_test.rb
263
263
  - test/sass/scss/test_helper.rb
264
+ - test/sass/templates/_double_import_loop2.sass
264
265
  - test/sass/templates/_imported_charset_ibm866.sass
265
266
  - test/sass/templates/_imported_charset_utf8.sass
266
267
  - test/sass/templates/_imported_content.sass
@@ -275,6 +276,7 @@ files:
275
276
  - test/sass/templates/compact.sass
276
277
  - test/sass/templates/complex.sass
277
278
  - test/sass/templates/compressed.sass
279
+ - test/sass/templates/double_import_loop1.sass
278
280
  - test/sass/templates/expanded.sass
279
281
  - test/sass/templates/if.sass
280
282
  - test/sass/templates/import.sass
@@ -301,15 +303,13 @@ files:
301
303
  - test/sass/templates/script.sass
302
304
  - test/sass/templates/scss_import.scss
303
305
  - test/sass/templates/scss_importee.scss
306
+ - test/sass/templates/single_import_loop.sass
304
307
  - test/sass/templates/subdir/nested_subdir/_nested_partial.sass
305
308
  - test/sass/templates/subdir/nested_subdir/nested_subdir.sass
306
309
  - test/sass/templates/subdir/subdir.sass
307
310
  - test/sass/templates/units.sass
308
311
  - test/sass/templates/warn.sass
309
312
  - test/sass/templates/warn_imported.sass
310
- - test/sass/templates/_double_import_loop2.sass
311
- - test/sass/templates/double_import_loop1.sass
312
- - test/sass/templates/single_import_loop.sass
313
313
  - test/sass/test_helper.rb
314
314
  - test/sass/util/multibyte_string_scanner_test.rb
315
315
  - test/sass/util/subset_map_test.rb