zfcampus / zf-apigility-admin

Admin API and UI for Apigility
BSD 3-Clause "New" or "Revised" License
90 stars 64 forks source link

Expose the apigility-version API #353

Closed weierophinney closed 8 years ago

weierophinney commented 8 years ago

In order to allow separating the skeleton version from the UI version, we need to be able to report the former to the latter.

zfcampus/zf-apigility-skeleton#130 adds a new constant, Apigility\VERSION, which reports the current skeleton version. zfcampus/zf-apigility-admin-ui updates the UI's "About" tab to:

This patch exposes the apigility-version API. It will return the value of Apigility\VERSION, if defined, but otherwise return @dev.