Skip to content

Commit

Permalink
typo, and removed Lua 5.1 dependency. See Kong/kong#799
Browse files Browse the repository at this point in the history
Signed-off-by: Thibault Charbonnier <[email protected]>
  • Loading branch information
Tieske authored and thibaultcha committed Dec 16, 2015
1 parent 7e607ea commit 66336f3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/docs/0.5.x/plugin-development/custom-logic.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ end
return CustomHandler
```

Of course, the logic of your plugin itself can be abstracted away in another module, and called from your `handler` module. Many existing plugins have already chosen this pattern when there logic is verbose, but it is purely optional:
Of course, the logic of your plugin itself can be abstracted away in another module, and called from your `handler` module. Many existing plugins have already chosen this pattern when their logic is verbose, but it is purely optional:

```lua
local BasePlugin = require "kong.plugins.base_plugin"
Expand Down
2 changes: 1 addition & 1 deletion app/install/debian.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Start by downloading the corresponding package for your configuration:

```bash
$ sudo apt-get update
$ sudo apt-get install netcat lua5.1 openssl libpcre3 dnsmasq
$ sudo apt-get install netcat openssl libpcre3 dnsmasq
$ sudo dpkg -i kong-{{site.data.kong_latest.version}}.*.deb
```

Expand Down
4 changes: 2 additions & 2 deletions app/install/source.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ redirect_from: /install/compile/

Install [Lua v{{lua_version}}](http://www.lua.org/versions.html#5.1)

Install [Luarocks v{{luarocks_version}}](https://github.com/keplerproject/luarocks/wiki/Download)

Install [Dnsmasq](http://www.thekelleys.org.uk/dnsmasq/)

Install [OpenSSL](https://www.openssl.org/)
Expand All @@ -36,6 +34,8 @@ redirect_from: /install/compile/
$ ./configure --with-pcre-jit --with-ipv6 --with-http_realip_module --with-http_ssl_module --with-http_stub_status_module
```

Install [Luarocks v{{luarocks_version}}](https://github.com/keplerproject/luarocks/wiki/Download) (note: configure to run with the Lua/LuaJit interpreter included with OpenResty/Nginx)

Some of the dependencies may be available in your favorite package manager.

2. **Install Kong:**
Expand Down
2 changes: 1 addition & 1 deletion app/install/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Start by downloading the corresponding package for your configuration:

```bash
$ sudo apt-get update
$ sudo apt-get install netcat lua5.1 openssl libpcre3 dnsmasq
$ sudo apt-get install netcat openssl libpcre3 dnsmasq
$ sudo dpkg -i kong-{{site.data.kong_latest.version}}.*.deb
```

Expand Down

0 comments on commit 66336f3

Please sign in to comment.