activerecord-jdbcmysql-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/jdbcmysql_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/mysql/lib"
|
11
11
|
require "jdbc/mysql"
|
12
12
|
|
@@ -14,7 +14,7 @@ begin
|
|
14
14
|
require 'hoe'
|
15
15
|
Hoe.plugin :gemcutter
|
16
16
|
hoe = Hoe.spec("activerecord-jdbcmysql-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 MySQL version #{Jdbc::MySQL::VERSION}."
|
25
25
|
p.description = "Install this gem to use MySQL with JRuby on Rails."
|
26
26
|
p.extra_deps += [
|
27
|
-
['activerecord-jdbc-adapter', "= #{
|
27
|
+
['activerecord-jdbc-adapter', "= #{ArJdbc::Version::VERSION}"],
|
28
28
|
['jdbc-mysql', ">= #{Jdbc::MySQL::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/mysql"
|
14
|
-
rescue LoadError
|
15
|
-
raise if tried_gem
|
16
|
-
require 'rubygems'
|
17
|
-
gem "jdbc-mysql"
|
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 :jdbcmysql_connection, :mysql_connection
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
1
|
+
require 'arjdbc/mysql'
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-jdbcmysql-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
|
@@ -99,11 +101,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
99
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
102
|
none: false
|
101
103
|
requirements:
|
102
|
-
- - "
|
104
|
+
- - ">"
|
103
105
|
- !ruby/object:Gem::Version
|
104
106
|
segments:
|
105
|
-
-
|
106
|
-
|
107
|
+
- 1
|
108
|
+
- 3
|
109
|
+
- 1
|
110
|
+
version: 1.3.1
|
107
111
|
requirements: []
|
108
112
|
|
109
113
|
rubyforge_project: jruby-extras
|