rlua 1.0rc1 → 1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +7 -2
- data/TODO.rdoc +7 -0
- data/ext/rlua.c +4 -0
- metadata +9 -6
data/README.rdoc
CHANGED
@@ -12,7 +12,7 @@ during installation.
|
|
12
12
|
|
13
13
|
On Linux, you will need to install Lua development files first.
|
14
14
|
They are packaged as <tt>liblua5.1-dev</tt> in Debian and it's derivatives
|
15
|
-
(like Ubuntu).
|
15
|
+
(like Ubuntu). After that you can simply run <tt>gem install rlua</tt>.
|
16
16
|
|
17
17
|
On Windows, you will need MSVC to compile everything. Through I did not tested
|
18
18
|
this (and so cannot provide a detailed description), it should work fine.
|
@@ -79,8 +79,13 @@ Most functions are named much like their C API counterparts.
|
|
79
79
|
'Ruby-object-like' table indexing convention is described in Lua::Table,
|
80
80
|
and function calling is described in Lua::Function.
|
81
81
|
|
82
|
+
Everything not currently implemented is described in
|
83
|
+
{TODO list}[link:files/TODO_rdoc.html].
|
84
|
+
|
82
85
|
= Author
|
83
|
-
RLua is currently developed solely by Peter Zotov
|
86
|
+
RLua is currently developed solely by Peter Zotov
|
87
|
+
(whitequark@whitequark.org[mailto:whitequark@whitequark.org]).
|
88
|
+
Feel free to email me if you encounter any bugs.
|
84
89
|
|
85
90
|
= License
|
86
91
|
This program is free software: you can redistribute it and/or modify
|
data/TODO.rdoc
ADDED
data/ext/rlua.c
CHANGED
@@ -448,6 +448,10 @@ static VALUE rbLuaFunction_call(VALUE self, VALUE args);
|
|
448
448
|
* To get a reference to function you should use the <tt>table["method"]</tt>
|
449
449
|
* notation.
|
450
450
|
*
|
451
|
+
* If the value is not present in table (which is equivalent to +nil+ value
|
452
|
+
* in Lua) MethodNotFound exception will be raised; if you will attempt
|
453
|
+
* to call something which is not a function as a method, TypeError exception
|
454
|
+
* will be raised.
|
451
455
|
*/
|
452
456
|
static VALUE rbLuaTable_method_missing(int argc, VALUE* argv, VALUE self)
|
453
457
|
{
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rlua
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: "1.0"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Zotov
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-03
|
12
|
+
date: 2010-08-03 00:00:00 +04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -20,14 +20,17 @@ executables: []
|
|
20
20
|
extensions:
|
21
21
|
- ext/extconf.rb
|
22
22
|
extra_rdoc_files:
|
23
|
-
- README.rdoc
|
24
23
|
- LICENSE.rdoc
|
24
|
+
- README.rdoc
|
25
|
+
- TODO.rdoc
|
26
|
+
- lib/rlua.rb
|
25
27
|
- ext/rlua.c
|
26
28
|
files:
|
27
29
|
- ext/rlua.c
|
28
30
|
- lib/rlua.rb
|
29
|
-
- README.rdoc
|
30
31
|
- LICENSE.rdoc
|
32
|
+
- README.rdoc
|
33
|
+
- TODO.rdoc
|
31
34
|
has_rdoc: true
|
32
35
|
homepage: http://rlua.rubyforge.org
|
33
36
|
licenses: []
|
@@ -48,9 +51,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
48
51
|
version:
|
49
52
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
53
|
requirements:
|
51
|
-
- - "
|
54
|
+
- - ">="
|
52
55
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
56
|
+
version: "0"
|
54
57
|
version:
|
55
58
|
requirements: []
|
56
59
|
|