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

stedolan / jq / 490 / 3
84%
master: 84%

Build:
DEFAULT BRANCH: master
Ran 11 Dec 2018 04:03AM UTC
Files 252
Run time 16s
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

11 Dec 2018 03:54AM UTC coverage: 84.423% (-0.05%) from 84.469%
COVERAGE="--disable-valgrind --enable-gcov"

push

travis-ci

nicowilliams
Allow variable refs as object keys {$key:value}

Users are often surprised by the requirement to parenthesize any
non-trivial object key expressions in object constructors.  E.g.,
{"a"+"b":1}.  This commit adds one more kind of key expression besides
literals and idents: variable references.

A common use case for this is jq programs as JSON templates to fill in
with variables computed from inputs or passed in on the command-line.
E.g., {some_key:$value}.  Now users can also use, e.g., {$key:$value}.

This and the restrictions on key and value expressions in object
constructors are now clarified a bit in the documentation.

5154 of 6105 relevant lines covered (84.42%)

6945805.37 hits per line

Source Files on job 490.3 (COVERAGE="--disable-valgrind --enable-gcov")
  • Tree
  • List 0
  • Changed 15
  • Source Changed 2
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 477
  • Travis Job 490.3
  • 8ea4a558 on github
  • Prev Job for COVERAGE="--disable-valgrind --enable-gcov" on master (#486.3)
  • Next Job for COVERAGE="--disable-valgrind --enable-gcov" on master (#492.3)
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