From 95a6915dc1602391584fbf7c8182cb786e6d697b9b2e97c648a63f4b13f97081 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 9 Feb 2014 15:45:00 +0000 Subject: [PATCH] =?UTF-8?q?-=20updated=20to=201.58=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20[INCOMPATIBLE=20CHANGE]=20=20=20=20=20=20=20=20=20-=201.57?= =?UTF-8?q?=20omitted=20a=20change=20entry=20for=20the=20following=20chang?= =?UTF-8?q?e:=20=20=20=20=20=20=20=20=20-=20Previously,=20YAML::Tiny=20was?= =?UTF-8?q?=20sloppy=20about=20file=20encodings.=20=20It=20is=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20now=20strict.=20=20The=20'read'=20method?= =?UTF-8?q?=20and=20'LoadFile'=20function=20expect=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20UTF-8=20encoded=20files.=20=20The=20'write'=20method?= =?UTF-8?q?=20and=20'DumpFile'=20function=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?produce=20UTF-8=20encoded=20files.=20=20The=20'read=5Fstring'?= =?UTF-8?q?=20and=20=20=20=20=20=20=20=20=20=20=20'write=5Fstring'=20metho?= =?UTF-8?q?ds=20and=20the=20'Load'=20and=20'Dump'=20functions=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20expect=20or=20generate=20(decoded)=20chara?= =?UTF-8?q?cter=20data.=20=20=20=20=20=20=20=20=20=20=20-=20Previously,=20?= =?UTF-8?q?some=20errors=20would=20throw=20exceptions=20and=20some=20would?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20return=20the=20error=20c?= =?UTF-8?q?ondition=20in=20$YAML::Tiny::errstr.=20=20Now=20all=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20errors=20throw=20exceptions.=20=20Us?= =?UTF-8?q?e=20of=20$errstr=20and=20the=20errstr=20method=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20are=20deprecated.=20(David=20Golden)=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20[FIXED]=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20-=20Fixed=20write=20method=20to=20encode=20YAML=20file=20wit?= =?UTF-8?q?h=20UTF-8=20(David=20Golden)=20=20=20=20=20=20=20=20=20=20=20-?= =?UTF-8?q?=20Improved=20SYNOPSIS=20and=20documentation=20of=20new=20(Davi?= =?UTF-8?q?d=20Golden)=20=20=20=20=20=20=20=20=20[TESTING]=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20-=20Tests=20have=20been=20cleaned=20up=20and?= =?UTF-8?q?=20reorganized.=20=20Test=20coverage=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20has=20been=20significnatly=20improved.=20(Ingy=20d?= =?UTF-8?q?=C3=B6t=20Net,=20David=20Golden,=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20Jim=20Keenan,=20Karen=20Etheridge)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-YAML-Tiny?expand=0&rev=16 --- YAML-Tiny-1.56.tar.gz | 3 --- YAML-Tiny-1.58.tar.gz | 3 +++ perl-YAML-Tiny.changes | 31 +++++++++++++++++++++++++++++++ perl-YAML-Tiny.spec | 28 ++++++++++------------------ 4 files changed, 44 insertions(+), 21 deletions(-) delete mode 100644 YAML-Tiny-1.56.tar.gz create mode 100644 YAML-Tiny-1.58.tar.gz diff --git a/YAML-Tiny-1.56.tar.gz b/YAML-Tiny-1.56.tar.gz deleted file mode 100644 index 0cfca23..0000000 --- a/YAML-Tiny-1.56.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:145208ff411e2e2961de640860624492b82946ea2b0c3bd4069c0326e4de451e -size 45380 diff --git a/YAML-Tiny-1.58.tar.gz b/YAML-Tiny-1.58.tar.gz new file mode 100644 index 0000000..21b29f3 --- /dev/null +++ b/YAML-Tiny-1.58.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6654a73dbb0c4bb022c830303f00607fe57602fef1c608f00ae64720be1a5f88 +size 71296 diff --git a/perl-YAML-Tiny.changes b/perl-YAML-Tiny.changes index e809fb7..77e0709 100644 --- a/perl-YAML-Tiny.changes +++ b/perl-YAML-Tiny.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Sun Feb 9 13:31:12 UTC 2014 - coolo@suse.com + +- updated to 1.58 + [INCOMPATIBLE CHANGE] + + - 1.57 omitted a change entry for the following change: + + - Previously, YAML::Tiny was sloppy about file encodings. It is + now strict. The 'read' method and 'LoadFile' function expect + UTF-8 encoded files. The 'write' method and 'DumpFile' function + produce UTF-8 encoded files. The 'read_string' and + 'write_string' methods and the 'Load' and 'Dump' functions + expect or generate (decoded) character data. + + - Previously, some errors would throw exceptions and some would + return the error condition in $YAML::Tiny::errstr. Now all + errors throw exceptions. Use of $errstr and the errstr method + are deprecated. (David Golden) + + [FIXED] + + - Fixed write method to encode YAML file with UTF-8 (David Golden) + - Improved SYNOPSIS and documentation of new (David Golden) + + [TESTING] + + - Tests have been cleaned up and reorganized. Test coverage + has been significnatly improved. (Ingy döt Net, David Golden, + Jim Keenan, Karen Etheridge) + ------------------------------------------------------------------- Fri Oct 4 09:11:14 UTC 2013 - coolo@suse.com diff --git a/perl-YAML-Tiny.spec b/perl-YAML-Tiny.spec index 9064cfc..6f29fe2 100644 --- a/perl-YAML-Tiny.spec +++ b/perl-YAML-Tiny.spec @@ -1,7 +1,7 @@ # # spec file for package perl-YAML-Tiny # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products 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,7 +17,7 @@ Name: perl-YAML-Tiny -Version: 1.56 +Version: 1.58 Release: 0 %define cpan_name YAML-Tiny Summary: Read/Write YAML files with as little code as possible @@ -29,18 +29,10 @@ BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build::Tiny) >= 0.027 -BuildRequires: perl(Test::More) >= 0.94 -#BuildRequires: perl(Pod::Wordlist) -#BuildRequires: perl(Test::Kwalitee) -#BuildRequires: perl(Test::NoTabs) -#BuildRequires: perl(Test::Spelling) >= 0.12 -#BuildRequires: perl(t::lib::Test) -#BuildRequires: perl(YAML) -#BuildRequires: perl(YAML::Perl) -#BuildRequires: perl(YAML::Syck) -#BuildRequires: perl(YAML::Tiny) -#BuildRequires: perl(YAML::XS) +BuildRequires: perl(Module::Build::Tiny) >= 0.034 +BuildRequires: perl(Test::More) >= 0.99 +BuildRequires: perl(version) + %{perl_requires} %description @@ -72,9 +64,9 @@ in a few lines of code. Please don't be offended if your request is refused. Someone has to draw the line, and for YAML::Tiny that someone is me. -If you need something with more power move up to the YAML manpage (4 -megabytes of memory overhead) or the YAML::Syck manpage (275k, but requires -_libsyck_ and a C compiler). +If you need something with more power move up to the YAML manpage (7 +megabytes of memory overhead) or the YAML::XS manpage (6 megabytes memory +overhead and requires a C compiler). To restate, the YAML::Tiny manpage does *not* preserve your comments, whitespace, or the order of your YAML data. But it should round-trip from @@ -97,6 +89,6 @@ find . -type f -print0 | xargs -0 chmod 644 %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes LICENSE README +%doc Changes CONTRIBUTING LICENSE README README.md %changelog