You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add this line to your application's Gemfile and run `bundle install`:
37
38
38
39
```ruby
39
-
gem 'mongoid_includes'
40
+
gem 'mongoid_includes'
40
41
```
41
42
42
-
Or install it yourself running:
43
+
Or install it yourself by running:
43
44
44
45
```sh
45
46
gem install mongoid_includes
@@ -48,3 +49,61 @@ gem install mongoid_includes
48
49
## License
49
50
50
51
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
52
+
53
+
## Running tests
54
+
55
+
To run the full test suite locally:
56
+
57
+
```sh
58
+
bundle install
59
+
bundle exec rspec
60
+
# or use the bundled binary
61
+
bin/rspec
62
+
```
63
+
64
+
To run the tests against the Mongoid 8 matrix (this project provides a separate Gemfile at `gemfiles/mongoid8.gemfile`), set `BUNDLE_GEMFILE` to that file before installing or running the suite:
Contributions are welcome. If you'd like to report a bug, suggest an improvement, or submit a patch, please follow these steps:
85
+
86
+
1. Fork the repository on GitHub.
87
+
2. Create a feature branch from `master` (or from the branch you're targeting):
88
+
89
+
```sh
90
+
git switch -c my-feature-branch
91
+
```
92
+
93
+
3. Make your changes. Add or update tests when appropriate.
94
+
4. Run the test suite locally to ensure everything passes:
95
+
96
+
```sh
97
+
bundle install
98
+
bundle exec rspec
99
+
```
100
+
101
+
5. Commit your changes with a clear message and push your branch to your fork:
102
+
103
+
```sh
104
+
git add -A
105
+
git commit -m "Short, descriptive message"
106
+
git push origin my-feature-branch
107
+
```
108
+
109
+
6. Open a Pull Request against the `master` branch of this repository. In your PR description, explain the problem, what you changed, and any notes about compatibility or required steps.
0 commit comments