jdbc-openedge 10.1C

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 (5) hide show
  1. data/LICENSE +13 -0
  2. data/README.md +17 -0
  3. data/Rakefile +2 -0
  4. data/lib/jdbc/openedge.rb +13 -0
  5. metadata +58 -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,17 @@
1
+ = jdbc-openedge
2
+
3
+ * https://github.com/abevoelker/jdbc-openedge
4
+
5
+ == DESCRIPTION:
6
+
7
+ This gem abstracts away the `require` statements for loading the Progress
8
+ DataDirect OpenEdge JDBC client drivers. Unfortunately, the drivers
9
+ themselves cannot be stored in this gem as they are proprietary. They can
10
+ normally be found in an OpenEdge installation directory.
11
+
12
+ Add the .jar files to your Java $CLASSPATH, and then use
13
+
14
+ require 'jdbc/openedge'
15
+
16
+ to make the driver accessible to JDBC code running in JRuby.
17
+
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
@@ -0,0 +1,13 @@
1
+ module Jdbc
2
+ module OpenEdge
3
+ VERSION = "10.1C"
4
+ end
5
+ end
6
+
7
+ if RUBY_PLATFORM =~ /java/
8
+ require 'base.jar'
9
+ require 'openedge.jar'
10
+ require 'util.jar'
11
+ elsif $VERBOSE
12
+ warn "jdbc-OpenEdge is only for use with JRuby!"
13
+ end
metadata ADDED
@@ -0,0 +1,58 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jdbc-openedge
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: 4
5
+ version: 10.1C
6
+ platform: ruby
7
+ authors:
8
+ - Abe Voelker
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2012-05-05 00:00:00 Z
14
+ dependencies: []
15
+
16
+ description: Add relevant .jars to your Java $CLASSPATH, install this gem and require 'jdbc/openedge' within JRuby to load the driver.
17
+ email: abe@abevoelker.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files: []
23
+
24
+ files:
25
+ - Rakefile
26
+ - README.md
27
+ - LICENSE
28
+ - lib/jdbc/openedge.rb
29
+ homepage: https://github.com/abevoelker/jdbc-openedge
30
+ licenses: []
31
+
32
+ post_install_message:
33
+ rdoc_options:
34
+ - --main
35
+ - README.md
36
+ require_paths:
37
+ - lib
38
+ required_ruby_version: !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: "0"
44
+ required_rubygems_version: !ruby/object:Gem::Requirement
45
+ none: false
46
+ requirements:
47
+ - - ">"
48
+ - !ruby/object:Gem::Version
49
+ version: 1.3.1
50
+ requirements: []
51
+
52
+ rubyforge_project: jruby-openedge
53
+ rubygems_version: 1.8.15
54
+ signing_key:
55
+ specification_version: 3
56
+ summary: OpenEdge JDBC driver loader.
57
+ test_files: []
58
+