Skip to content

Commit 783d0e3

Browse files
committed
Bump version to 3.3.0 and update change-log
1 parent 1635774 commit 783d0e3

File tree

6 files changed

+28
-20
lines changed

6 files changed

+28
-20
lines changed

Changes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
CSS::Sass (3.3.0)
2+
3+
* Update to latest LibSass release (3.3.3)
4+
* Update spec test runner for error specs
5+
* Use LibSass functions for compare operations
6+
* Switch `Module::Build` with `ExtUtils::MakeMaker`
7+
* Improve unicode handling with command line utility
8+
19
CSS::Sass (3.3.0-rc1)
210

311
* Update to latest libsass release (3.3.0-rc1)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ psass [options] [ path_in | - ] [ path_out | - ]
7474
Copyright And Licence
7575
---------------------
7676

77-
Copyright © 2013 by David Caldwell
78-
Copyright © 2014 by Marcel Greter
77+
Copyright © 2013-2014 by David Caldwell
78+
Copyright © 2014-2016 by Marcel Greter
7979

8080
This library is released under the MIT license.

lib/CSS/Sass.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ CSS::Sass - Compile .scss files using libsass
1515
my $css = $sass->compile_file('styles.scss');
1616

1717
# Add custom function to use inside your Sass code
18-
sub foobar { CSS::Sass::Type::String->new('blue') }
18+
sub foobar { CSS::Sass::Value::String->new('blue') }
1919
$sass->options->{sass_functions}->{'foobar'} = \ &foobar;
2020

2121
# Compile string and get css output and source-map json
@@ -221,20 +221,20 @@ feature parity and heading towards 3.4. It can compile .scss and .sass files.
221221
function should be the function's Sass signature and the value should be a
222222
Perl subroutine reference. This subroutine will be called whenever the
223223
function is used in the Sass being compiled. The arguments to the subroutine
224-
are [CSS::Sass::Type](https://metacpan.org/pod/CSS::Sass::Type) objects, which map to native perl types if possible.
225-
You can return either [CSS::Sass::Type](https://metacpan.org/pod/CSS::Sass::Type) objects or supported native perl data
226-
structures. `undef` is an equivalent of CSS::Sass::Type::Null->new.
224+
are [CSS::Sass::Value](https://metacpan.org/pod/CSS::Sass::Value) objects, which map to native perl types if possible.
225+
You can return either [CSS::Sass::Value](https://metacpan.org/pod/CSS::Sass::Value) objects or supported native perl data
226+
structures. `undef` is an equivalent of CSS::Sass::Value::Null->new.
227227

228228
The function is called with an `eval` statement so you may use "die" to
229-
throw errors back to libsass (`CSS::Sass::Type::Error`).
229+
throw errors back to libsass (`CSS::Sass::Value::Error`).
230230

231231
A simple example:
232232

233233
sass_functions => {
234234
'append_hello($str)' => sub {
235235
my ($str) = @_;
236-
die '$str should be a string' unless $str->isa("CSS::Sass::Type::String");
237-
return CSS::Sass::Type::String->new($str->value . " hello");
236+
die '$str should be a string' unless $str->isa("CSS::Sass::Value::String");
237+
return CSS::Sass::Value::String->new($str->value . " hello");
238238
# equivalent to return $str->value . " hello";
239239
}
240240
}
@@ -282,7 +282,7 @@ feature parity and heading towards 3.4. It can compile .scss and .sass files.
282282
- `Sass_Value` Types
283283

284284
Sass knowns various `Sass_Value` types. We export the constants for completeness.
285-
Each type is mapped to a package inside the `CSS::Sass::Type` namespace.
285+
Each type is mapped to a package inside the `CSS::Sass::Value` namespace.
286286

287287
# Value types
288288
SASS_ERROR
@@ -305,11 +305,11 @@ feature parity and heading towards 3.4. It can compile .scss and .sass files.
305305
native data types from your custom functions or use the datastructures
306306
to access maps and lists.
307307

308-
undef; # same as CSS::Sass::Type::Null->new;
309-
42; # same as CSS::Sass::Type::Number->new(42);
310-
"foobar"; # same as CSS::Sass::Type::String->new("foobar");
311-
[ 'foo', 'bar' ]; # same as CSS::Sass::Type::List->new('foo', 'bar');
312-
{ key => 'value' }; # same as CSS::Sass::Type::Map->new(key => 'value');
308+
undef; # same as CSS::Sass::Value::Null->new;
309+
42; # same as CSS::Sass::Value::Number->new(42);
310+
"foobar"; # same as CSS::Sass::Value::String->new("foobar");
311+
[ 'foo', 'bar' ]; # same as CSS::Sass::Value::List->new('foo', 'bar');
312+
{ key => 'value' }; # same as CSS::Sass::Value::Map->new(key => 'value');
313313

314314
We bless native return values from custom functions into the correct package.
315315

@@ -362,7 +362,7 @@ feature parity and heading towards 3.4. It can compile .scss and .sass files.
362362

363363
# SEE ALSO
364364

365-
[CSS::Sass::Type](https://metacpan.org/pod/CSS::Sass::Type)
365+
[CSS::Sass::Value](https://metacpan.org/pod/CSS::Sass::Value)
366366

367367
[The Sass Home Page](http://sass-lang.com/)
368368

lib/CSS/Sass.pm

Lines changed: 2 additions & 2 deletions
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.3.0_03";
72+
our $VERSION = "3.3.0";
7373

7474
require XSLoader;
7575
XSLoader::load('CSS::Sass', $VERSION);
@@ -610,7 +610,7 @@ L<The CSS::Sass Home Page|https://github.com/sass/perl-libsass>
610610
611611
=head1 AUTHOR
612612
613-
David Caldwell E<lt>[email protected]E<gt>
613+
David Caldwell E<lt>[email protected]E<gt>
614614
Marcel Greter E<lt>[email protected]E<gt>
615615
616616
=head1 LICENSE

lib/CSS/Sass/Value.pm

Lines changed: 1 addition & 1 deletion
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.3.0_03";
42+
our $VERSION = "3.3.0";
4343
################################################################################
4444
use CSS::Sass qw(import_sv);
4545
use CSS::Sass qw(sass_operation);

lib/CSS/Sass/Watchdog.pm

Lines changed: 1 addition & 1 deletion
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.3.0_03";
28+
our $VERSION = "3.3.0";
2929
################################################################################
3030

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

0 commit comments

Comments
 (0)