Skip to content

Commit 5cca089

Browse files
author
Eugene Ponizovsky
committed
Changes in POD. Prepared to release
1 parent e97abef commit 5cca089

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

Changes

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
Revision history for Perl extension Config::Processor.
22

3-
0.04 Wed Apr 28 11:06:00 MSK 2016
3+
0.04 Wed Apr 28 14:39:38 MSK 2016
44
- Data::Rmap was replaced by own function.
55
- Fixed wrong behavior during processing of directives.
6+
- Improved logic of tree traversal.
7+
- Improved logic of variable resolving.
68

79
0.02 Wed Apr 27 11:55:00 MSK 2016
810
- Initial release.

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Config-Processor version 0.03_02
1+
Config-Processor version 0.04
22
========================
33

44
INSTALLATION

lib/Config/Processor.pm

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use 5.008000;
44
use strict;
55
use warnings;
66

7-
our $VERSION = '0.03_02';
7+
our $VERSION = '0.04';
88

99
use File::Spec;
1010
use YAML::XS qw( LoadFile );
@@ -336,8 +336,10 @@ features
336336
dirs => [ qw( /etc/myapp /home/username/etc/myapp ) ],
337337
);
338338
339-
my $config = $config_processor->load(
340-
qw( dirs.yml db.json metrics/* ),
339+
my $config = $config_processor->load( qw( dirs.yml db.json metrics/* ) );
340+
341+
my $another_config = $config_processor->load(
342+
qw( dirs.yml db.json redis.yml mongodb.json metrics/* ),
341343
342344
{ myapp => {
343345
db => {
@@ -368,7 +370,7 @@ F<.yaml>, F<.jsn>, F<.json>.
368370
dirs => [ qw( /etc/myapp /home/username/etc/myapp ) ],
369371
);
370372
371-
$config_processor = Config::Processor->new(
373+
my $another_config_processor = Config::Processor->new(
372374
dirs => [ qw( /etc/myapp /home/username/myapp/etc ) ],
373375
interpolate_variables => 0,
374376
process_directives => 0,

0 commit comments

Comments
 (0)