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

esnet / pond / 267
86%
master: 86%

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

pending completion
267

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

Jobs
ID Job ID Ran Files Coverage
1 267.1 25 Dec 2016 10:03PM UTC 0
38.14
Travis Job 267.1
Source Files on build 267
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #267
  • 0a0fac66 on github
  • Next Build on v0.8.0-schema (#268)
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