Hello community,
here is the log from the commit of package perl-Mojolicious-Plugin-CHI for
openSUSE:Factory checked in at 2014-04-02 17:25:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Mojolicious-Plugin-CHI (Old)
and /work/SRC/openSUSE:Factory/.perl-Mojolicious-Plugin-CHI.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Mojolicious-Plugin-CHI"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Mojolicious-Plugin-CHI/perl-Mojolicious-Plugin-CHI.changes
2014-03-28 13:17:17.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Mojolicious-Plugin-CHI.new/perl-Mojolicious-Plugin-CHI.changes
2014-04-02 17:25:17.000000000 +0200
@@ -1,0 +2,8 @@
+Wed Apr 2 05:58:14 UTC 2014 - [email protected]
+
+- Update to 0.07
+ - Update year.
+ - Documentation tweaks on CHI.
+ - Fixed License issue (now coherent Artistic License 2.0)
+
+-------------------------------------------------------------------
Old:
----
Mojolicious-Plugin-CHI-0.06.tar.gz
New:
----
Mojolicious-Plugin-CHI-0.07.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Mojolicious-Plugin-CHI.spec ++++++
--- /var/tmp/diff_new_pack.einpOK/_old 2014-04-02 17:25:18.000000000 +0200
+++ /var/tmp/diff_new_pack.einpOK/_new 2014-04-02 17:25:18.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-Mojolicious-Plugin-CHI
-Version: 0.06
+Version: 0.07
Release: 0
%define cpan_name Mojolicious-Plugin-CHI
Summary: Use CHI caches in Mojolicious
++++++ Mojolicious-Plugin-CHI-0.06.tar.gz -> Mojolicious-Plugin-CHI-0.07.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-Plugin-CHI-0.06/Changes
new/Mojolicious-Plugin-CHI-0.07/Changes
--- old/Mojolicious-Plugin-CHI-0.06/Changes 2013-03-08 01:17:58.000000000
+0100
+++ new/Mojolicious-Plugin-CHI-0.07/Changes 2014-04-01 17:37:46.000000000
+0200
@@ -1,3 +1,8 @@
+0.07 2014-04-01
+ - Update year.
+ - Documentation tweaks on CHI.
+ - Fixed License issue (now coherent Artistic License 2.0; max).
+
0.06 2013-03-08
- Update year.
- Update description.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-Plugin-CHI-0.06/META.json
new/Mojolicious-Plugin-CHI-0.07/META.json
--- old/Mojolicious-Plugin-CHI-0.06/META.json 2013-03-08 01:18:57.000000000
+0100
+++ new/Mojolicious-Plugin-CHI-0.07/META.json 2014-04-01 17:39:15.000000000
+0200
@@ -1,12 +1,12 @@
{
- "abstract" : "Use CHI caches in Mojolicious",
+ "abstract" : "Use CHI Caches in Mojolicious",
"author" : [
"Nils Diewald"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter
version 2.120921",
+ "generated_by" : "ExtUtils::MakeMaker version 6.82, CPAN::Meta::Converter
version 2.120351",
"license" : [
- "perl_5"
+ "artistic_2"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
@@ -47,5 +47,5 @@
"url" : "https://github.com/Akron/Mojolicious-Plugin-CHI"
}
},
- "version" : "0.06"
+ "version" : "0.07"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-Plugin-CHI-0.06/META.yml
new/Mojolicious-Plugin-CHI-0.07/META.yml
--- old/Mojolicious-Plugin-CHI-0.06/META.yml 2013-03-08 01:18:57.000000000
+0100
+++ new/Mojolicious-Plugin-CHI-0.07/META.yml 2014-04-01 17:39:15.000000000
+0200
@@ -1,27 +1,27 @@
---
-abstract: 'Use CHI caches in Mojolicious'
+abstract: 'Use CHI Caches in Mojolicious'
author:
- 'Nils Diewald'
build_requires:
- Test::More: 0
+ Test::More: '0'
configure_requires:
- ExtUtils::MakeMaker: 0
+ ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version
2.120921'
-license: perl
+generated_by: 'ExtUtils::MakeMaker version 6.82, CPAN::Meta::Converter version
2.120351'
+license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Mojolicious-Plugin-CHI
no_index:
directory:
- t
- inc
requires:
- CHI: 0
- Mojolicious: 3.43
- perl: 5.010001
+ CHI: '0'
+ Mojolicious: '3.43'
+ perl: '5.010001'
resources:
license: http://www.opensource.org/licenses/artistic-license-2.0
repository: https://github.com/Akron/Mojolicious-Plugin-CHI
-version: 0.06
+version: '0.07'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-Plugin-CHI-0.06/Makefile.PL
new/Mojolicious-Plugin-CHI-0.07/Makefile.PL
--- old/Mojolicious-Plugin-CHI-0.06/Makefile.PL 2013-03-02 01:46:04.000000000
+0100
+++ new/Mojolicious-Plugin-CHI-0.07/Makefile.PL 2014-03-30 15:57:59.000000000
+0200
@@ -7,7 +7,7 @@
WriteMakefile(
NAME => 'Mojolicious::Plugin::CHI',
VERSION_FROM => 'lib/Mojolicious/Plugin/CHI.pm',
- ABSTRACT => 'Use CHI caches in Mojolicious',
+ ABSTRACT => 'Use CHI Caches in Mojolicious',
AUTHOR => 'Nils Diewald',
BUILD_REQUIRES => {
'Test::More' => 0
@@ -16,7 +16,7 @@
'Mojolicious' => 3.43,
'CHI' => 0
},
- LICENSE => 'perl',
+ LICENSE => 'artistic_2',
META_MERGE => {
requires => {perl => '5.010001'},
resources => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Mojolicious-Plugin-CHI-0.06/lib/Mojolicious/Plugin/CHI.pm
new/Mojolicious-Plugin-CHI-0.07/lib/Mojolicious/Plugin/CHI.pm
--- old/Mojolicious-Plugin-CHI-0.06/lib/Mojolicious/Plugin/CHI.pm
2013-03-08 01:15:00.000000000 +0100
+++ new/Mojolicious-Plugin-CHI-0.07/lib/Mojolicious/Plugin/CHI.pm
2014-04-01 17:32:06.000000000 +0200
@@ -2,13 +2,13 @@
use Mojo::Base 'Mojolicious::Plugin';
use CHI;
-our $VERSION = '0.06';
+our $VERSION = '0.07';
# Register Plugin
sub register {
my ($plugin, $mojo, $param) = @_;
- # Load parameter from Config file
+ # Load parameter from config file
if (my $config_param = $mojo->config('CHI')) {
$param = { %$config_param, %$param };
};
@@ -60,7 +60,8 @@
# Return cache
return $cache;
- });
+ }
+ );
};
@@ -75,7 +76,7 @@
=head1 NAME
-Mojolicious::Plugin::CHI - Use CHI caches in Mojolicious
+Mojolicious::Plugin::CHI - Use CHI Caches in Mojolicious
=head1 SYNOPSIS
@@ -181,16 +182,17 @@
L<Mojolicious>,
L<CHI>.
-B<Note:> L<CHI> has a lot of dependencies. It is
-thus not recommended to use this plugin in a CGI
-environment.
+B<Note:> Old versions of L<CHI> had a lot of dependencies.
+It was thus not recommended to use this plugin in a CGI
+environment. Since new versions of CHI use L<Moo> instead of
+L<Moose>, more use cases may be possible.
=head1 CONTRIBUTORS
L<Boris Däppen|https://github.com/borisdaeppen>
-L<reneeb|https://github.com/reneeb>
+L<Renée Bäcker|https://github.com/reneeb>
=head1 AVAILABILITY
@@ -200,9 +202,9 @@
=head1 COPYRIGHT AND LICENSE
-Copyright (C) 2012-2013, L<Nils Diewald|http://nils-diewald.de/>.
+Copyright (C) 2012-2014, L<Nils Diewald|http://nils-diewald.de/>.
This program is free software, you can redistribute it
-and/or modify it under the same terms as Perl.
+and/or modify it under the terms of the Artistic License version 2.0.
=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-Plugin-CHI-0.06/t/CHI-File.t
new/Mojolicious-Plugin-CHI-0.07/t/CHI-File.t
--- old/Mojolicious-Plugin-CHI-0.06/t/CHI-File.t 2013-02-20
13:50:06.000000000 +0100
+++ new/Mojolicious-Plugin-CHI-0.07/t/CHI-File.t 2014-04-01
17:33:55.000000000 +0200
@@ -4,8 +4,6 @@
use Test::Mojo;
use File::Temp qw/:POSIX tempdir/;
-$|++;
-
use lib 'lib';
use lib '../lib';
@@ -65,9 +63,15 @@
ok($my_cache->set(key_1 => 'Wert 1'), 'Wert 1');
is($my_cache->get('key_1'), 'Wert 1', 'Wert 1');
-opendir(D, $path);
-@test = readdir(D);
-closedir(D);
+if (opendir(D, $path)) {
+ @test = readdir(D);
+ closedir(D);
+ pass('Read cache dir');
+}
+
+else {
+ fail('Unable to read cache dir');
+};
ok('MyCache2' ~~ \@test, 'Namespace option valid');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-Plugin-CHI-0.06/t/CHI-NoIOLoop.t
new/Mojolicious-Plugin-CHI-0.07/t/CHI-NoIOLoop.t
--- old/Mojolicious-Plugin-CHI-0.06/t/CHI-NoIOLoop.t 2012-12-08
00:32:53.000000000 +0100
+++ new/Mojolicious-Plugin-CHI-0.07/t/CHI-NoIOLoop.t 2013-04-04
05:55:41.000000000 +0200
@@ -4,8 +4,6 @@
use Test::Mojo;
use File::Temp qw/:POSIX tempdir/;
-$|++;
-
use lib 'lib';
use lib '../lib';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-Plugin-CHI-0.06/t/CHI.t
new/Mojolicious-Plugin-CHI-0.07/t/CHI.t
--- old/Mojolicious-Plugin-CHI-0.06/t/CHI.t 2012-11-26 17:48:49.000000000
+0100
+++ new/Mojolicious-Plugin-CHI-0.07/t/CHI.t 2014-03-31 02:15:02.000000000
+0200
@@ -4,8 +4,6 @@
use Test::Mojo;
use File::Temp qw/:POSIX tempdir/;
-$|++;
-
use lib 'lib';
use lib '../lib';
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]