jdbc-h2 1.0.63

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE.txt ADDED
@@ -0,0 +1,2 @@
1
+ This gem bundles the H2 driver for Java. H2 is available under the terms of the H2 license, see http://www.h2database.com/html/license.html for details.
2
+
data/Manifest.txt ADDED
@@ -0,0 +1,7 @@
1
+ Manifest.txt
2
+ Rakefile
3
+ README.txt
4
+ LICENSE.txt
5
+ lib/h2-1.0.63.jar
6
+ lib/jdbc
7
+ lib/jdbc/h2.rb
data/README.txt ADDED
@@ -0,0 +1,6 @@
1
+ This is a H2 JDBC driver gem for JRuby. Use
2
+
3
+ require 'jdbc/h2'
4
+
5
+ to make the driver accessible to JDBC and ActiveRecord code running in JRuby.
6
+
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/h2"
11
+ begin
12
+ require 'hoe'
13
+ Hoe.new("jdbc-h2", Jdbc::H2::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 = "H2 JDBC driver for Java and H2/ActiveRecord-JDBC."
19
+ p.changes = "Updated to H2 version #{Jdbc::H2::VERSION}."
20
+ p.description = "Install this gem and require 'h2' 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
data/lib/h2-1.0.63.jar ADDED
Binary file
data/lib/jdbc/h2.rb ADDED
@@ -0,0 +1,10 @@
1
+ module Jdbc
2
+ module H2
3
+ VERSION = "1.0.63"
4
+ end
5
+ end
6
+ if RUBY_PLATFORM =~ /java/
7
+ require "h2-#{Jdbc::H2::VERSION}.jar"
8
+ else
9
+ warn "jdbc-h2 is only for use with JRuby"
10
+ end
metadata ADDED
@@ -0,0 +1,55 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.9.4
3
+ specification_version: 1
4
+ name: jdbc-h2
5
+ version: !ruby/object:Gem::Version
6
+ version: 1.0.63
7
+ date: 2007-12-15 00:00:00 -06:00
8
+ summary: H2 JDBC driver for Java and H2/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 'h2' 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/h2-1.0.63.jar
37
+ - lib/jdbc
38
+ - lib/jdbc/h2.rb
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
+