Skip to content

Commit

Permalink
chore(rockspec) declare new public utils
Browse files Browse the repository at this point in the history
* declare new public utils in rockspec
* move public utils to `kong.tools` to avoid yet another way of doing
things until file structure revamp

Fix for f154e9c
  • Loading branch information
thibaultcha committed Mar 13, 2017
1 parent f154e9c commit 91267eb
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions kong-0.10.0-0.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ build = {

["kong.tools.dns"] = "kong/tools/dns.lua",
["kong.tools.utils"] = "kong/tools/utils.lua",
["kong.tools.public"] = "kong/tools/public.lua",
["kong.tools.printable"] = "kong/tools/printable.lua",
["kong.tools.responses"] = "kong/tools/responses.lua",
["kong.tools.timestamp"] = "kong/tools/timestamp.lua",
Expand Down
2 changes: 1 addition & 1 deletion kong/plugins/aws-lambda/handler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ local utils = require "kong.tools.utils"
local Multipart = require "multipart"
local http = require "resty.http"
local cjson = require "cjson.safe"
local public_utils = require "kong.utils.public"
local public_utils = require "kong.tools.public"

local string_find = string.find
local ngx_req_get_headers = ngx.req.get_headers
Expand Down
2 changes: 1 addition & 1 deletion kong/plugins/oauth2/access.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ local responses = require "kong.tools.responses"
local constants = require "kong.constants"
local timestamp = require "kong.tools.timestamp"
local singletons = require "kong.singletons"
local public_utils = require "kong.utils.public"
local public_utils = require "kong.tools.public"

local string_find = string.find
local req_get_headers = ngx.req.get_headers
Expand Down
2 changes: 1 addition & 1 deletion kong/plugins/runscope/handler.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local runscope_serializer = require "kong.plugins.log-serializers.runscope"
local BasePlugin = require "kong.plugins.base_plugin"
local log = require "kong.plugins.runscope.log"
local public_utils = require "kong.utils.public"
local public_utils = require "kong.tools.public"

local ngx_log = ngx.log
local ngx_log_ERR = ngx.ERR
Expand Down
File renamed without changes.

0 comments on commit 91267eb

Please sign in to comment.