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

twitter / secureheaders / 1054
97%

Build:
DEFAULT BRANCH: master
Ran 05 Sep 2017 09:26PM UTC
Jobs 5
Files 37
Run time 43min
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
1054

push

travis-ci

oreoshake
Distinguish between source lists directives and non-source list directives (#354)

* Add more specific type support for non "source list" directives

Prior behavior treated anything that was an "array of stuff" as a "source
list". But, source lists are very specific and don't really have meaning for
some directives. For example, the sandbox directive take an array of values,
but they are very specific. They aren't URLs, don't support wildcard values,
etc. So, This commit extract those directives from being treated like source
lists and adds native support for the associated directive.

* Make overall naming more consistent and adds some polish

* Remove unnecessary nonce logic and special case OPT_OUT for source lists

97 of 97 new or added lines in 4 files covered. (100.0%)

2058 of 2150 relevant lines covered (95.72%)

637.74 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
lib/secure_headers/headers/policy_management.rb
5
100.0
lib/secure_headers/headers/content_security_policy.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
lib/secure_headers/headers/policy_management.rb
Jobs
ID Job ID Ran Files Coverage
1 1054.1 (2.4.1, SUITE=rspec spec) 05 Sep 2017 09:26PM UTC 0
97.91
Travis Job 1054.1
3 1054.3 (2.3.4, SUITE=rspec spec) 05 Sep 2017 09:28PM UTC 0
97.91
Travis Job 1054.3
5 1054.5 (2.2, SUITE=rspec spec) 05 Sep 2017 09:29PM UTC 0
97.9
Travis Job 1054.5
7 1054.7 (ruby-head, SUITE=rspec spec) 05 Sep 2017 09:31PM UTC 0
97.91
Travis Job 1054.7
9 1054.9 (jruby-head, SUITE=rspec spec) 05 Sep 2017 09:38PM UTC 0
0.0
Travis Job 1054.9
Source Files on build 1054
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1054
  • 2bb810ad on github
  • Prev Build on master (#1051)
  • Next Build on master (#1058)
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