From: Karen Etheridge Date: Sat, 28 May 2022 03:33:54 +0000 (-0700) Subject: increment $VERSION after 1.003029 release X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=commitdiff_plain;h=HEAD;hp=23ff40a312a23553e65e63e26d74af6c656efe16 increment $VERSION after 1.003029 release --- diff --git a/CONTRIBUTING b/CONTRIBUTING index 97c1180..cd59ba5 100644 --- a/CONTRIBUTING +++ b/CONTRIBUTING @@ -24,8 +24,8 @@ However, you can run tests directly using the 'prove' tool: $ prove -lv t/some_test_file.t $ prove -lvr t/ -In most cases, 'prove' is entirely sufficent for you to test any -patches you have. +In most cases, 'prove' is entirely sufficient for you to test any patches you +have. You may need to satisfy some dependencies. The easiest way to satisfy dependencies is to install the last release -- this is available at @@ -75,10 +75,13 @@ Once installed, here are some dzil commands you might try: You can learn more about Dist::Zilla at http://dzil.org/. The code for this distribution is hosted at GitHub. The repository is: + https://github.com/p5sagit/Devel-REPL + You can submit code changes by forking the repository, pushing your code -changes to your clone, and then submitting a pull request. Detailed -instructions for doing that is available here: +changes to your clone, and then submitting a pull request. Please include a +suitable end-user-oriented entry in the Changes file describing your change. +Detailed instructions for doing that is available here: https://help.github.com/articles/creating-a-pull-request @@ -97,5 +100,5 @@ wish to be listed under a different name or address, you should submit a pull request to the .mailmap file to contain the correct mapping. -This file was generated via Dist::Zilla::Plugin::GenerateFile::FromShareDir 0.009 from a -template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.111. +This file was generated via Dist::Zilla::Plugin::GenerateFile::FromShareDir 0.015 +from a template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.162. diff --git a/Changes b/Changes index 6c98acf..4a3facb 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,10 @@ Revision history for Devel-REPL +{{ $NEXT }} + +1.003029 2022-05-28 03:31:29Z + - removed File::HomeDir dependency + 1.003028 2016-02-16 01:13:08Z - increase the required version of Data::Dump::Streamer (see RT#105466) diff --git a/INSTALL b/INSTALL index 00edb6d..87f6307 100644 --- a/INSTALL +++ b/INSTALL @@ -8,10 +8,10 @@ If you have cpanm, you only need one line: % cpanm Devel::REPL -If you are installing into a system-wide directory, you may need to pass the -"-S" flag to cpanm, which uses sudo to install the module: - - % cpanm -S Devel::REPL +If it does not have permission to install modules to the current perl, cpanm +will automatically set up and install to a local::lib in your home directory. +See the local::lib documentation (https://metacpan.org/pod/local::lib) for +details on enabling it in your environment. ## Installing with the CPAN shell @@ -21,8 +21,11 @@ Alternatively, if your CPAN shell is set up, you should just be able to do: ## Manual installation -As a last resort, you can manually install it. Download the tarball, untar it, -then build it: +As a last resort, you can manually install it. If you have not already +downloaded the release tarball, you can find the download link on the module's +MetaCPAN page: https://metacpan.org/pod/Devel::REPL + +Untar the tarball, install configure prerequisites (see below), then build it: % perl Makefile.PL % make && make test @@ -31,13 +34,42 @@ Then install it: % make install -If you are installing into a system-wide directory, you may need to run: +On Windows platforms, you should use `dmake` or `nmake`, instead of `make`. + +If your perl is system-managed, you can create a local::lib in your home +directory to install modules to. For details, see the local::lib documentation: +https://metacpan.org/pod/local::lib + +The prerequisites of this distribution will also have to be installed manually. The +prerequisites are listed in one of the files: `MYMETA.yml` or `MYMETA.json` generated +by running the manual build process described above. + +## Configure Prerequisites - % sudo make install +This distribution requires other modules to be installed before this +distribution's installer can be run. They can be found under the +"configure_requires" key of META.yml or the +"{prereqs}{configure}{requires}" key of META.json. + +## Other Prerequisites + +This distribution may require additional modules to be installed after running +Makefile.PL. +Look for prerequisites in the following phases: + +* to run make, PHASE = build +* to use the module code itself, PHASE = runtime +* to run tests, PHASE = test + +They can all be found in the "PHASE_requires" key of MYMETA.yml or the +"{prereqs}{PHASE}{requires}" key of MYMETA.json. ## Documentation Devel-REPL documentation is available as POD. -You can run perldoc from a shell to read the documentation: +You can run `perldoc` from a shell to read the documentation: % perldoc Devel::REPL + +For more information on installing Perl modules via CPAN, please see: +https://www.cpan.org/modules/INSTALL.html diff --git a/LICENCE b/LICENCE index 64771d3..73676f4 100644 --- a/LICENCE +++ b/LICENCE @@ -292,21 +292,21 @@ Definitions: - "Package" refers to the collection of files distributed by the Copyright Holder, and derivatives of that collection of files created through - textual modification. + textual modification. - "Standard Version" refers to such a Package if it has not been modified, or has been modified in accordance with the wishes of the Copyright - Holder. + Holder. - "Copyright Holder" is whoever is named in the copyright or copyrights for - the package. + the package. - "You" is you, if you're thinking about copying or distributing this Package. - "Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, but only to the - computing community at large as a market that must bear the fee.) + computing community at large as a market that must bear the fee.) - "Freely Available" means that no fee is charged for the item itself, though there may be fees involved in handling the item. It also means that recipients of the item may redistribute it under the same conditions they - received it. + received it. 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, provided that you @@ -373,7 +373,7 @@ products derived from this software without specific prior written permission. 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. The End diff --git a/README.pod b/README.pod index 0116841..4f9afed 100644 --- a/README.pod +++ b/README.pod @@ -8,7 +8,7 @@ Devel::REPL - A modern perl interactive shell =head1 VERSION -version 1.003028 +version 1.003029 =head1 SYNOPSIS @@ -274,7 +274,7 @@ Refresh plugin - automatically reload libraries with Module::Refresh =item * -L +L =back @@ -292,7 +292,7 @@ Matt S Trout - mst (at) shadowcatsystems.co.uk (L =item * -Andrew Moore +Alexis Sukrieh =item * -Alexis Sukrieh +Andrew Moore =item * -Tomas Doran (t0m) +epitaph =item * -epitaph +Jesse Luehrs =item * @@ -346,15 +346,15 @@ Norbert Buchmuller =item * -Jesse Luehrs +Tomas Doran (t0m) =item * -Dave Houston +Dagfinn Ilmari Mannsåker =item * -Dagfinn Ilmari Mannsåker +Dave Houston =item * @@ -362,7 +362,7 @@ Zakariyya Mughal =item * -Ryan Niebur +Ash Berlin =item * @@ -370,7 +370,7 @@ Justin Hunter =item * -Ash Berlin +mgrimes =item * @@ -378,6 +378,10 @@ naquad =item * +Ryan Niebur + +=item * + Stevan Little =back diff --git a/dist.ini b/dist.ini index 94255e0..6b16485 100644 --- a/dist.ini +++ b/dist.ini @@ -11,16 +11,13 @@ skip = Devel/REPL/Plugin/(Completion|LexEnv|DDC|DDS|Interrupt|MultiLine/PPI|Nopa skip = Devel/REPL/Plugin/CompletionDriver/ [@Author::ETHER] -:version = 0.086 -; instead of using origin = p5sagit@git.shadowcat.co.uk:Devel-REPL.git, -; use the read-only mirror p5sagit = git@github.com:p5sagit/Devel-REPL.git -; so we can receive github pull requests +:version = 0.119 ; for installer -> EUMM dep server = github -GithubMeta.remote = p5sagit +GithubMeta.remote = github installer = MakeMaker ; Module::Build::Tiny cannot handle dynamic_config => 1 changes_version_columns = 11 surgical_podweaver = 1 -Authority.authority = cpan:PHAYLON +authority = cpan:PHAYLON Test::MinimumVersion.max_target_perl = 5.008001 -remove = PodCoverageTests ; XXX TODO -remove = Test::PodSpelling ; XXX TODO @@ -28,6 +25,8 @@ AutoPrereqs.finder = CoreModules Test::Compile.module_finder = CoreModules StaticInstall.dry_run = 0 ; we can safely set this here +; authordep Pod::Weaver::Section::AllowOverride + [MetaResources] x_IRC = irc://irc.perl.org/#devel-repl diff --git a/lib/Devel/REPL.pm b/lib/Devel/REPL.pm index 0210966..d321a99 100644 --- a/lib/Devel/REPL.pm +++ b/lib/Devel/REPL.pm @@ -1,7 +1,7 @@ package Devel::REPL; # ABSTRACT: A modern perl interactive shell -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Term::ReadLine; use Moose; @@ -343,6 +343,6 @@ distribution interactively (e.g. C). =head1 SEE ALSO =for :list -* L +* L =cut diff --git a/lib/Devel/REPL/Error.pm b/lib/Devel/REPL/Error.pm index 606ef1a..f20c587 100644 --- a/lib/Devel/REPL/Error.pm +++ b/lib/Devel/REPL/Error.pm @@ -1,6 +1,6 @@ package Devel::REPL::Error; -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Moose; use namespace::autoclean; diff --git a/lib/Devel/REPL/Meta/Plugin.pm b/lib/Devel/REPL/Meta/Plugin.pm index 7b558f8..22f6b79 100644 --- a/lib/Devel/REPL/Meta/Plugin.pm +++ b/lib/Devel/REPL/Meta/Plugin.pm @@ -2,7 +2,7 @@ use strict; use warnings; package Devel::REPL::Meta::Plugin; -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Moose; use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin.pm b/lib/Devel/REPL/Plugin.pm index 0a67bd5..de66e27 100644 --- a/lib/Devel/REPL/Plugin.pm +++ b/lib/Devel/REPL/Plugin.pm @@ -2,7 +2,7 @@ use strict; use warnings; package Devel::REPL::Plugin; -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Meta::Plugin; use Moose::Role (); diff --git a/lib/Devel/REPL/Plugin/B/Concise.pm b/lib/Devel/REPL/Plugin/B/Concise.pm index e0e1ab0..39311ff 100644 --- a/lib/Devel/REPL/Plugin/B/Concise.pm +++ b/lib/Devel/REPL/Plugin/B/Concise.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::B::Concise; # ABSTRACT: B::Concise dumping of expression optrees -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use B::Concise 0.62 (); diff --git a/lib/Devel/REPL/Plugin/Colors.pm b/lib/Devel/REPL/Plugin/Colors.pm index 689d666..4452e14 100644 --- a/lib/Devel/REPL/Plugin/Colors.pm +++ b/lib/Devel/REPL/Plugin/Colors.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::Colors; # ABSTRACT: Add color to return values, warnings, and errors -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Term::ANSIColor; diff --git a/lib/Devel/REPL/Plugin/Commands.pm b/lib/Devel/REPL/Plugin/Commands.pm index 126634e..1591977 100644 --- a/lib/Devel/REPL/Plugin/Commands.pm +++ b/lib/Devel/REPL/Plugin/Commands.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::Commands; # ABSTRACT: Generic command creation plugin using injected functions -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Scalar::Util qw(weaken); diff --git a/lib/Devel/REPL/Plugin/Completion.pm b/lib/Devel/REPL/Plugin/Completion.pm index 3782192..0770484 100644 --- a/lib/Devel/REPL/Plugin/Completion.pm +++ b/lib/Devel/REPL/Plugin/Completion.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::Completion; # ABSTRACT: Extensible tab completion -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Scalar::Util 'weaken'; diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm b/lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm index ff500e3..8117b5b 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::CompletionDriver::Globals; # ABSTRACT: Complete global variables, packages, namespaced functions -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Devel::REPL::Plugin::Completion; # die early if cannot load diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/INC.pm b/lib/Devel/REPL/Plugin/CompletionDriver/INC.pm index 290e3a8..de95a22 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/INC.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/INC.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::CompletionDriver::INC; # ABSTRACT: Complete module names in use and require -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Devel::REPL::Plugin::Completion; # die early if cannot load diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm b/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm index 9d8eec8..feb1aea 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::CompletionDriver::Keywords; # ABSTRACT: Complete Perl keywords and operators -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Devel::REPL::Plugin::Completion; # die early if cannot load diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm b/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm index 4f45a17..b39d020 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::CompletionDriver::LexEnv; # ABSTRACT: Complete variable names in the REPL's lexical environment -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Devel::REPL::Plugin::Completion; # die early if cannot load diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/Methods.pm b/lib/Devel/REPL/Plugin/CompletionDriver/Methods.pm index 10ff667..40e3662 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/Methods.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/Methods.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::CompletionDriver::Methods; # ABSTRACT: Complete class or object method names -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Devel::REPL::Plugin::Completion; # die early if cannot load diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/Turtles.pm b/lib/Devel/REPL/Plugin/CompletionDriver/Turtles.pm index cc4c32d..d343119 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/Turtles.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/Turtles.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::CompletionDriver::Turtles; # ABSTRACT: Complete Turtles-based commands -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Devel::REPL::Plugin::Completion; # die early if cannot load diff --git a/lib/Devel/REPL/Plugin/DDC.pm b/lib/Devel/REPL/Plugin/DDC.pm index c897e81..ad41714 100644 --- a/lib/Devel/REPL/Plugin/DDC.pm +++ b/lib/Devel/REPL/Plugin/DDC.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::DDC; # ABSTRACT: Format results with Data::Dumper::Concise -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Data::Dumper::Concise (); diff --git a/lib/Devel/REPL/Plugin/DDS.pm b/lib/Devel/REPL/Plugin/DDS.pm index 2146bf1..784b156 100644 --- a/lib/Devel/REPL/Plugin/DDS.pm +++ b/lib/Devel/REPL/Plugin/DDS.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::DDS; # ABSTRACT: Format results with Data::Dump::Streamer -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Data::Dump::Streamer (); diff --git a/lib/Devel/REPL/Plugin/DumpHistory.pm b/lib/Devel/REPL/Plugin/DumpHistory.pm index 001695b..80bd7cd 100644 --- a/lib/Devel/REPL/Plugin/DumpHistory.pm +++ b/lib/Devel/REPL/Plugin/DumpHistory.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::DumpHistory; # ABSTRACT: Plugin for Devel::REPL to save or print the history -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/FancyPrompt.pm b/lib/Devel/REPL/Plugin/FancyPrompt.pm index 3f1a253..fea7f2a 100644 --- a/lib/Devel/REPL/Plugin/FancyPrompt.pm +++ b/lib/Devel/REPL/Plugin/FancyPrompt.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::FancyPrompt; # ABSTRACT: Facilitate user-defined prompts -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/FindVariable.pm b/lib/Devel/REPL/Plugin/FindVariable.pm index c424f86..91df2fb 100644 --- a/lib/Devel/REPL/Plugin/FindVariable.pm +++ b/lib/Devel/REPL/Plugin/FindVariable.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::FindVariable; # ABSTRACT: Finds variables by name -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/History.pm b/lib/Devel/REPL/Plugin/History.pm index e44bc7f..31baf26 100644 --- a/lib/Devel/REPL/Plugin/History.pm +++ b/lib/Devel/REPL/Plugin/History.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::History; # ABSTRACT: Keep track of all input, provide shortcuts !1, !-1 -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/Interrupt.pm b/lib/Devel/REPL/Plugin/Interrupt.pm index 2fb0ba6..3f4636d 100644 --- a/lib/Devel/REPL/Plugin/Interrupt.pm +++ b/lib/Devel/REPL/Plugin/Interrupt.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::Interrupt; # ABSTRACT: Traps SIGINT to kill long-running lines -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Sys::SigAction qw(set_sig_handler); diff --git a/lib/Devel/REPL/Plugin/LexEnv.pm b/lib/Devel/REPL/Plugin/LexEnv.pm index d3bd464..77d5d74 100644 --- a/lib/Devel/REPL/Plugin/LexEnv.pm +++ b/lib/Devel/REPL/Plugin/LexEnv.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::LexEnv; # ABSTRACT: Provide a lexical environment for the REPL -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/MultiLine/PPI.pm b/lib/Devel/REPL/Plugin/MultiLine/PPI.pm index 9421ee0..109e54a 100644 --- a/lib/Devel/REPL/Plugin/MultiLine/PPI.pm +++ b/lib/Devel/REPL/Plugin/MultiLine/PPI.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::MultiLine::PPI; # ABSTRACT: Read lines until all blocks are closed -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use PPI; diff --git a/lib/Devel/REPL/Plugin/Nopaste.pm b/lib/Devel/REPL/Plugin/Nopaste.pm index 39e4e23..d377340 100644 --- a/lib/Devel/REPL/Plugin/Nopaste.pm +++ b/lib/Devel/REPL/Plugin/Nopaste.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::Nopaste; # ABSTRACT: #nopaste to upload session's input and output -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Moose::Util::TypeConstraints 'enum'; diff --git a/lib/Devel/REPL/Plugin/OutputCache.pm b/lib/Devel/REPL/Plugin/OutputCache.pm index c404553..34a28d1 100644 --- a/lib/Devel/REPL/Plugin/OutputCache.pm +++ b/lib/Devel/REPL/Plugin/OutputCache.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::OutputCache; # ABSTRACT: Remember past results, _ is most recent -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/PPI.pm b/lib/Devel/REPL/Plugin/PPI.pm index 34d0c84..6bb7338 100644 --- a/lib/Devel/REPL/Plugin/PPI.pm +++ b/lib/Devel/REPL/Plugin/PPI.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::PPI; # ABSTRACT: PPI dumping of Perl code -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use PPI; diff --git a/lib/Devel/REPL/Plugin/Packages.pm b/lib/Devel/REPL/Plugin/Packages.pm index bbaa352..2a1f539 100644 --- a/lib/Devel/REPL/Plugin/Packages.pm +++ b/lib/Devel/REPL/Plugin/Packages.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::Packages; # ABSTRACT: Keep track of which package the user is in -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/Peek.pm b/lib/Devel/REPL/Plugin/Peek.pm index b4ad6cf..0120768 100644 --- a/lib/Devel/REPL/Plugin/Peek.pm +++ b/lib/Devel/REPL/Plugin/Peek.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::Peek; # ABSTRACT: L plugin for L. -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Devel::Peek qw(Dump); diff --git a/lib/Devel/REPL/Plugin/ReadLineHistory.pm b/lib/Devel/REPL/Plugin/ReadLineHistory.pm index 4960c62..bae5df9 100644 --- a/lib/Devel/REPL/Plugin/ReadLineHistory.pm +++ b/lib/Devel/REPL/Plugin/ReadLineHistory.pm @@ -8,15 +8,14 @@ use warnings; package Devel::REPL::Plugin::ReadLineHistory; # ABSTRACT: Integrate history with the facilities provided by L -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; -use File::HomeDir; use File::Spec; use namespace::autoclean; my $hist_file = $ENV{PERLREPL_HISTFILE} || - File::Spec->catfile(File::HomeDir->my_home, '.perlreplhist'); + File::Spec->catfile(($^O eq 'MSWin32' && "$]" < 5.016 ? $ENV{HOME} || $ENV{USERPROFILE} : (<~>)[0]), '.perlreplhist'); # HISTLEN should probably be in a config file to stop people accidentally # truncating their history if they start the program and forget to set diff --git a/lib/Devel/REPL/Plugin/Refresh.pm b/lib/Devel/REPL/Plugin/Refresh.pm index 6544ad7..750cbd2 100644 --- a/lib/Devel/REPL/Plugin/Refresh.pm +++ b/lib/Devel/REPL/Plugin/Refresh.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::Refresh; # ABSTRACT: Reload libraries with Module::Refresh -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/ShowClass.pm b/lib/Devel/REPL/Plugin/ShowClass.pm index 335cbc6..ca09077 100644 --- a/lib/Devel/REPL/Plugin/ShowClass.pm +++ b/lib/Devel/REPL/Plugin/ShowClass.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::ShowClass; # ABSTRACT: Dump classes initialized with Class::MOP -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/Timing.pm b/lib/Devel/REPL/Plugin/Timing.pm index 1d15717..40dd282 100644 --- a/lib/Devel/REPL/Plugin/Timing.pm +++ b/lib/Devel/REPL/Plugin/Timing.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::Timing; # ABSTRACT: Display execution times -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Time::HiRes 'time'; diff --git a/lib/Devel/REPL/Plugin/Turtles.pm b/lib/Devel/REPL/Plugin/Turtles.pm index 325d3ba..18c02bc 100644 --- a/lib/Devel/REPL/Plugin/Turtles.pm +++ b/lib/Devel/REPL/Plugin/Turtles.pm @@ -3,7 +3,7 @@ use warnings; package Devel::REPL::Plugin::Turtles; # ABSTRACT: Generic command creation using a read hook -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Scalar::Util qw(reftype); diff --git a/lib/Devel/REPL/Profile.pm b/lib/Devel/REPL/Profile.pm index f441022..26adf9e 100644 --- a/lib/Devel/REPL/Profile.pm +++ b/lib/Devel/REPL/Profile.pm @@ -1,7 +1,7 @@ package Devel::REPL::Profile; # ABSTRACT: Code to execute when re.pl starts -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Moose::Role; requires 'apply_profile'; diff --git a/lib/Devel/REPL/Profile/Default.pm b/lib/Devel/REPL/Profile/Default.pm index 2baf93e..251720f 100644 --- a/lib/Devel/REPL/Profile/Default.pm +++ b/lib/Devel/REPL/Profile/Default.pm @@ -1,6 +1,6 @@ package Devel::REPL::Profile::Default; -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Moose; use namespace::autoclean; diff --git a/lib/Devel/REPL/Profile/Minimal.pm b/lib/Devel/REPL/Profile/Minimal.pm index 0a819b0..a6e7526 100644 --- a/lib/Devel/REPL/Profile/Minimal.pm +++ b/lib/Devel/REPL/Profile/Minimal.pm @@ -1,6 +1,6 @@ package Devel::REPL::Profile::Minimal; -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Moose; use namespace::autoclean; diff --git a/lib/Devel/REPL/Profile/Standard.pm b/lib/Devel/REPL/Profile/Standard.pm index 938ac60..3c1a975 100644 --- a/lib/Devel/REPL/Profile/Standard.pm +++ b/lib/Devel/REPL/Profile/Standard.pm @@ -1,6 +1,6 @@ package Devel::REPL::Profile::Standard; -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Moose; use namespace::autoclean; diff --git a/lib/Devel/REPL/Script.pm b/lib/Devel/REPL/Script.pm index 6a96ada..d4c0a29 100644 --- a/lib/Devel/REPL/Script.pm +++ b/lib/Devel/REPL/Script.pm @@ -1,10 +1,9 @@ package Devel::REPL::Script; -our $VERSION = '1.003028'; +our $VERSION = '1.003030'; use Moose; use Devel::REPL; -use File::HomeDir; use File::Spec; use Module::Runtime 'use_module'; use namespace::autoclean; @@ -49,7 +48,7 @@ sub load_rcfile { # plain name => ~/.re.pl/${rc_file} if ($rc_file !~ m!/!) { - $rc_file = File::Spec->catfile(File::HomeDir->my_home, '.re.pl', $rc_file); + $rc_file = File::Spec->catfile(($^O eq 'MSWin32' && "$]" < 5.016 ? $ENV{HOME} || $ENV{USERPROFILE} : (<~>)[0]), '.re.pl', $rc_file); } $self->apply_script($rc_file);