Skip to content

Commit

Permalink
0.24.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamhm committed Aug 20, 2020
1 parent d3a7650 commit 6651c20
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 13 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 0.24.0 (not yet released)
## 0.24.0 (2020-08-20)

### Changes

Expand All @@ -12,7 +12,12 @@

### Fixes

* Fixes for using Luacheck with Lua 5.4:
- Parse 5.4 attributes in `local` declarations (but ignores them for now)
- Luacheck itself can also run with Lua 5.4
* Fixed `randomize` missing from `busted` set of standard globals (#183).
* Added additional `table` and `thread` definitions for `ngx_lua`.
* Added additional `match` definition for `busted`.

### Miscellaneous

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

[![Join the chat at https://gitter.im/luacheck/Lobby](https://badges.gitter.im/luacheck/Lobby.svg)](https://gitter.im/luacheck/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

[![Build Status](https://travis-ci.org/mpeterv/luacheck.png?branch=master)](https://travis-ci.org/mpeterv/luacheck)
[![Windows build status](https://ci.appveyor.com/api/projects/status/pgox2vvelagw1fux/branch/master?svg=true&passingText=Windows%20build%20passing&failingText=Windows%20build%20failing)](https://ci.appveyor.com/project/mpeterv/luacheck/branch/master)
[![codecov](https://codecov.io/gh/mpeterv/luacheck/branch/master/graph/badge.svg)](https://codecov.io/gh/mpeterv/luacheck)
[![Build Status](https://travis-ci.org/luarocks/luacheck.png?branch=master)](https://travis-ci.org/luarocks/luacheck)
[![Windows build status](https://ci.appveyor.com/api/projects/status/pgox2vvelagw1fux/branch/master?svg=true&passingText=Windows%20build%20passing&failingText=Windows%20build%20failing)](https://ci.appveyor.com/project/luarocks/luacheck/branch/master)
[![codecov](https://codecov.io/gh/luarocks/luacheck/branch/master/graph/badge.svg)](https://codecov.io/gh/luarocks/luacheck)
[![License](https://img.shields.io/badge/License-MIT-brightgreen.svg)](LICENSE)

## Contents
Expand Down Expand Up @@ -39,7 +39,7 @@ For parallel checking Luacheck additionally requires [LuaLanes](https://github.c
### Windows binary download

For Windows there is single-file 64-bit binary distribution, bundling Lua 5.3.4, Luacheck, LuaFileSystem, and LuaLanes using [LuaStatic](https://github.com/ers35/luastatic):
[download](https://github.com/mpeterv/luacheck/releases/download/0.23.0/luacheck.exe).
[download](https://github.com/luarocks/luacheck/releases/download/0.24.0/luacheck.exe).

## Basic usage

Expand Down Expand Up @@ -107,7 +107,7 @@ Documentation can be built using [Sphinx](http://sphinx-doc.org/): `sphinx-build

## Development

Luacheck is currently in development. The latest released version is 0.23.0. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable.
Luacheck is currently in development. The latest released version is 0.24.0. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable.

Use the Luacheck issue tracker on GitHub to submit bugs, suggestions and questions. Any pull requests are welcome, too.

Expand Down
4 changes: 2 additions & 2 deletions docsrc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
# built documents.
#
# The short X.Y version.
version = '0.23.0'
version = '0.24.0'
# The full version, including alpha/beta/rc tags.
release = '0.23.0'
release = '0.24.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion docsrc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Contents:
inline
module

This is documentation for 0.23.0 version of `Luacheck <https://github.com/mpeterv/luacheck/>`_, a linter for `Lua <https://www.lua.org/>`_.
This is documentation for 0.24.0 version of `Luacheck <https://github.com/luarocks/luacheck/>`_, a linter for `Lua <https://www.lua.org/>`_.
4 changes: 2 additions & 2 deletions luacheck-dev-1.rockspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package = "luacheck"
version = "dev-1"
source = {
url = "git+https://github.com/mpeterv/luacheck.git"
url = "git+https://github.com/luarocks/luacheck.git"
}
description = {
summary = "A static analyzer and a linter for Lua",
Expand All @@ -10,7 +10,7 @@ Luacheck is a command-line tool for linting and static analysis of Lua code.
It is able to spot usage of undefined global variables, unused local variables and
a few other typical problems within Lua programs.
]],
homepage = "https://github.com/mpeterv/luacheck",
homepage = "https://github.com/luarocks/luacheck",
license = "MIT"
}
dependencies = {
Expand Down
4 changes: 2 additions & 2 deletions src/luacheck/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ local function get_parser()
"luacheck", "luacheck " .. luacheck._VERSION .. ", a linter and a static analyzer for Lua.", [[
Links:
Luacheck on GitHub: https://github.com/mpeterv/luacheck
Luacheck on GitHub: https://github.com/luarocks/luacheck
Luacheck documentation: https://luacheck.readthedocs.org]])
:help_max_width(80)

Expand Down Expand Up @@ -347,7 +347,7 @@ if utils.is_instance(err, utils.InvalidPatternError) then
elseif type(err) == "string" and err:find("interrupted!$") then
critical("Interrupted")
else
local msg = ("Luacheck %s bug (please report at https://github.com/mpeterv/luacheck/issues):\n%s\n%s"):format(
local msg = ("Luacheck %s bug (please report at https://github.com/luarocks/luacheck/issues):\n%s\n%s"):format(
luacheck._VERSION, err, traceback)
critical(msg)
end

0 comments on commit 6651c20

Please sign in to comment.