- Fix internal much_stub test/support reference. No external-facing change.
- Update minimum Ruby version from 2.7 -> 3.1
- Document the inner workings of
has_status
with YARD-style comments.
- Can now check if any of an array of statuses doesn't match when using #not_status?
my_object.status # => "Ready"
my_object.not_status?("Ready") # => false
my_object.not_status?("Not Ready") # => true
my_object.not_status?(["Ready", "Not Ready"]) # => false
my_object.not_status?(["Not Ready", "Also Not Ready"]) # => true
- Can now check if any of an array of statuses matches when using #status?
my_object.status # => "Ready"
my_object.status?("Ready") # => true
my_object.status?("Not Ready") # => false
my_object.status?(["Ready", "Not Ready"]) # => true
my_object.status?(["Not Ready", "Also Not Ready"]) # => false