Skip to content

Releases: Alexander-Senko/magic-support

v0.3.1

18 May 08:43
7d40ff8
Compare
Choose a tag to compare

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

18 May 08:40
3f0807f
Compare
Choose a tag to compare

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 to subject.receiver.

Full Changelog: v0.2.1...v0.3.0

v0.2.1

13 May 05:22
8804592
Compare
Choose a tag to compare

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

13 May 00:51
dc8763d
Compare
Choose a tag to compare

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

28 Nov 02:23
Compare
Choose a tag to compare

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