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

octopusinvitro / exercise-solution
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/json-2.3.1
DEFAULT BRANCH: master
Repo Added 16 Dec 2017 01:24PM UTC
Files 28
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 json-formatter
branch: json-formatter
CHANGE BRANCH
x
Reset
  • json-formatter
  • csv-formatter
  • dependabot/bundler/json-2.3.1
  • dependabot/bundler/rake-12.3.3
  • master

pending completion
22

push

travis-ci

octopusinvitro
Use the JSON formatter in the combinator

Running:

    ruby combine.rb --format json journals.csv articles.csv authors.json > full_articles.json

will produce a full_articles.csv file with contents:

    DOI,Title,Author,Journal,ISSN
    10.1234/altmetric0,Small Wooden Chair,Amari Lubowitz,Shanahan, Green and Ziemann,1337-8688
    ...etc.

Running:

    ruby combine.rb --format json journals.csv articles.csv authors.json > full_articles.json

will produce a full_articles.json file with contents:

    [{"doi":"10.1234/altmetric0","title":"Small Wooden Chair","author":"Amari Lubowitz","journal":"Shanahan, Green and Ziemann","issn":"1337-8688"}, ...]
    ...etc.

Running with invalid inputs or file formats will raise the same
errors as before

572 of 572 relevant lines covered (100.0%)

104.46 hits per line

Relevant lines Covered
Build:
Build:
572 RELEVANT LINES 572 COVERED LINES
104.46 HITS PER LINE
Source Files on json-formatter
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
22 json-formatter Use the JSON formatter in the combinator Running: ruby combine.rb --format json journals.csv articles.csv authors.json > full_articles.json will produce a full_articles.csv file with contents: DOI,Title,Author,Journal,ISSN 10.1234/... push 17 Dec 2017 05:08PM UTC octopusinvitro travis-ci pending completion  
21 json-formatter Use the JSON formatter in the combinator Running: ruby combine.rb --format json journals.csv articles.csv authors.json > full_articles.json will produce a full_articles.csv file with contents: DOI,Title,Author,Journal,ISSN 10.1234/... push 17 Dec 2017 04:57PM UTC octopusinvitro travis-ci pending completion  
See All Builds (18)
  • 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