Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@Alexander-Senko Alexander-Senko released this 23 Nov 12:22
· 4 commits to main since this release
297e2dd

This release marks the gem to be stable enough.

Added

  • Delegate missing presenter class methods to a model class.
  • An optional engine: parameter for Magic.eager_load
    to be used by other engines to make their presenters visible for lookups.
  • Magic.each_engine to iterate over all the engines attached.

Tests

  • Magic::Presenter::TestCase to test presenters.
  • View context with routing helpers for presenter specs.

Generators

  • Generate presenters instead of helpers.

Fixed

  • undefined method 'configure' for module RSpec.
  • Instance variables assignment in views.

Documentation

  • Added a section about testing.

Full Changelog: v0.4.0...v1.0.0