diff --git a/guh.pri b/guh.pri index fc33a14b..64a3c2a8 100644 --- a/guh.pri +++ b/guh.pri @@ -5,11 +5,12 @@ GUH_VERSION_STRING=$$system('dpkg-parsechangelog | sed -n -e "s/^Version: //p"') GUH_PLUGINS_PATH=/usr/lib/$$system('dpkg-architecture -q DEB_HOST_MULTIARCH')/guh/plugins/ # define protocol versions -JSON_PROTOCOL_VERSION=50 +JSON_PROTOCOL_VERSION_MAJOR=0 +JSON_PROTOCOL_VERSION_MINOR=50 REST_API_VERSION=1 DEFINES += GUH_VERSION_STRING=\\\"$${GUH_VERSION_STRING}\\\" \ - JSON_PROTOCOL_VERSION=\\\"$${JSON_PROTOCOL_VERSION}\\\" \ + JSON_PROTOCOL_VERSION=\\\"$${JSON_PROTOCOL_VERSION_MAJOR}.$${JSON_PROTOCOL_VERSION_MINOR}\\\" \ REST_API_VERSION=\\\"$${REST_API_VERSION}\\\" \ GUH_PLUGINS_PATH=\\\"$${GUH_PLUGINS_PATH}\\\" diff --git a/tests/auto/api.json b/tests/auto/api.json index 5461f8b6..b3cde7e2 100644 --- a/tests/auto/api.json +++ b/tests/auto/api.json @@ -1,4 +1,4 @@ -50 +0.50 { "methods": { "Actions.ExecuteAction": {