Releases: Alexander-Senko/magic-support
Releases · Alexander-Senko/magic-support
v0.3.1
RSpec
Method specs
Fixed
- Specs for methods with punctuation suffixes got broken in v0.3.0.
Full Changelog: v0.3.0...v0.3.1
v0.3.0
RSpec
Method specs
Changed
- Set tested method’s owner to an overridden subject if any.
Added
- Support for nesting of method specs.
- Support for named overridden subjects to follow the original RSpec API.
Fixed
receiver
should always be equal tosubject.receiver
.
Full Changelog: v0.2.1...v0.3.0
v0.2.1
RSpec
Method specs
Fixed
- Method specs with implicit subjects got broken in v0.2.0.
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Core extensions
Fixed
- Don’t forget to
require 'pathname'
as it’s not a core class. - Don’t load all core extensions unless required explicitly.
RSpec
Method specs
Added
- Receiver objects are exposed via
receiver
. - Emit warnings on missing methods.
Fixed
- Don’t swallow unrelated name errors.
Full Changelog: v0.1.0...v0.2.0
v0.1.0
Added
Kernel
#optional
as a conditional#then
.
Gems
Gem::Author
for authors info to be used primarily in gem specs.
RSpec
- API for method specs (
rspec/method
).- API for delegated methods.
Full Changelog: https://github.com/Alexander-Senko/magic-support/commits/v0.1.0