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

esnet / pond / 267 / 1
86%
master: 86%

Build:
Build:
LAST BUILD BRANCH: typescript
DEFAULT BRANCH: master
Ran 25 Dec 2016 10:03PM UTC
Files 1
Run time 0s
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

25 Dec 2016 09:58PM UTC coverage: 38.144%. First build
267.1

push

travis-ci

pjm17971
[BREAKING CHANGE]

Adds the ability to subclass Events and TimeSeries

Builds out a proper class structure for Events, but adds a major breaking change:
  - `Event` is now the base class and will throw an error if instantiated directly, `TimeEvent` replaces `Event`.
  - This makes it clearer what the event is and how it is different than its siblings
  - Keeps static operations on the `Event` base class
  - Allows `TimeEvent`, `TimeRangeEvent` and `IndexedEvent` to be subclassed themselves (for Avro support, see below)
  - Simplifies the event code as well as several other places in the code

Avro support:
  - Adds the ability to specify a schema for `TimeRanges`, `Events` and `TimeSeries` via subclassing
  - `toAvro()` function uses the schema to build the Avro Buffer that could be sent across the wire or stored compactly and with validation
  - Constructor can now take a Buffer and do the conversion, as you'd expect.

Some of the above isn't complete. For one, TimeRangeEvent isn't done yet. Also, it would be nice if you could use a custom Event subclass in a TimeSeries, and then have the TimeSeries code use that for the schema specification. That wouldn't really provide a schema for the meta data though, so you'd still have to subclass. But it would be more unified.

37 of 97 relevant lines covered (38.14%)

4.82 hits per line

Source Files on job 267.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 267
  • Travis Job 267.1
  • 0a0fac66 on github
  • Next Job for on v0.8.0-schema (#268.1)
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