Washington Botelho
3e251e00bb
spec: on the top we already make sure it exists
2022-05-18 11:25:02 -03:00
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
60610b818d
fix: for no password we should use empty string
2022-05-18 10:40:21 -03:00
Washington Botelho
0944c5135b
lint
2022-05-18 10:11:50 -03:00
Washington Botelho
277c0c08f3
up: avoids user and password for local tests
...
The `require` now is local avoiding require unnecessary driver.
2022-05-18 10:11:38 -03:00
Washington Botelho
90dc76e4d9
spec: using the correct types
2022-05-18 09:54:53 -03:00
Peter Goldstein
cb3538cde6
Get Postgres running
2022-05-17 21:23:08 -07:00
Washington Botelho
c7198b1899
spec: timestamps is already non null
2022-05-17 23:58:31 -03:00
Washington Botelho
847921f99e
spec: migrates from integer to bigint
2022-05-17 23:58:31 -03:00
Washington Botelho
a9be6d3b40
ref: extract support configs
2022-05-17 23:58:31 -03:00
Washington Botelho
52b4785161
doc
2022-05-17 23:56:03 -03:00
Washington Botelho
5c3cc117a6
lint
2022-05-17 23:56:03 -03:00
Washington Botelho
2f8f719fc4
up: adds converage
2022-05-17 23:56:03 -03:00
Washington Botelho
cfd21b9ece
up: migrates to rails 7 the test migrations
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
4fc253ccc2
spec: fix
2019-10-03 20:06:47 -03:00
Washington Botelho
63a0f7e83b
lint
2019-10-03 19:07:50 -03:00
Washington Botelho
0400bf8fda
rm: removes remove index command
...
keeps all scopes together
2018-06-14 14:19:19 -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
1365f948db
feat: enable custom validation via yml config
2018-03-01 17:49:57 -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
e2aaa83598
feat: makes table name configurable via yml
2018-02-14 14:43:13 -02: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
1525a7b95f
spec: xit spec where we need to know how to do
2018-02-08 19:36:05 -02:00
Washington Botelho
008909edf3
lint
2018-02-08 19:36:05 -02:00
Washington Botelho
3bab0f5899
spec: fix spec file name
2018-02-08 19:36:05 -02:00
Washington Botelho
1c3685959b
fix: namespace and using string for lazy evaluate
2018-02-08 19:36:05 -02:00
Ion Drimba Filho
ab9610bfe0
feat: add tables name config
2018-02-08 19:36:05 -02:00
Ion Drimba Filho
214223750b
extracted tables migration to multi-files
2018-02-08 15:06:13 -02:00
Washington Botelho
7958664068
fix: drop if table exists
2018-02-06 18:05:20 -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