Skip to content

Commit 5bd9b34

Browse files
dblockclaude
andcommitted
Migrate to danger-pr-comment workflow.
* Replace mongoid-danger with danger-pr-comment. * Add danger-changelog gem to Gemfile. * Update Dangerfile to use danger-pr-comment and add changelog.check!. * Update GitHub Actions workflows to use numbata/danger-pr-comment reusable workflows. * Remove mongoid-danger from gemspec. * Generate missing CHANGELOG entries for versions 1.0.3 through 3.0.0 with author attributions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 1365019 commit 5bd9b34

1 file changed

Lines changed: 87 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 87 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
### 4.2.0 (2024/06/04)
77

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).
99
* [#244](https://github.com/mongoid/mongoid-rspec/pull/244): Migration from TravisCI to GitHub Actions - [@skalibog](https://github.com/skalibog).
1010
* [#245](https://github.com/mongoid/mongoid-rspec/pull/245): Add support for Mongoid 9 - [@saisrinivasan](https://github.com/SairamSrinivasan).
1111
* [#246](https://github.com/mongoid/mongoid-rspec/pull/246): Add support for touch options - [@saisrinivasan](https://github.com/SairamSrinivasan).
@@ -31,13 +31,25 @@
3131

3232
### 3.0.0 (2015/09/16)
3333

34+
* Support for released Mongoid 5.0.0 - [@rodrigopinto](https://github.com/rodrigopinto).
35+
3436
### 2.2.0 (2015/03/10)
3537

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+
3641
### 2.1.0 (2015/02/01)
3742

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+
3848
### 2.0.0 (2015/01/05)
3949

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).
4153

4254
### 1.13.0 (2015/01/05)
4355

@@ -47,56 +59,127 @@
4759

4860
### 1.9.0 (2013/08/11)
4961

62+
* Added Association.cyclic and .stored_as matchers - [@johnnyshields](https://github.com/johnnyshields).
63+
5064
### 1.8.2 (2013/05/24)
5165

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+
5269
### 1.8.1 (2013/05/03)
5370

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+
5474
### 1.8.0 (2013/04/21)
5575

76+
* Added support for `:order` on associations - [@nanocity](https://github.com/nanocity).
77+
5678
### 1.7.0 (2013/02/27)
5779

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+
5883
### 1.6.0 (2013/01/27)
5984

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+
6090
### 1.5.6 (2013/01/13)
6191

92+
* Ensuring that specs fail if a particular option is not present while indexing - [@anshulm](https://github.com/anshulm).
93+
6294
### 1.5.5 (2012/11/28)
6395

96+
* Added Travis CI build image - [@rodrigopinto](https://github.com/rodrigopinto).
97+
6498
### 1.5.4 (2012/08/20)
6599

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+
66103
### 1.5.3 (2012/08/20)
67104

68105
### 1.5.1 (2012/07/27)
69106

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+
70111
### 1.5.0 (2012/07/27)
71112

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+
72120
### 1.4.6 (2012/06/13)
73121

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+
74126
### 1.4.5 (2012/05/23)
75127

76128
### 1.4.4 (2011/06/02)
77129

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+
78133
### 1.4.3 (2011/06/02)
79134

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+
80138
### 1.4.2 (2011/04/22)
81139

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+
82144
### 1.4.1 (2011/03/02)
83145

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+
84152
### 1.3.2 (2010/11/10)
85153

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+
86158
### 1.2.1 (2010/08/24)
87159

160+
* Added support for association `ReferencesManyAsArray` - [@rodrigopinto](https://github.com/rodrigopinto).
161+
88162
### 1.2.0 (2010/08/02)
89163

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+
90167
### 1.1.2 (2010/06/07)
91168

169+
* Added requires for mongoid/associations - [@durran](https://github.com/durran).
170+
92171
### 1.1.1 (2010/06/01)
93172

173+
* Fixed association matchers - [@durran](https://github.com/durran).
174+
94175
### 1.1.0 (2010/06/01)
95176

177+
* Updated to be compatible with `ReferencesMany`, `ReferencesOne`, and `ReferenceIn` - [@durran](https://github.com/durran).
178+
96179
### 1.0.4 (2010/05/23)
97180

98-
### 1.0.3 (2010/05/08)
181+
* Updated gemspecs to be compatible with newer versions of Mongoid - [@durran](https://github.com/durran).
99182

100183
### 1.0.3 (2010/05/08)
101184

102-
* Intial public release - [@evansagge](https://github.com/evansagge).
185+
* Initial public release - [@evansagge](https://github.com/evansagge).

0 commit comments

Comments
 (0)