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

tma1 / dossier / 130
62%

Build:
DEFAULT BRANCH: master
Ran 17 Oct 2017 03:19PM UTC
Jobs 8
Files 22
Run time 5min
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

pending completion
130

Pull #71

travis-ci

web-flow
Allow dossier.yml to override database name

As it stands the DATABASE_URL will override anything in dossier.yml.
Some configurations need those values especially in the database name.

For example where the DATABASE_URL might look like this:

    postgres://postgres@postgres:5432/

With a dossier.yml:

    development:
      database: my_database_dev

Would have caused Dossier to break complaining that **Database "/" does
not exist**

Further still with a DATABASE_URL that has the trailing slash removed
dossier will assume the database name is "" (empty string)

This is especially problematic when the database name changes based on
the RAILS_ENV.
Pull Request #71: [BUG] Allow dossier.yml to override database name

4 of 4 new or added lines in 1 file covered. (100.0%)

297 of 480 relevant lines covered (61.88%)

4.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
100.0
lib/dossier/connection_url.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
lib/dossier/view_context_with_report_formatter.rb
1
100.0
lib/generators/dossier/views/views_generator.rb
3
100.0
app/helpers/dossier/application_helper.rb
3
100.0
lib/dossier/adapter/active_record/result.rb
4
100.0
lib/dossier/client.rb
5
100.0
lib/dossier.rb
5
100.0
lib/dossier/adapter/active_record.rb
5
100.0
lib/dossier/connection_url.rb
5
100.0
app/controllers/dossier/reports_controller.rb
7
100.0
lib/dossier/query.rb
8
100.0
lib/dossier/multi_report.rb
8
100.0
lib/dossier/configuration.rb
9
100.0
lib/dossier/formatter.rb
9
100.0
lib/dossier/model.rb
9
100.0
lib/dossier/xls.rb
11
100.0
lib/dossier/stream_csv.rb
15
100.0
lib/dossier/responder.rb
19
100.0
lib/dossier/renderer.rb
20
100.0
lib/dossier/report.rb
33
100.0
lib/dossier/result.rb
Jobs
ID Job ID Ran Files Coverage
5 130.5 (2.0.0, RAILS_VERSION=3.2.22) 17 Oct 2017 03:19PM UTC 0
61.88
Travis Job 130.5
6 130.6 (2.0.0, RAILS_VERSION=4.0.13) 17 Oct 2017 03:20PM UTC 0
61.26
Travis Job 130.6
7 130.7 (2.0.0, RAILS_VERSION=4.1.12) 17 Oct 2017 03:20PM UTC 0
61.26
Travis Job 130.7
8 130.8 (2.0.0, RAILS_VERSION=4.2.3) 17 Oct 2017 03:21PM UTC 0
61.26
Travis Job 130.8
13 130.13 (2.2.2, RAILS_VERSION=3.2.22) 17 Oct 2017 03:23PM UTC 0
61.88
Travis Job 130.13
14 130.14 (2.2.2, RAILS_VERSION=4.0.13) 17 Oct 2017 03:23PM UTC 0
61.26
Travis Job 130.14
15 130.15 (2.2.2, RAILS_VERSION=4.1.12) 17 Oct 2017 03:25PM UTC 0
61.26
Travis Job 130.15
16 130.16 (2.2.2, RAILS_VERSION=4.2.3) 17 Oct 2017 03:25PM UTC 0
61.26
Travis Job 130.16
Source Files on build 130
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #130
  • Pull Request #71
  • PR Base - master (#120)
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