- Replace amazing_print dependency with awesome_print.
- Effectively disable
try
method, i.e. print stack trace on errors. - In
try
method, rescue StandardError instead of Exception.
- Replace calls to
exists?
, which has been removed, withexist?
. - Add warning messages to stderr for unspecified options (input/output format, input mode), but only when logging is disabled.
- Change string concatenations using << to creation of new strings with += to accommodate default-frozen strings.
- Switch from AwesomePrint to AmazingPrint, and change all references in text, help, etc.
- As of later versions of Ruby,
stringio
is a gem and must be required. Fixed.
- Handle Bundler deprecation of
with_clean_env
method. - Mark entire file frozen_string_literal: true.
- Add Awesome Print and Pretty Print output formats to help.
- Document --project-url option.
- Add undocumented option --open-project to output Github project URL.
- Simplify test as per @davetron5000's array based approach.
- Fix context do/end in test code.
- Froze strings: VERSION, PROJECT_URL, help_text.
- Add --project-url option to output project URL on Github, then exit
- Enable specifying different output formats for tty and block devices. (#4)
- Outputs exception text on error instead of just exception class.
- Fix/improve help text.
- Add mention of -v/--version to help text.
- Improve help text.
- Improve code block display in readme.
- Suppress help message on SystemExit.
- Eliminate stack trace from all error messages.
- Fix Awesome Print output to have a "\n" at the end of it.
- Add eur_rates.json sample data.
- Remove gem post-commit message.
- Fix help text in readme.
- Source code now defaults to 'self' (#3).
- Change parse errors to not output help text and stack trace, but instead a short message with suggestion to use -h.
- The default output format has been changed from -op (:puts) to -on (:none).
- Support automatic input from file with -f option.
- Normalize load filespecs to eliminate duplication and to facilitate correct deletion.
- Much refactoring.
- Allow omitting source code in no-op mode.
- Add ability to remove load or require files using minus sign preceding name.
- Requires needed for parsing and formatting will now be included in log output.
- Change license from MIT to Apache version 2.
- Add undocumented '--open-project' command line option to launch Github project page in Mac OS and possibly other OS's.
- Fix and add tests.
- Change verbose -v boolean option to log output format -g option.
- Print error message and exit with nonzero exit code if no source code provided.
- Add $RC.i alias for $RC.count.
- Make global $RC (Rexe Context) OpenStruct available to user code; added
count
for record count in-ml
mode. - Change verbose output to YAML format.
- Failure to load a file now raises an error.
- Add pretty print output format.
- Fix tests.
- Fix: parsing should not be attempted if in no input mode.
- Improve README.
- Fix problem in :none input format mode.
- Fix help text for input formats.
- Add input format option -i to simplify ingesting JSON, YAML, Marshal formats.
- Add Marshal output option.
- In -mn mode:
- change output behavior; now outputs last evaluated value like other modes.
- self is now a newly created object (Object.new), providing a clean slate for adding instance variables, methods, etc.
- Wrap execution in Bundler.with_clean_env to enable loading of gems not in Gemfile.
- Change -ms (single or separate string) mode to -ml (line) mode.
- Use article text for readme.
- Fix and improve help text.
- Add no-op mode to suppress execution of code (useful with -v).
- Add clear mode to clear all options specified up to that point (useful to ignore REXE_OPTIONS environment variable settings).
- Remove -u option to address issue #1.
- Improve handling of nonexistent load files (-l, -u options).
- Change default input mode from :string to :no_input.
- Improve readme.
- Add post install message warning about change of default input mode.
- Add '!' to require and load command options to clear respective file lists.
- In 'no input' mode (-mn), fix so that only output explicitly sent to stdout is output (unlike other modes).
- Gemspec now parses version from text instead of loading the script.
- Add tests.
- Fix -r (require) bug.
- Add -u option for loading files at current directory or above.
- Fix command line option handling for disabling verbose mode previously enabled.
- Improve README.
- Help text fixes.
- For consistency with requires, specifying multiple load files on the command line can be done with comma separated filespecs.
- Improve README and verbose logging.
- Add ability to handle input as a single multiline string (using -mb option).
- Add -mn mode for no input at all.
- Fix and improve usage examples in README.
- Fix running-as-script test.
- Initial version.