rufus-lua 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.txt +5 -0
- data/CREDITS.txt +1 -0
- data/LICENSE.txt +1 -1
- data/README.md +9 -5
- data/lib/rufus/lua.rb +1 -1
- data/lib/rufus/lua/error.rb +1 -1
- data/lib/rufus/lua/lib.rb +1 -1
- data/lib/rufus/lua/objects.rb +1 -1
- data/lib/rufus/lua/state.rb +2 -2
- data/lib/rufus/lua/utils.rb +1 -1
- data/lib/rufus/lua/version.rb +2 -2
- data/rufus-lua.gemspec +1 -2
- metadata +10 -45
- data/Rakefile +0 -82
- data/spec/coroutines_spec.rb +0 -136
- data/spec/error_handler_spec.rb +0 -222
- data/spec/eval_spec.rb +0 -165
- data/spec/functions_spec.rb +0 -119
- data/spec/gc_spec.rb +0 -41
- data/spec/lib_spec.rb +0 -32
- data/spec/rfunctions_spec.rb +0 -295
- data/spec/spec.rb +0 -9
- data/spec/spec_base.rb +0 -10
- data/spec/state_spec.rb +0 -106
- data/spec/string_spec.rb +0 -60
- data/spec/tables_spec.rb +0 -165
- data/spec/utils_spec.rb +0 -45
- data/test/bm0.rb +0 -41
- data/test/bm_fiber.rb +0 -78
- data/test/bm_gc_stop.rb +0 -43
- data/test/gc0.rb +0 -19
- data/test/t.rb +0 -19
data/test/t.rb
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
# sandbox experiment file with rufus-lua
|
4
|
-
#
|
5
|
-
# Thu Mar 12 15:54:30 JST 2009
|
6
|
-
#
|
7
|
-
|
8
|
-
$:.unshift('lib')
|
9
|
-
|
10
|
-
require 'rubygems'
|
11
|
-
require 'rufus/lua'
|
12
|
-
|
13
|
-
|
14
|
-
s = Rufus::Lua::State.new
|
15
|
-
|
16
|
-
puts s.eval("return table.concat({ 'hello', 'from', 'Lua' }, ' ')")
|
17
|
-
|
18
|
-
s.close
|
19
|
-
|