Skip to content

Latest commit

 

History

History
190 lines (120 loc) · 9.95 KB

File metadata and controls

190 lines (120 loc) · 9.95 KB

4.3.0 (Next)

  • #249: Gate conditional :if/:unless validator support behind a .check_conditions method - @johnnyshields.
  • #249: Raise informative error if conditional :if/:unless validator is used with a class subject - @johnnyshields.
  • #249: Support Arrays and Procs with non-zero arity for :if/:unless validator - @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.

4.2.0 (2024/06/04)

4.1.0 (2020/06/12)

4.0.1 (2018/06/15)

4.0.0 (2018/01/29)

3.0.0 (2015/09/16)

2.2.0 (2015/03/10)

  • Support with_message option for validate_confirmation_of matcher - @nitinstp23.
  • Updated RSpec dependency - @rodrigopinto.

2.1.0 (2015/02/01)

  • Added be_dynamic_document matcher - @karmi.
  • Added with_counter_cache relation matcher option - @karmi.
  • Fixed camelcased index options bug - @karmi.
  • Removed code related to Mongoid 3 - @karmi.

2.0.0 (2015/01/05)

1.13.0 (2015/01/05)

1.11.0 (2014/02/15)

1.10.0 (2013/12/07)

1.9.0 (2013/08/11)

1.8.2 (2013/05/24)

  • Support for detailed ordered_by matcher on associations - @taiki45.
  • Modified HaveValidationMatcher to detect correct validator when more than one :on option is used - @taiki45.

1.8.1 (2013/05/03)

  • Added ability to check custom message for length of validation - @asynchrony.
  • Extracted with_message logic to common module - @asynchrony.

1.8.0 (2013/04/21)

  • Added support for :order on associations - @nanocity.

1.7.0 (2013/02/27)

  • Added autobuild matcher for has_one and embeds_one associations - @bernardeli.
  • Removed test options of matcher accepts_nested_attributes_for - @rodrigopinto.

1.6.0 (2013/01/27)

  • Added accept_nested_attributes_of matcher - @rodrigopinto.
  • Added macro to check if field is localized - @ph.
  • Fixed with_default_value to work when :default is not set on a field - @kareemk.
  • Symbolize keys for Index Matcher - @jtescher.

1.5.6 (2013/01/13)

  • Ensuring that specs fail if a particular option is not present while indexing - @anshulm.

1.5.5 (2012/11/28)

1.5.4 (2012/08/20)

  • Added support for matching document field aliases - @dwbutler.
  • Bug fix for inclusion matcher - @dwbutler.

1.5.3 (2012/08/20)

1.5.1 (2012/07/27)

  • Support for Proc in inclusion matcher - @c0va23.
  • Allow more specific timestamp specs - @zenzike.
  • Allow validations to pass if :on is not specified but spec specifies :create, :update, or both - @zenzike.

1.5.0 (2012/07/27)

1.4.6 (2012/06/13)

  • 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.

1.4.5 (2012/05/23)

1.4.4 (2011/06/02)

  • Fixed HaveFieldMatcher for Boolean fields with default values - @evansagge.
  • Fixed document extension matchers for RSpec 2.6 - @evansagge.

1.4.3 (2011/06/02)

  • Updated gem dependencies - @evansagge.
  • Fixed matcher descriptions for be_mongoid_document, be_versioned_document, be_timestamped_document, be_paranoid_document - @evansagge.

1.4.2 (2011/04/22)

  • Changed mongoid version requirement to ~> 2.0 - @evansagge.
  • Added with_autosave option to association matcher - @MattVonVielen.
  • Added many relations support the inverse_of option - @nickhoffman.

1.4.1 (2011/03/02)

  • Added be_stored_in matcher to verify if a document has store_in :collection_name set - @rodrigues.
  • Added less_than verification to validates_numericality_of matcher - @rodrigues.
  • Added ability to test dependent option - @sarcilav.
  • Allows embedded_in argument to map to a name rather than a class for better decoupling - @candlewaster.
  • Handled validate_numericality_of options :equal_to, :greater_than, :greater_than_or_equal_to, :less_than, :less_than_or_equal_to, :even, :odd, :only_integer, :allow_nil - @candlewaster.

1.3.2 (2010/11/10)

  • Added within range check for validate_length_of matcher - @pranas.
  • Added greater_than check for validate_numericality_of matcher - @pranas.
  • Added validates_confirmation_of matcher - @jnshashank.

1.2.1 (2010/08/24)

  • Added support for association ReferencesManyAsArray - @rodrigopinto.

1.2.0 (2010/08/02)

  • Fixing compatibility issues with Mongoid v2.0.0.beta.15 and up - @evansagge.
  • Removed dependency on Rails - @evansagge.

1.1.2 (2010/06/07)

  • Added requires for mongoid/associations - @durran.

1.1.1 (2010/06/01)

  • Fixed association matchers - @durran.

1.1.0 (2010/06/01)

  • Updated to be compatible with ReferencesMany, ReferencesOne, and ReferenceIn - @durran.

1.0.4 (2010/05/23)

  • Updated gemspecs to be compatible with newer versions of Mongoid - @durran.

1.0.3 (2010/05/08)