From db21cb141751bee3602c68cd7d608f6234459e6f Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 13 May 2017 14:25:21 +0100 Subject: 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) --- lib/gitano.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, } -- cgit v1.2.1