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

mysociety / alaveteli / 7013
38%

Build:
DEFAULT BRANCH: develop
Ran 09 Aug 2017 10:21AM UTC
Jobs 4
Files 247
Run time 2min
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
7013

push

travis-ci

lizconlan
Add a new helper to return the contents of an asset file

With Sprockets 3.x and Rails 4.2 and up, the default setting in
production for `config.assets.compile` is false which means that
`application.assets` is not populated when we attempt to access it to
read the asset file contents.

* Adds a new helper method to:
  -  handle the call to the sprockets method
     `applications.assets_manifest.find_sources()` which returns an
     Enumerator of the contents of found files instead of the original
     method's String or Nil
  - forces the content to UTF-8 to avoid possible string concatenation
    errors

10050 of 10812 relevant lines covered (92.95%)

2507.35 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
100.0
app/helpers/application_helper.rb
Jobs
ID Job ID Ran Files Coverage
1 7013.1 (1.9.3) 09 Aug 2017 10:22AM UTC 0
93.02
Travis Job 7013.1
2 7013.2 (2.0.0) 09 Aug 2017 10:23AM UTC 0
93.01
Travis Job 7013.2
3 7013.3 (2.1.5) 09 Aug 2017 10:21AM UTC 0
93.02
Travis Job 7013.3
4 7013.4 (2.3.0) 09 Aug 2017 10:22AM UTC 0
93.01
Travis Job 7013.4
Source Files on build 7013
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7013
  • 082ffdd0 on github
  • Prev Build on develop (#7004)
  • Next Build on develop (#7017)
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