2020-01-16 21:50:13 +00:00
## v0.11.0
### Updates
- Same rate value hits DB to update metadata.
2019-12-20 19:45:20 +00:00
## v0.10.0
### News
- Add option `where` to be able adds conditions on `Rating::Rate` .
2019-10-03 23:56:42 +00:00
## v0.9.0
2018-03-31 21:51:05 +00:00
### News
2022-08-08 22:08:32 +00:00
- Order index keys of the template the same way Rails does the query;
2018-03-31 21:51:05 +00:00
- Limits the `_type` columns to avoid overflow bytes in DBs like MySQL < 5.7.
2019-10-03 23:56:42 +00:00
### Updates
2019-12-19 16:58:12 +00:00
- Update Ruby to 2.6.5;
2022-08-08 22:08:32 +00:00
- Update ActiveRecord to the last version;
2019-10-03 23:56:42 +00:00
2018-03-05 23:34:10 +00:00
## v0.8.0
### News
2022-08-08 22:08:32 +00:00
- Adds `unscoped_rating` option to calculate the rating by counting all resource records ignoring the scope.
2018-03-05 23:34:10 +00:00
2018-03-02 18:18:38 +00:00
## v0.7.0
### News
- Support to configure `uniqueness` validation via YAML into Rating::Rate model;
2022-08-08 22:08:32 +00:00
- Support multiple scopes via `extra_scopes` option.
2018-03-02 18:18:38 +00:00
### Updates
2022-08-08 22:08:32 +00:00
- Reverts v0.6.0, since we need this validation because we cannot edit the Rate model by ourselves.
2018-03-02 18:18:38 +00:00
2018-02-26 20:53:47 +00:00
## v0.6.0
### Updates
2022-08-08 22:08:32 +00:00
- The author's unique validations were removed to enable custom validations
2018-02-26 20:53:47 +00:00
2018-02-14 17:38:04 +00:00
## v0.5.0
### News
2022-08-08 22:08:32 +00:00
- Adds `rating.yml` config to support changing the tables where Rating will write the data;
- Adds `scoping` option to support generating zero-based rating via scope.
2018-02-14 17:38:04 +00:00
### Updates
2022-08-08 22:08:32 +00:00
- The migration was separated in two to improve troubleshooting. [#1 ](https://github.com/wbotelhos/rating/pull/1 ) by [iondrimba ](https://github.com/iondrimba )
2018-02-14 17:38:04 +00:00
2018-02-06 20:05:24 +00:00
## v0.4.0
### News
- Adds support to MySQL using decimal over float cast on calculations.
### Updates
- Grows up the decimal precision to enable billion of records count.
2018-01-29 17:15:33 +00:00
## v0.3.0
### News
- The `vote` method now can receive `metadata` to be persisted with vote data.
2017-11-03 02:08:39 +00:00
## v0.2.0
### News
- Scope support to be possible rate item from a resource;
- Author model type where zero rating record is not generated on record creation.
2017-10-30 01:44:23 +00:00
## v0.1.0
- First release.