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

casbin / gorm-adapter
63%
master: 63%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Repo Added 29 Jul 2017 03:29AM UTC
Files 1
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

LAST BUILD ON BRANCH v3.0.1
branch: v3.0.1
CHANGE BRANCH
x
Reset
  • v3.0.1
  • master
  • v2.0.0
  • v2.0.1
  • v2.0.2
  • v2.0.3
  • v2.1.0
  • v3.0.0
  • v3.0.2
  • v3.0.3
  • v3.0.4
  • v3.0.5
  • v3.0.6
  • v3.1.0
  • v3.2.0

24 Jul 2020 04:09AM UTC coverage: 62.727%. First build
89

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

Relevant lines Covered
Build:
Build:
330 RELEVANT LINES 207 COVERED LINES
17.55 HITS PER LINE
Source Files on v3.0.1
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
89 v3.0.1 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... push 24 Jul 2020 04:14AM UTC web-flow travis-ci
62.73
See All Builds (119)
  • Repo on GitHub
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

© 2026 Coveralls, Inc