forked from adamsanderson/open_gem
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed read command's error message to avoid NameError
read_gem still had some cut and paste from open_gem when raising Gem::CommandLineError, which resulted in the following error: ERROR: While executing gem ... (NameError) undefined local variable or method `editor' for #<Gem::Commands::ReadCommand :0x7fe50b6c> I substituted #{rdoc_reader} for #{editor} in the error message, and now it works as it should. Also: bumped patch version up by 1. Signed-off-by: Adam Sanderson <netghost@gmail.com>
- Loading branch information
1 parent
6da98b3
commit 0d29abf
Showing
3 changed files
with
9 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--- | ||
:minor: 3 | ||
:patch: 1 | ||
:patch: 2 | ||
:major: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters