-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Comparing changes
Open a pull request
base repository: mongodb/mongoid
base: v7.2.5
head repository: mongodb/mongoid
compare: master
Commits on Oct 22, 2020
-
MONGOID-3468 Always touch parents of embedded documents when embedded…
… documents are touched (#4904) * perform exact time assertions in existing tests * tests for child -> parent updated_at updates * propagate touches through composition hierarchy * fix the tests to reflect embedded associations always touching their parents * documentation * forgot to include Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 55e8aa5 - Browse repository at this point
Copy the full SHA 55e8aa5View commit details
Commits on Nov 4, 2020
-
Update spec/shared to current master (#4907)
* Update spec/shared to current master * RUBY-2428 use shared spec organizer & child process helper Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for fee0cfe - Browse repository at this point
Copy the full SHA fee0cfeView commit details
Commits on Nov 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 49c2c00 - Browse repository at this point
Copy the full SHA 49c2c00View commit details -
MONGOID-4913 add release notes (#4908)
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for e8ecbc0 - Browse repository at this point
Copy the full SHA e8ecbc0View commit details
Commits on Nov 6, 2020
-
RUBY-1387 TLS context hooks documentation (#4909)
Emily Giurleo authoredNov 6, 2020 Configuration menu - View commit details
-
Copy full SHA for 1cea9c2 - Browse repository at this point
Copy the full SHA 1cea9c2View commit details
Commits on Nov 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d63f44c - Browse repository at this point
Copy the full SHA d63f44cView commit details -
Fix MONGOID-5002 parent.child = Child.new raises TypeError when there…
…'s no inverse relation for belongs_to with has_one parent (#4911) Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 02eb17e - Browse repository at this point
Copy the full SHA 02eb17eView commit details
Commits on Nov 13, 2020
-
Test & document MONGOID-5009 Belongs to relationship changes method v…
…isibility (#4912) * Use public_send to delegate methods from Proxy to _target * Define respond_to_missing? to properly expose method visibility, since we are defining method_missing * forward all arguments * mark private * reinstate send * document the situation * remove respond_to_missing? from undefinitions Co-authored-by: Esteban Pastorino <ejpastorino@gmail.com> Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 3dad3d2 - Browse repository at this point
Copy the full SHA 3dad3d2View commit details -
Fix MONGOID-5013 Re-associating identical object destroys itself for …
…dependent: :destroy (#4913) Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 71abc95 - Browse repository at this point
Copy the full SHA 71abc95View commit details
Commits on Nov 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b4fa616 - Browse repository at this point
Copy the full SHA b4fa616View commit details
Commits on Nov 17, 2020
-
Fix MONGOID-5020 Condition lifting breaks with symbol operators on Ru…
…by <= 2.6 (#4915) * MONGOID-5020 test cases for operators with symbols * MONGOID-5020 convert hashes to indifferent access prior to query manipulation * MONGOID-5020 queries are now more uniform * MONGOID-5020 combine with $eq when conditions are given in the same argument * MONGOID-5020 test all matrix of string/symbol operator types * fix straggler test * document the situation * document $eq lifting Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 5545c17 - Browse repository at this point
Copy the full SHA 5545c17View commit details -
Update shared spec code (#4919)
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for d8ef286 - Browse repository at this point
Copy the full SHA d8ef286View commit details
Commits on Nov 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3839fc4 - Browse repository at this point
Copy the full SHA 3839fc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6800f70 - Browse repository at this point
Copy the full SHA 6800f70View commit details
Commits on Nov 19, 2020
-
Link to demo applications source code (#4920)
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 88ecbdf - Browse repository at this point
Copy the full SHA 88ecbdfView commit details -
MONGOID-5023 Expand all conditions in a single argument together in `…
…where` path (#4918) Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 213a70f - Browse repository at this point
Copy the full SHA 213a70fView commit details
Commits on Nov 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fb4c8d4 - Browse repository at this point
Copy the full SHA fb4c8d4View commit details
Commits on Nov 24, 2020
-
MONGOID-4706 Remove Targets module (#4924)
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 92ad127 - Browse repository at this point
Copy the full SHA 92ad127View commit details -
RUBY-2417 use shared cluster config (#4925)
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for a82468f - Browse repository at this point
Copy the full SHA a82468fView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd92fd5 - Browse repository at this point
Copy the full SHA dd92fd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcda741 - Browse repository at this point
Copy the full SHA fcda741View commit details -
MONGOID-4906 Implement $type (#4923)
* separated type * added all tests except for Date and Decimal128 * fixed decimal128 and date * checking evergreen results * added min server versions * added min server version for decimal, too large/negative, and array argument * code review feedback * add trailing comma * separate $type tests by type * simplify array test * expand boolean tests * expand code and code with scope tests * expand decimal coverage * simplify double tests * allow Ruby integers to satisfy int32 matcher * allow Ruby integers to satisfy int64 matcher * fix null $type when field does not exist * expand tests * expand tests * simplify string test * expand symbol coverage * add a timestamp test case * expand regexp test coverage * support multiple array elements in $type * flip the files * added release notes * fixing release notes * fixing release notes * fixing release notes * fixing release notes * fixing release notes * fixing release notes * added list of deviations * add missing server version constraint * fix newlines * specify which operators were added Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 50a6108 - Browse repository at this point
Copy the full SHA 50a6108View commit details -
Configuration menu - View commit details
-
Copy full SHA for c746740 - Browse repository at this point
Copy the full SHA c746740View commit details
Commits on Nov 25, 2020
-
MONGOID-5018 test cases (#4914)
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 39df7c8 - Browse repository at this point
Copy the full SHA 39df7c8View commit details -
Fail builds when git checkouts fail, per EVG-7968 (#4926)
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 6fb5b1f - Browse repository at this point
Copy the full SHA 6fb5b1fView commit details
Commits on Nov 28, 2020
-
Update shared tooling ref (#4928)
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for f4c407c - Browse repository at this point
Copy the full SHA f4c407cView commit details
Commits on Nov 30, 2020
-
MONGOID-4753 Make global Boolean definition opt-in (#4927)
* MONGOID-4753 Make global Boolean definition opt-in * Add a note about restoring global Boolean * fix tests Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for a080c06 - Browse repository at this point
Copy the full SHA a080c06View commit details -
MONGOID-4812 Allow id to be a regular field in models (not an alias o…
…f _id) (#4929) * unalias id/_id * remove other traces of aliasing * keep aliased fields * create a method to unalias an attribute * remove whitespace * make #only more straightforward & efficient * extract Criteria#only tests in their own file * verify only works correctly when id is unaliased * note that aliases are not included * rename the test because I will add without to it * move #without tests to projection * fix #without when id is unaliased * test cases for using #without when id is unaliased * Document #without * Note that id cannot be omitted via without * basic integration test * clean up * add docstring * remove extra whitespace * add tutorial documentation * use _id instead of id everywhere in the codebase * add an upgrading note * fix cloning * fix nested_one association Co-authored-by: Emily Giurleo <e.m.giurleo@gmail.com> Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 802277e - Browse repository at this point
Copy the full SHA 802277eView commit details
Commits on Dec 1, 2020
-
Copy release tooling from driver + extra dependencies + move rspec to…
… development & test environments (#4930) Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 2d4d924 - Browse repository at this point
Copy the full SHA 2d4d924View commit details
Commits on Dec 2, 2020
-
MONGOID-4923 add an additional resources page to the docs (#4838)
* add an additional resources page to the docs create the additional resources page proposed in https://jira.mongodb.org/browse/MONGOID-4923 * move additional resources page into reference folder * add mongoid conversion article * Remove unused anchor * Match other pages for toc style * Move the page to tutorials and link to it * Revise the intro language * Move additional resources to top level * separate out ecosystem * remove the 10 minute guide * terminate all sentences with periods * fix CarrierWave spelling * wording tweak * remove mongoid_taggable since it does not appear to be usable with current Mongoid versions * separate extension and integration libraries * add mongoid_fulltext * add RailsAdmin * link to driver resources Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for fba955b - Browse repository at this point
Copy the full SHA fba955bView commit details -
MONGOID-5019 Document omitting _id field from embedded documents (#4931)
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 9a107d0 - Browse repository at this point
Copy the full SHA 9a107d0View commit details
Commits on Dec 7, 2020
-
MONGOID-5019 note that _id is only assigned for top-level documents (#…
…4933) Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 030aded - Browse repository at this point
Copy the full SHA 030adedView commit details
Commits on Dec 14, 2020
-
Fix MONGOID-4982 Cannot update a field on embedded association member…
…, add another member and add a nested association to the first member in the same save call (#4934) * Fix MONGOID-4982 "conflicts within conflicts" issue * revert removed test code * fix the test * adjust line length * tweak the comment prose * note future work Co-authored-by: shields <shields@tablecheck.com> Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 06d17ca - Browse repository at this point
Copy the full SHA 06d17caView commit details
Commits on Dec 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 95c8fe5 - Browse repository at this point
Copy the full SHA 95c8fe5View commit details
Commits on Dec 22, 2020
-
MONGOID-5027 Rails 6.1 support (#4938)
* Update mongoid.gemspec Hi, I use rails 6.1 and mongoid and i get error when i run bundle. So i update the dependency to activemodel <= 6.1 . * allow everything less than 6.2 * test on Rails 6.1 and 6.0 * Update halted_callback_hook to take the name argument added in Rails 6.1. See Rails commit 06dd162fb3ae67f202a0a59da1ce94317d0a3e22 * MONGOID-4731 use Errors#copy! to properly copy errors for Rails 6.1 (and also earlier versions) * update compat tables for Rails 6.1 * bundle exec rake Co-authored-by: Francel <francel.webdev@gmail.com> Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 07c544a - Browse repository at this point
Copy the full SHA 07c544aView commit details -
Fix MONGOID-5033 Cannot use any_of with multiple conditions when usin…
…g symbol operators on Time fields and passing Date instances (#4936) * Fix MONGOID-5033 Cannot use any_of with multiple conditions when using symbol operators on Time fields and passing Date instances * Update docs/tutorials/mongoid-queries.txt Co-authored-by: Andreas Braun <alcaeus@users.noreply.github.com> * Update docs/tutorials/mongoid-queries.txt Co-authored-by: Andreas Braun <alcaeus@users.noreply.github.com> Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com> Co-authored-by: Andreas Braun <alcaeus@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 988386f - Browse repository at this point
Copy the full SHA 988386fView commit details -
Test cases for MONGOID-4476 Writes in callbacks of nested embedded do…
…cuments are not persisted when top-level document is modified via update_attributes (#4937) * MONGOID-4476 test cases * MONGOID-4476 update test * MONGOID-4476 test update_attributes * MONGOID-4476 grammar fix * MONGOID-4476 mark failing tests pending Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 3c6bdac - Browse repository at this point
Copy the full SHA 3c6bdacView commit details
Commits on Jan 8, 2021
-
Use shared shell functions in mrss (#4945)
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 4525b2d - Browse repository at this point
Copy the full SHA 4525b2dView commit details -
MONGOID-5040 Revert Document#to_ary to be a private method (#4940)
* Revert Document#to_ary to be a private method * Add specs for 7.2.0 #to_ary behavior Co-authored-by: shields <shields@tablecheck.com>
Configuration menu - View commit details
-
Copy full SHA for 757e521 - Browse repository at this point
Copy the full SHA 757e521View commit details -
Fix MONGOID-5035 Query embedded documents by date field with $gt/gte/…
…lt/lte does not find existing documents (#4942) Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 35c48e5 - Browse repository at this point
Copy the full SHA 35c48e5View commit details -
Test cases for MONGOID-5039 Multiple polymorphic embeds cause wrong a…
…ssociation to be assigned (#4939) * Reproduction of multiple polymorphic embed bug * Improve specs * Remove autobuild; fix other spec * place each model into its own file * tweak test formatting * mark tests pending Co-authored-by: shields <shields@tablecheck.com> Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for d1c926d - Browse repository at this point
Copy the full SHA d1c926dView commit details
Commits on Jan 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 976fb07 - Browse repository at this point
Copy the full SHA 976fb07View commit details
Commits on Jan 10, 2021
-
RUBY-2488 use Ruby 3 toolchain (#4946)
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for c67c944 - Browse repository at this point
Copy the full SHA c67c944View commit details
Commits on Jan 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 40107a4 - Browse repository at this point
Copy the full SHA 40107a4View commit details -
MONGOID-5025 Document caveats of embedded documents without _id field (…
…#4948) Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 0253610 - Browse repository at this point
Copy the full SHA 0253610View commit details -
MONGOID-5031 Document the need to preload child classes when using di…
…scriminator value override (#4950) Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for d68b9cc - Browse repository at this point
Copy the full SHA d68b9ccView commit details
Commits on Jan 18, 2021
-
MONGOID-4962 Clarify storage of referenced associations (#4949)
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 11602b2 - Browse repository at this point
Copy the full SHA 11602b2View commit details
Commits on Jan 28, 2021
-
use https protocol for spec/shared submodule (#4954)
* use https protocol for spec/shared submodule fixes inability of users to update submodules when they do not have an SSH key configured for GitHub * update spec/shared to current master Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for df6b216 - Browse repository at this point
Copy the full SHA df6b216View commit details
Commits on Feb 11, 2021
-
Integrate docker tooling with Mongoid
(#4955) * Update spec/shared * Integrate docker tooling with Mongoid * remove mongo-orchestration * remove --server flag since jruby claims it is useless * update distro names * remove redundant configuration * set MONGODB_URI * run old servers on 14.04 * switch more to ubuntu1404 * separate ubuntu1404 and ubuntu1604 configurations * respect TEST_CMD for docker * Use ubuntu1604 for app tests to get a newer nodejs runtime * Install nodejs for Mongoid app tests * ubuntu1604 is still too old, try ubuntu1804 * use headless jres * only install Mongoid app testing bits on ubuntu1804 * apt update & install in the same command * respect INTERACTIVE env var for docker * fix uri options addition * construct URI for app tests more intelligently Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for ff8fefa - Browse repository at this point
Copy the full SHA ff8fefaView commit details
Commits on Feb 23, 2021
-
Add ruby-debug for debugging in JRuby (#4956)
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Configuration menu - View commit details
-
Copy full SHA for 4aab6ea - Browse repository at this point
Copy the full SHA 4aab6eaView commit details
There are no files selected for viewing