summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2017-05-13 14:25:21 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2017-06-17 15:05:11 +0100
commitdb21cb141751bee3602c68cd7d608f6234459e6f (patch)
tree338a7b5d3e597b8392c92f8be4951446aeb866ef /lib
parent56cd035d6cce1600149933062c8975f01b236521 (diff)
downloadgitano-db21cb141751bee3602c68cd7d608f6234459e6f.tar.gz
Export the gitano.hooks API
This adjusts the core gitano module to export gitano.hooks. In addition, we bump the API version to 1.1.0 since we're adding in a new API (hooks)
Diffstat (limited to 'lib')
-rw-r--r--lib/gitano.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gitano.lua b/lib/gitano.lua
index c8f6bc4..5abf8c8 100644
--- a/lib/gitano.lua
+++ b/lib/gitano.lua
@@ -41,8 +41,9 @@ local supple = require 'gitano.supple'
local auth = require 'gitano.auth'
local plugins = require 'gitano.plugins'
local i18n = require 'gitano.i18n'
+local hooks = require 'gitano.hooks'
-local _VERSION = {1, 0, 0}
+local _VERSION = {1, 1, 0}
_VERSION.major = _VERSION[1]
_VERSION.minor = _VERSION[2]
_VERSION.patch = _VERSION[3]
@@ -68,4 +69,5 @@ return {
auth = auth,
plugins = plugins,
i18n = i18n,
+ hooks = hooks,
}