jdbc-postgres 9.1.901 → 9.2.1002
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/History.txt +13 -0
- data/Rakefile +18 -2
- data/lib/jdbc/postgres.rb +17 -10
- data/lib/postgresql-9.2-1002.jdbc3.jar +0 -0
- data/lib/postgresql-9.2-1002.jdbc4.jar +0 -0
- metadata +39 -45
- data/lib/postgresql-9.1-901.jdbc3.jar +0 -0
- data/lib/postgresql-9.1-901.jdbc4.jar +0 -0
data/History.txt
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
=== 9.2.1002
|
2
|
+
* Upgraded to 9.2-1002 drivers (still compatible with PostgreSQL 7.2+).
|
3
|
+
* 9.2 supports hstore among others
|
4
|
+
|
5
|
+
See PostgreSQL JDBC {Change Log}[http://jdbc.postgresql.org/changes.html#version_9.2-1002].
|
6
|
+
First 9.2 release: {9.2-1000}[http://jdbc.postgresql.org/changes.html#version_9.2-1000].
|
7
|
+
|
8
|
+
=== 9.1.903
|
9
|
+
* Upgraded to 9.1-903 drivers (still compatible with PostgreSQL 7.2+).
|
10
|
+
|
11
|
+
See PostgreSQL JDBC {Change Log}[http://jdbc.postgresql.org/changes.html#version_9.1-903].
|
12
|
+
Though change logging has been a bit spotty of late.
|
13
|
+
|
1
14
|
=== 9.1.901
|
2
15
|
* Upgraded to 9.1-901 drivers (still compatible with PostgreSQL 7.2+).
|
3
16
|
|
data/Rakefile
CHANGED
@@ -1,2 +1,18 @@
|
|
1
|
-
require 'bundler'
|
2
|
-
|
1
|
+
require 'bundler/gem_helper'
|
2
|
+
|
3
|
+
name = Dir["*.gemspec"].first.sub('.gemspec', '')
|
4
|
+
gem_helper = Bundler::GemHelper.new(Dir.pwd, name)
|
5
|
+
def gem_helper.version_tag
|
6
|
+
"#{name}-#{version}" # override "v#{version}"
|
7
|
+
end
|
8
|
+
|
9
|
+
version = gem_helper.send(:version)
|
10
|
+
version_tag = gem_helper.version_tag
|
11
|
+
desc "Build #{name}-#{version}.gem into the pkg directory"
|
12
|
+
task('build') { gem_helper.build_gem }
|
13
|
+
|
14
|
+
desc "Build and install #{name}-#{version}.gem into system gems"
|
15
|
+
task('install') { gem_helper.install_gem }
|
16
|
+
|
17
|
+
desc "Create tag #{version_tag} build and push #{name}-#{version}.gem to Rubygems"
|
18
|
+
task('release') { gem_helper.release_gem }
|
data/lib/jdbc/postgres.rb
CHANGED
@@ -1,25 +1,32 @@
|
|
1
1
|
module Jdbc
|
2
2
|
module Postgres
|
3
|
-
VERSION = "9.
|
3
|
+
VERSION = "9.2.1002"
|
4
4
|
|
5
|
-
def self.
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
def self.driver_jar
|
6
|
+
version_jdbc_version = VERSION.split( '.' )
|
7
|
+
version_jdbc_version << jdbc_version
|
8
|
+
'postgresql-%s.%s-%s.jdbc%d.jar' % version_jdbc_version
|
9
9
|
end
|
10
10
|
|
11
|
+
def self.load_driver(method = :load)
|
12
|
+
send method, driver_jar
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.driver_name
|
16
|
+
'org.postgresql.Driver'
|
17
|
+
end
|
18
|
+
|
19
|
+
private
|
20
|
+
|
11
21
|
# JDBC version 4 if Java >=1.6, else 3
|
12
22
|
def self.jdbc_version
|
13
23
|
vers = Java::java.lang.System::get_property( "java.specification.version" )
|
14
24
|
vers = vers.split( '.' ).map { |v| v.to_i }
|
15
25
|
( ( vers <=> [ 1, 6 ] ) >= 0 ) ? 4 : 3
|
16
26
|
end
|
17
|
-
|
18
27
|
end
|
19
28
|
end
|
20
29
|
|
21
|
-
if
|
22
|
-
Jdbc
|
23
|
-
elsif $VERBOSE
|
24
|
-
warn "jdbc-postgres is only for use with JRuby"
|
30
|
+
if $VERBOSE && (JRUBY_VERSION.nil? rescue true)
|
31
|
+
warn "Jdbc-Postgres is only for use with JRuby"
|
25
32
|
end
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,64 +1,58 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: jdbc-postgres
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 9.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 9.2.1002
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
|
9
|
-
autorequire:
|
7
|
+
authors:
|
8
|
+
- Nick Sieger, Ola Bini and JRuby contributors
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
date: 2010-12-15 00:00:00 Z
|
12
|
+
date: 2010-12-15 00:00:00.000000000 Z
|
14
13
|
dependencies: []
|
15
|
-
|
16
14
|
description: Install this gem and require 'postgres' within JRuby to load the driver.
|
17
15
|
email: nick@nicksieger.com, ola.bini@gmail.com
|
18
16
|
executables: []
|
19
|
-
|
20
17
|
extensions: []
|
21
|
-
|
22
18
|
extra_rdoc_files: []
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
- lib/jdbc/postgres.rb
|
19
|
+
files:
|
20
|
+
- History.txt
|
21
|
+
- LICENSE.txt
|
22
|
+
- README.txt
|
23
|
+
- Rakefile
|
24
|
+
- lib/postgresql-9.2-1002.jdbc3.jar
|
25
|
+
- lib/postgresql-9.2-1002.jdbc4.jar
|
26
|
+
- lib/jdbc/postgres.rb
|
32
27
|
homepage: https://github.com/jruby/activerecord-jdbc-adapter
|
33
28
|
licenses: []
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
29
|
+
post_install_message:
|
30
|
+
rdoc_options:
|
31
|
+
- --main
|
32
|
+
- README.txt
|
33
|
+
require_paths:
|
34
|
+
- lib
|
35
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ! '>='
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
segments:
|
40
|
+
- 0
|
41
|
+
hash: 2
|
42
|
+
version: !binary |-
|
43
|
+
MA==
|
42
44
|
none: false
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
version: "0"
|
50
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
45
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ! '>='
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: !binary |-
|
50
|
+
MA==
|
51
51
|
none: false
|
52
|
-
requirements:
|
53
|
-
- - ">="
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: "0"
|
56
52
|
requirements: []
|
57
|
-
|
58
53
|
rubyforge_project: jruby-extras
|
59
|
-
rubygems_version: 1.8.
|
60
|
-
signing_key:
|
54
|
+
rubygems_version: 1.8.24
|
55
|
+
signing_key:
|
61
56
|
specification_version: 3
|
62
57
|
summary: PostgreSQL JDBC driver for Java and PostgreSQL/ActiveRecord-JDBC.
|
63
58
|
test_files: []
|
64
|
-
|
Binary file
|
Binary file
|