7 years agorefactor option module loads for JSON subclass
Graham Knop [Sat, 4 Feb 2017 06:33:55 +0000]
refactor option module loads for JSON subclass

7 years agouse absolute paths when loading perl files
Graham Knop [Sat, 4 Feb 2017 06:29:16 +0000]
use absolute paths when loading perl files

The filenames provided to Config::Any are meant to be file paths.
If they are relative paths, they should be used directly, not searched
for in @INC.  Converting them to absolute paths will avoid that search,
and will allow it to work as expected when . is not in @INC.

8 years agoprep release mirror/master v0.27
Brian Cassidy [Thu, 31 Mar 2016 17:47:11 +0000]
prep release

8 years agodepend on Module::Pluggable::Object directly instead of assuming it is bundled with...
Brian Cassidy [Thu, 31 Mar 2016 17:44:09 +0000]
depend on Module::Pluggable::Object directly instead of assuming it is bundled with Module::Pluggable (RT #113148)

8 years agoprep release v0.26
Brian Cassidy [Wed, 29 Apr 2015 23:06:44 +0000]
prep release

8 years agoCapture file load errors for later use.
Russell Jenkins [Wed, 29 Apr 2015 00:49:14 +0000]
Capture file load errors for later use.

Localizing $@ also implies that any load error wasn't available outside
of the do block. Instead of always returning 1, return $@ so any error
is captured. The error is then rethrown if use_ext is enabled.

Signed-off-by: Brian Cassidy <brian.cassidy@gmail.com>

8 years agoTest load_files throws parse errors when use_ext=1
Russell Jenkins [Wed, 29 Apr 2015 00:48:45 +0000]
Test load_files throws parse errors when use_ext=1

Piggyback off existing tests for invalid config files to verify a parse
error is thrown when the config is invalid and use_ext => 1.

Signed-off-by: Brian Cassidy <brian.cassidy@gmail.com>

8 years agoprep release v0.25
Brian Cassidy [Fri, 24 Apr 2015 01:37:18 +0000]
prep release

8 years agodo not clobber $@ (RT #103061)
Brian Cassidy [Fri, 24 Apr 2015 01:32:31 +0000]
do not clobber $@ (RT #103061)

10 years agoprep release v0.24
Brian Cassidy [Tue, 10 Sep 2013 18:42:29 +0000]
prep release

10 years agoadd JSON::PP to list of available JSON parsers (RT #86959)
Brian Cassidy [Tue, 10 Sep 2013 18:38:35 +0000]
add JSON::PP to list of available JSON parsers (RT #86959)

10 years agoremove old YAML warning
Brian Cassidy [Tue, 10 Sep 2013 18:27:03 +0000]
remove old YAML warning

10 years agotypo fix (RT #87779)
Brian Cassidy [Thu, 15 Aug 2013 01:14:21 +0000]
typo fix (RT #87779)

12 years agoprep release v0.23
Brian Cassidy [Wed, 13 Jul 2011 15:18:07 +0000]
prep release

12 years agouse is_supported to figure out if we can test a loader
Brian Cassidy [Mon, 11 Jul 2011 14:10:16 +0000]
use is_supported to figure out if we can test a loader

12 years agoprep release v0.22
Brian Cassidy [Mon, 4 Jul 2011 14:48:00 +0000]
prep release

12 years agoadd XML::NamespaceSupport to XML format deps, silence YAML warnings in tests
Rafael Kitover [Mon, 4 Jul 2011 14:16:51 +0000]
add XML::NamespaceSupport to XML format deps, silence YAML warnings in tests

12 years agoprep release v0.21
Brian Cassidy [Wed, 25 May 2011 15:31:14 +0000]
prep release

12 years agoreformat Changes. bump copyright year.
Brian Cassidy [Wed, 25 May 2011 02:29:33 +0000]
reformat Changes. bump copyright year.

12 years agoupdate repo address
Brian Cassidy [Wed, 25 May 2011 02:15:57 +0000]
update repo address

13 years agofix t/64-extfail.t to pass when t/lib is in @INC
Brian Cassidy [Fri, 10 Dec 2010 18:16:41 +0000]
fix t/64-extfail.t to pass when t/lib is in @INC

13 years agoprep release v0.20
Brian Cassidy [Fri, 6 Aug 2010 11:49:02 +0000]
prep release

13 years agoremove useless "use Carp", squash warning in test suite.
Brian Cassidy [Thu, 5 Aug 2010 20:00:10 +0000]
remove useless "use Carp", squash warning in test suite.

13 years agotidy C::G related code, plus remove an old work-around which has been inactive for...
Brian Cassidy [Thu, 5 Aug 2010 19:41:54 +0000]
tidy C::G related code, plus remove an old work-around which has been inactive for years.

13 years agotidy Makefile.PL
Brian Cassidy [Thu, 5 Aug 2010 19:36:50 +0000]
tidy Makefile.PL

13 years agobetter version for Config::General
Rafael Kitover [Thu, 5 Aug 2010 01:45:10 +0000]
better version for Config::General

13 years agocroak if Config::General is too old
Rafael Kitover [Wed, 4 Aug 2010 20:11:24 +0000]
croak if Config::General is too old

13 years agobump ver. add to-be-released line to Changes.
Brian Cassidy [Wed, 4 Aug 2010 13:44:19 +0000]
bump ver. add to-be-released line to Changes.

13 years agoUse Config::Any's friendly error message for required version early on
Andrew Rodland [Mon, 2 Aug 2010 10:44:00 +0000]
Use Config::Any's friendly error message for required version early on

13 years agorequire Config::General >= 2.47
Rafael Kitover [Mon, 2 Aug 2010 10:39:25 +0000]
require Config::General >= 2.47

13 years agoenable -ForceArray option by default for Config::General
Rafael Kitover [Mon, 2 Aug 2010 10:00:37 +0000]
enable -ForceArray option by default for Config::General

13 years agoremove test. forgot to switch branches.
Brian Cassidy [Fri, 4 Jun 2010 14:35:17 +0000]
remove test. forgot to switch branches.

13 years agoadd leaktrace test
Brian Cassidy [Fri, 4 Jun 2010 14:32:56 +0000]
add leaktrace test

14 years agoprep release v0.19
Brian Cassidy [Mon, 15 Feb 2010 13:59:17 +0000]
prep release

14 years agoremove caching code from ::Perl
Rafael Kitover [Mon, 15 Feb 2010 13:52:28 +0000]
remove caching code from ::Perl

14 years agomake perl loader check mtime for cache, prefer JSON::DWIW for JSON
Rafael Kitover [Mon, 15 Feb 2010 12:17:50 +0000]
make perl loader check mtime for cache, prefer JSON::DWIW for JSON

14 years agoprep release v0.18
Brian Cassidy [Mon, 16 Nov 2009 13:02:45 +0000]
prep release

14 years agoensure XML loader's _coerce() method checks specifically for HASH refs
Brian Cassidy [Mon, 16 Nov 2009 12:49:59 +0000]
ensure XML loader's _coerce() method checks specifically for HASH refs

14 years agominor tidy to deprecation warning
Brian Cassidy [Tue, 21 Jul 2009 12:38:27 +0000]
minor tidy to deprecation warning

14 years agoadd warning about using YAML loaders other than ::XS
Rafael Kitover [Tue, 21 Jul 2009 11:37:40 +0000]
add warning about using YAML loaders other than ::XS

14 years agoadd YAML::XS to the top of the YAML loaders. tidy up some copyright lines.
Brian Cassidy [Tue, 21 Jul 2009 01:25:38 +0000]
add YAML::XS to the top of the YAML loaders. tidy up some copyright lines.

14 years agoAdd repository resource to all the MI Makefile.PLs
Tomas Doran [Sat, 23 May 2009 11:09:06 +0000]
Add repository resource to all the MI Makefile.PLs

14 years agoBump required Module::Install version in everything. janus++
Tomas Doran [Thu, 7 May 2009 13:19:53 +0000]
Bump required Module::Install version in everything. janus++

15 years agoadd JSON::XS to the top of the JSON loaders list v0.17
Brian Cassidy [Thu, 5 Feb 2009 14:32:56 +0000]
add JSON::XS to the top of the JSON loaders list

15 years agoensure require() happens against plugin specified in force_plugins
Brian Cassidy [Fri, 19 Dec 2008 12:54:48 +0000]
ensure require() happens against plugin specified in force_plugins

15 years agorevert change to extensions() as we really want *all* extensions. fix 10-branches... v0.16
Brian Cassidy [Mon, 17 Nov 2008 14:22:16 +0000]
revert change to extensions() as we really want *all* extensions. fix 10-branches to try only against .pl files.

15 years agofix up branches test which did not handle the errors thrown by changes from the last...
Brian Cassidy [Mon, 17 Nov 2008 13:40:15 +0000]
fix up branches test which did not handle the errors thrown by changes from the last release (RT #40948)
fix up error message for "any of" (RT #40972)

15 years agoupdate changes file v0.15
Brian Cassidy [Wed, 12 Nov 2008 14:48:24 +0000]
update changes file

15 years ago r37256@bricas-laptop (orig r8347): bricas | 2008-09-03 10:53:01 -0300
Brian Cassidy [Wed, 12 Nov 2008 14:44:22 +0000]
 r37256@bricas-laptop (orig r8347):  bricas | 2008-09-03 10:53:01 -0300
 branch for new feature
 r37257@bricas-laptop (orig r8348):  bricas | 2008-09-03 10:55:06 -0300
 when use_ext is true, we will check to see if there are no supported modules for a particular file. instead of the file being skipped, an error will be thrown.
 officially support multiple loaders per extension.
 add a Config::Any::Base for all loaders to inherit from, plus add a new dependency mechanism: requires_any_of() and requires_all_of().
 r37293@bricas-laptop (orig r8354):  bricas | 2008-09-04 10:52:33 -0300
 when use_ext is true, a fatal error will be thrown if there are no loaders available that understand the file extension
 r40211@bricas-laptop (orig r8589):  bricas | 2008-11-12 10:36:43 -0400
 filter out loaders that don't inherit from Config::Any::Base (RT #40830)
 r40212@bricas-laptop (orig r8590):  bricas | 2008-11-12 10:40:32 -0400
 add RT number

15 years agochanges file updated v0.14
Brian Cassidy [Wed, 6 Aug 2008 14:35:39 +0000]
changes file updated

15 years agoskip xml failure tests if XML::LibXML < 1.59 is installed, it seems to parse anything...
Brian Cassidy [Wed, 6 Aug 2008 13:40:03 +0000]
skip xml failure tests if XML::LibXML < 1.59 is installed, it seems to parse anything you throw at it (Matt S. Trout)

15 years agorelease date + misc. v0.13
Brian Cassidy [Tue, 5 Aug 2008 15:40:51 +0000]
release date + misc.

15 years agoline endings, tabs, perltidy.
Brian Cassidy [Tue, 5 Aug 2008 15:34:19 +0000]
line endings, tabs, perltidy.

15 years agoadded a flatten_to_hash option to return a simple key-value hashref instead of the...
Brian Cassidy [Tue, 5 Aug 2008 15:26:38 +0000]
added a flatten_to_hash option to return a simple key-value hashref instead of the default "arrayref of hashrefs" (Pedro Figueiredo)

15 years agoadded a caveat regarding XML::Simple's strict mode (Peter Corlett)
Brian Cassidy [Tue, 5 Aug 2008 15:05:58 +0000]
added a caveat regarding XML::Simple's strict mode (Peter Corlett)

15 years agoadd parse error tests. ensure INI errors are trapped. bumped version.
Brian Cassidy [Tue, 5 Aug 2008 12:03:26 +0000]
add parse error tests. ensure INI errors are trapped. bumped version.

15 years agoremove extra warn
Marcus Ramberg [Wed, 23 Jul 2008 11:39:01 +0000]
remove extra warn

15 years agoShow actual parse errors
Marcus Ramberg [Wed, 23 Jul 2008 07:29:40 +0000]
Show actual parse errors

16 years agorevert remove of name() in Makefile.PL v0.12
Brian Cassidy [Mon, 7 Apr 2008 18:21:00 +0000]
revert remove of name() in Makefile.PL

16 years agoupdated changes and makefile.pl for release
Brian Cassidy [Mon, 7 Apr 2008 18:18:00 +0000]
updated changes and makefile.pl for release

16 years agoremove eval so the Perl loader dies on invalid content.
Brian Cassidy [Thu, 7 Feb 2008 23:01:08 +0000]
remove eval so the Perl loader dies on invalid content.

16 years agoremove version section from pod v0.11
Brian Cassidy [Mon, 28 Jan 2008 15:12:42 +0000]
remove version section from pod

16 years agoforgot an ini file
Brian Cassidy [Mon, 28 Jan 2008 15:07:50 +0000]
forgot an ini file

16 years agobump version
Brian Cassidy [Mon, 28 Jan 2008 14:55:54 +0000]
bump version

16 years agofix for ini subsections (RT #32726), use from_json for JSON v2.x, refactor test suite.
Brian Cassidy [Mon, 28 Jan 2008 14:54:51 +0000]
fix for ini subsections (RT #32726), use from_json for JSON v2.x, refactor test suite.

16 years agominor doc update v0.10
Brian Cassidy [Wed, 12 Dec 2007 02:25:40 +0000]
minor doc update

16 years agobump ver. update changes.
Brian Cassidy [Wed, 12 Dec 2007 02:14:52 +0000]
bump ver. update changes.

16 years agoremove each() from the docs v0.09_02
Brian Cassidy [Wed, 14 Nov 2007 02:27:16 +0000]
remove each() from the docs

16 years agoupdate is_supported with YAML::Syck version
Brian Cassidy [Tue, 13 Nov 2007 20:13:40 +0000]
update is_supported with YAML::Syck version

16 years agorequire YAML::Syck 0.70 for multi-document loading
Brian Cassidy [Tue, 13 Nov 2007 19:30:30 +0000]
require YAML::Syck 0.70 for multi-document loading

16 years agoa little cleanup before a dev release v0.09_01
Brian Cassidy [Tue, 13 Nov 2007 18:27:26 +0000]
a little cleanup before a dev release

16 years agoonly check if a plugin is supported once we're sure we want to use it. this will...
Brian Cassidy [Tue, 13 Nov 2007 18:19:08 +0000]
only check if a plugin is supported once we're sure we want to use it. this will save us from loading modules we don't need to.

16 years agofix up changes a little
Brian Cassidy [Tue, 13 Nov 2007 18:10:57 +0000]
fix up changes a little

16 years agodon't bother with use_ext warning if force_plugins is set
Brian Cassidy [Tue, 13 Nov 2007 16:22:35 +0000]
don't bother with use_ext warning if force_plugins is set

16 years agoadded is_supported() to see what plugins we can use
Brian Cassidy [Tue, 13 Nov 2007 15:40:44 +0000]
added is_supported() to see what plugins we can use

16 years agorefactor _load(). fix an issue with use_ext => 0. use_ext now on by default. throw...
Brian Cassidy [Tue, 13 Nov 2007 15:21:57 +0000]
refactor _load(). fix an issue with use_ext => 0. use_ext now on by default. throw errors when use_ext => 1. allow multi-stream configs. pod updates

16 years agomore code updates, before i look in depth at the _load() routine
Brian Cassidy [Thu, 8 Nov 2007 16:21:13 +0000]
more code updates, before i look in depth at the _load() routine

16 years agomore code cleanup
Brian Cassidy [Thu, 8 Nov 2007 14:48:34 +0000]
more code cleanup

16 years agosome code and pod cleanups.
Brian Cassidy [Thu, 8 Nov 2007 14:21:58 +0000]
some code and pod cleanups.

16 years agoperltidy
Brian Cassidy [Thu, 8 Nov 2007 13:54:07 +0000]
perltidy

16 years agoauto generate README
Brian Cassidy [Thu, 8 Nov 2007 13:39:45 +0000]
auto generate README

16 years agoupdated README v0.08
Brian Cassidy [Thu, 23 Aug 2007 15:02:04 +0000]
updated README

16 years agofix date in changes
Brian Cassidy [Thu, 23 Aug 2007 15:01:37 +0000]
fix date in changes

16 years agodoc + fetch driver_args for load_stems()
Brian Cassidy [Thu, 23 Aug 2007 15:01:09 +0000]
doc + fetch driver_args for load_stems()

16 years agoadded test for config options to Config::General
Brian Cassidy [Thu, 23 Aug 2007 14:33:42 +0000]
added test for config options to Config::General

16 years agominor cleanup -- pass args to XML::Simple
Brian Cassidy [Thu, 23 Aug 2007 13:32:05 +0000]
minor cleanup -- pass args to XML::Simple

16 years agoadded a simple cache to the perl parser so it can load the same file twice (RT #28812)
Brian Cassidy [Thu, 23 Aug 2007 12:30:41 +0000]
added a simple cache to the perl parser so it can load the same file twice (RT #28812)

16 years agopass special config options to loaders
Brian Cassidy [Wed, 22 Aug 2007 20:08:30 +0000]
pass special config options to loaders

16 years agodistro work
Brian Cassidy [Wed, 22 Aug 2007 03:21:48 +0000]
distro work

17 years agofixed bug: [rt.cpan.org #25143] make tests fails
Joel Bernstein [Sun, 25 Feb 2007 20:08:33 +0000]
fixed bug: [rt.cpan.org #25143] make tests fails
- t/61_features.t had 1 more test added than was set to skip if the INI parser
  was not installed. Fixed by s/9/10/ on the skip() line.

17 years agoRemoved Test::Exception line which was causing test failures
Joel Bernstein [Thu, 22 Feb 2007 21:44:59 +0000]
Removed Test::Exception line which was causing test failures
Bumped version number

17 years agoadded support for:
Joel Bernstein [Wed, 21 Feb 2007 22:24:17 +0000]
added support for:
'force_plugins => [ qw(Config::Any::Foo Config::Any::Blah) ]' parameter to load_(files|stems)
$Config::Any::INI::MAP_SECTION_SPACE_TO_NESTED_KEY - boolean, defaulting to on, controlling whether to map spaces
in INI section headings to nested hashrefs

17 years agoMANIFEST update v0.04
Joel Bernstein [Tue, 22 Aug 2006 21:32:30 +0000]
MANIFEST update

17 years agoadded some branch exercising tests in 10-branches.t and 51-ini.t, and a second INI...
Joel Bernstein [Tue, 22 Aug 2006 21:18:27 +0000]
added some branch exercising tests in 10-branches.t and 51-ini.t, and a second INI-file test config

17 years agofixed parser test to skip tests when dependent modules are not installed
Joel Bernstein [Tue, 22 Aug 2006 20:27:58 +0000]
fixed parser test to skip tests when dependent modules are not installed

17 years agoremoved duplicate test
Brian Cassidy [Tue, 22 Aug 2006 19:41:41 +0000]
removed duplicate test

17 years agodistro updates
Brian Cassidy [Tue, 22 Aug 2006 19:37:15 +0000]
distro updates

17 years agoadded test configs
Joel Bernstein [Tue, 22 Aug 2006 19:35:10 +0000]
added test configs

17 years agomore files needed to create the dists, and tests
Joel Bernstein [Tue, 22 Aug 2006 19:26:35 +0000]
more files needed to create the dists, and tests

17 years agofixed MANIFEST breakage
Joel Bernstein [Tue, 22 Aug 2006 19:18:53 +0000]
fixed MANIFEST breakage