jdbc-postgres 8.2 → 8.3.604
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +7 -0
- data/Manifest.txt +5 -3
- data/Rakefile +2 -1
- data/lib/jdbc/postgres.rb +18 -3
- data/lib/postgresql-8.3-604.jdbc3.jar +0 -0
- data/lib/postgresql-8.3-604.jdbc4.jar +0 -0
- metadata +49 -38
- data/lib/postgresql-8.2-504.jdbc3.jar +0 -0
data/History.txt
ADDED
data/Manifest.txt
CHANGED
data/Rakefile
CHANGED
data/lib/jdbc/postgres.rb
CHANGED
@@ -1,10 +1,25 @@
|
|
1
1
|
module Jdbc
|
2
2
|
module Postgres
|
3
|
-
VERSION = "8.
|
3
|
+
VERSION = "8.3.604"
|
4
|
+
|
5
|
+
def self.require_driver_jar
|
6
|
+
vers = VERSION.split( '.' )
|
7
|
+
vers << jdbc_version
|
8
|
+
require( "postgresql-%s.%s-%s.jdbc%d.jar" % vers )
|
9
|
+
end
|
10
|
+
|
11
|
+
# JDBC version 4 if Java >=1.6, else 3
|
12
|
+
def self.jdbc_version
|
13
|
+
vers = Java::java.lang.System::get_property( "java.specification.version" )
|
14
|
+
vers = vers.split( '.' ).map { |v| v.to_i }
|
15
|
+
( ( vers <=> [ 1, 6 ] ) >= 0 ) ? 4 : 3
|
16
|
+
end
|
17
|
+
|
4
18
|
end
|
5
19
|
end
|
20
|
+
|
6
21
|
if RUBY_PLATFORM =~ /java/
|
7
|
-
|
22
|
+
Jdbc::Postgres::require_driver_jar
|
8
23
|
else
|
9
24
|
warn "jdbc-postgres is only for use with JRuby"
|
10
|
-
end
|
25
|
+
end
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,55 +1,66 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.4
|
3
|
-
specification_version: 1
|
4
2
|
name: jdbc-postgres
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version:
|
7
|
-
date: 2007-11-05 00:00:00 -06:00
|
8
|
-
summary: PostgreSQL JDBC driver for Java and PostgreSQL/ActiveRecord-JDBC.
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: nick@nicksieger.com, ola.bini@gmail.com
|
12
|
-
homepage: http://jruby-extras.rubyforge.org/ActiveRecord-JDBC
|
13
|
-
rubyforge_project: jruby-extras
|
14
|
-
description: Install this gem and require 'postgres' within JRuby to load the driver.
|
15
|
-
autorequire:
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: true
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.0
|
24
|
-
version:
|
4
|
+
version: 8.3.604
|
25
5
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
6
|
authors:
|
30
7
|
- Nick Sieger, Ola Bini and JRuby contributors
|
31
|
-
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-10-02 00:00:00 -05:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: Install this gem and require 'postgres' within JRuby to load the driver.
|
17
|
+
email: nick@nicksieger.com, ola.bini@gmail.com
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files:
|
23
|
+
- History.txt
|
24
|
+
- LICENSE.txt
|
32
25
|
- Manifest.txt
|
33
|
-
- Rakefile
|
34
26
|
- README.txt
|
27
|
+
files:
|
28
|
+
- History.txt
|
35
29
|
- LICENSE.txt
|
36
|
-
-
|
30
|
+
- Manifest.txt
|
31
|
+
- README.txt
|
32
|
+
- Rakefile
|
37
33
|
- lib/jdbc/postgres.rb
|
38
|
-
- lib/postgresql-8.
|
39
|
-
|
34
|
+
- lib/postgresql-8.3-604.jdbc3.jar
|
35
|
+
- lib/postgresql-8.3-604.jdbc4.jar
|
36
|
+
has_rdoc: true
|
37
|
+
homepage: http://jruby-extras.rubyforge.org/ActiveRecord-JDBC
|
38
|
+
licenses: []
|
40
39
|
|
40
|
+
post_install_message:
|
41
41
|
rdoc_options:
|
42
42
|
- --main
|
43
43
|
- README.txt
|
44
|
-
|
45
|
-
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
44
|
+
require_paths:
|
45
|
+
- lib
|
46
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: "0"
|
51
|
+
version:
|
52
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: "0"
|
57
|
+
version:
|
52
58
|
requirements: []
|
53
59
|
|
54
|
-
|
60
|
+
rubyforge_project: jruby-extras
|
61
|
+
rubygems_version: 1.3.5
|
62
|
+
signing_key:
|
63
|
+
specification_version: 3
|
64
|
+
summary: PostgreSQL JDBC driver for Java and PostgreSQL/ActiveRecord-JDBC.
|
65
|
+
test_files: []
|
55
66
|
|
Binary file
|