-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loosen version support requirement to include Mongoid 7.3, 8.0, and above. - Add Rubocop to CI. - Fix minor Rubocop issues. - Dropped Ruby < 2.7.
- Loading branch information
1 parent
b0a8fc7
commit 5f46f41
Showing
10 changed files
with
91 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: Rubocop | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
CI: true | ||
TESTOPTS: '-v' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Ruby 3.2 | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 3.2 | ||
bundler-cache: true | ||
- name: bundle install | ||
run: bundle install --jobs 4 --retry 3 | ||
- name: Run Rubocop | ||
run: bundle exec rubocop --parallel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,42 @@ | ||
## 0.6.0 (2023/09/18) | ||
|
||
* Loosen version support requirement to include Mongoid 7.3, 8.0, and above. | ||
* Add Rubocop to CI. | ||
* Fix minor Rubocop issues. | ||
* Drop support for Ruby < 2.7. | ||
|
||
## 0.5.0 (2021/07/24) | ||
|
||
* Support only Mongoid 7.3 and later. | ||
* In conformity with Mongoid 7.3+ behavior, dependencies are not destroyed when calling delete/delete! | ||
|
||
## 0.4.1 (2021/07/24) | ||
|
||
* Do not allow Mongoid 7.3 and later, due to breaking changes | ||
* Switch to Github Actions from Travis CI | ||
* Add Rubocop and fix issues | ||
* Dropped Ruby < 2.4 | ||
* Do not allow Mongoid 7.3 and later, due to breaking changes. | ||
* Switch to Github Actions from Travis CI. | ||
* Add Rubocop and fix issues. | ||
* Drop support for Ruby < 2.4. | ||
|
||
## 0.4.0 (2019/05/29) | ||
|
||
* Mongoid 7.0 support | ||
* Drop Mongoid 6 and Ruby < 2.3 | ||
* Mongoid 7.0 support. | ||
* Drop support for Mongoid 6 and Ruby < 2.3. | ||
|
||
## 0.3.0 (2017/01/05) | ||
|
||
* Mongoid 6.0 support | ||
* Drop Mongoid 4/5 and Ruby < 2.2.2 | ||
* Mongoid 6.0 support. | ||
* Drop support for Mongoid 4/5 and Ruby < 2.2.2. | ||
|
||
## 0.2.1 (2015/09/28) | ||
|
||
* [#40](https://github.com/simi/mongoid_paranoia/pull/40): Don't override mongoid original update - [@simi](https://github.com/simi). | ||
* [#40](https://github.com/simi/mongoid_paranoia/pull/40): Don't override mongoid original update - [@simi](https://github.com/simi) | ||
|
||
## 0.2.0 (2015/09/22) | ||
|
||
* [#38](https://github.com/simi/mongoid_paranoia/pull/38): Added support for Mongoid 5 - [@dblock](https://github.com/dblock). | ||
* [#29](https://github.com/simi/mongoid_paranoia/pull/29): Added `before_remove`, `after_remove` and `around_remove` callbacks - [@marcelloma](https://github.com/marcelloma). | ||
* [#34](https://github.com/simi/mongoid_paranoia/pull/34): Allow configuring of the paranoid field naming on a global basis - [@ak47](https://github.com/ak47). | ||
* [#38](https://github.com/simi/mongoid_paranoia/pull/38): Added support for Mongoid 5 - [@dblock](https://github.com/dblock) | ||
* [#29](https://github.com/simi/mongoid_paranoia/pull/29): Added `before_remove`, `after_remove` and `around_remove` callbacks - [@marcelloma](https://github.com/marcelloma) | ||
* [#34](https://github.com/simi/mongoid_paranoia/pull/34): Allow configuring of the paranoid field naming on a global basis - [@ak47](https://github.com/ak47) | ||
|
||
## 0.1.2 (2014/07/11) | ||
|
||
* Initial public release - [@simi](https://github.com/simi). | ||
* Initial public release - [@simi](https://github.com/simi) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
|
||
module Mongoid | ||
module Paranoia | ||
VERSION = '0.5.0' | ||
VERSION = '0.6.0' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters