Skip to content

0.2.0

Latest

Choose a tag to compare

@steliosfran steliosfran released this 03 Jun 15:28
· 1 commit to main since this release
b02a0eb

⚠️ Breaking change

require 'rubyzen' now loads only Rubyzen's core API. It no longer loads the RSpec matchers. You now need to explicitly require the respective adapter of your testing framework:

  • RSpec: require 'rubyzen/rspec'
  • Minitest: require 'rubyzen/minitest'

rspec is also no longer a runtime dependency. RSpec users need to manually add gem 'rspec' (or rspec-rails) in their Gemfile, if they don't have it already.

Migrating from 0.1.x

  • Simply replace require 'rubyzen' with require 'rubyzen/rspec'.

✨ Highlights

  • Minitest support (#32). Write lint rules with Minitest using assert_zen_empty / assert_zen_true / assert_zen_false. Use require 'rubyzen/minitest' to access these assertions.

What's Changed

Full Changelog: 0.1.0...0.2.0