Skip to content

Commit a1d5dce

Browse files
authored
Merge pull request #53 from mgreter/release-3.6.4
Update libsass to version 3.6.5
2 parents 0122347 + 17556a2 commit a1d5dce

13 files changed

+25
-25
lines changed

Changes

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
CSS::Sass (3.6.4)
2+
3+
Maintenance release including a MacOSx build fix.
4+
5+
* Bumped libsass version to virtual 3.6.5
6+
* Fix MacOS linker not understanding z-origin
7+
8+
-- Marcel Greter <[email protected]> Mon, 21 May 2020 03:33:30 +0100
9+
110
CSS::Sass (3.6.3)
211

312
Maintenance release including some build fixes.

META.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,5 @@
6868
"url" : "https://github.com/sass/perl-libsass"
6969
}
7070
},
71-
"version" : "v3.6.3"
71+
"version" : "v3.6.4"
7272
}

META.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ resources:
3939
homepage: https://metacpan.org/release/CSS-Sass
4040
license: http://opensource.org/licenses/MIT
4141
repository: https://github.com/sass/perl-libsass
42-
version: v3.6.3
42+
version: v3.6.4

Makefile.PL

+1-1
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ sub compile_lib {
651651
# this may not be supported on all operating systems!
652652
unless ($^O eq 'MSWin32' && $Config{cc} =~ /^cl/) {
653653
# the `-z origin` seems needed for some BSD derivates!
654-
push @args, '-Wl,-z,origin' if $isPlugin && $^O ne 'MSWin32';
654+
push @args, '-Wl,-z,origin' if $isPlugin && $^O ne 'MSWin32' && $^O ne 'darwin';
655655
push @args, '-Wl,-rpath,\\$$ORIGIN/../..' if $isPlugin;
656656
}
657657
# add explicit library name on OSX

lib/CSS/Sass.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ our @EXPORT = qw(
6969
SASS2SCSS_CONVERT_COMMENT
7070
);
7171

72-
our $VERSION = "3.6.3";
72+
our $VERSION = "3.6.4";
7373

7474
require XSLoader;
7575
XSLoader::load('CSS::Sass', $VERSION);

lib/CSS/Sass/Plugins.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use warnings;
2424

2525
################################################################################
2626
package CSS::Sass::Plugins;
27-
our $VERSION = "3.6.3";
27+
our $VERSION = "3.6.4";
2828
################################################################################
2929
# collect plugins
3030
our %plugins;

lib/CSS/Sass/Value.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ use CSS::Sass;
3939

4040
################################################################################
4141
package CSS::Sass::Value;
42-
our $VERSION = "3.6.3";
42+
our $VERSION = "3.6.4";
4343
################################################################################
4444
use CSS::Sass qw(import_sv);
4545
use CSS::Sass qw(sass_operation);

lib/CSS/Sass/Watchdog.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use CSS::Sass;
2525

2626
################################################################################
2727
package CSS::Sass::Watchdog;
28-
our $VERSION = "3.6.3";
28+
our $VERSION = "3.6.4";
2929
################################################################################
3030

3131
use Exporter 'import'; # gives you Exporter's import() method directly

t/99_sass_specs.t

+5-14
Original file line numberDiff line numberDiff line change
@@ -549,24 +549,15 @@ END {
549549
# $_->query('start') <= 3.4
550550
# } @tests);
551551

552-
use Test::More tests => 3 * scalar @specs;
552+
use Test::More tests => 2 * scalar @specs;
553553
use Test::Differences;
554554

555555
# run tests after filtering
556556
foreach my $spec (@specs)
557557
{
558+
my $expected = $spec->expect;
558559
# compare the result with expected data
559-
eq_or_diff ($spec->css, $spec->expect, "CSS: " . $spec->file);
560-
# skip some faulty error specs (perl is picky)
561-
if ($spec->{file} =~ m/\Wissue_(?:2446)\W/) {
562-
ok('Invalid UTF8 sequence in output');
563-
} else {
564-
eq_or_diff ($spec->err, $spec->stderr, "Errors: " . $spec->file);
565-
}
566-
# skip some faulty warning specs (perl is picky)
567-
if ($spec->{file} =~ m/\Wissue_(?:308|1578)\W/) {
568-
ok('Warning message not marked as todo in spec')
569-
} else {
570-
eq_or_diff ($spec->msg, $spec->stdmsg, "Warnings: " . $spec->file);
571-
}
560+
if ($expected) { eq_or_diff ($spec->css, $expected, "CSS: " . $spec->file); }
561+
else { eq_or_diff ($spec->err, $spec->stderr, "Errors: " . $spec->file); }
562+
eq_or_diff ($spec->msg, $spec->stdmsg, "Warnings: " . $spec->file);
572563
}

t/sass-spec

Submodule sass-spec updated 351 files

0 commit comments

Comments
 (0)