Skip to content

v1.0.0

Compare
Choose a tag to compare
@akuzko akuzko released this 28 Sep 23:02
· 19 commits to master since this release

Breaking Changes

  • Forwardable has been removed from Parascope::Query. You can now safely use convenient ActiveSupport's delegate method in Query classes.
  • UndefinedScopeError and GuardViolationError has been moved from Parascope::Query to Parascope module itself.
  • deprecated UnpermittedError alias has been removed.

New Features

  • Added Parascope::Query.build method to initialize a query object with empty params. So you can now do something like UsersQuery.build(company: company) instead of UsersQuery.new({}, company: company)

Other Updates

  • Updated README: added examples for methods in API section, added "Hints and Tips" section.
  • Massive refactoring of query_spec.rb