A number of bug fixes and improvements, namely:
- Fix handling of anonymous kwargs.
- Fix formatting for nested classes when the parent class has methods.
- Upgrade to v3.0 of the parser gem.
- For certain types, the class name cannot be used as a type (eg. anonymous classes). Use
T.untyped
in these cases. - Add better support for Minitest via
require 'gelauto/minitest'
. This allows you to add Gelauto directly to your test setup, which works better than using the CLI for some projects.
- Do not add duplicate signatures to methods (@wpride, #15).
- Fix emission of
T::Array
,T::Hash
, andT.any
types (@wpride, #14). - BREAKING: Add ability to write RBI output to a file via the
--rbi
flag.--rbi
used to be a switch, but now it's a flag that accepts either a file path or-
for STDOUT.
- Add
GELAUTO_FILES
andGELAUTO_ANNOTATE
environment variables to RSpec helper.
- Print example usage and global help if CLI is run with no arguments.
- Print log output to STDERR.
- Add global --silent CLI option to quash all Gelauto log output.
- Add
--rbi
flag torun
subcommand to separate RBI output functionality from file annotation.
- Correctly restore Ruby load path after command execution.
- Require gelauto/version in gelauto executable (d'oh!)
- Birthday!