- #249: Gate conditional
:if/:unlessvalidator support behind a.check_conditionsmethod - @johnnyshields. - #249: Raise informative error if conditional
:if/:unlessvalidator is used with a class subject - @johnnyshields. - #249: Support Arrays and Procs with non-zero arity for
:if/:unlessvalidator - @johnnyshields. - #248: Add frozen_string_literal: true to all files and enforce rubocop - @johnnyshields.
- #248: Various small CI fixes - @johnnyshields.
- #247: Migrate to danger-pr-comment workflow - @dblock.
- Your contribution here.
- #239: Add support for
:if/:unlessvalidator options - @knovoselic. - #244: Migration from TravisCI to GitHub Actions - @skalibog.
- #245: Add support for Mongoid 9 - @saisrinivasan.
- #246: Add support for touch options - @saisrinivasan.
- #221: Support
ordered_byfor Mongoid 5 and earlier - @stim371. - #222: Do not depend on
rspecmeta gem - @lucasmazza. - #231: Fix transform_values deprecation in rails 6 - @yads.
- #223: Add support for
optionalin relations matchers - @javierav. - #226: Fix #217. Use Appraisal to test the gem - @javierav.
- #212: Mongoid 7 support - @madAle.
- #211: Added
validate_absence_ofmatcher - @pedroadame.
- #197: Mongoid 6 support - @saumyamehta17, @zeitnot.
- #205: Added Danger, PR linter - @dblock.
- #205: Added RuboCop, ruby-style linter - @dblock.
- Support for released Mongoid 5.0.0 - @rodrigopinto.
- Support
with_messageoption forvalidate_confirmation_ofmatcher - @nitinstp23. - Updated RSpec dependency - @rodrigopinto.
- Added
be_dynamic_documentmatcher - @karmi. - Added
with_counter_cacherelation matcher option - @karmi. - Fixed camelcased index options bug - @karmi.
- Removed code related to Mongoid 3 - @karmi.
- Mongoid 4 support - @rodrigopinto.
- Updated gem dependencies - @rodrigopinto.
- Travis CI now only tests against Mongoid 4.0.X - @rodrigopinto.
- Added Association.cyclic and .stored_as matchers - @johnnyshields.
- Support for detailed ordered_by matcher on associations - @taiki45.
- Modified HaveValidationMatcher to detect correct validator when more than one
:onoption is used - @taiki45.
- Added ability to check custom message for length of validation - @asynchrony.
- Extracted
with_messagelogic to common module - @asynchrony.
- Added support for
:orderon associations - @nanocity.
- Added
autobuildmatcher forhas_oneandembeds_oneassociations - @bernardeli. - Removed test options of matcher
accepts_nested_attributes_for- @rodrigopinto.
- Added
accept_nested_attributes_ofmatcher - @rodrigopinto. - Added macro to check if field is localized - @ph.
- Fixed
with_default_valueto work when:defaultis not set on a field - @kareemk. - Symbolize keys for Index Matcher - @jtescher.
- Ensuring that specs fail if a particular option is not present while indexing - @anshulm.
- Added Travis CI build image - @rodrigopinto.
- Added support for matching document field aliases - @dwbutler.
- Bug fix for inclusion matcher - @dwbutler.
- Support for
Procin inclusion matcher - @c0va23. - Allow more specific timestamp specs - @zenzike.
- Allow validations to pass if
:onis not specified but spec specifies:create,:update, or both - @zenzike.
- Mongoid 3.0 support - @rodrigopinto.
- Added
allow_mass_assignment_ofmatcher - @rodrigopinto. - Added matcher for custom validation - @rodrigopinto.
- Added matcher for
validate_acceptance_of- @nanocity. - Added exclusion matcher - @rodrigopinto.
- Support for RSpec > 2.9 - @rodrigopinto.
- Fixed copy-paste typo in
uniqueness_of- @nessche. - Fixed collection matcher to support Mongoid 3.0.0 - @rodrigopinto.
- Changed index syntax to support Mongoid 3.0.0.rc - @rodrigopinto.
- Fixed HaveFieldMatcher for
Booleanfields with default values - @evansagge. - Fixed document extension matchers for RSpec 2.6 - @evansagge.
- Updated gem dependencies - @evansagge.
- Fixed matcher descriptions for
be_mongoid_document,be_versioned_document,be_timestamped_document,be_paranoid_document- @evansagge.
- Changed mongoid version requirement to ~> 2.0 - @evansagge.
- Added
with_autosaveoption to association matcher - @MattVonVielen. - Added
manyrelations support theinverse_ofoption - @nickhoffman.
- Added
be_stored_inmatcher to verify if a document hasstore_in:collection_nameset - @rodrigues. - Added
less_thanverification tovalidates_numericality_ofmatcher - @rodrigues. - Added ability to test
dependentoption - @sarcilav. - Allows
embedded_inargument to map to a name rather than a class for better decoupling - @candlewaster. - Handled
validate_numericality_ofoptions:equal_to,:greater_than,:greater_than_or_equal_to,:less_than,:less_than_or_equal_to,:even,:odd,:only_integer,:allow_nil- @candlewaster.
- Added within range check for
validate_length_ofmatcher - @pranas. - Added
greater_thancheck forvalidate_numericality_ofmatcher - @pranas. - Added
validates_confirmation_ofmatcher - @jnshashank.
- Added support for association
ReferencesManyAsArray- @rodrigopinto.
- Fixing compatibility issues with Mongoid v2.0.0.beta.15 and up - @evansagge.
- Removed dependency on Rails - @evansagge.
- Added requires for mongoid/associations - @durran.
- Fixed association matchers - @durran.
- Updated to be compatible with
ReferencesMany,ReferencesOne, andReferenceIn- @durran.
- Updated gemspecs to be compatible with newer versions of Mongoid - @durran.
- Initial public release - @evansagge.