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

jakirkham / zarr / 181
100%

Build:
DEFAULT BRANCH: master
Ran 23 Apr 2019 02:02AM UTC
Jobs 4
Files 30
Run time 6min
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
181

push

travis-ci

web-flow
Collect JSON utility functions (#430)

* Move `ensure_text_type` to `zarr.util`

As `ensure_text_type` is a more general utility function, go ahead and
move it over to `zarr.util` and drop it from `zarr.meta`. Though make
sure to import it into `zarr.meta` so that it can still be used there.

* Move `json_dumps` to `zarr.util`

As `json_dumps` has broader use than just for metdata (e.g. attributes
would also benefit from it), this moves `json_dumps` to `zarr.util`.

* Move `json_loads` to `zarr.util`

As `json_loads` is more generally useful than just parsing metadata,
move it over to `zarr.util`. Though ensure it is still imported in
`zarr.meta`.

* Use `json_loads` in `ConsolidatedMetadataStore`

Should ensure that the `ConsolidatedMetadataStore` is able to handle
loading JSON data in a standard way.

* Use `json_dumps` to serialize attributes

* Handle `encode` within `json_dumps`

As every use of `json_dumps` is followed by a call to `encode` to
convert the string to bytes, go ahead and incorporate this step in
`json_dumps`. Should make it a bit easier to use.

* Drop `encode` from `json_dumps` output

As the `encode` step is now part of `json_dumps`, remove that step
when using the `json_dumps` function.

* Drop unneeded intermediates in `json_dumps` usage

After moving `encode` within `json_dumps`, there were
intermediate variables left over that weren't really needed. This
drops them.

* Update release note on JSON reading and writing

9459 of 9459 relevant lines covered (100.0%)

3.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 181.1 23 Apr 2019 02:02AM UTC 0
98.95
Travis Job 181.1
2 181.2 23 Apr 2019 02:02AM UTC 0
98.93
Travis Job 181.2
3 181.3 23 Apr 2019 02:09AM UTC 0
98.93
Travis Job 181.3
4 181.4 23 Apr 2019 02:02AM UTC 0
99.44
Travis Job 181.4
Source Files on build 181
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #181
  • 48aa41d8 on github
  • Prev Build on master (#180)
  • Next Build on master (#182)
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