v0.8.0 - unreleased
- Add render method to retrieve box content wrapped in a frame
- Add ability to access box height and width
- Add #content_width and #content_height to access content size excluding border and padding
- Change Box to be a class to allow instance-level configuration
- Fix content formatting to account for border size
v0.7.0 - 2020-12-20
- Add :enable_color configuration to allow control over colouring
- Change to ensure non-negative space filler size
- Change to enforce private visibility for the private module methods
- Fix box width calculation to ignore colored text by @LainLayer
- Fix drawing frame around multiline colored content
v0.6.0 - 2020-08-11
- Change to preserve newline characters when wrapping content
- Change gemspec to include metadata and remove test files
- Change to update pastel & strings dependencies
- Fix Ruby 2.7 warnings
v0.5.0 - 2019-10-08
- Add ability to create frames without specifying width or height
- Add #info, #warn, #success, #error ready frames for status messages inspired by conversation with Konstantin Gredeskoul(@kigster)
- Change #frame to accept content as an argument in addition to a block
- Change to match titles with border styling
v0.4.1 - 2019-08-28
- Add example to demonstrate different line endings
- Fix to handle different line endings
v0.4.0 - 2019-06-05
- Change gemspec to require Ruby >= 2.0.0
- Change to update tty-cursor dependency
- Fix issue with displaying box with colored content
v0.3.0 - 2018-10-08
- Add border parameters :top_left, :top_right, :bottom_left & :bottom_right to allow specifying values for box corners
- Add :ascii border type for drawing ASCII boxes
- Fix box color fill to correctly recognise missing borders and match the height and width
- Fix absolute content positioning when borders are missing
v0.2.1 - 2018-09-10
- Fix content alignment by @DannyBen
v0.2.0 - 2018-07-31
- Change to stop positioning box without
:top
&:left
coordinates - Change to load manually required files in gemspec without using git
v0.1.0 - 2018-07-23
- Initial implementation and release