• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

casbin / gorm-adapter / 88
63%

Build:
DEFAULT BRANCH: master
Ran 24 Jul 2020 04:14AM UTC
Jobs 1
Files 1
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Jul 2020 04:09AM UTC coverage: 62.727% (-0.4%) from 63.11%
88

push

travis-ci

web-flow
Utilize correct db error when the duplicate database is created (#39)

As per http://v2.gorm.io/docs/conventions.html#TableName TableName() suppose to generate static names only (it could not be dynamic). The same source suggests a workaround that I implemented as DynamicCasbinRuleTable along with a scoped DB object for NewAdapterByDBUsePrefix.

As a result of 2. we can remove tablePrefix from global state

Signed-off-by: l1ghtman2k <aibek.zhil@gmail.com>

207 of 330 relevant lines covered (62.73%)

17.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 88.1 24 Jul 2020 04:14AM UTC 0
62.73
Travis Job 88.1
Source Files on build 88
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #88
  • 81c2dc6d on github
  • Prev Build on master (#82)
  • Next Build on master (#95)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc