advantage 0.1.0-x86-linux

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,64 @@
1
+ // *****************************************************
2
+ // Copyright (c) 2008-2010 iAnywhere Solutions, Inc.
3
+ // Portions copyright (c) 1988-2010 Sybase, Inc.
4
+ // All rights reserved. All unpublished rights reserved.
5
+ // *****************************************************
6
+ IF EXISTS( SELECT * FROM SYSTEM.TABLES WHERE "name" = 'test') THEN
7
+ DROP TABLE "test";
8
+ END IF;
9
+
10
+ IF EXISTS( SELECT * FROM SYSTEM.TABLES WHERE "name" = 'types') THEN
11
+ DROP TABLE "types";
12
+ END IF;
13
+
14
+ CREATE TABLE "test" (
15
+ "id" AUTOINC CONSTRAINT NOT NULL,
16
+ PRIMARY KEY("id")
17
+ );
18
+
19
+ CREATE TABLE "types" (
20
+ "id" INTEGER PRIMARY KEY,
21
+ "_blob_" blob,
22
+ "_numeric_" NUMERIC(5,2),
23
+ "_char_" CHAR(255),
24
+ "_memo_" MEMO,
25
+ "_int_" INTEGER,
26
+ "_short_" SHORT,
27
+ "_logical_" LOGICAL,
28
+ "_date_" DATE,
29
+ "_timestamp_" TIMESTAMP,
30
+ "_double_" DOUBLE,
31
+ "_money_" MONEY
32
+ );
33
+
34
+ INSERT INTO types VALUES
35
+ ( 0,
36
+ CHAR2HEX ( '78' ),
37
+ 1.1,
38
+ 'Bounded String Test',
39
+ 'Unbounded String Test',
40
+ 1,
41
+ 1,
42
+ TRUE,
43
+ '1999-01-02',
44
+ '1999-01-02 21:20:53',
45
+ 3.402823e+38,
46
+ 1
47
+ );
48
+
49
+ INSERT INTO types VALUES
50
+ ( 1,
51
+ CHAR2HEX ( 'FF'),
52
+ -1.1,
53
+ '',
54
+ '',
55
+ 0,
56
+ 0,
57
+ FALSE,
58
+ NULL,
59
+ NULL,
60
+ -3.402823e+38,
61
+ -7.77
62
+ );
63
+
64
+
metadata ADDED
@@ -0,0 +1,71 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: advantage
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: x86-linux
7
+ authors:
8
+ - Edgar Sherman
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-04-17 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: ! ' Advantage Driver for Ruby
15
+
16
+ '
17
+ email: advantage@sybase.com
18
+ executables: []
19
+ extensions: []
20
+ extra_rdoc_files:
21
+ - README
22
+ - LICENSE
23
+ - ext/advantage.c
24
+ files:
25
+ - ext/ace.h
26
+ - ext/advantage.o
27
+ - ext/dbcapi.h
28
+ - ext/advantage.so
29
+ - ext/adscapidll.o
30
+ - ext/advantage.c
31
+ - ext/adscapidll.h
32
+ - ext/extconf.rb
33
+ - ext/adscapidll.c
34
+ - ext/Makefile
35
+ - lib/advantage.so
36
+ - test/advantage_test.rb
37
+ - test/test.sql
38
+ - LICENSE
39
+ - README
40
+ - Rakefile
41
+ homepage: http://devzone.advantagedatabase.com
42
+ licenses: []
43
+ post_install_message:
44
+ rdoc_options:
45
+ - --title
46
+ - Advantage Ruby Driver
47
+ - --main
48
+ - README
49
+ - --line-numbers
50
+ require_paths:
51
+ - lib
52
+ required_ruby_version: !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ! '>='
56
+ - !ruby/object:Gem::Version
57
+ version: 1.8.6
58
+ required_rubygems_version: !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ requirements: []
65
+ rubyforge_project:
66
+ rubygems_version: 1.8.22
67
+ signing_key:
68
+ specification_version: 3
69
+ summary: Advantage library for Ruby
70
+ test_files:
71
+ - test/advantage_test.rb