Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge master mongoid 9 release #122

Merged
merged 7 commits into from
May 6, 2024
Merged

Conversation

johnnyshields
Copy link
Contributor

No description provided.

johnnyshields and others added 6 commits April 22, 2024 09:17
…rver documentation (#5808)

* This PR does the following:
- Add Mongoid.reconnect_clients (analogous to Mongoid.disconnect_clients). The reason for adding this is to simply web server hooks (see added docs.)
- Corrects the @return in the docs for disconnect_clients. Also added specs for the existing behavior.
- Updates documentation related to web server forking.

* Fix method name

* More terse syntax

* Preserve old return type

* Update configuration.txt

* Update configuration.txt
…5811)

* configure defaults for <= 8.1

* deprecate "running_with_passenger?"

* remove code deprecated <= 8.1

* fix failing specs
* Add pretty print support

This adds the `pretty_print` method, which pretty prints the same information as the `inspect` method. This is meant to be called by the default 'pp' gem, e.g. by calling `pp(person)` or `person.pretty_inspect`.

The specs are an almost identical to the specs for the `inspect` method to ensure the same information is included.

* Simplify code with if modifier

Co-authored-by: Jamis Buck <jamisbuck@gmail.com>

* Avoid "default gem" terminology

Co-authored-by: Jamis Buck <jamisbuck@gmail.com>

---------

Co-authored-by: Jamis Buck <jamisbuck@gmail.com>
Co-authored-by: Jamis Buck <jamis.buck@mongodb.com>
@johnnyshields johnnyshields force-pushed the merge-master-mongoid-9-release branch from 14ecb58 to 2193184 Compare May 6, 2024 14:02
@johnnyshields johnnyshields force-pushed the merge-master-mongoid-9-release branch from 2193184 to a878234 Compare May 6, 2024 14:12
@johnnyshields johnnyshields merged commit 7b3ad3f into master May 6, 2024
30 checks passed
@johnnyshields johnnyshields deleted the merge-master-mongoid-9-release branch May 6, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants