ruby-frontbase 1.0.0 → 1.0.1
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 +3 -2
- data/frontbase.c +14 -3
- metadata +4 -4
data/README
CHANGED
data/frontbase.c
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* version: 1.0.0
|
|
8
8
|
***************************************************/
|
|
9
9
|
|
|
10
|
-
#define RUBY_BINDINGS_VERSION "1.0.
|
|
10
|
+
#define RUBY_BINDINGS_VERSION "1.0.1"
|
|
11
11
|
|
|
12
12
|
#include "ruby.h"
|
|
13
13
|
|
|
@@ -520,19 +520,30 @@ static VALUE fbconn_connect(argc, argv, fbconn) int argc; VALUE *argv; VALUE fbc
|
|
|
520
520
|
{
|
|
521
521
|
Check_Type(arg[3], T_STRING);
|
|
522
522
|
conn->user = STR2CSTR(arg[3]);
|
|
523
|
-
|
|
523
|
+
}
|
|
524
|
+
else
|
|
525
|
+
{
|
|
526
|
+
conn->user = "";
|
|
524
527
|
}
|
|
525
528
|
if (!NIL_P(arg[4]))
|
|
526
529
|
{
|
|
527
530
|
Check_Type(arg[4], T_STRING);
|
|
528
531
|
conn->password = STR2CSTR(arg[4]);
|
|
529
532
|
}
|
|
533
|
+
else
|
|
534
|
+
{
|
|
535
|
+
conn->password = "";
|
|
536
|
+
}
|
|
537
|
+
|
|
530
538
|
if (!NIL_P(arg[5]))
|
|
531
539
|
{
|
|
532
540
|
Check_Type(arg[5], T_STRING);
|
|
533
541
|
conn->databasePassword = STR2CSTR(arg[5]);
|
|
534
542
|
}
|
|
535
|
-
|
|
543
|
+
else
|
|
544
|
+
{
|
|
545
|
+
conn->databasePassword = "";
|
|
546
|
+
}
|
|
536
547
|
if (!NIL_P(arg[6]))
|
|
537
548
|
{
|
|
538
549
|
Check_Type(arg[6], T_STRING);
|
metadata
CHANGED
|
@@ -3,14 +3,14 @@ rubygems_version: 0.8.11
|
|
|
3
3
|
specification_version: 1
|
|
4
4
|
name: ruby-frontbase
|
|
5
5
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version: 1.0.
|
|
6
|
+
version: 1.0.1
|
|
7
7
|
date: 2006-04-28 00:00:00 -04:00
|
|
8
8
|
summary: FrontBase Ruby binding.
|
|
9
9
|
require_paths:
|
|
10
10
|
- lib
|
|
11
11
|
email: mlaster@metavillage.com
|
|
12
|
-
homepage: http://rubyforge.org/projects/frontbase
|
|
13
|
-
rubyforge_project: frontbase
|
|
12
|
+
homepage: http://rubyforge.org/projects/ruby-frontbase
|
|
13
|
+
rubyforge_project: ruby-frontbase
|
|
14
14
|
description: Ruby bindings for the FrontBase database server (http://www.frontbase.com).
|
|
15
15
|
autorequire: frontbase
|
|
16
16
|
default_executable:
|
|
@@ -44,6 +44,6 @@ extensions:
|
|
|
44
44
|
- extconf.rb
|
|
45
45
|
requirements:
|
|
46
46
|
- A C compiler.
|
|
47
|
-
- FrontBase
|
|
47
|
+
- FrontBase 3.x
|
|
48
48
|
dependencies: []
|
|
49
49
|
|