advantage 0.1.0-x86-mingw32

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.
@@ -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,72 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: advantage
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: x86-mingw32
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/adscapidll.c
27
+ - ext/adscapidll.h
28
+ - ext/adscapidll.o
29
+ - ext/advantage-i386-mingw32.def
30
+ - ext/advantage.c
31
+ - ext/advantage.o
32
+ - ext/advantage.so
33
+ - ext/dbcapi.h
34
+ - ext/extconf.rb
35
+ - ext/Makefile
36
+ - lib/advantage.so
37
+ - test/advantage_test.rb
38
+ - test/test.sql
39
+ - LICENSE
40
+ - README
41
+ - Rakefile
42
+ homepage: http://devzone.advantagedatabase.com
43
+ licenses: []
44
+ post_install_message:
45
+ rdoc_options:
46
+ - --title
47
+ - Advantage Ruby Driver
48
+ - --main
49
+ - README
50
+ - --line-numbers
51
+ require_paths:
52
+ - lib
53
+ required_ruby_version: !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ! '>='
57
+ - !ruby/object:Gem::Version
58
+ version: 1.8.6
59
+ required_rubygems_version: !ruby/object:Gem::Requirement
60
+ none: false
61
+ requirements:
62
+ - - ! '>='
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ requirements: []
66
+ rubyforge_project:
67
+ rubygems_version: 1.8.16
68
+ signing_key:
69
+ specification_version: 3
70
+ summary: Advantage library for Ruby
71
+ test_files:
72
+ - test/advantage_test.rb