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

mtlynch / GreenPiThumb_Frontend
22%
master: 47%

Build:
Build:
LAST BUILD BRANCH: link-repos
DEFAULT BRANCH: master
Repo Added 02 Apr 2017 02:55AM UTC
Files 5
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-encoder
branch: json-encoder
CHANGE BRANCH
x
Reset
  • json-encoder
  • image-indexer
  • link-repos
  • no-db
  • no-seconds2
  • refactor-klein
  • update-greenpithumb2
  • update3

pending completion
19

push

travis-ci

mtlynch
Changing RecordEncoder to generic Encoder

RecordEncoder doesn't actually do anything record-specific and we have other
objects (image metadata) that we want to encode with JSON. A normal JSON
encoder can't encode datetimes, but we can just make RecordEncoder a generic
Encoder that encodes datetimes as ISO-8601.

Also makes the small change that timestamps are assumed to be in UTC time
zone, related to the changes in the backend:

* https://github.com/JeetShetty/GreenPiThumb/pull/101
* https://github.com/JeetShetty/GreenPiThumb/pull/109

Changes the serialized format to append a Z (representing UTC time zone) instead
of an offset from UTC in hours.

8 of 37 relevant lines covered (21.62%)

0.22 hits per line

Relevant lines Covered
Build:
Build:
37 RELEVANT LINES 8 COVERED LINES
0.22 HITS PER LINE
Source Files on json-encoder
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
19 json-encoder Changing RecordEncoder to generic Encoder RecordEncoder doesn't actually do anything record-specific and we have other objects (image metadata) that we want to encode with JSON. A normal JSON encoder can't encode datetimes, but we can just make R... push 03 Apr 2017 02:32PM UTC mtlynch travis-ci pending completion  
See All Builds (19)
  • 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

© 2025 Coveralls, Inc