|
5 | 5 |
|
6 | 6 | ### 4.2.0 (2024/06/04) |
7 | 7 |
|
8 | | -* [#239](https://github.com/mongoid/mongoid-rspec/pull/239): Add support for if/unless validator options - [@knovoselic](https://github.com/knovoselic). |
| 8 | +* [#239](https://github.com/mongoid/mongoid-rspec/pull/239): Add support for `:if`/`:unless` validator options - [@knovoselic](https://github.com/knovoselic). |
9 | 9 | * [#244](https://github.com/mongoid/mongoid-rspec/pull/244): Migration from TravisCI to GitHub Actions - [@skalibog](https://github.com/skalibog). |
10 | 10 | * [#245](https://github.com/mongoid/mongoid-rspec/pull/245): Add support for Mongoid 9 - [@saisrinivasan](https://github.com/SairamSrinivasan). |
11 | 11 | * [#246](https://github.com/mongoid/mongoid-rspec/pull/246): Add support for touch options - [@saisrinivasan](https://github.com/SairamSrinivasan). |
|
31 | 31 |
|
32 | 32 | ### 3.0.0 (2015/09/16) |
33 | 33 |
|
| 34 | +* Support for released Mongoid 5.0.0 - [@rodrigopinto](https://github.com/rodrigopinto). |
| 35 | + |
34 | 36 | ### 2.2.0 (2015/03/10) |
35 | 37 |
|
| 38 | +* Support `with_message` option for `validate_confirmation_of` matcher - [@nitinstp23](https://github.com/nitinstp23). |
| 39 | +* Updated RSpec dependency - [@rodrigopinto](https://github.com/rodrigopinto). |
| 40 | + |
36 | 41 | ### 2.1.0 (2015/02/01) |
37 | 42 |
|
| 43 | +* Added `be_dynamic_document` matcher - [@karmi](https://github.com/karmi). |
| 44 | +* Added `with_counter_cache` relation matcher option - [@karmi](https://github.com/karmi). |
| 45 | +* Fixed camelcased index options bug - [@karmi](https://github.com/karmi). |
| 46 | +* Removed code related to Mongoid 3 - [@karmi](https://github.com/karmi). |
| 47 | + |
38 | 48 | ### 2.0.0 (2015/01/05) |
39 | 49 |
|
40 | | -### 2.0.0.rc1 (2014/09/24) |
| 50 | +* Mongoid 4 support - [@rodrigopinto](https://github.com/rodrigopinto). |
| 51 | +* Updated gem dependencies - [@rodrigopinto](https://github.com/rodrigopinto). |
| 52 | +* Travis CI now only tests against Mongoid 4.0.X - [@rodrigopinto](https://github.com/rodrigopinto). |
41 | 53 |
|
42 | 54 | ### 1.13.0 (2015/01/05) |
43 | 55 |
|
|
47 | 59 |
|
48 | 60 | ### 1.9.0 (2013/08/11) |
49 | 61 |
|
| 62 | +* Added Association.cyclic and .stored_as matchers - [@johnnyshields](https://github.com/johnnyshields). |
| 63 | + |
50 | 64 | ### 1.8.2 (2013/05/24) |
51 | 65 |
|
| 66 | +* Support for detailed ordered_by matcher on associations - [@taiki45](https://github.com/taiki45). |
| 67 | +* Modified HaveValidationMatcher to detect correct validator when more than one `:on` option is used - [@taiki45](https://github.com/taiki45). |
| 68 | + |
52 | 69 | ### 1.8.1 (2013/05/03) |
53 | 70 |
|
| 71 | +* Added ability to check custom message for length of validation - [@asynchrony](https://github.com/asynchrony). |
| 72 | +* Extracted `with_message` logic to common module - [@asynchrony](https://github.com/asynchrony). |
| 73 | + |
54 | 74 | ### 1.8.0 (2013/04/21) |
55 | 75 |
|
| 76 | +* Added support for `:order` on associations - [@nanocity](https://github.com/nanocity). |
| 77 | + |
56 | 78 | ### 1.7.0 (2013/02/27) |
57 | 79 |
|
| 80 | +* Added `autobuild` matcher for `has_one` and `embeds_one` associations - [@bernardeli](https://github.com/bernardeli). |
| 81 | +* Removed test options of matcher `accepts_nested_attributes_for` - [@rodrigopinto](https://github.com/rodrigopinto). |
| 82 | + |
58 | 83 | ### 1.6.0 (2013/01/27) |
59 | 84 |
|
| 85 | +* Added `accept_nested_attributes_of` matcher - [@rodrigopinto](https://github.com/rodrigopinto). |
| 86 | +* Added macro to check if field is localized - [@ph](https://github.com/ph). |
| 87 | +* Fixed `with_default_value` to work when `:default` is not set on a field - [@kareemk](https://github.com/kareemk). |
| 88 | +* Symbolize keys for Index Matcher - [@jtescher](https://github.com/jtescher). |
| 89 | + |
60 | 90 | ### 1.5.6 (2013/01/13) |
61 | 91 |
|
| 92 | +* Ensuring that specs fail if a particular option is not present while indexing - [@anshulm](https://github.com/anshulm). |
| 93 | + |
62 | 94 | ### 1.5.5 (2012/11/28) |
63 | 95 |
|
| 96 | +* Added Travis CI build image - [@rodrigopinto](https://github.com/rodrigopinto). |
| 97 | + |
64 | 98 | ### 1.5.4 (2012/08/20) |
65 | 99 |
|
| 100 | +* Added support for matching document field aliases - [@dwbutler](https://github.com/dwbutler). |
| 101 | +* Bug fix for inclusion matcher - [@dwbutler](https://github.com/dwbutler). |
| 102 | + |
66 | 103 | ### 1.5.3 (2012/08/20) |
67 | 104 |
|
68 | 105 | ### 1.5.1 (2012/07/27) |
69 | 106 |
|
| 107 | +* Support for `Proc` in inclusion matcher - [@c0va23](https://github.com/c0va23). |
| 108 | +* Allow more specific timestamp specs - [@zenzike](https://github.com/zenzike). |
| 109 | +* Allow validations to pass if `:on` is not specified but spec specifies `:create`, `:update`, or both - [@zenzike](https://github.com/zenzike). |
| 110 | + |
70 | 111 | ### 1.5.0 (2012/07/27) |
71 | 112 |
|
| 113 | +* Mongoid 3.0 support - [@rodrigopinto](https://github.com/rodrigopinto). |
| 114 | +* Added `allow_mass_assignment_of` matcher - [@rodrigopinto](https://github.com/rodrigopinto). |
| 115 | +* Added matcher for custom validation - [@rodrigopinto](https://github.com/rodrigopinto). |
| 116 | +* Added matcher for `validate_acceptance_of` - [@nanocity](https://github.com/nanocity). |
| 117 | +* Added exclusion matcher - [@rodrigopinto](https://github.com/rodrigopinto). |
| 118 | +* Support for RSpec > 2.9 - [@rodrigopinto](https://github.com/rodrigopinto). |
| 119 | + |
72 | 120 | ### 1.4.6 (2012/06/13) |
73 | 121 |
|
| 122 | +* Fixed copy-paste typo in `uniqueness_of` - [@nessche](https://github.com/nessche). |
| 123 | +* Fixed collection matcher to support Mongoid 3.0.0 - [@rodrigopinto](https://github.com/rodrigopinto). |
| 124 | +* Changed index syntax to support Mongoid 3.0.0.rc - [@rodrigopinto](https://github.com/rodrigopinto). |
| 125 | + |
74 | 126 | ### 1.4.5 (2012/05/23) |
75 | 127 |
|
76 | 128 | ### 1.4.4 (2011/06/02) |
77 | 129 |
|
| 130 | +* Fixed HaveFieldMatcher for `Boolean` fields with default values - [@evansagge](https://github.com/evansagge). |
| 131 | +* Fixed document extension matchers for RSpec 2.6 - [@evansagge](https://github.com/evansagge). |
| 132 | + |
78 | 133 | ### 1.4.3 (2011/06/02) |
79 | 134 |
|
| 135 | +* Updated gem dependencies - [@evansagge](https://github.com/evansagge). |
| 136 | +* Fixed matcher descriptions for `be_mongoid_document`, `be_versioned_document`, `be_timestamped_document`, `be_paranoid_document` - [@evansagge](https://github.com/evansagge). |
| 137 | + |
80 | 138 | ### 1.4.2 (2011/04/22) |
81 | 139 |
|
| 140 | +* Changed mongoid version requirement to ~> 2.0 - [@evansagge](https://github.com/evansagge). |
| 141 | +* Added `with_autosave` option to association matcher - [@MattVonVielen](https://github.com/MattVonVielen). |
| 142 | +* Added `many` relations support the `inverse_of` option - [@nickhoffman](https://github.com/nickhoffman). |
| 143 | + |
82 | 144 | ### 1.4.1 (2011/03/02) |
83 | 145 |
|
| 146 | +* Added `be_stored_in` matcher to verify if a document has `store_in` `:collection_name` set - [@rodrigues](https://github.com/rodrigues). |
| 147 | +* Added `less_than` verification to `validates_numericality_of` matcher - [@rodrigues](https://github.com/rodrigues). |
| 148 | +* Added ability to test `dependent` option - [@sarcilav](https://github.com/sarcilav). |
| 149 | +* Allows `embedded_in` argument to map to a name rather than a class for better decoupling - [@candlewaster](https://github.com/candlewaster). |
| 150 | +* 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](https://github.com/candlewaster). |
| 151 | + |
84 | 152 | ### 1.3.2 (2010/11/10) |
85 | 153 |
|
| 154 | +* Added within range check for `validate_length_of` matcher - [@pranas](https://github.com/pranas). |
| 155 | +* Added `greater_than` check for `validate_numericality_of` matcher - [@pranas](https://github.com/pranas). |
| 156 | +* Added `validates_confirmation_of` matcher - [@jnshashank](https://github.com/jnshashank). |
| 157 | + |
86 | 158 | ### 1.2.1 (2010/08/24) |
87 | 159 |
|
| 160 | +* Added support for association `ReferencesManyAsArray` - [@rodrigopinto](https://github.com/rodrigopinto). |
| 161 | + |
88 | 162 | ### 1.2.0 (2010/08/02) |
89 | 163 |
|
| 164 | +* Fixing compatibility issues with Mongoid v2.0.0.beta.15 and up - [@evansagge](https://github.com/evansagge). |
| 165 | +* Removed dependency on Rails - [@evansagge](https://github.com/evansagge). |
| 166 | + |
90 | 167 | ### 1.1.2 (2010/06/07) |
91 | 168 |
|
| 169 | +* Added requires for mongoid/associations - [@durran](https://github.com/durran). |
| 170 | + |
92 | 171 | ### 1.1.1 (2010/06/01) |
93 | 172 |
|
| 173 | +* Fixed association matchers - [@durran](https://github.com/durran). |
| 174 | + |
94 | 175 | ### 1.1.0 (2010/06/01) |
95 | 176 |
|
| 177 | +* Updated to be compatible with `ReferencesMany`, `ReferencesOne`, and `ReferenceIn` - [@durran](https://github.com/durran). |
| 178 | + |
96 | 179 | ### 1.0.4 (2010/05/23) |
97 | 180 |
|
98 | | -### 1.0.3 (2010/05/08) |
| 181 | +* Updated gemspecs to be compatible with newer versions of Mongoid - [@durran](https://github.com/durran). |
99 | 182 |
|
100 | 183 | ### 1.0.3 (2010/05/08) |
101 | 184 |
|
102 | | -* Intial public release - [@evansagge](https://github.com/evansagge). |
| 185 | +* Initial public release - [@evansagge](https://github.com/evansagge). |
0 commit comments