Skip to content

Commit

Permalink
Updated library version
Browse files Browse the repository at this point in the history
* Bumped LuaJIT version
* Updated documentation
  • Loading branch information
gudzpoz committed Aug 30, 2022
1 parent 6651450 commit 9ba23d8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ Documentation is available at [LuaJava](https://gudzpoz.github.io/luajava/) alon

| Lua 5.1 | Lua 5.2 | Lua 5.3 | Lua 5.4 | LuaJIT |
|:-------:|:-------:|:-------:|:-------:|:-----------:|
| 5.1.5 | 5.2.4 | 5.3.6 | 5.4.4 | [`e61a1f9`] |
| 5.1.5 | 5.2.4 | 5.3.6 | 5.4.4 | [`03080b7`] |

</div>

[`e61a1f9`]: https://github.com/LuaJIT/LuaJIT/commits/e61a1f961ac3f063a5d80ca9b7b7e263810abf74
[`e61a1f9`]: https://github.com/LuaJIT/LuaJIT/commits/03080b795aa3496ed62d4a0697c9f4767e7ca7e5

Supported Lua versions: Lua 5.1, Lua 5.2, Lua 5.3, Lua 5.4 and LuaJIT.

Expand Down Expand Up @@ -94,14 +94,11 @@ And [a more advanced "Hello World"](https://gudzpoz.github.io/luajava/examples/h
```lua
print = java.method(java.import('java.lang.System').out,'println','java.lang.Object')
Ansi = java.import('org.fusesource.jansi.Ansi')
runnable = {
run = function()
thread = java.import('java.lang.Thread')(function()

print(Ansi:ansi():render('@|magenta,bold Hello |@'):toString())

end
}
thread = java.import('java.lang.Thread')(java.proxy('java.lang.Runnable', runnable))
end)
thread:start()
```

Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/components/Matrix.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<script setup>
import { ref } from 'vue'
const groupId = 'party.iroiro.luajava'
const version = '3.1.0'
const version = '3.1.3'
const notAvailable = {
luajit: {
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ I try to keep up with the most recent version of Lua, that is, [the latest offic

| Lua 5.1 | Lua 5.2 | Lua 5.3 | Lua 5.4 | LuaJIT |
|:-------:|:-------:|:-------:|:-------:|:-----------:|
| 5.1.5 | 5.2.4 | 5.3.6 | 5.4.4 | [`e61a1f9`] |
| 5.1.5 | 5.2.4 | 5.3.6 | 5.4.4 | [`03080b7`] |

</div>

[`e61a1f9`]: https://github.com/LuaJIT/LuaJIT/commits/e61a1f961ac3f063a5d80ca9b7b7e263810abf74
[`e61a1f9`]: https://github.com/LuaJIT/LuaJIT/commits/03080b795aa3496ed62d4a0697c9f4767e7ca7e5

[^jit]: LuaJIT no longer creates new releases. See [Project status · Issue #665](https://github.com/LuaJIT/LuaJIT/issues/665#issuecomment-784452583) for an explanation.

Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "luajava-docs",
"version": "3.1.2-SNAPSHOT",
"version": "3.1.3",
"description": "Documentation for LuaJava",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion luajit/jni/luajit

0 comments on commit 9ba23d8

Please sign in to comment.