Config-Tiny

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for Perl extension Config-Tiny:

2.30  2023-10-12T17:17:08
	- As of V 2.30, this module supports an array syntax for cases where you wish to
		assign an array of values to a key.
	- See the new POD section called ARRAY SYNTAX.
	- See also the updated question in the FAQ: What happens if a key is repeated?
	- See also the sample code in the Synopsis and in t/02.main.t and in t/test.conf.
	- In each case, search for the word greetings to find the new code samples.
	- This patch was kindly provided by Steven Schoch, with some additions by Ron Savage.

2.29  2023-04-05T12:53:00
	- Edit to remove Test::Pod from TEST_REQUIRES in Makefile.PL, again.
		Thanx to Andrew Daugherity for the patch.
	- Update versiojnn # in t/02.main.t.

2.28  2022-01-04T15:47:58
	- Accept pull request from Todd Rinaldo to replace both uses of bareword filehandles
		with my variables. With thanx.
	- Accept 2019 pull request to Makefile.PL, for the purpose of modernization, and with
		some slight modifications, from Grinnz.
	- Make corresponding patches where appropriate to Tiny.pm and t/02.main.t.
	- Thanx to Grinnz aka Dan Book for the prompting.

2.27  2021-09-21T15:48:00
	- Add the option of passing a hashref to the constructor, where it is turned into an
		object of the class. See POD under new([$config]) for details.
		This patch to the code and POD includes the new test t/08.constructor.t.
		The patch was provided by D Hauke, with thanx.
	- Move test.conf back into t/, where it was years ago, before someone tried to remove
		all uses of File::Spec. But since File::Spec is used often now, there is no point
		in keeping test.conf in the root directory of the distro.

2.26  2021-02-01T17:11:00
	- Update POD to change RT to github.
	- Reformat Makefile.PL.

2.25  2021-01-31T20:29:00
	- Merge in clean-up patches from Karen Etheridge, with thanx.
	- Add back file t/0. Who deleted it? It is required for t/05.zero.t.
	- Update Makefile.PL to switch issue tracker from rt.cpan.org to github.

2.24  2019-06-11T15:30:00
	- Delete from caveats in documentation where it used to say:
		'Config::Tiny will only recognize the first time an option is set in a config file.'
		'Any further attempts to set the same option later in the config file are ignored.'
		In reality the code uses the 2nd and subsequent values to overwrite earlier values.
	- Make this topic a new FAQ.
	- Add corresponding test t/06.repeat.key.t.
	- Update POD to clarify trailing comment options.
	- Add corresponding test t/07.trailing.comment.t.
	- Romanize Gregory Kidrenko's name so Config::IniFiles does not get 'Wide char in print'.
	- Move xt/pod.t to xt/author/pod.t.
	- Adopt new repo structure. See
		http://savage.net.au/Ron/html/My.Workflow.for.Building.Distros.html.
	- Move require 5.008001 from Tiny.pm into Makefile.PL.

2.23  2015-10-14T09:11:00
	- Add the utf8 BOM to this file. Let's hope the CPAN toolchain can cope. If it can't, another
		version of the code will have to be released.
	- Fix read() and write() so they work on files called '0' (zero). See RT#107754.
		Many thanx to Gregory Kidrenko for the report and patch.
	- Add t/05.zero.t and t/0 to test the new code.
	- Reformat the source slightly.

2.22  2015-02-17T08:32:00
	- Fix licence info in Makefile.PL to say Perl.

2.21  2015-02-16T08:59:00
	- Patch Makefile.PL to refer to the current repo, which is on github, and not the original one,
		which is on Adam's web site. See RT#102125.
	- Remove Build.PL because Karen Etheridge tells me Module::Build is no longer in core.
		See RT#102126.
	- Edit line lengths in this file to a max of 100 chars.
	- Edit line lengths in the docs the same way.
	- Expand the See Also section of the docs.

2.20  2013-11-24T10:52:00
	- Relax pre-req version requirements

2.19  2013-09-15T09:16:00
	- Change VERSION => $VERSION in Makefile.PL to VERSION_FROM => 'lib/Config/Tiny.pm'.
		Reported by Jean-Louis Morel. See RT#88670.

2.18  2013-09-14T10:03:00
	- Remove obsolete and wrong version # from Makefile.PL.
		Reported by Jean-Louis Morel. See RT#88658.
	- Implement Kevin Ryde's suggestion to test if read() will return undef.
		If so, set an error message and (still) return undef.

2.17  2013-09-13T12:41:00
	- Remove the file tests -efr during calls to read(). The open() tests for any error.
		Also, the -f test was reporting /dev/null as a directory, not a file.
		Thanx to Kevin Ryde for pushing me to implement this. See RT#36974.
	- Clean up some error messages slightly.

2.16  2013-09-06T11:54:00
	- Replace Path::Tiny with File::Spec, because the former's list of dependencies is so long :-(.
		Changed files: t/02.main.t, t/04.utf8.t, Build.PL and Makefile.PL.
		See: RT#88435 (for Tree::DAG_Node) for an explanation.

2.15  2013-08-04T14:59:00
	- Clean up the shambolic dates in this file.
	- Add a note under Caveats about setting options more that once. Only the first case is
		respected. Thanx to Kimmel K. See RT#69795.
	- Add a $encoding parameter to read_file() and write_file(). See docs for details.
		Add t/04.utf8.t and t/04.utf8.txt.
		Thanx to Mark Lawrence and Wolfgang Husmann. See RT#71029 and RT#85571.
	- For BSD-based systems, when writing a file during tests, use:
		my($temp_dir) = File::Temp -> newdir('temp.XXXX', CLEANUP => 1, EXLOCK => 0, TMPDIR => 1);
	- Rename t/*.t files. I use '.' rather than '_' in file names because the latter is a shift
		char.
	- Add MANIFEST.SKIP, Changelog.ini, Build.PL, META.json.
	- Add an FAQ to the docs.
	- Clean up the docs.
	- As of this version, maintanence is by Ron Savage.

2.14 Thu Mar 24 12:00:00 2011
	- Resolved #63080: module can write multiline values but not read them



( run in 1.979 second using v1.01-cache-2.11-cpan-39bf76dae61 )