jdbc-openedge 10.2A-java
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +13 -0
- data/README.md +59 -0
- data/lib/jdbc/openedge.rb +1 -0
- data/lib/jdbc/openedge/version.rb +5 -0
- metadata +71 -0
data/LICENSE
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
Copyright (c) 2012 Abe Voelker
|
2
|
+
|
3
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
4
|
+
purpose with or without fee is hereby granted, provided that the above
|
5
|
+
copyright notice and this permission notice appear in all copies.
|
6
|
+
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
8
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
9
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
10
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
11
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
12
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
13
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
# jdbc-openedge
|
2
|
+
|
3
|
+
This gem abstracts away the `require` statements for loading the Progress
|
4
|
+
DataDirect OpenEdge JDBC client drivers. It's useful for supporting
|
5
|
+
multiple versions of OpenEdge that have differing .jar file loading
|
6
|
+
requirements.
|
7
|
+
|
8
|
+
Unfortunately, the drivers themselves cannot be stored in this gem as
|
9
|
+
they are proprietary. They can typically be found in an OpenEdge
|
10
|
+
installation directory under `$DLC/java`.
|
11
|
+
|
12
|
+
## Usage
|
13
|
+
|
14
|
+
Add the necessary .jar files to your Java `$CLASSPATH`, and then use
|
15
|
+
|
16
|
+
require 'jdbc/openedge'
|
17
|
+
|
18
|
+
to make the driver accessible to JDBC code running in JRuby.
|
19
|
+
|
20
|
+
## OpenEdge Versions Supported
|
21
|
+
|
22
|
+
The following OE versions are currently supported:
|
23
|
+
|
24
|
+
<table>
|
25
|
+
<tr>
|
26
|
+
<th>OE Version</th>
|
27
|
+
<th>.jar files required in <code>$CLASSPATH</code></th>
|
28
|
+
</tr>
|
29
|
+
<tr>
|
30
|
+
<td>10.2B</td>
|
31
|
+
<td>
|
32
|
+
<ul>
|
33
|
+
<li><code>openedge.jar</code></li>
|
34
|
+
<li><code>pool.jar</code><strong><sup>1</sup></strong></li>
|
35
|
+
</ul>
|
36
|
+
</td>
|
37
|
+
</tr>
|
38
|
+
<tr>
|
39
|
+
<td>10.1C</td>
|
40
|
+
<td>
|
41
|
+
<ul>
|
42
|
+
<li><code>base.jar</code></li>
|
43
|
+
<li><code>openedge.jar</code></li>
|
44
|
+
<li><code>util.jar</code></li>
|
45
|
+
</ul>
|
46
|
+
</td>
|
47
|
+
</tr>
|
48
|
+
</table>
|
49
|
+
|
50
|
+
**<sup>1</sup>** The released 10.2B gem requires `pool.jar`, even
|
51
|
+
though technically it shouldn't be required to load the DataDirect
|
52
|
+
JDBC driver. This was a mistake on my part, which cannot be undone
|
53
|
+
for the 10.2B gem version as RubyGems gem versions are permanent.
|
54
|
+
A simple workaround if you don't have `pool.jar` would be to
|
55
|
+
just use a blank file, e.g.
|
56
|
+
`cd <somewhere in $CLASSPATH>; touch pool.jar`.
|
57
|
+
|
58
|
+
Support for other versions can be done on an as-needed basis, if
|
59
|
+
anyone else besides me ever uses this gem (pull requests accepted).
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'jdbc/openedge/internal'
|
metadata
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jdbc-openedge
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: 4
|
5
|
+
version: 10.2A
|
6
|
+
platform: java
|
7
|
+
authors:
|
8
|
+
- Abe Voelker
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-07-22 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bundler
|
16
|
+
version_requirements: &2056 !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ! '>='
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 1.0.0
|
21
|
+
none: false
|
22
|
+
requirement: *2056
|
23
|
+
prerelease: false
|
24
|
+
type: :development
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: jdbc-openedge-internal
|
27
|
+
version_requirements: &2074 !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
29
|
+
- - ~>
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: 10.2.1.0
|
32
|
+
none: false
|
33
|
+
requirement: *2074
|
34
|
+
prerelease: false
|
35
|
+
type: :runtime
|
36
|
+
description: Add relevant .jars to your Java $CLASSPATH, install this gem and require 'jdbc/openedge' within JRuby to load the driver.
|
37
|
+
email: abe@abevoelker.com
|
38
|
+
executables: []
|
39
|
+
extensions: []
|
40
|
+
extra_rdoc_files: []
|
41
|
+
files:
|
42
|
+
- lib/jdbc/openedge.rb
|
43
|
+
- lib/jdbc/openedge/version.rb
|
44
|
+
- LICENSE
|
45
|
+
- README.md
|
46
|
+
homepage: https://github.com/abevoelker/jdbc-openedge
|
47
|
+
licenses: []
|
48
|
+
post_install_message:
|
49
|
+
rdoc_options: []
|
50
|
+
require_paths:
|
51
|
+
- lib
|
52
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ! '>='
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
57
|
+
none: false
|
58
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 1.3.6
|
63
|
+
none: false
|
64
|
+
requirements: []
|
65
|
+
rubyforge_project: jdbc-openedge
|
66
|
+
rubygems_version: 1.8.15
|
67
|
+
signing_key:
|
68
|
+
specification_version: 3
|
69
|
+
summary: OpenEdge JDBC driver loader.
|
70
|
+
test_files: []
|
71
|
+
...
|