activerecord-jdbcderby-adapter 0.9.7-java → 1.0.0.beta1-java
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +3 -3
- data/lib/active_record/connection_adapters/jdbcderby_adapter.rb +1 -30
- metadata +15 -11
data/Rakefile
CHANGED
@@ -6,7 +6,7 @@ task :manifest do
|
|
6
6
|
end
|
7
7
|
Rake::Task['manifest'].invoke
|
8
8
|
|
9
|
-
require File.dirname(__FILE__) + "/../../lib/
|
9
|
+
require File.dirname(__FILE__) + "/../../lib/arjdbc/version"
|
10
10
|
$LOAD_PATH << File.dirname(__FILE__) + "/../../drivers/derby/lib"
|
11
11
|
require "jdbc/derby"
|
12
12
|
|
@@ -14,7 +14,7 @@ begin
|
|
14
14
|
require 'hoe'
|
15
15
|
Hoe.plugin :gemcutter
|
16
16
|
hoe = Hoe.spec("activerecord-jdbcderby-adapter") do |p|
|
17
|
-
p.version =
|
17
|
+
p.version = ArJdbc::Version::VERSION
|
18
18
|
p.spec_extras[:platform] = Gem::Platform.new("java")
|
19
19
|
p.rubyforge_name = "jruby-extras"
|
20
20
|
p.url = "http://jruby-extras.rubyforge.org/ActiveRecord-JDBC"
|
@@ -24,7 +24,7 @@ begin
|
|
24
24
|
p.changes = "Updated to Derby version #{Jdbc::Derby::VERSION}."
|
25
25
|
p.description = "Install this gem to use Derby with JRuby on Rails."
|
26
26
|
p.extra_deps += [
|
27
|
-
['activerecord-jdbc-adapter', "= #{
|
27
|
+
['activerecord-jdbc-adapter', "= #{ArJdbc::Version::VERSION}"],
|
28
28
|
['jdbc-derby', ">= #{Jdbc::Derby::VERSION}"]]
|
29
29
|
end
|
30
30
|
task :gemspec do
|
@@ -1,30 +1 @@
|
|
1
|
-
|
2
|
-
begin
|
3
|
-
require "jdbc_adapter"
|
4
|
-
rescue LoadError
|
5
|
-
raise if tried_gem
|
6
|
-
require 'rubygems'
|
7
|
-
gem "activerecord-jdbc-adapter"
|
8
|
-
tried_gem = true
|
9
|
-
retry
|
10
|
-
end
|
11
|
-
tried_gem = false
|
12
|
-
begin
|
13
|
-
require "jdbc/derby"
|
14
|
-
rescue LoadError
|
15
|
-
raise if tried_gem
|
16
|
-
require 'rubygems'
|
17
|
-
gem "jdbc-derby"
|
18
|
-
tried_gem = true
|
19
|
-
retry
|
20
|
-
end
|
21
|
-
|
22
|
-
require 'active_record/connection_adapters/jdbc_adapter'
|
23
|
-
|
24
|
-
module ActiveRecord
|
25
|
-
class Base
|
26
|
-
class << self
|
27
|
-
alias_method :jdbcderby_connection, :derby_connection
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
1
|
+
require 'arjdbc/derby'
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-jdbcderby-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
4
|
+
prerelease: true
|
5
5
|
segments:
|
6
|
+
- 1
|
6
7
|
- 0
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 0.
|
8
|
+
- 0
|
9
|
+
- beta1
|
10
|
+
version: 1.0.0.beta1
|
10
11
|
platform: java
|
11
12
|
authors:
|
12
13
|
- Nick Sieger, Ola Bini and JRuby contributors
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-
|
18
|
+
date: 2010-07-20 00:00:00 -05:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
@@ -26,10 +27,11 @@ dependencies:
|
|
26
27
|
- - "="
|
27
28
|
- !ruby/object:Gem::Version
|
28
29
|
segments:
|
30
|
+
- 1
|
31
|
+
- 0
|
29
32
|
- 0
|
30
|
-
-
|
31
|
-
|
32
|
-
version: 0.9.7
|
33
|
+
- beta1
|
34
|
+
version: 1.0.0.beta1
|
33
35
|
type: :runtime
|
34
36
|
version_requirements: *id001
|
35
37
|
- !ruby/object:Gem::Dependency
|
@@ -100,11 +102,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
100
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
103
|
none: false
|
102
104
|
requirements:
|
103
|
-
- - "
|
105
|
+
- - ">"
|
104
106
|
- !ruby/object:Gem::Version
|
105
107
|
segments:
|
106
|
-
-
|
107
|
-
|
108
|
+
- 1
|
109
|
+
- 3
|
110
|
+
- 1
|
111
|
+
version: 1.3.1
|
108
112
|
requirements: []
|
109
113
|
|
110
114
|
rubyforge_project: jruby-extras
|