Washington Botelho
9691ba81a0
spc: uses conditional assert
...
For some reason that I don't know, the MySQL and Postgres has different precision to keep the decimal, so instead to match the exactly number, we're justing checking the Rating logic without worry with that precision.
2022-05-18 11:15:20 -03:00
Washington Botelho
90dc76e4d9
spec: using the correct types
2022-05-18 09:54:53 -03:00
Washington Botelho
a9be6d3b40
ref: extract support configs
2022-05-17 23:58:31 -03:00
Washington Botelho
5c3cc117a6
lint
2022-05-17 23:56:03 -03:00
Peter Goldstein
c4c079fe90
Migrate to GitHub Actions
2022-04-21 16:08:20 -07:00
Washington Botelho
514ca966a2
ft: Same rate value hits DB to update metadata.
2020-01-16 18:48:27 -03:00
Washington Botelho
f475583729
spec: update
2020-01-16 14:15:38 -03:00
Washington Botelho
e84b9b13a5
ft: where option to includes conditions on rating
2019-12-20 16:37:22 -03:00
Washington Botelho
5b5b638cf7
spec: removes duplicated
2019-12-19 16:38:44 -03:00
Washington Botelho
835e97abfa
typo
2019-12-19 14:20:04 -03:00
Washington Botelho
69003bd30c
spec: fix
...
some times comes integer sometime comes float string
2019-10-03 20:25:23 -03:00
Washington Botelho
63a0f7e83b
lint
2019-10-03 19:07:50 -03:00
Washington Botelho
fd954f677f
feat: unscoped rating
2018-03-05 20:26:50 -03:00
Washington Botelho
f9de473ea4
feat: adds extra scopes option
2018-03-01 17:50:28 -03:00
Washington Botelho
2af3187190
lint
2018-03-01 13:37:37 -03:00
Washington Botelho
96a5f67221
feat: add extra scopes support on rate class
2018-03-01 13:35:08 -03:00
Washington Botelho
30b4ac9484
Revert "up: removes validation to allow your custom one"
...
This reverts commit 763a1cd818
.
2018-02-28 13:58:56 -03:00
Washington Botelho
763a1cd818
up: removes validation to allow your custom one
2018-02-26 17:53:43 -03:00
Washington Botelho
148f12f8f9
fix: avoid warm up on update like before
...
it will avoid a bunch of unecessary updates
2018-02-09 16:50:11 -02:00
Washington Botelho
4c7d957c22
feat: scoping support
2018-02-08 20:44:39 -02:00
Washington Botelho
e29e0c049e
fix: avoid error when has no rate record
2018-02-08 19:36:05 -02:00
Washington Botelho
9882309485
fix: float does not exists on mysql
...
fix precision on average calculation making dividend as decimal
2018-02-06 17:56:23 -02:00
Washington Botelho
286b03be63
lint
2018-01-26 19:58:12 -02:00
Washington Botelho
038a0d20cb
spec: fix missing metadata attribute
2018-01-26 19:32:45 -02:00
Washington Botelho
b0738b5cc8
feat: add ability to persist metadata
2018-01-26 19:16:56 -02:00
Washington Botelho
55cd7a3093
fix: was calling factory over create method
...
we test using the method not just the persisted result
2018-01-26 19:07:43 -02:00
Washington Botelho
0b6c6879db
up: enable pass metadata to create method
2018-01-26 19:03:07 -02:00
Washington Botelho
20975c8f29
spec: refactor setup on shared context
2018-01-16 01:25:36 -02:00
Washington Botelho
63f2cb9320
spec: optimization using one less class
2018-01-16 01:14:05 -02:00
Washington Botelho
71f31e09ea
spec: move out wrong nested context
2018-01-15 22:04:05 -02:00
Washington Botelho
46530d5999
up: add uniqueness on voting based on resource id
2018-01-14 22:43:13 -02:00
Washington Botelho
d163c74bcb
lint: using it over specify
2018-01-14 22:29:59 -02:00
Washington Botelho
722eb9ef05
add support to specify author models
2017-11-03 00:02:23 -02:00
Washington Botelho
cd51130143
add scope support
2017-11-02 23:35:08 -02:00
Washington Botelho
598c58af7e
first commit
2017-10-30 22:30:09 -02:00