rua 0.4.2-mswin32 → 0.4.3-mswin32
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.txt +5 -3
- data/ext/rua.c +3 -3
- data/lib/i386-mswin32/rua.so +0 -0
- metadata +2 -2
data/README.txt
CHANGED
@@ -18,8 +18,6 @@ gem install rua
|
|
18
18
|
|
19
19
|
http://rubyforge.org/frs/?group_id=4845
|
20
20
|
|
21
|
-
http://storehouse.sakura.ne.jp/rua/
|
22
|
-
|
23
21
|
== Example
|
24
22
|
|
25
23
|
require 'rua'
|
@@ -106,5 +104,9 @@ http://storehouse.sakura.ne.jp/rua/
|
|
106
104
|
p rua.f.info.to_hash
|
107
105
|
|
108
106
|
== Notice
|
109
|
-
|
107
|
+
This library uses Lua.
|
108
|
+
|
109
|
+
=== Lua
|
110
|
+
License for Lua 5.0 and later versions
|
111
|
+
|
110
112
|
Copyright (c) 1994-2007 Lua.org, PUC-Rio.
|
data/ext/rua.c
CHANGED
@@ -21,7 +21,7 @@ __declspec(dllexport) void Init_rua(void);
|
|
21
21
|
|
22
22
|
#include "rua.h"
|
23
23
|
|
24
|
-
#define VERSION "0.4.
|
24
|
+
#define VERSION "0.4.3"
|
25
25
|
#define REF_RBOBJ "self"
|
26
26
|
|
27
27
|
#define ICONV_JIS "ISO-2022-JP"
|
@@ -494,10 +494,10 @@ static VALUE rua_method_missing(int argc, VALUE *argv, VALUE self) {
|
|
494
494
|
|
495
495
|
len = strlen(name);
|
496
496
|
|
497
|
-
if (argc
|
497
|
+
if (argc == 2 && name[len - 1] == '=') {
|
498
498
|
argv[0] = rb_str_new(name, (long) len - 1);
|
499
499
|
return rua_set(self, argv[0], argv[1]);
|
500
|
-
} else if(argc
|
500
|
+
} else if(argc == 1) {
|
501
501
|
return rua_get(self, argv[0]);
|
502
502
|
} else {
|
503
503
|
return rb_call_super(argc, argv);
|
data/lib/i386-mswin32/rua.so
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rua
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: mswin32
|
6
6
|
authors:
|
7
7
|
- winebarrel
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-04-05 00:00:00 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|