jdbc-postgres 8.2

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE.txt ADDED
@@ -0,0 +1,12 @@
1
+ PostgreSQL Database Management System
2
+ (formerly known as Postgres, then as Postgres95)
3
+
4
+ Portions Copyright (c) 1996-2005, The PostgreSQL Global Development Group
5
+
6
+ Portions Copyright (c) 1994, The Regents of the University of California
7
+
8
+ Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies.
9
+
10
+ IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
11
+
12
+ THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
data/Manifest.txt ADDED
@@ -0,0 +1,7 @@
1
+ Manifest.txt
2
+ Rakefile
3
+ README.txt
4
+ LICENSE.txt
5
+ lib/jdbc
6
+ lib/jdbc/postgres.rb
7
+ lib/postgresql-8.2-504.jdbc3.jar
data/README.txt ADDED
@@ -0,0 +1,5 @@
1
+ This is a Postgres JDBC driver gem for JRuby. Use
2
+
3
+ require 'jdbc/postgres'
4
+
5
+ to make the driver accessible to JDBC and ActiveRecord code running in JRuby.
data/Rakefile ADDED
@@ -0,0 +1,26 @@
1
+ MANIFEST = FileList["Manifest.txt", "Rakefile", "README.txt", "LICENSE.txt", "lib/**/*"]
2
+
3
+ file "Manifest.txt" => :manifest
4
+ task :manifest do
5
+ File.open("Manifest.txt", "w") {|f| MANIFEST.each {|n| f << "#{n}\n"} }
6
+ end
7
+ Rake::Task['manifest'].invoke # Always regen manifest, so Hoe has up-to-date list of files
8
+
9
+ $LOAD_PATH << "lib"
10
+ require "jdbc/postgres"
11
+ begin
12
+ require 'hoe'
13
+ Hoe.new("jdbc-postgres", Jdbc::Postgres::VERSION) do |p|
14
+ p.rubyforge_name = "jruby-extras"
15
+ p.url = "http://jruby-extras.rubyforge.org/ActiveRecord-JDBC"
16
+ p.author = "Nick Sieger, Ola Bini and JRuby contributors"
17
+ p.email = "nick@nicksieger.com, ola.bini@gmail.com"
18
+ p.summary = "PostgreSQL JDBC driver for Java and PostgreSQL/ActiveRecord-JDBC."
19
+ p.changes = "Updated to PostgreSQL version #{Jdbc::Postgres::VERSION}."
20
+ p.description = "Install this gem and require 'postgres' within JRuby to load the driver."
21
+ end.spec.dependencies.delete_if { |dep| dep.name == "hoe" }
22
+ rescue LoadError
23
+ puts "You really need Hoe installed to be able to package this gem"
24
+ rescue => e
25
+ puts "ignoring error while loading hoe: #{e.to_s}"
26
+ end
@@ -0,0 +1,10 @@
1
+ module Jdbc
2
+ module Postgres
3
+ VERSION = "8.2"
4
+ end
5
+ end
6
+ if RUBY_PLATFORM =~ /java/
7
+ require "postgresql-#{Jdbc::Postgres::VERSION}-504.jdbc3.jar"
8
+ else
9
+ warn "jdbc-postgres is only for use with JRuby"
10
+ end
Binary file
metadata ADDED
@@ -0,0 +1,55 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.9.4
3
+ specification_version: 1
4
+ name: jdbc-postgres
5
+ version: !ruby/object:Gem::Version
6
+ version: "8.2"
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:
25
+ platform: ruby
26
+ signing_key:
27
+ cert_chain:
28
+ post_install_message:
29
+ authors:
30
+ - Nick Sieger, Ola Bini and JRuby contributors
31
+ files:
32
+ - Manifest.txt
33
+ - Rakefile
34
+ - README.txt
35
+ - LICENSE.txt
36
+ - lib/jdbc
37
+ - lib/jdbc/postgres.rb
38
+ - lib/postgresql-8.2-504.jdbc3.jar
39
+ test_files: []
40
+
41
+ rdoc_options:
42
+ - --main
43
+ - README.txt
44
+ extra_rdoc_files:
45
+ - Manifest.txt
46
+ - README.txt
47
+ - LICENSE.txt
48
+ executables: []
49
+
50
+ extensions: []
51
+
52
+ requirements: []
53
+
54
+ dependencies: []
55
+