jdbc-derby 10.6.2.1 → 10.8.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.txt +1 -1
- data/Rakefile +15 -27
- data/lib/{derby-10.6.2.1.jar → derby-10.8.2.2.jar} +0 -0
- data/lib/jdbc/derby.rb +15 -5
- metadata +40 -71
- data/Manifest.txt +0 -7
data/README.txt
CHANGED
data/Rakefile
CHANGED
@@ -1,30 +1,18 @@
|
|
1
|
-
|
1
|
+
require 'bundler/gem_helper'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
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}"
|
6
7
|
end
|
7
|
-
Rake::Task['manifest'].invoke # Always regen manifest, so Hoe has up-to-date list of files
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
p.url = "http://jruby-extras.rubyforge.org/ActiveRecord-JDBC"
|
20
|
-
p.author = "Nick Sieger, Ola Bini and JRuby contributors"
|
21
|
-
p.email = "nick@nicksieger.com, ola.bini@gmail.com"
|
22
|
-
p.summary = "Derby/JavaDB JDBC driver for Java and Derby/ActiveRecord-JDBC."
|
23
|
-
p.changes = "Updated to Derby version #{Jdbc::Derby::VERSION}."
|
24
|
-
p.description = "Install this gem and require 'derby' within JRuby to load the driver."
|
25
|
-
end.spec.dependencies.delete_if { |dep| dep.name == "hoe" }
|
26
|
-
rescue LoadError
|
27
|
-
puts "You really need Hoe installed to be able to package this gem"
|
28
|
-
rescue => e
|
29
|
-
puts "ignoring error while loading hoe: #{e.to_s}"
|
30
|
-
end
|
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 }
|
Binary file
|
data/lib/jdbc/derby.rb
CHANGED
@@ -1,11 +1,21 @@
|
|
1
1
|
module Jdbc
|
2
2
|
module Derby
|
3
|
-
VERSION = "10.
|
3
|
+
VERSION = "10.8.2.2"
|
4
|
+
|
5
|
+
def self.driver_jar
|
6
|
+
"derby-#{VERSION}.jar"
|
7
|
+
end
|
8
|
+
|
9
|
+
def self.load_driver(method = :load)
|
10
|
+
send method, driver_jar
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.driver_name
|
14
|
+
'org.apache.derby.jdbc.EmbeddedDriver'
|
15
|
+
end
|
4
16
|
end
|
5
17
|
end
|
6
18
|
|
7
|
-
if
|
8
|
-
|
9
|
-
else
|
10
|
-
warn "jdbc-derby is only for use with JRuby"
|
19
|
+
if $VERBOSE && (JRUBY_VERSION.nil? rescue true)
|
20
|
+
warn "Jdbc-Derby is only for use with JRuby"
|
11
21
|
end
|
metadata
CHANGED
@@ -1,87 +1,56 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: jdbc-derby
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 10
|
7
|
-
- 6
|
8
|
-
- 2
|
9
|
-
- 1
|
10
|
-
version: 10.6.2.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 10.8.2.2
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
13
|
-
|
14
|
-
autorequire:
|
7
|
+
authors:
|
8
|
+
- Nick Sieger, Ola Bini and JRuby contributors
|
9
|
+
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
default_executable:
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
name: rubyforge
|
23
|
-
prerelease: false
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
segments:
|
30
|
-
- 2
|
31
|
-
- 0
|
32
|
-
- 4
|
33
|
-
version: 2.0.4
|
34
|
-
type: :development
|
35
|
-
version_requirements: *id001
|
12
|
+
date: 2010-10-12 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
36
14
|
description: Install this gem and require 'derby' within JRuby to load the driver.
|
37
15
|
email: nick@nicksieger.com, ola.bini@gmail.com
|
38
16
|
executables: []
|
39
|
-
|
40
17
|
extensions: []
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
- README.txt
|
50
|
-
- LICENSE.txt
|
51
|
-
- lib/derby-10.6.2.1.jar
|
52
|
-
- lib/jdbc/derby.rb
|
53
|
-
has_rdoc: true
|
54
|
-
homepage: http://jruby-extras.rubyforge.org/ActiveRecord-JDBC
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- Rakefile
|
21
|
+
- README.txt
|
22
|
+
- LICENSE.txt
|
23
|
+
- lib/derby-10.8.2.2.jar
|
24
|
+
- lib/jdbc/derby.rb
|
25
|
+
homepage: https://github.com/jruby/activerecord-jdbc-adapter
|
55
26
|
licenses: []
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
27
|
+
post_install_message:
|
28
|
+
rdoc_options:
|
29
|
+
- --main
|
30
|
+
- README.txt
|
31
|
+
require_paths:
|
32
|
+
- lib
|
33
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
segments:
|
38
|
+
- 0
|
39
|
+
hash: 2
|
40
|
+
version: !binary |-
|
41
|
+
MA==
|
64
42
|
none: false
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: !binary |-
|
48
|
+
MA==
|
72
49
|
none: false
|
73
|
-
requirements:
|
74
|
-
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
segments:
|
77
|
-
- 0
|
78
|
-
version: "0"
|
79
50
|
requirements: []
|
80
|
-
|
81
51
|
rubyforge_project: jruby-extras
|
82
|
-
rubygems_version: 1.
|
83
|
-
signing_key:
|
52
|
+
rubygems_version: 1.8.24
|
53
|
+
signing_key:
|
84
54
|
specification_version: 3
|
85
55
|
summary: Derby/JavaDB JDBC driver for Java and Derby/ActiveRecord-JDBC.
|
86
56
|
test_files: []
|
87
|
-
|