- Include
Poms::Fields
in the main library file.
- Actually filter out publications with
owner
NEBO
.
Filter out publications withowner
NEBO
.
Due to an error this version does not include the mentioned change.
- Add functions for getting
publish_start
andpublish_stop
from Poms inPoms::Fields
.
- Add
Poms::Fields.descendants_of
which returns all descendantOf's of specific type.
- Make
members
run as a POST request.
- Add
Poms::Fields.broadcasts
which returns the associated broadcasters in an Array
- Remove
Poms::Fields#rev
as it wasn't provided by the Poms data anyway. - Add helper methods for NICAM ratings.
- Order images array by likelyhood of a higher quality image (type: PROMO_LANDSCAPE > PICTURE > STILL).
- Fix a minor bug on
Poms::Fields.title
. This could be triggered when a result from a Poms query would be empty.nil
would be sumitted and the provided key would be called onnil
which caused an error. Now it will simply returnnil
as a title.
- Extend Poms::Fields.position target specified parent
- Add
addressable
to gemspec.
- Allow
schedule_events
to accept a block which allows you to filter the events. - The
scheduled_now
andscheduled_next
functions always return the most recent and upcoming shows. They shouldn't return nil anymore, even if something is not live at the moment (during a commercial break for instance).
- Fix search parameter
type
. This didn't get picked up properly before, but is now used in the search.
Complete rewrite of the Poms gem, which now interfaces with the Frontend API instead of CouchDB. Check the new documentation in the Readme and examples for ways in which the new API works. A short overview:
- The
Poms
module has a much smaller set of ways to get data from Poms, but these should be enough to get what you need now. - These functions generally return a Hash or a LazyEnumerator for multiple results.
- Credentials for the Poms service are set in a config function.
- More fields can be accessed from the
Fields
module.
- Fix issue with description type that did not exist.
- Add some more specs to the field classes to catch values that are empty.
- #25 Fix issue with
Timestamp.convert
- #24 Add functions to access the internals of a Poms broadcast hash.
- #22 Refactor descendant-related code into views.
- Updated README with usage instruction.
- #21 Allow access to the Poms API. This functionality is only used for merging series at this point.
- #20 Return schedule event
starts_at
as DateTime.
Since we've been running live for a while, it made sense to do a big version bump.
- Add Rubocop for linting.
- #18 Support for the series merging functionality.