jdbc-openedge-internal 10.2.1.0-java
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/LICENSE +13 -0
- data/README.md +33 -0
- data/lib/jdbc/openedge/internal.rb +22 -0
- data/lib/jdbc/openedge/internal/version.rb +7 -0
- metadata +67 -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,33 @@
|
|
1
|
+
# jdbc-openedge-internal
|
2
|
+
|
3
|
+
This gem is used internally by the `jdbc-openedge` gem for abstracting
|
4
|
+
away the `require`
|
5
|
+
statements for loading the Progress DataDirect OpenEdge JDBC client
|
6
|
+
drivers. It's useful for supporting multiple versions of OpenEdge that
|
7
|
+
have differing .jar file loading requirements.
|
8
|
+
|
9
|
+
Unfortunately, the drivers themselves cannot be stored in this gem as
|
10
|
+
they are proprietary. They can typically be found in an OpenEdge
|
11
|
+
installation directory under `$DLC/java`.
|
12
|
+
|
13
|
+
The reason for the extra gem beyond the `jdbc-openedge` one is so that
|
14
|
+
I can have my own versioning scheme for fixing issues with the driver,
|
15
|
+
without having to worry about having an unpatchable public-facing gem
|
16
|
+
whose version has to align exactly with OpenEdge's.
|
17
|
+
|
18
|
+
## Usage
|
19
|
+
|
20
|
+
This gem is not made for direct general use; you should look to the
|
21
|
+
`jdbc-openedge` gem for that.
|
22
|
+
|
23
|
+
## Version mapping
|
24
|
+
|
25
|
+
This is how the version number of this gem maps to OpenEdge versions
|
26
|
+
(the last digit is for patches):
|
27
|
+
|
28
|
+
10.1C - 10.1.3.x
|
29
|
+
10.2A - 10.2.1.x
|
30
|
+
10.2B - 10.2.2.x
|
31
|
+
11.0 - 11.0.0.x
|
32
|
+
11.1 - 11.1.0.x
|
33
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Jdbc
|
2
|
+
module OpenEdge
|
3
|
+
module Internal
|
4
|
+
JARS = [ 'base.jar', 'openedge.jar', 'util.jar']
|
5
|
+
end
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
if RUBY_PLATFORM =~ /java/
|
10
|
+
Jdbc::OpenEdge::Internal::JARS.each do |j|
|
11
|
+
begin
|
12
|
+
require j
|
13
|
+
rescue LoadError
|
14
|
+
raise LoadError, <<-HERE.gsub!(/\s\s/, '')
|
15
|
+
Unable to load #{j}. Make sure that you've
|
16
|
+
put the driver .jars in your Java $CLASSPATH!
|
17
|
+
HERE
|
18
|
+
end
|
19
|
+
end
|
20
|
+
elsif $VERBOSE
|
21
|
+
warn "jdbc-openedge-internal is only for use with JRuby!"
|
22
|
+
end
|
metadata
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jdbc-openedge-internal
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 10.2.1.0
|
6
|
+
platform: java
|
7
|
+
authors:
|
8
|
+
- Abe Voelker
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2012-07-22 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: bundler
|
17
|
+
prerelease: false
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.0.0
|
24
|
+
type: :development
|
25
|
+
version_requirements: *id001
|
26
|
+
description: Used by jdbc-openedge gem internally
|
27
|
+
email: abe@abevoelker.com
|
28
|
+
executables: []
|
29
|
+
|
30
|
+
extensions: []
|
31
|
+
|
32
|
+
extra_rdoc_files: []
|
33
|
+
|
34
|
+
files:
|
35
|
+
- lib/jdbc/openedge/internal.rb
|
36
|
+
- lib/jdbc/openedge/internal/version.rb
|
37
|
+
- LICENSE
|
38
|
+
- README.md
|
39
|
+
homepage: https://github.com/abevoelker/jdbc-openedge-internal
|
40
|
+
licenses: []
|
41
|
+
|
42
|
+
post_install_message:
|
43
|
+
rdoc_options: []
|
44
|
+
|
45
|
+
require_paths:
|
46
|
+
- lib
|
47
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
48
|
+
none: false
|
49
|
+
requirements:
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: "0"
|
53
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: 1.3.6
|
59
|
+
requirements: []
|
60
|
+
|
61
|
+
rubyforge_project: jdbc-openedge-internal
|
62
|
+
rubygems_version: 1.8.15
|
63
|
+
signing_key:
|
64
|
+
specification_version: 3
|
65
|
+
summary: Used by jdbc-openedge gem internally
|
66
|
+
test_files: []
|
67
|
+
|