Permalink
Browse files

Try yet again to avoid using rlib and pacifying smokers.

  • Loading branch information...
1 parent 12f8125 commit bc607fe79ae7c92734b683ebe6a6b4a8b18489c6 Rocky Bernstein committed Sep 19, 2012
Showing with 78 additions and 26 deletions.
  1. +6 −5 Build.PL
  2. +42 −0 ChangeLog
  3. +14 −14 META.json
  4. +5 −5 META.yml
  5. +8 −2 lib/Devel/Trepan.pm
  6. +3 −0 lib/Devel/Trepan/Version.pm
View
@@ -23,10 +23,11 @@ use File::Spec;
my $lib = File::Spec->catfile(dirname(__FILE__), 'lib');
unshift @INC, $lib;
-require Devel::Trepan;
+require Devel::Trepan::Version;
-my $release_status = ($Devel::Trepan::VERSION =~ /_/) ? 'testing' : 'stable';
-# print "$Devel::Trepan::VERSION $release_status\n";
+my $release_status = ($Devel::Trepan::Version::VERSION =~ /_/) ?
+ 'testing' : 'stable';
+# print "$Devel::Trepan::Version::VERSION $release_status\n";
my $builder = Module::Build->new(
module_name => 'Devel::Trepan',
@@ -35,7 +36,7 @@ my $builder = Module::Build->new(
dist_abstract =>
'Modular Perl Debugger (akin to Ruby "Trepanning" Debuggers).',
dist_author => 'Rocky Bernstein <rocky@cpan.org>',
- dist_version_from => 'lib/Devel/Trepan.pm',
+ dist_version_from => 'lib/Devel/Trepan/Version.pm',
license => 'gpl',
needs_compiler => 0,
release_status => $release_status,
@@ -60,7 +61,7 @@ my $builder = Module::Build->new(
},
recommends => {
'Data::Printer' => 0,
- 'Devel::Callsite' => 0,
+ 'Devel::Callsite' => 0.05,
'Eval::WithLexicals' => 0,
'Pod::Text::Color' => 2.06,
'Term::ReadKey' => 0,
View
@@ -1,3 +1,45 @@
+2012-09-18 Rocky Bernstein <rocky@cpan.org>
+
+ * Changes, lib/Devel/Trepan.pm: Get ready for 0.42 release. Botched
+ 0.41 release.
+
+2012-09-18 rocky <rocky@cpan.org>
+
+ * Build.PL, META.json, META.yml, lib/Devel/Trepan.pm,
+ lib/Devel/Trepan/CmdProcessor/Command/Alias.pm,
+ lib/Devel/Trepan/CmdProcessor/Command/Macro.pm,
+ lib/Devel/Trepan/CmdProcessor/Command/Quit.pm,
+ lib/Devel/Trepan/CmdProcessor/Command/Server.pm,
+ lib/Devel/Trepan/CmdProcessor/Command/Source.pm,
+ lib/Devel/Trepan/CmdProcessor/Command/Unalias.pm,
+ lib/Devel/Trepan/DB/LineCache.pm: Update doc. Get ready for 0.41
+ release
+
+2012-09-18 rocky <rocky@cpan.org>
+
+ * lib/Devel/Trepan/DB/Colors.pm: Add definition for black. Without
+ it, Improved.pm of Syntax Highlight may report using an undefined
+ value.
+
+2012-09-17 Rocky Bernstein <rocky@cpan.org>
+
+ * t/data/alias.right: Upate alias test output for last change
+
+2012-09-17 Rocky Bernstein <rocky@cpan.org>
+
+ * lib/Devel/Trepan/CmdProcessor/Command/Help.pm,
+ lib/Devel/Trepan/CmdProcessor/Command/List.pm,
+ lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubMgr.pm,
+ lib/Devel/Trepan/DB/Colors.pm: Help: Make section head for aliases.
+ SubMgr.pm: remove deprication on Perl 5.17 Colors.pm: use bblue for
+ keywords rather than black.
+
+2012-09-17 Rocky Bernstein <rocky@cpan.org>
+
+ * Build.PL, ChangeLog, META.json, META.yml, lib/Devel/Trepan.pm,
+ lib/Devel/Trepan/DB/LineCache.pm: More LineCache.pm pod
+ improvements. Bump version number.
+
2012-09-17 Rocky Bernstein <rocky@cpan.org>
* Build.PL, Changes, lib/Devel/Trepan.pm: Release 0.40 to fix yet
View
@@ -4,9 +4,9 @@
"Rocky Bernstein <rocky@cpan.org>"
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.4003, CPAN::Meta::Converter version 2.110440",
+ "generated_by" : "Module::Build version 0.4, CPAN::Meta::Converter version 2.120921",
"license" : [
- "gpl_1"
+ "open_source"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
@@ -21,24 +21,24 @@
},
"runtime" : {
"recommends" : {
- "Data::Printer" : 0,
- "Devel::Callsite" : 0,
- "Eval::WithLexicals" : 0,
+ "Data::Printer" : "0",
+ "Devel::Callsite" : "0",
+ "Eval::WithLexicals" : "0",
"Pod::Text::Color" : "2.06",
- "Term::ReadKey" : 0,
- "Term::ReadLine::Perl" : 0
+ "Term::ReadKey" : "0",
+ "Term::ReadLine::Perl" : "0"
},
"requires" : {
"Array::Columnize" : "1.01",
- "Data::Dumper" : 0,
- "Digest::SHA" : 0,
+ "Data::Dumper" : "0",
+ "Digest::SHA" : "0",
"Getopt::Long" : "2.36",
- "PadWalker" : 0,
+ "PadWalker" : "0",
"Pod::Text" : "3.13",
"Syntax::Highlight::Perl::Improved" : "1.01",
"perl" : "5.008008",
"rlib" : "0.02",
- "version" : 0
+ "version" : "0"
}
}
},
@@ -57,7 +57,7 @@
},
"Devel::Trepan" : {
"file" : "lib/Devel/Trepan.pm",
- "version" : "0.40_01"
+ "version" : 0
},
"Devel::Trepan::BrkptMgr" : {
"file" : "lib/Devel/Trepan/BrkptMgr.pm",
@@ -674,11 +674,11 @@
"web" : "https://github.com/rocky/Perl-Devel-Trepan/issues"
},
"license" : [
- "http://opensource.org/licenses/gpl-license.php"
+ "http://www.gnu.org/licenses/old-licenses/gpl-1.0.txt"
],
"repository" : {
"url" : "http://github.com/rocky/Perl-Devel-Trepan"
}
},
- "version" : "0.40_01"
+ "version" : "0.42_01"
}
View
@@ -6,8 +6,8 @@ build_requires: {}
configure_requires:
Module::Build: 0.32
dynamic_config: 1
-generated_by: 'Module::Build version 0.4003, CPAN::Meta::Converter version 2.110440'
-license: gpl
+generated_by: 'Module::Build version 0.4, CPAN::Meta::Converter version 2.120921'
+license: open_source
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
@@ -24,7 +24,7 @@ provides:
version: 0
Devel::Trepan:
file: lib/Devel/Trepan.pm
- version: 0.40_01
+ version: 0
Devel::Trepan::BrkptMgr:
file: lib/Devel/Trepan/BrkptMgr.pm
version: 0
@@ -501,6 +501,6 @@ requires:
version: 0
resources:
bugtracker: https://github.com/rocky/Perl-Devel-Trepan/issues
- license: http://opensource.org/licenses/gpl-license.php
+ license: http://www.gnu.org/licenses/old-licenses/gpl-1.0.txt
repository: http://github.com/rocky/Perl-Devel-Trepan
-version: 0.40_01
+version: 0.42_01
View
@@ -5,24 +5,30 @@ use vars qw($TREPAN_CMDPROC);
use rlib '..';
package Devel::Trepan;
+use Devel::Trepan::Version;
use strict;
use warnings;
use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
-use version; $VERSION = '0.42';
use Exporter;
use Devel::Trepan::Core;
use constant PROGRAM => 'trepan.pl';
+use version; $VERSION = $Devel::Trepan::Version::VERSION;
-sub show_version {
+sub show_version() {
PROGRAM . ", version $Devel::Trepan::VERSION";
}
if (__FILE__ eq $0 ) {
print show_version(), "\n";
}
+unless (caller) {
+ print show_version, "\n";
+ print "Pssst... this is a module. See trepan.pl to invoke.\n"
+}
+no warnings;
"Just another Perl Debugger";
__END__
@@ -0,0 +1,3 @@
+package Devel::Trepan::Version;
+use version; $VERSION = '0.42_01';
+1;

0 comments on commit bc607fe

Please sign in to comment.