- 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) OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-YAML-Tiny?expand=0&rev=16
This commit is contained in:
parent
311cbeef99
commit
95a6915dc1
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:145208ff411e2e2961de640860624492b82946ea2b0c3bd4069c0326e4de451e
|
|
||||||
size 45380
|
|
3
YAML-Tiny-1.58.tar.gz
Normal file
3
YAML-Tiny-1.58.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6654a73dbb0c4bb022c830303f00607fe57602fef1c608f00ae64720be1a5f88
|
||||||
|
size 71296
|
@ -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
|
Fri Oct 4 09:11:14 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-YAML-Tiny
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-YAML-Tiny
|
Name: perl-YAML-Tiny
|
||||||
Version: 1.56
|
Version: 1.58
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name YAML-Tiny
|
%define cpan_name YAML-Tiny
|
||||||
Summary: Read/Write YAML files with as little code as possible
|
Summary: Read/Write YAML files with as little code as possible
|
||||||
@ -29,18 +29,10 @@ BuildArch: noarch
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Module::Build::Tiny) >= 0.027
|
BuildRequires: perl(Module::Build::Tiny) >= 0.034
|
||||||
BuildRequires: perl(Test::More) >= 0.94
|
BuildRequires: perl(Test::More) >= 0.99
|
||||||
#BuildRequires: perl(Pod::Wordlist)
|
BuildRequires: perl(version)
|
||||||
#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)
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%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
|
refused. Someone has to draw the line, and for YAML::Tiny that someone is
|
||||||
me.
|
me.
|
||||||
|
|
||||||
If you need something with more power move up to the YAML manpage (4
|
If you need something with more power move up to the YAML manpage (7
|
||||||
megabytes of memory overhead) or the YAML::Syck manpage (275k, but requires
|
megabytes of memory overhead) or the YAML::XS manpage (6 megabytes memory
|
||||||
_libsyck_ and a C compiler).
|
overhead and requires a C compiler).
|
||||||
|
|
||||||
To restate, the YAML::Tiny manpage does *not* preserve your comments,
|
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
|
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
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes LICENSE README
|
%doc Changes CONTRIBUTING LICENSE README README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user