- Internal updates to style, etc. No outward-facing changes.
- Internal spruce-up for Ruby 3.2. No outward-facing changes.
- Remove travis-ci config since travis-ci is no longer in use.
- Flatten and compact arrays of
nil
s as well as nested arrays ofnil
s in join_* methods.
- Fix inspection of delegating wrapper objects.
- Allow clearing output of inspect methods.
- Automatically compact nils in join_* methods.
- Don't include empty strings from Scope#join_* methods when applicable.
- Add
inspect_issues
to ObjectInspector::TemplatingFormatter. - Add ObjectInspector::Scope#join_name.
- Add configurable ObjectInspector.configuration.presented_object_separator.
- Feature: Add ObjectInspector::Configuration#default_scope setting -- can be used to override the default Scope for object inspection.
- Implement ObjectInspector::Scope#== for comparing scopes with scopes and/or scopes with (Arrays of) Strings, Symbols, etc.
- Add ObjectInspector::Configuration#formatter_class setting for overriding the default Formatter.
- Remove optional dependency on ActiveSupport::StringInquirer. Scopes are now objects that act like ActiveSupport::StringInquirer objects.
- Add ObjectInspector::Scope.join_flags helper method.
- Add ObjectInspector::Scope.join_info helper method.
- Scope: Show an out-of-scope-placeholder symbol (*) when predicate is not matched and a block is given.
- Scope: Add wild-card "all" scope that is always evaluated as true / a match.
- Add ability to specify multiple scopes. e.g. my_object.inspect(scope: %i[verbose complex]).
- Add gem defaults configuration.
- Automatically inspect wrapped Objects, if applicable.
- Use
display_name
if defined on object, in place ofinspect_name
. - Add on-the-fly inspect methods when Symbols are passed in to #inspect.
- Update the
flags
andinfo
demarcation symbols. - Add ObjectInspector::TemplatingFormatter, and use it as the new default since it's faster.
- Rename ObjectInspector::DefaultFormatter to ObjectInspector::CombiningFormatter.
- Initial release!