Skip to content

Commit

Permalink
Allow more-specific BW opts to be passed. Package administrivia.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocky Bernstein committed Dec 23, 2012
1 parent 33e06f4 commit 4395344
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 9 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
@@ -1,3 +1,9 @@
2012-12-18 Rocky Bernstein <rocky@cpan.org>

* ChangeLog, Changes, lib/Devel/Trepan.pm,
lib/Devel/Trepan/Version.pm, t/Helper.pm: Get ready for 0.47
release.

2012-12-15 Rocky Bernstein <rocky@cpan.org>

* lib/Devel/Trepan/Core.pm, lib/Devel/Trepan/Interface/Script.pm,
Expand Down
8 changes: 4 additions & 4 deletions META.json
Expand Up @@ -59,7 +59,7 @@
},
"Devel::Trepan" : {
"file" : "lib/Devel/Trepan.pm",
"version" : "0.45_01"
"version" : "0.47"
},
"Devel::Trepan::BrkptMgr" : {
"file" : "lib/Devel/Trepan/BrkptMgr.pm",
Expand Down Expand Up @@ -663,7 +663,7 @@
},
"Devel::Trepan::Version" : {
"file" : "lib/Devel/Trepan/Version.pm",
"version" : "0.46_01"
"version" : "0.47"
},
"Devel::Trepan::WatchMgr" : {
"file" : "lib/Devel/Trepan/WatchMgr.pm",
Expand All @@ -678,7 +678,7 @@
"version" : 0
}
},
"release_status" : "testing",
"release_status" : "stable",
"resources" : {
"bugtracker" : {
"web" : "https://github.com/rocky/Perl-Devel-Trepan/issues"
Expand All @@ -690,5 +690,5 @@
"url" : "http://github.com/rocky/Perl-Devel-Trepan"
}
},
"version" : "0.46_01"
"version" : "0.47"
}
6 changes: 3 additions & 3 deletions META.yml
Expand Up @@ -24,7 +24,7 @@ provides:
version: 0
Devel::Trepan:
file: lib/Devel/Trepan.pm
version: 0.45_01
version: 0.47
Devel::Trepan::BrkptMgr:
file: lib/Devel/Trepan/BrkptMgr.pm
version: 0
Expand Down Expand Up @@ -477,7 +477,7 @@ provides:
version: 0
Devel::Trepan::Version:
file: lib/Devel/Trepan/Version.pm
version: 0.46_01
version: 0.47
Devel::Trepan::WatchMgr:
file: lib/Devel/Trepan/WatchMgr.pm
version: 0
Expand Down Expand Up @@ -511,4 +511,4 @@ resources:
bugtracker: https://github.com/rocky/Perl-Devel-Trepan/issues
license: http://www.gnu.org/licenses/old-licenses/gpl-1.0.txt
repository: http://github.com/rocky/Perl-Devel-Trepan
version: 0.46_01
version: 0.47
2 changes: 1 addition & 1 deletion lib/Devel/Trepan.pm
Expand Up @@ -18,7 +18,7 @@ use Exporter;

use constant PROGRAM => 'trepan.pl';
use version;
$VERSION='0.47'; # To fool CPAN indexer. Is <= real version
$VERSION='0.47_01'; # To fool CPAN indexer. Is <= real version
$VERSION = $Devel::Trepan::Version::VERSION;
$PROGRAM = PROGRAM;

Expand Down
3 changes: 2 additions & 1 deletion lib/Devel/Trepan/Core.pm
Expand Up @@ -125,7 +125,8 @@ sub awaken($;$) {
my $proc;
my $batch_filename = $opts->{testing};
if ($opts->{bw} && $HAVE_BULLWINKLE) {
my $bw_opts = undef;
my $bw_opts = $opts->{bw};
$bw_opts = {} unless ref($bw_opts) eq 'HASH';
if (defined $batch_filename) {
my $fh = IO::File->new($batch_filename, 'r');
$bw_opts = {input => $fh,
Expand Down

0 comments on commit 4395344

Please sign in to comment.