Hello community,
here is the log from the commit of package perl-Mojolicious-Plugin-AssetPack
for openSUSE:Factory checked in at 2016-11-10 13:27:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Mojolicious-Plugin-AssetPack (Old)
and /work/SRC/openSUSE:Factory/.perl-Mojolicious-Plugin-AssetPack.new
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Mojolicious-Plugin-AssetPack"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Mojolicious-Plugin-AssetPack/perl-Mojolicious-Plugin-AssetPack.changes
2016-11-07 12:22:15.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Mojolicious-Plugin-AssetPack.new/perl-Mojolicious-Plugin-AssetPack.changes
2016-11-10 13:27:20.000000000 +0100
@@ -1,0 +2,9 @@
+Mon Oct 31 06:48:25 UTC 2016 - [email protected]
+
+- updated to 1.25
+ see /usr/share/doc/packages/perl-Mojolicious-Plugin-AssetPack/Changes
+
+ 1.25 2016-10-30T21:24:48+0100
+ - Add end_range(), start_range() and is_range() to Asset #104
+
+-------------------------------------------------------------------
Old:
----
Mojolicious-Plugin-AssetPack-1.24.tar.gz
New:
----
Mojolicious-Plugin-AssetPack-1.25.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Mojolicious-Plugin-AssetPack.spec ++++++
--- /var/tmp/diff_new_pack.DEDG5a/_old 2016-11-10 13:27:21.000000000 +0100
+++ /var/tmp/diff_new_pack.DEDG5a/_new 2016-11-10 13:27:21.000000000 +0100
@@ -17,7 +17,7 @@
Name: perl-Mojolicious-Plugin-AssetPack
-Version: 1.24
+Version: 1.25
Release: 0
%define cpan_name Mojolicious-Plugin-AssetPack
Summary: Compress and convert css, less, sass, javascript and
coffeescript files
++++++ Mojolicious-Plugin-AssetPack-1.24.tar.gz ->
Mojolicious-Plugin-AssetPack-1.25.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-Plugin-AssetPack-1.24/Changes
new/Mojolicious-Plugin-AssetPack-1.25/Changes
--- old/Mojolicious-Plugin-AssetPack-1.24/Changes 2016-09-11
17:22:08.000000000 +0200
+++ new/Mojolicious-Plugin-AssetPack-1.25/Changes 2016-10-30
21:24:48.000000000 +0100
@@ -1,5 +1,8 @@
Revision history for perl distribution Mojolicious-Plugin-AssetPack
+1.25 2016-10-30T21:24:48+0100
+ - Add end_range(), start_range() and is_range() to Asset #104
+
1.24 2016-09-11T17:22:08+0200
- Forgot to delete t/sass-current-app.t after 1.23
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-Plugin-AssetPack-1.24/MANIFEST
new/Mojolicious-Plugin-AssetPack-1.25/MANIFEST
--- old/Mojolicious-Plugin-AssetPack-1.24/MANIFEST 2016-09-11
17:22:10.000000000 +0200
+++ new/Mojolicious-Plugin-AssetPack-1.25/MANIFEST 2016-10-30
21:24:51.000000000 +0100
@@ -77,6 +77,7 @@
t/not-found.t
t/other.t
t/png.t
+t/range.t
t/recreate.t
t/register.t
t/reloader-process.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-Plugin-AssetPack-1.24/META.json
new/Mojolicious-Plugin-AssetPack-1.25/META.json
--- old/Mojolicious-Plugin-AssetPack-1.24/META.json 2016-09-11
17:22:09.000000000 +0200
+++ new/Mojolicious-Plugin-AssetPack-1.25/META.json 2016-10-30
21:24:51.000000000 +0100
@@ -48,6 +48,6 @@
"url" :
"https://github.com/jhthorsen/mojolicious-plugin-assetpack.git"
}
},
- "version" : "1.24",
+ "version" : "1.25",
"x_serialization_backend" : "JSON::PP version 2.27300"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-Plugin-AssetPack-1.24/META.yml
new/Mojolicious-Plugin-AssetPack-1.25/META.yml
--- old/Mojolicious-Plugin-AssetPack-1.24/META.yml 2016-09-11
17:22:09.000000000 +0200
+++ new/Mojolicious-Plugin-AssetPack-1.25/META.yml 2016-10-30
21:24:51.000000000 +0100
@@ -25,5 +25,5 @@
bugtracker: https://github.com/jhthorsen/mojolicious-plugin-assetpack/issues
homepage: https://github.com/jhthorsen/mojolicious-plugin-assetpack
repository: https://github.com/jhthorsen/mojolicious-plugin-assetpack.git
-version: '1.24'
+version: '1.25'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-Plugin-AssetPack-1.24/README
new/Mojolicious-Plugin-AssetPack-1.25/README
--- old/Mojolicious-Plugin-AssetPack-1.24/README 2016-09-11
17:22:08.000000000 +0200
+++ new/Mojolicious-Plugin-AssetPack-1.25/README 2016-10-30
21:24:49.000000000 +0100
@@ -3,7 +3,7 @@
javascript and coffeescript files
VERSION
- 1.24
+ 1.25
SYNOPSIS
Application
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Mojolicious-Plugin-AssetPack-1.24/lib/Mojolicious/Plugin/AssetPack/Asset.pm
new/Mojolicious-Plugin-AssetPack-1.25/lib/Mojolicious/Plugin/AssetPack/Asset.pm
---
old/Mojolicious-Plugin-AssetPack-1.24/lib/Mojolicious/Plugin/AssetPack/Asset.pm
2016-07-18 14:52:52.000000000 +0200
+++
new/Mojolicious-Plugin-AssetPack-1.25/lib/Mojolicious/Plugin/AssetPack/Asset.pm
2016-10-30 21:23:10.000000000 +0100
@@ -64,11 +64,12 @@
return $self->_asset(Mojo::Asset::Memory->new->add_chunk($_[0]));
}
-sub get_chunk { shift->_asset->get_chunk(@_) }
-
-sub path { $_[0]->_asset->isa('Mojo::Asset::File') ? $_[0]->_asset->path : '' }
-sub size { $_[0]->_asset->size }
-
+sub end_range { shift->_asset->end_range(@_) }
+sub get_chunk { shift->_asset->get_chunk(@_) }
+sub is_range { shift->_asset->is_range }
+sub path { $_[0]->_asset->isa('Mojo::Asset::File') ?
$_[0]->_asset->path : '' }
+sub size { $_[0]->_asset->size }
+sub start_range { shift->_asset->start_range(@_) }
sub url_for { $_[1]->url_for(assetpack => $_[0]->TO_JSON); }
sub _reset {
@@ -171,10 +172,18 @@
Used to get or set the content of this asset. The default will be built from
passing L</url> to L<Mojolicious::Plugin::AssetPack::Store/file>.
+=head2 end_range
+
+See L<Mojo::Asset/end_range>.
+
=head2 get_chunk
See L<Mojo::Asset/get_chunk>.
+=head2 is_range
+
+See L<Mojo::Asset/is_range>.
+
=head2 path
$str = $self->path;
@@ -185,6 +194,10 @@
See L<Mojo::Asset/size>.
+=head2 start_range
+
+See L<Mojo::Asset/start_range>.
+
=head2 url_for
$url = $self->url_for($c);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Mojolicious-Plugin-AssetPack-1.24/lib/Mojolicious/Plugin/AssetPack.pm
new/Mojolicious-Plugin-AssetPack-1.25/lib/Mojolicious/Plugin/AssetPack.pm
--- old/Mojolicious-Plugin-AssetPack-1.24/lib/Mojolicious/Plugin/AssetPack.pm
2016-09-11 17:22:08.000000000 +0200
+++ new/Mojolicious-Plugin-AssetPack-1.25/lib/Mojolicious/Plugin/AssetPack.pm
2016-10-30 21:24:48.000000000 +0100
@@ -6,7 +6,7 @@
use Mojolicious::Plugin::AssetPack::Store;
use Mojolicious::Plugin::AssetPack::Util qw(diag has_ro load_module DEBUG);
-our $VERSION = '1.24';
+our $VERSION = '1.25';
my %TAG_TEMPLATE;
$TAG_TEMPLATE{css} = [qw(link rel stylesheet href)];
@@ -248,7 +248,7 @@
=head1 VERSION
-1.24
+1.25
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-Plugin-AssetPack-1.24/t/range.t
new/Mojolicious-Plugin-AssetPack-1.25/t/range.t
--- old/Mojolicious-Plugin-AssetPack-1.24/t/range.t 1970-01-01
01:00:00.000000000 +0100
+++ new/Mojolicious-Plugin-AssetPack-1.25/t/range.t 2016-10-30
21:21:53.000000000 +0100
@@ -0,0 +1,20 @@
+use t::Helper;
+
+my $t = t::Helper->t(pipes => [qw(Css Combine)]);
+$t->app->asset->process;
+
+$t->get_ok('/')->status_is(200);
+my $href = $t->tx->res->dom->at('link')->{href};
+ok $href, 'found link[href]';
+
+$t->get_ok($href => {Range => 'bytes=0-2'})->status_is(206)
+ ->header_is('Accept-Ranges' => 'bytes')->content_is('.on');
+
+done_testing;
+
+__DATA__
+@@ index.html.ep
+%= asset 'app.css'
+@@ assetpack.def
+! app.css
+< css-0-one.css