openbase 0.8.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.
Files changed (54) hide show
  1. data/History.txt +50 -0
  2. data/License.txt +20 -0
  3. data/Manifest.txt +53 -0
  4. data/README.txt +35 -0
  5. data/Rakefile +126 -0
  6. data/examples/example.rb +37 -0
  7. data/ext/CommAPI.c +643 -0
  8. data/ext/Headers/CommAPI.h +1 -0
  9. data/ext/Headers/NetClient.h +42 -0
  10. data/ext/Headers/NetClientLib.h +41 -0
  11. data/ext/Headers/OB_Memory.h +69 -0
  12. data/ext/Headers/OpenBaseAdmin.h +227 -0
  13. data/ext/Headers/OpenBaseConnection.h +337 -0
  14. data/ext/Headers/OpenBaseEncoding.h +302 -0
  15. data/ext/Headers/OpenBasePrepare.h +1 -0
  16. data/ext/Headers/OpenBaseSupport.h +1 -0
  17. data/ext/Headers/Platform_Carbon_Header.h +5 -0
  18. data/ext/Headers/Platform_Classic_Header.h +6 -0
  19. data/ext/Headers/Platform_Linux.h +4 -0
  20. data/ext/Headers/Platform_Mach_Header.h +4 -0
  21. data/ext/Headers/Platform_Windows.h +3 -0
  22. data/ext/Headers/conversion.h +1 -0
  23. data/ext/Headers/datetime.h +26 -0
  24. data/ext/Headers/longlong.h +46 -0
  25. data/ext/Headers/platform.h +67 -0
  26. data/ext/Headers/stringConversion.h +15 -0
  27. data/ext/NetClient.c +888 -0
  28. data/ext/OpenBaseAdmin.c +1884 -0
  29. data/ext/OpenBaseConnection.c +1841 -0
  30. data/ext/OpenBaseEncoding.c +993 -0
  31. data/ext/OpenBaseEncoding_DOS.c +1 -0
  32. data/ext/OpenBaseEncoding_ISO8859.c +1 -0
  33. data/ext/OpenBaseEncoding_MacOS.c +1 -0
  34. data/ext/OpenBaseEncoding_Windows.c +1150 -0
  35. data/ext/OpenBasePrepare.c +1 -0
  36. data/ext/OpenBaseSupport.c +1 -0
  37. data/ext/conversion.c +1 -0
  38. data/ext/datetime.c +816 -0
  39. data/ext/depend +1 -0
  40. data/ext/extconf.rb +10 -0
  41. data/ext/longlong.c +1 -0
  42. data/ext/openbase.c +980 -0
  43. data/ext/stringConversion.c +169 -0
  44. data/lib/ruby-openbase/version.rb +9 -0
  45. data/scripts/txt2html +67 -0
  46. data/setup.rb +1585 -0
  47. data/test/test_helper.rb +2 -0
  48. data/test/test_openbase.rb +241 -0
  49. data/website/index.html +114 -0
  50. data/website/index.txt +59 -0
  51. data/website/javascripts/rounded_corners_lite.inc.js +285 -0
  52. data/website/stylesheets/screen.css +133 -0
  53. data/website/template.rhtml +47 -0
  54. metadata +105 -0
@@ -0,0 +1,133 @@
1
+ body {
2
+ background-color: #91181f;
3
+ font-family: "Georgia", sans-serif;
4
+ font-size: 16px;
5
+ line-height: 1.6em;
6
+ color: #333;
7
+ padding: 0;
8
+ margin: 0;
9
+ }
10
+ h1, h2, h3, h4, h5, h6 {
11
+ color: #444;
12
+ }
13
+ h1 {
14
+ font-family: sans-serif;
15
+ font-weight: normal;
16
+ font-size: 4em;
17
+ line-height: 0.8em;
18
+ letter-spacing: -0.1ex;
19
+ margin: 5px;
20
+ }
21
+ li {
22
+ padding: 0;
23
+ margin: 0;
24
+ list-style-type: square;
25
+ }
26
+ a {
27
+ color: #91181f;
28
+ font-weight: normal;
29
+ text-decoration: underline;
30
+ }
31
+ blockquote {
32
+ font-size: 90%;
33
+ font-style: italic;
34
+ border-left: 1px solid #111;
35
+ padding-left: 1em;
36
+ }
37
+ .caps {
38
+ font-size: 80%;
39
+ }
40
+
41
+ #main {
42
+ width: 45em;
43
+ padding: 1.6em;
44
+ margin: 0 auto;
45
+ background-color: #fff;
46
+ }
47
+ .coda {
48
+ text-align: right;
49
+ font-size: smaller;
50
+ }
51
+
52
+ table {
53
+ font-size: 90%;
54
+ line-height: 1.4em;
55
+ color: #ff8;
56
+ background-color: #111;
57
+ padding: 2px 10px 2px 10px;
58
+ border-style: dashed;
59
+ }
60
+
61
+ th {
62
+ color: #fff;
63
+ }
64
+
65
+ td {
66
+ padding: 2px 10px 2px 10px;
67
+ }
68
+
69
+ .success {
70
+ color: #0CC52B;
71
+ }
72
+
73
+ .failed {
74
+ color: #E90A1B;
75
+ }
76
+
77
+ .unknown {
78
+ color: #995000;
79
+ }
80
+ pre, code {
81
+ font-family: monospace;
82
+ font-size: 90%;
83
+ line-height: 1.4em;
84
+ color: #ff8;
85
+ background-color: #111;
86
+ padding: 2px 10px 2px 10px;
87
+ }
88
+ .comment { color: #aaa; font-style: italic; }
89
+ .keyword { color: #eff; font-weight: bold; }
90
+ .punct { color: #eee; font-weight: bold; }
91
+ .symbol { color: #0bb; }
92
+ .string { color: #6b4; }
93
+ .ident { color: #ff8; }
94
+ .constant { color: #66f; }
95
+ .regex { color: #ec6; }
96
+ .number { color: #F99; }
97
+ .expr { color: #227; }
98
+
99
+ #version {
100
+ float: right;
101
+ text-align: right;
102
+ font-family: sans-serif;
103
+ font-weight: normal;
104
+ background-color: #ddd;
105
+ color: #000;
106
+ padding: 15px 20px 10px 20px;
107
+ border: 3px solid #000;
108
+ margin: 10px;
109
+ }
110
+
111
+ #version .numbers {
112
+ display: block;
113
+ font-size: 4em;
114
+ line-height: 0.8em;
115
+ letter-spacing: -0.1ex;
116
+ margin-bottom: 15px;
117
+ }
118
+
119
+ #version p {
120
+ text-decoration: none;
121
+ margin: 0;
122
+ padding: 0;
123
+ }
124
+
125
+ #version a {
126
+ text-decoration: none;
127
+ }
128
+
129
+ .clickable {
130
+ cursor: pointer;
131
+ cursor: hand;
132
+ }
133
+
@@ -0,0 +1,47 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <title>
8
+ <%= title %>
9
+ </title>
10
+ <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
11
+ <style>
12
+
13
+ </style>
14
+ <script type="text/javascript">
15
+ window.onload = function() {
16
+ settings = {
17
+ tl: { radius: 10 },
18
+ tr: { radius: 10 },
19
+ bl: { radius: 10 },
20
+ br: { radius: 10 },
21
+ antiAlias: true,
22
+ autoPad: true,
23
+ validTags: ["div"]
24
+ }
25
+ var versionBox = new curvyCorners(settings, document.getElementById("version"));
26
+ versionBox.applyCornersToAll();
27
+ }
28
+ </script>
29
+ </head>
30
+ <body>
31
+ <div id="main">
32
+
33
+ <h1><%= title %></h1>
34
+ <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
35
+ <p>Get Version</p>
36
+ <a href="<%= download %>" class="numbers"><%= version %></a>
37
+ </div>
38
+ <%= body %>
39
+ <p class="coda">
40
+ <a href="mailto:derrick.spell@gmail.com">Derrick Spell</a>, <%= modified.pretty %>
41
+ </p>
42
+ </div>
43
+
44
+ <!-- insert site tracking codes here, like Google Urchin -->
45
+
46
+ </body>
47
+ </html>
metadata ADDED
@@ -0,0 +1,105 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.9.4
3
+ specification_version: 1
4
+ name: openbase
5
+ version: !ruby/object:Gem::Version
6
+ version: 0.8.1
7
+ date: 2007-06-25 00:00:00 -04:00
8
+ summary: Provides access to OpenBase databases from Ruby.
9
+ require_paths:
10
+ - lib
11
+ - ext
12
+ email: derrick.spell@gmail.com
13
+ homepage: http://ruby-openbase.rubyforge.org
14
+ rubyforge_project: ruby-openbase
15
+ description: Provides access to OpenBase databases from Ruby.
16
+ autorequire: openbase
17
+ default_executable:
18
+ bindir: bin
19
+ has_rdoc: true
20
+ required_ruby_version: !ruby/object:Gem::Version::Requirement
21
+ requirements:
22
+ - - ">"
23
+ - !ruby/object:Gem::Version
24
+ version: 0.0.0
25
+ version:
26
+ platform: ruby
27
+ signing_key:
28
+ cert_chain:
29
+ post_install_message:
30
+ authors:
31
+ - Derrick Spell
32
+ files:
33
+ - History.txt
34
+ - License.txt
35
+ - Manifest.txt
36
+ - README.txt
37
+ - Rakefile
38
+ - examples/example.rb
39
+ - ext/CommAPI.c
40
+ - ext/Headers/CommAPI.h
41
+ - ext/Headers/NetClient.h
42
+ - ext/Headers/NetClientLib.h
43
+ - ext/Headers/OB_Memory.h
44
+ - ext/Headers/OpenBaseAdmin.h
45
+ - ext/Headers/OpenBaseConnection.h
46
+ - ext/Headers/OpenBaseEncoding.h
47
+ - ext/Headers/OpenBasePrepare.h
48
+ - ext/Headers/OpenBaseSupport.h
49
+ - ext/Headers/Platform_Carbon_Header.h
50
+ - ext/Headers/Platform_Classic_Header.h
51
+ - ext/Headers/Platform_Linux.h
52
+ - ext/Headers/Platform_Mach_Header.h
53
+ - ext/Headers/Platform_Windows.h
54
+ - ext/Headers/conversion.h
55
+ - ext/Headers/datetime.h
56
+ - ext/Headers/longlong.h
57
+ - ext/Headers/platform.h
58
+ - ext/Headers/stringConversion.h
59
+ - ext/NetClient.c
60
+ - ext/OpenBaseAdmin.c
61
+ - ext/OpenBaseConnection.c
62
+ - ext/OpenBaseEncoding.c
63
+ - ext/OpenBaseEncoding_DOS.c
64
+ - ext/OpenBaseEncoding_ISO8859.c
65
+ - ext/OpenBaseEncoding_MacOS.c
66
+ - ext/OpenBaseEncoding_Windows.c
67
+ - ext/OpenBasePrepare.c
68
+ - ext/OpenBaseSupport.c
69
+ - ext/conversion.c
70
+ - ext/datetime.c
71
+ - ext/depend
72
+ - ext/extconf.rb
73
+ - ext/longlong.c
74
+ - ext/openbase.c
75
+ - ext/stringConversion.c
76
+ - lib/ruby-openbase/version.rb
77
+ - scripts/txt2html
78
+ - setup.rb
79
+ - test/test_helper.rb
80
+ - test/test_openbase.rb
81
+ - website/index.html
82
+ - website/index.txt
83
+ - website/javascripts/rounded_corners_lite.inc.js
84
+ - website/stylesheets/screen.css
85
+ - website/template.rhtml
86
+ test_files:
87
+ - test/test_helper.rb
88
+ - test/test_openbase.rb
89
+ rdoc_options:
90
+ - --main
91
+ - README.txt
92
+ extra_rdoc_files:
93
+ - History.txt
94
+ - License.txt
95
+ - Manifest.txt
96
+ - README.txt
97
+ - website/index.txt
98
+ executables: []
99
+
100
+ extensions:
101
+ - ext/extconf.rb
102
+ requirements: []
103
+
104
+ dependencies: []
105
+