jdbc-derby 10.2.2.0

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/LICENSE.txt ADDED
@@ -0,0 +1 @@
1
+ This gem bundles the Apache Derby database. Derby is available under the terms of the Apache Software License, version 2.0. See http://www.apache.org/licenses/LICENSE-2.0.txt for details.
data/Manifest.txt ADDED
@@ -0,0 +1,7 @@
1
+ Manifest.txt
2
+ Rakefile
3
+ README.txt
4
+ LICENSE.txt
5
+ lib/derby-10.2.2.0.jar
6
+ lib/jdbc
7
+ lib/jdbc/derby.rb
data/README.txt ADDED
@@ -0,0 +1,6 @@
1
+ This is a Derby JDBC driver gem for JRuby. Use
2
+
3
+ require 'jdbc/derby'
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/derby"
11
+ begin
12
+ require 'hoe'
13
+ Hoe.new("jdbc-derby", Jdbc::Derby::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 = "Derby/JavaDB JDBC driver for Java and Derby/ActiveRecord-JDBC."
19
+ p.changes = "Updated to Derby version #{Jdbc::Derby::VERSION}."
20
+ p.description = "Install this gem and require 'derby' 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
Binary file
data/lib/jdbc/derby.rb ADDED
@@ -0,0 +1,11 @@
1
+ module Jdbc
2
+ module Derby
3
+ VERSION = "10.2.2.0"
4
+ end
5
+ end
6
+
7
+ if RUBY_PLATFORM =~ /java/
8
+ require "derby-#{Jdbc::Derby::VERSION}.jar"
9
+ else
10
+ warn "jdbc-derby is only for use with JRuby"
11
+ 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-derby
5
+ version: !ruby/object:Gem::Version
6
+ version: 10.2.2.0
7
+ date: 2007-11-05 00:00:00 -06:00
8
+ summary: Derby/JavaDB JDBC driver for Java and Derby/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 'derby' 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/derby-10.2.2.0.jar
37
+ - lib/jdbc
38
+ - lib/jdbc/derby.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
+