Hello community,
here is the log from the commit of package perl-Locale-Maketext-Lexicon for
openSUSE:Factory checked in at 2015-04-16 14:13:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Locale-Maketext-Lexicon (Old)
and /work/SRC/openSUSE:Factory/.perl-Locale-Maketext-Lexicon.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Locale-Maketext-Lexicon"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Locale-Maketext-Lexicon/perl-Locale-Maketext-Lexicon.changes
2013-07-03 16:52:11.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Locale-Maketext-Lexicon.new/perl-Locale-Maketext-Lexicon.changes
2015-04-16 14:13:59.000000000 +0200
@@ -1,0 +2,20 @@
+Tue Apr 14 19:40:02 UTC 2015 - [email protected]
+
+- updated to 1.00
+ see /usr/share/doc/packages/perl-Locale-Maketext-Lexicon/Changes
+
+ [Changes for 1.00 - 2014-03-06]
+ * Add missing support for c.loc()
+
+ [Changes for 0.99 - 2014-02-03]
+ * Localise $/ correctly (TOKUHIROM)
+ This change was missing from 0.97
+
+
+ [Changes for 0.98 - 2014-01-22]
+ * Exclude POT files (gerhardj)
+
+ [Changes for 0.97 - 2014-01-09]
+ * Localise $/ correctly (TOKUHIROM)
+
+-------------------------------------------------------------------
Old:
----
Locale-Maketext-Lexicon-0.96.tar.gz
New:
----
Locale-Maketext-Lexicon-1.00.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Locale-Maketext-Lexicon.spec ++++++
--- /var/tmp/diff_new_pack.kKczjM/_old 2015-04-16 14:13:59.000000000 +0200
+++ /var/tmp/diff_new_pack.kKczjM/_new 2015-04-16 14:13:59.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Locale-Maketext-Lexicon
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,14 @@
Name: perl-Locale-Maketext-Lexicon
-Version: 0.96
+Version: 1.00
Release: 0
%define cpan_name Locale-Maketext-Lexicon
Summary: Use other catalog formats in Maketext
License: MIT
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Locale-Maketext-Lexicon/
-Source:
http://www.cpan.org/authors/id/D/DR/DRTECH/%{cpan_name}-%{version}.tar.gz
+Source0:
http://www.cpan.org/authors/id/D/DR/DRTECH/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -70,6 +70,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc AUTHORS Changes docs LICENSE README script
+%doc AUTHORS Changes docs LICENSE README
%changelog
++++++ Locale-Maketext-Lexicon-0.96.tar.gz ->
Locale-Maketext-Lexicon-1.00.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Locale-Maketext-Lexicon-0.96/AUTHORS
new/Locale-Maketext-Lexicon-1.00/AUTHORS
--- old/Locale-Maketext-Lexicon-0.96/AUTHORS 2013-06-28 11:05:06.000000000
+0200
+++ new/Locale-Maketext-Lexicon-1.00/AUTHORS 2014-03-06 12:02:27.000000000
+0100
@@ -17,6 +17,7 @@
Clinton Gormley (DRTECH)
Felix Ostmann
Gaal Yahas (GAAL)
+gerhardj
Harmen
Helmut Lichtenberg
Hsin-Chan Chien (HCCHIEN)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Locale-Maketext-Lexicon-0.96/Changes
new/Locale-Maketext-Lexicon-1.00/Changes
--- old/Locale-Maketext-Lexicon-0.96/Changes 2013-06-28 11:05:06.000000000
+0200
+++ new/Locale-Maketext-Lexicon-1.00/Changes 2014-03-06 12:02:27.000000000
+0100
@@ -1,3 +1,17 @@
+[Changes for 1.00 - 2014-03-06]
+* Add missing support for c.loc()
+
+[Changes for 0.99 - 2014-02-03]
+* Localise $/ correctly (TOKUHIROM)
+ This change was missing from 0.97
+
+
+[Changes for 0.98 - 2014-01-22]
+* Exclude POT files (gerhardj)
+
+[Changes for 0.97 - 2014-01-09]
+* Localise $/ correctly (TOKUHIROM)
+
[Changes for 0.96 - 2013-06-28]
* Bumping - bad release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Locale-Maketext-Lexicon-0.96/LICENSE
new/Locale-Maketext-Lexicon-1.00/LICENSE
--- old/Locale-Maketext-Lexicon-0.96/LICENSE 2013-06-28 11:05:06.000000000
+0200
+++ new/Locale-Maketext-Lexicon-1.00/LICENSE 2014-03-06 12:02:27.000000000
+0100
@@ -1,4 +1,4 @@
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Locale-Maketext-Lexicon-0.96/MANIFEST
new/Locale-Maketext-Lexicon-1.00/MANIFEST
--- old/Locale-Maketext-Lexicon-0.96/MANIFEST 2013-06-28 11:05:06.000000000
+0200
+++ new/Locale-Maketext-Lexicon-1.00/MANIFEST 2014-03-06 12:02:27.000000000
+0100
@@ -1,3 +1,4 @@
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v5.013.
AUTHORS
Changes
LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Locale-Maketext-Lexicon-0.96/META.json
new/Locale-Maketext-Lexicon-1.00/META.json
--- old/Locale-Maketext-Lexicon-0.96/META.json 2013-06-28 11:05:06.000000000
+0200
+++ new/Locale-Maketext-Lexicon-1.00/META.json 2014-03-06 12:02:27.000000000
+0100
@@ -5,7 +5,7 @@
"Audrey Tang <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.300034, CPAN::Meta::Converter
version 2.130880",
+ "generated_by" : "Dist::Zilla version 5.013, CPAN::Meta::Converter version
2.133380",
"license" : [
"mit"
],
@@ -54,6 +54,6 @@
"web" : "https://github.com/clintongormley/locale-maketext-lexicon"
}
},
- "version" : "0.96"
+ "version" : "1.00"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Locale-Maketext-Lexicon-0.96/META.yml
new/Locale-Maketext-Lexicon-1.00/META.yml
--- old/Locale-Maketext-Lexicon-0.96/META.yml 2013-06-28 11:05:06.000000000
+0200
+++ new/Locale-Maketext-Lexicon-1.00/META.yml 2014-03-06 12:02:27.000000000
+0100
@@ -5,28 +5,28 @@
- 'Audrey Tang <[email protected]>'
build_requires: {}
configure_requires:
- ExtUtils::MakeMaker: 6.30
+ ExtUtils::MakeMaker: '6.30'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300034, CPAN::Meta::Converter version
2.130880'
+generated_by: 'Dist::Zilla version 5.013, CPAN::Meta::Converter version
2.133380'
license: mit
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Locale-Maketext-Lexicon
recommends:
- HTML::Parser: 3.56
- Lingua::EN::Sentence: 0.25
- PPI: 1.203
- Template: 2.20
- Template::Constants: 2.75
- Text::Haml: 0
- YAML: 0.66
- YAML::Loader: 0.66
+ HTML::Parser: '3.56'
+ Lingua::EN::Sentence: '0.25'
+ PPI: '1.203'
+ Template: '2.20'
+ Template::Constants: '2.75'
+ Text::Haml: '0'
+ YAML: '0.66'
+ YAML::Loader: '0.66'
requires:
- Locale::Maketext: 1.17
- perl: 5.005
+ Locale::Maketext: '1.17'
+ perl: '5.005'
resources:
bugtracker: https://github.com/clintongormley/locale-maketext-lexicon/issues
homepage: http://search.cpan.org/dist/Locale-Maketext-Lexicon
repository: git://github.com/clintongormley/locale-maketext-lexicon.git
-version: 0.96
+version: '1.00'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Locale-Maketext-Lexicon-0.96/Makefile.PL
new/Locale-Maketext-Lexicon-1.00/Makefile.PL
--- old/Locale-Maketext-Lexicon-0.96/Makefile.PL 2013-06-28
11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/Makefile.PL 2014-03-06
12:02:27.000000000 +0100
@@ -1,4 +1,5 @@
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v5.013.
use strict;
use warnings;
@@ -25,37 +26,22 @@
"Locale::Maketext" => "1.17"
},
"TEST_REQUIRES" => {},
- "VERSION" => "0.96",
+ "VERSION" => "1.00",
"test" => {
"TESTS" => "t/*.t"
}
);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
- my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
- my $br = $WriteMakefileArgs{BUILD_REQUIRES};
- for my $mod ( keys %$tr ) {
- if ( exists $br->{$mod} ) {
- $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
- }
- else {
- $br->{$mod} = $tr->{$mod};
- }
- }
-}
+my %FallbackPrereqs = (
+ "Locale::Maketext" => "1.17"
+);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
- my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
- my $pp = $WriteMakefileArgs{PREREQ_PM};
- for my $mod ( keys %$br ) {
- if ( exists $pp->{$mod} ) {
- $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
- }
- else {
- $pp->{$mod} = $br->{$mod};
- }
- }
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+ delete $WriteMakefileArgs{TEST_REQUIRES};
+ delete $WriteMakefileArgs{BUILD_REQUIRES};
+ $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Locale-Maketext-Lexicon-0.96/README
new/Locale-Maketext-Lexicon-1.00/README
--- old/Locale-Maketext-Lexicon-0.96/README 2013-06-28 11:05:06.000000000
+0200
+++ new/Locale-Maketext-Lexicon-1.00/README 2014-03-06 12:02:27.000000000
+0100
@@ -2,7 +2,7 @@
Locale::Maketext::Lexicon - Use other catalog formats in Maketext
VERSION
- version 0.96
+ version 1.00
SYNOPSIS
As part of a localization class, automatically glob for available
@@ -217,7 +217,7 @@
* Audrey Tang <[email protected]>
COPYRIGHT AND LICENSE
- This software is Copyright (c) 2013 by Audrey Tang.
+ This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Locale-Maketext-Lexicon-0.96/dist.ini
new/Locale-Maketext-Lexicon-1.00/dist.ini
--- old/Locale-Maketext-Lexicon-0.96/dist.ini 2013-06-28 11:05:06.000000000
+0200
+++ new/Locale-Maketext-Lexicon-1.00/dist.ini 2014-03-06 12:02:27.000000000
+0100
@@ -3,7 +3,7 @@
author = Audrey Tang <[email protected]>
license = MIT
copyright_holder = Audrey Tang
-version = 0.96
+version = 1.00
[GatherDir]
exclude_filename = README.pod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/Base.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/Base.pm
--- old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/Base.pm
2013-06-28 11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/Base.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Extract::Plugin::Base;
-{
- $Locale::Maketext::Extract::Plugin::Base::VERSION = '0.96';
-}
-
+$Locale::Maketext::Extract::Plugin::Base::VERSION = '1.00';
use strict;
use File::Basename qw(fileparse);
@@ -98,13 +95,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Extract::Plugin::Base - Base module for format parser plugins
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -297,7 +296,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/FormFu.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/FormFu.pm
---
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/FormFu.pm
2013-06-28 11:05:06.000000000 +0200
+++
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/FormFu.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Extract::Plugin::FormFu;
-{
- $Locale::Maketext::Extract::Plugin::FormFu::VERSION = '0.96';
-}
-
+$Locale::Maketext::Extract::Plugin::FormFu::VERSION = '1.00';
use strict;
use base qw(Locale::Maketext::Extract::Plugin::Base);
@@ -27,10 +24,7 @@
}
package Locale::Maketext::Extract::Plugin::FormFu::Extractor;
-{
- $Locale::Maketext::Extract::Plugin::FormFu::Extractor::VERSION = '0.96';
-}
-
+$Locale::Maketext::Extract::Plugin::FormFu::Extractor::VERSION = '1.00';
use base qw(YAML::Loader);
#===================================
@@ -173,13 +167,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Extract::Plugin::FormFu - FormFu format parser
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -310,7 +306,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/Generic.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/Generic.pm
---
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/Generic.pm
2013-06-28 11:05:06.000000000 +0200
+++
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/Generic.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Extract::Plugin::Generic;
-{
- $Locale::Maketext::Extract::Plugin::Generic::VERSION = '0.96';
-}
-
+$Locale::Maketext::Extract::Plugin::Generic::VERSION = '1.00';
use strict;
use base qw(Locale::Maketext::Extract::Plugin::Base);
@@ -62,13 +59,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Extract::Plugin::Generic - Generic template parser
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -172,7 +171,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/Haml.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/Haml.pm
--- old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/Haml.pm
2013-06-28 11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/Haml.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Extract::Plugin::Haml;
-{
- $Locale::Maketext::Extract::Plugin::Haml::VERSION = '0.96';
-}
-
+$Locale::Maketext::Extract::Plugin::Haml::VERSION = '1.00';
use strict;
use warnings;
use base qw(Locale::Maketext::Extract::Plugin::Base);
@@ -45,13 +42,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Extract::Plugin::Haml - HAML format parser
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -160,7 +159,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/Mason.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/Mason.pm
---
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/Mason.pm
2013-06-28 11:05:06.000000000 +0200
+++
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/Mason.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Extract::Plugin::Mason;
-{
- $Locale::Maketext::Extract::Plugin::Mason::VERSION = '0.96';
-}
-
+$Locale::Maketext::Extract::Plugin::Mason::VERSION = '1.00';
use strict;
use base qw(Locale::Maketext::Extract::Plugin::Base);
@@ -45,13 +42,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Extract::Plugin::Mason - HTML::Mason (aka Mason 1) and Mason
(aka Mason 2) format parser
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -160,7 +159,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/PPI.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/PPI.pm
--- old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/PPI.pm
2013-06-28 11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/PPI.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Extract::Plugin::PPI;
-{
- $Locale::Maketext::Extract::Plugin::PPI::VERSION = '0.96';
-}
-
+$Locale::Maketext::Extract::Plugin::PPI::VERSION = '1.00';
use strict;
use base qw(Locale::Maketext::Extract::Plugin::Base);
use PPI();
@@ -113,13 +110,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Extract::Plugin::PPI - Perl format parser
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -251,7 +250,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/Perl.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/Perl.pm
--- old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/Perl.pm
2013-06-28 11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/Perl.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Extract::Plugin::Perl;
-{
- $Locale::Maketext::Extract::Plugin::Perl::VERSION = '0.96';
-}
-
+$Locale::Maketext::Extract::Plugin::Perl::VERSION = '1.00';
use strict;
use base qw(Locale::Maketext::Extract::Plugin::Base);
@@ -121,7 +118,7 @@
&& m/^<<(\w*)/gc
&& do { $state = HERE; $quo = QUO7; $heredoc = $1; redo };
- # jump ahaid and get the heredoc, then s/// also
+ # jump ahead and get the heredoc, then s/// also
# resets the pos and we are back at the current pos
$state == HERE
&& m/^.*\r?\n/gc
@@ -156,13 +153,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Extract::Plugin::Perl - Perl format parser
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -297,7 +296,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/TT2.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/TT2.pm
--- old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/TT2.pm
2013-06-28 11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/TT2.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Extract::Plugin::TT2;
-{
- $Locale::Maketext::Extract::Plugin::TT2::VERSION = '0.96';
-}
-
+$Locale::Maketext::Extract::Plugin::TT2::VERSION = '1.00';
use strict;
use base qw(Locale::Maketext::Extract::Plugin::Base);
use Template::Constants qw( :debug );
@@ -95,15 +92,12 @@
#===================================
#===================================
package Locale::Maketext::Extract::Plugin::TT2::Parser;
-{
- $Locale::Maketext::Extract::Plugin::TT2::Parser::VERSION = '0.96';
-}
#===================================
#===================================
-
+$Locale::Maketext::Extract::Plugin::TT2::Parser::VERSION = '1.00';
use base 'Template::Parser';
-# disabled location() because it was adding unneccessary text
+# disabled location() because it was adding unnecessary text
# to filter blocks
#===================================
sub location {''}
@@ -124,12 +118,9 @@
#===================================
#===================================
package Locale::Maketext::Extract::Plugin::TT2::Directive;
-{
- $Locale::Maketext::Extract::Plugin::TT2::Directive::VERSION = '0.96';
-}
#===================================
#===================================
-
+$Locale::Maketext::Extract::Plugin::TT2::Directive::VERSION = '1.00';
use base 'Template::Directive';
our $PARSER;
@@ -182,7 +173,9 @@
}
# Mojolicious TT syntax [% c.l('...') %]
- elsif ( $ident->[0] eq "'c'" && $ident->[2] eq "'l'" ) {
+ elsif ( $ident->[0] eq "'c'"
+ && ( $ident->[2] eq "'l'" || $ident->[2] eq "'loc'" ) )
+ {
$got_i18n = 1;
splice( @$ident, 0, 2 );
}
@@ -242,7 +235,9 @@
return ''
unless $name eq "'l'"
or $name eq "'loc'"
- or $name eq "'c.l'";
+ or $name eq "'c.l'"
+ or $name eq "'c.loc'";
+
if ( strip_quotes($block) ) {
$block =~ s/\\\\/\\/g;
$args = join_args( $class->args($args) );
@@ -291,13 +286,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Extract::Plugin::TT2 - Template Toolkit format parser
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -498,7 +495,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/TextTemplate.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/TextTemplate.pm
---
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/TextTemplate.pm
2013-06-28 11:05:06.000000000 +0200
+++
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/TextTemplate.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Extract::Plugin::TextTemplate;
-{
- $Locale::Maketext::Extract::Plugin::TextTemplate::VERSION = '0.96';
-}
-
+$Locale::Maketext::Extract::Plugin::TextTemplate::VERSION = '1.00';
use strict;
use base qw(Locale::Maketext::Extract::Plugin::Base);
@@ -28,10 +25,8 @@
{
package Locale::Maketext::Extract::Plugin::TextTemplate::Parser;
-{
- $Locale::Maketext::Extract::Plugin::TextTemplate::Parser::VERSION = '0.96';
-}
- our @ISA = 'HTML::Parser';
+$Locale::Maketext::Extract::Plugin::TextTemplate::Parser::VERSION = '1.00';
+our @ISA = 'HTML::Parser';
*{'text'} = sub {
my ( $self, $str, $is_cdata ) = @_;
my $sentences = Lingua::EN::Sentence::get_sentences($str)
@@ -62,13 +57,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Extract::Plugin::TextTemplate - Text::Template format parser
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -172,7 +169,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/YAML.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/YAML.pm
--- old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Plugin/YAML.pm
2013-06-28 11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Plugin/YAML.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Extract::Plugin::YAML;
-{
- $Locale::Maketext::Extract::Plugin::YAML::VERSION = '0.96';
-}
-
+$Locale::Maketext::Extract::Plugin::YAML::VERSION = '1.00';
use strict;
use base qw(Locale::Maketext::Extract::Plugin::Base);
@@ -27,10 +24,7 @@
}
package Locale::Maketext::Extract::Plugin::YAML::Extractor;
-{
- $Locale::Maketext::Extract::Plugin::YAML::Extractor::VERSION = '0.96';
-}
-
+$Locale::Maketext::Extract::Plugin::YAML::Extractor::VERSION = '1.00';
use base qw(YAML::Loader);
#===================================
@@ -107,13 +101,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Extract::Plugin::YAML - YAML format parser
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -274,7 +270,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Run.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Run.pm
--- old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract/Run.pm
2013-06-28 11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract/Run.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Extract::Run;
-{
- $Locale::Maketext::Extract::Run::VERSION = '0.96';
-}
-
+$Locale::Maketext::Extract::Run::VERSION = '1.00';
use strict;
use vars qw( @ISA @EXPORT_OK );
use File::Spec::Functions qw(catfile);
@@ -66,7 +63,7 @@
# Only extract from non-binary, normal files
return unless ( -f or -s ) and -T;
return
- if (/\.po$|\.bak$|~|,D|,B$/i)
+ if (/\.pot?$|\.bak$|~|,D|,B$/i)
|| (/^[\.#]/);
push @ARGV, $File::Find::name;
},
@@ -97,7 +94,7 @@
my $opts = shift;
# If a list of plugins is specified, then we use those modules
- # plus their default list of file extensionse
+ # plus their default list of file extensions
# and warnings enabled by default
my %extract_options
@@ -154,13 +151,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Extract::Run - Module interface to xgettext.pl
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -209,7 +208,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract.pm
--- old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Extract.pm
2013-06-28 11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Extract.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Extract;
-{
- $Locale::Maketext::Extract::VERSION = '0.96';
-}
-
+$Locale::Maketext::Extract::VERSION = '1.00';
use strict;
use Locale::Maketext::Lexicon();
@@ -271,9 +268,12 @@
sub extract_file {
my ( $self, $file ) = @_;
- local ( $/, *FH );
+ local ( *FH );
open FH, $file or die "Error reading from file '$file' : $!";
- my $content = scalar <FH>;
+ my $content = do {
+ local $/;
+ scalar <FH>;
+ };
$self->extract( $file => $content );
close FH;
@@ -445,13 +445,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Extract - Extract translatable strings from source
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -808,7 +810,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Lexicon/Auto.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Lexicon/Auto.pm
--- old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Lexicon/Auto.pm
2013-06-28 11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Lexicon/Auto.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Lexicon::Auto;
-{
- $Locale::Maketext::Lexicon::Auto::VERSION = '0.96';
-}
-
+$Locale::Maketext::Lexicon::Auto::VERSION = '1.00';
use strict;
# ABSTRACT: Auto fallback lexicon for Maketext
@@ -18,13 +15,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Lexicon::Auto - Auto fallback lexicon for Maketext
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -100,7 +99,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Lexicon/Gettext.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Lexicon/Gettext.pm
--- old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Lexicon/Gettext.pm
2013-06-28 11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Lexicon/Gettext.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Lexicon::Gettext;
-{
- $Locale::Maketext::Lexicon::Gettext::VERSION = '0.96';
-}
-
+$Locale::Maketext::Lexicon::Gettext::VERSION = '1.00';
use strict;
# ABSTRACT: PO and MO file parser for Maketext
@@ -243,13 +240,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Lexicon::Gettext - PO and MO file parser for Maketext
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -377,7 +376,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Lexicon/Msgcat.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Lexicon/Msgcat.pm
--- old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Lexicon/Msgcat.pm
2013-06-28 11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Lexicon/Msgcat.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Lexicon::Msgcat;
-{
- $Locale::Maketext::Lexicon::Msgcat::VERSION = '0.96';
-}
-
+$Locale::Maketext::Lexicon::Msgcat::VERSION = '1.00';
use strict;
# ABSTRACT: Msgcat catalog parser Maketext
@@ -91,13 +88,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Lexicon::Msgcat - Msgcat catalog parser Maketext
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -175,7 +174,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Lexicon/Tie.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Lexicon/Tie.pm
--- old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Lexicon/Tie.pm
2013-06-28 11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Lexicon/Tie.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Lexicon::Tie;
-{
- $Locale::Maketext::Lexicon::Tie::VERSION = '0.96';
-}
-
+$Locale::Maketext::Lexicon::Tie::VERSION = '1.00';
use strict;
use Symbol ();
@@ -33,13 +30,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Lexicon::Tie - Use tied hashes as lexicons for Maketext
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -108,7 +107,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Lexicon.pm
new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Lexicon.pm
--- old/Locale-Maketext-Lexicon-0.96/lib/Locale/Maketext/Lexicon.pm
2013-06-28 11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/lib/Locale/Maketext/Lexicon.pm
2014-03-06 12:02:27.000000000 +0100
@@ -1,8 +1,5 @@
package Locale::Maketext::Lexicon;
-{
- $Locale::Maketext::Lexicon::VERSION = '0.96';
-}
-
+$Locale::Maketext::Lexicon::VERSION = '1.00';
use 5.004;
use strict;
@@ -348,13 +345,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Locale::Maketext::Lexicon - Use other catalog formats in Maketext
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -604,7 +603,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Locale-Maketext-Lexicon-0.96/script/xgettext.pl
new/Locale-Maketext-Lexicon-1.00/script/xgettext.pl
--- old/Locale-Maketext-Lexicon-0.96/script/xgettext.pl 2013-06-28
11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/script/xgettext.pl 2014-03-06
12:02:27.000000000 +0100
@@ -16,13 +16,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
xgettext.pl - Extract translatable strings from source
=head1 VERSION
-version 0.96
+version 1.00
=head1 SYNOPSIS
@@ -280,7 +282,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2013 by Audrey Tang.
+This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Locale-Maketext-Lexicon-0.96/t/5-extract.t
new/Locale-Maketext-Lexicon-1.00/t/5-extract.t
--- old/Locale-Maketext-Lexicon-0.96/t/5-extract.t 2013-06-28
11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/t/5-extract.t 2014-03-06
12:02:27.000000000 +0100
@@ -1,7 +1,7 @@
#! /usr/bin/perl -w
use lib '../lib';
use strict;
-use Test::More tests => 84;
+use Test::More tests => 86;
use_ok('Locale::Maketext::Extract');
my $Ext = Locale::Maketext::Extract->new();
@@ -574,7 +574,7 @@
#### BEGIN TT TESTS ############
SKIP: {
- skip( 'Template.pm unavailable', 48 ) unless eval { require Template };
+ skip( 'Template.pm unavailable', 50 ) unless eval { require Template };
$Ext = Locale::Maketext::Extract->new( plugins => { tt2 => '*' } );
@@ -960,16 +960,31 @@
msgstr ""
__EXAMPLE__
+# Mojo tests
+
extract_ok(
q([% c.l('Hello, world!') %]) => "Hello, world!",
- "Mojolicious syntax is supported correctly",
+ "Mojolicious c.l syntax is supported correctly",
);
- write_po_ok( <<'__TT__' => <<'__EXAMPLE__', 'Mojolicious and filter
syntax' );
+ write_po_ok( <<'__TT__' => <<'__EXAMPLE__', 'Mojolicious and c.l filter
syntax' );
[% 'my string' | c.l %]
__TT__
#: :1
msgid "my string"
+msgstr ""
+__EXAMPLE__
+
+ extract_ok(
+ q([% c.loc('Hello, world!') %]) => "Hello, world!",
+ "Mojolicious c.loc syntax is supported correctly",
+ );
+
+ write_po_ok( <<'__TT__' => <<'__EXAMPLE__', 'Mojolicious and c.loc filter
syntax' );
+[% 'my string' | c.loc %]
+__TT__
+#: :1
+msgid "my string"
msgstr ""
__EXAMPLE__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Locale-Maketext-Lexicon-0.96/t/release-pod-syntax.t
new/Locale-Maketext-Lexicon-1.00/t/release-pod-syntax.t
--- old/Locale-Maketext-Lexicon-0.96/t/release-pod-syntax.t 2013-06-28
11:05:06.000000000 +0200
+++ new/Locale-Maketext-Lexicon-1.00/t/release-pod-syntax.t 2014-03-06
12:02:27.000000000 +0100
@@ -7,9 +7,8 @@
}
}
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
use Test::More;
-
-eval "use Test::Pod 1.41";
-plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+use Test::Pod 1.41;
all_pod_files_ok();