Skip to content

v1.3.0

Latest

Choose a tag to compare

@dry-bot dry-bot released this 29 Jul 04:49
v1.3.0
3a97d5c

Added

  • Support unlimited nesting when registering commands via register with blocks. (@aaronmallen in #149)

    You could previously do this only with fully qualified registrations:

    Commands.register "nested one", MyFirstNestedCommand
    Commands.register "nested one two", MySecondNestedCommand
    Commands.register "nested one two three", MyThirdNestedCommand

    Now you can do the same via blocks:

    Commands.register "nested" do
      register "one", MyFirstNestedCommand do
        register "two", MySecondNestedCommand do
          register "three", MyThirdNestedCommand
        end
      end
    end

Changed

  • Set minimum Ruby version to 3.1. (@timriley)

Compare v1.2.0...v1.3.0