activerecord-jdbc-adapter 1.1.3 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +22 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +42 -0
- data/History.txt +10 -3
- data/{README.txt → README.rdoc} +30 -14
- data/Rakefile +49 -0
- data/activerecord-jdbc-adapter.gemspec +23 -0
- data/bench/bench_attributes.rb +13 -0
- data/bench/bench_attributes_new.rb +14 -0
- data/bench/bench_create.rb +12 -0
- data/bench/bench_find_all.rb +12 -0
- data/bench/bench_find_all_mt.rb +25 -0
- data/bench/bench_model.rb +85 -0
- data/bench/bench_new.rb +12 -0
- data/bench/bench_new_valid.rb +12 -0
- data/bench/bench_valid.rb +13 -0
- data/lib/activerecord-jdbc-adapter.rb +1 -1
- data/lib/arel/visitors/derby.rb +5 -1
- data/lib/arjdbc.rb +12 -17
- data/lib/arjdbc/db2/adapter.rb +91 -4
- data/lib/arjdbc/derby/adapter.rb +8 -8
- data/lib/arjdbc/derby/connection_methods.rb +1 -0
- data/lib/arjdbc/firebird/adapter.rb +4 -4
- data/lib/arjdbc/h2/adapter.rb +3 -2
- data/lib/arjdbc/h2/connection_methods.rb +1 -0
- data/lib/arjdbc/hsqldb/adapter.rb +5 -2
- data/lib/arjdbc/hsqldb/connection_methods.rb +1 -0
- data/lib/arjdbc/informix/adapter.rb +2 -2
- data/lib/arjdbc/informix/connection_methods.rb +1 -0
- data/lib/arjdbc/jdbc/adapter.rb +92 -22
- data/lib/arjdbc/jdbc/adapter_java.jar +0 -0
- data/lib/arjdbc/mimer/adapter.rb +4 -4
- data/lib/arjdbc/mssql/adapter.rb +10 -8
- data/lib/arjdbc/mssql/connection_methods.rb +1 -0
- data/lib/arjdbc/mssql/limit_helpers.rb +7 -4
- data/lib/arjdbc/mysql/adapter.rb +30 -6
- data/lib/arjdbc/mysql/connection_methods.rb +1 -0
- data/lib/arjdbc/oracle/adapter.rb +15 -12
- data/lib/arjdbc/oracle/connection_methods.rb +1 -0
- data/lib/arjdbc/postgresql/adapter.rb +35 -16
- data/lib/arjdbc/postgresql/connection_methods.rb +1 -0
- data/lib/arjdbc/sqlite3/adapter.rb +13 -10
- data/lib/arjdbc/sqlite3/connection_methods.rb +1 -0
- data/lib/arjdbc/version.rb +1 -1
- data/lib/generators/jdbc/USAGE +10 -0
- data/pom.xml +57 -0
- data/rakelib/rails.rake +1 -1
- data/rakelib/test.rake +20 -6
- data/src/java/arjdbc/jdbc/RubyJdbcConnection.java +4 -1
- data/src/java/arjdbc/jdbc/SQLBlock.java +1 -1
- data/src/java/arjdbc/mysql/MySQLRubyJdbcConnection.java +74 -0
- data/test/abstract_db_create.rb +8 -1
- data/test/activerecord/jall.sh +7 -0
- data/test/activerecord/jtest.sh +3 -0
- data/test/jdbc_common.rb +6 -4
- data/test/models/data_types.rb +1 -1
- data/test/models/string_id.rb +2 -0
- data/test/models/thing.rb +16 -0
- data/test/mysql_index_length_test.rb +58 -0
- data/test/mysql_info_test.rb +3 -3
- data/test/postgres_db_create_test.rb +1 -1
- data/test/simple.rb +11 -3
- data/test/sqlite3_simple_test.rb +16 -2
- metadata +167 -108
- data/.gemtest +0 -0
- data/Manifest.txt +0 -187
- data/rakelib/package.rake +0 -92
- data/test/pick_rails_version.rb +0 -3
data/test/mysql_info_test.rb
CHANGED
@@ -79,14 +79,14 @@ class MysqlInfoTest < Test::Unit::TestCase
|
|
79
79
|
strio = StringIO.new
|
80
80
|
ActiveRecord::SchemaDumper::dump(@connection, strio)
|
81
81
|
dump = strio.string
|
82
|
-
dump.grep(/datetime/).each {|line| assert line !~ /limit/ }
|
82
|
+
dump.lines.grep(/datetime/).each {|line| assert line !~ /limit/ }
|
83
83
|
end
|
84
84
|
|
85
85
|
def test_schema_dump_should_not_have_limits_on_date
|
86
86
|
strio = StringIO.new
|
87
87
|
ActiveRecord::SchemaDumper::dump(@connection, strio)
|
88
88
|
dump = strio.string
|
89
|
-
dump.grep(/date/).each {|line| assert line !~ /limit/ }
|
89
|
+
dump.lines.grep(/date/).each {|line| assert line !~ /limit/ }
|
90
90
|
end
|
91
91
|
|
92
92
|
def test_should_include_limit
|
@@ -116,7 +116,7 @@ class MysqlInfoTest < Test::Unit::TestCase
|
|
116
116
|
strio = StringIO.new
|
117
117
|
ActiveRecord::SchemaDumper.dump(@connection, strio)
|
118
118
|
dump_lines = strio.string
|
119
|
-
assert_nil dump_lines.
|
119
|
+
assert_nil dump_lines.lines.detect {|l| l =~ /\.(float|date|datetime|integer|time|timestamp) .* :limit/ && l !~ /sample_integer/ }
|
120
120
|
ensure
|
121
121
|
DbTypeMigration.down
|
122
122
|
end
|
@@ -27,6 +27,6 @@ class PostgresDbCreateTest < Test::Unit::TestCase
|
|
27
27
|
def test_rake_db_create_does_not_load_full_environment
|
28
28
|
Rake::Task["db:create"].invoke
|
29
29
|
assert @rails_env_set
|
30
|
-
assert !@full_environment_loaded
|
30
|
+
assert !defined?(@full_environment_loaded) || !@full_environment_loaded
|
31
31
|
end
|
32
32
|
end
|
data/test/simple.rb
CHANGED
@@ -13,7 +13,7 @@ module MigrationSetup
|
|
13
13
|
CreateUsers.up
|
14
14
|
CreateAutoIds.up
|
15
15
|
CreateValidatesUniquenessOf.up
|
16
|
-
|
16
|
+
CreateThings.up
|
17
17
|
@connection = ActiveRecord::Base.connection
|
18
18
|
end
|
19
19
|
|
@@ -24,6 +24,7 @@ module MigrationSetup
|
|
24
24
|
CreateUsers.down
|
25
25
|
CreateAutoIds.down
|
26
26
|
CreateValidatesUniquenessOf.down
|
27
|
+
CreateThings.down
|
27
28
|
ActiveRecord::Base.clear_active_connections!
|
28
29
|
end
|
29
30
|
end
|
@@ -263,8 +264,8 @@ module SimpleTestMethods
|
|
263
264
|
end
|
264
265
|
|
265
266
|
def test_negative_default_value
|
266
|
-
assert_equal
|
267
|
-
assert_equal
|
267
|
+
assert_equal(-1, DbType.columns_hash['sample_integer_neg_default'].default)
|
268
|
+
assert_equal(-1, DbType.new.sample_integer_neg_default)
|
268
269
|
end
|
269
270
|
|
270
271
|
def test_indexes
|
@@ -463,6 +464,13 @@ module SimpleTestMethods
|
|
463
464
|
f = StringId.first #reload is essential
|
464
465
|
assert_equal "some_string", f.id
|
465
466
|
end
|
467
|
+
|
468
|
+
def test_model_with_no_id
|
469
|
+
assert_nothing_raised do
|
470
|
+
Thing.create! :name => "a thing"
|
471
|
+
end
|
472
|
+
assert_equal 1, Thing.find(:all).size
|
473
|
+
end
|
466
474
|
end
|
467
475
|
|
468
476
|
module MultibyteTestMethods
|
data/test/sqlite3_simple_test.rb
CHANGED
@@ -11,7 +11,7 @@ class SQLite3SimpleTest < Test::Unit::TestCase
|
|
11
11
|
assert @connection.tables.include?(Entry.table_name)
|
12
12
|
db = @connection.database_name
|
13
13
|
@connection.recreate_database(db)
|
14
|
-
assert
|
14
|
+
assert !@connection.tables.include?(Entry.table_name)
|
15
15
|
self.setup # avoid teardown complaining
|
16
16
|
end
|
17
17
|
|
@@ -30,7 +30,7 @@ class SQLite3SimpleTest < Test::Unit::TestCase
|
|
30
30
|
|
31
31
|
def test_columns
|
32
32
|
cols = ActiveRecord::Base.connection.columns("entries")
|
33
|
-
assert cols.find {|col| col.name == "title"}
|
33
|
+
assert cols.find {|col| col.name == "title"}
|
34
34
|
end
|
35
35
|
|
36
36
|
def test_remove_column
|
@@ -125,6 +125,20 @@ class SQLite3SimpleTest < Test::Unit::TestCase
|
|
125
125
|
assert_equal ["name"], indexes.first.columns
|
126
126
|
end
|
127
127
|
|
128
|
+
def test_column_default
|
129
|
+
assert_nothing_raised do
|
130
|
+
ActiveRecord::Schema.define do
|
131
|
+
add_column "entries", "test_column_default", :string
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
cols = ActiveRecord::Base.connection.columns("entries")
|
136
|
+
col = cols.find{|col| col.name == "test_column_default"}
|
137
|
+
assert col
|
138
|
+
assert_equal col.default, nil
|
139
|
+
|
140
|
+
end
|
141
|
+
|
128
142
|
def test_change_column_default
|
129
143
|
assert_nothing_raised do
|
130
144
|
ActiveRecord::Schema.define do
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: activerecord-jdbc-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.
|
5
|
+
version: 1.2.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Nick Sieger, Ola Bini and JRuby contributors
|
@@ -10,33 +10,11 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
14
|
-
|
15
|
-
|
16
|
-
- !ruby/object:Gem::Dependency
|
17
|
-
name: rubyforge
|
18
|
-
prerelease: false
|
19
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
20
|
-
none: false
|
21
|
-
requirements:
|
22
|
-
- - ">="
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: 2.0.4
|
25
|
-
type: :development
|
26
|
-
version_requirements: *id001
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: hoe
|
29
|
-
prerelease: false
|
30
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
31
|
-
none: false
|
32
|
-
requirements:
|
33
|
-
- - ">="
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version: 2.9.4
|
36
|
-
type: :development
|
37
|
-
version_requirements: *id002
|
13
|
+
date: 2011-09-13 00:00:00 Z
|
14
|
+
dependencies: []
|
15
|
+
|
38
16
|
description: |-
|
39
|
-
activerecord-jdbc-adapter is a database adapter for Rails' ActiveRecord
|
17
|
+
activerecord-jdbc-adapter is a database adapter for Rails\' ActiveRecord
|
40
18
|
component that can be used with JRuby[http://www.jruby.org/]. It allows use of
|
41
19
|
virtually any JDBC-compliant database with your JRuby on Rails application.
|
42
20
|
email: nick@nicksieger.com, ola.bini@gmail.com
|
@@ -44,21 +22,26 @@ executables: []
|
|
44
22
|
|
45
23
|
extensions: []
|
46
24
|
|
47
|
-
extra_rdoc_files:
|
48
|
-
|
49
|
-
- Manifest.txt
|
50
|
-
- README.txt
|
51
|
-
- LICENSE.txt
|
25
|
+
extra_rdoc_files: []
|
26
|
+
|
52
27
|
files:
|
28
|
+
- .gitignore
|
29
|
+
- Gemfile
|
30
|
+
- Gemfile.lock
|
53
31
|
- History.txt
|
54
|
-
- Manifest.txt
|
55
|
-
- README.txt
|
56
|
-
- Rakefile
|
57
32
|
- LICENSE.txt
|
58
|
-
-
|
59
|
-
-
|
60
|
-
-
|
61
|
-
-
|
33
|
+
- README.rdoc
|
34
|
+
- Rakefile
|
35
|
+
- activerecord-jdbc-adapter.gemspec
|
36
|
+
- bench/bench_attributes.rb
|
37
|
+
- bench/bench_attributes_new.rb
|
38
|
+
- bench/bench_create.rb
|
39
|
+
- bench/bench_find_all.rb
|
40
|
+
- bench/bench_find_all_mt.rb
|
41
|
+
- bench/bench_model.rb
|
42
|
+
- bench/bench_new.rb
|
43
|
+
- bench/bench_new_valid.rb
|
44
|
+
- bench/bench_valid.rb
|
62
45
|
- lib/active_record/connection_adapters/derby_adapter.rb
|
63
46
|
- lib/active_record/connection_adapters/h2_adapter.rb
|
64
47
|
- lib/active_record/connection_adapters/hsqldb_adapter.rb
|
@@ -71,6 +54,7 @@ files:
|
|
71
54
|
- lib/active_record/connection_adapters/oracle_adapter.rb
|
72
55
|
- lib/active_record/connection_adapters/postgresql_adapter.rb
|
73
56
|
- lib/active_record/connection_adapters/sqlite3_adapter.rb
|
57
|
+
- lib/activerecord-jdbc-adapter.rb
|
74
58
|
- lib/arel/engines/sql/compilers/db2_compiler.rb
|
75
59
|
- lib/arel/engines/sql/compilers/derby_compiler.rb
|
76
60
|
- lib/arel/engines/sql/compilers/h2_compiler.rb
|
@@ -83,33 +67,27 @@ files:
|
|
83
67
|
- lib/arel/visitors/firebird.rb
|
84
68
|
- lib/arel/visitors/hsqldb.rb
|
85
69
|
- lib/arel/visitors/sql_server.rb
|
70
|
+
- lib/arjdbc.rb
|
86
71
|
- lib/arjdbc/db2.rb
|
87
|
-
- lib/arjdbc/derby.rb
|
88
|
-
- lib/arjdbc/discover.rb
|
89
|
-
- lib/arjdbc/firebird.rb
|
90
|
-
- lib/arjdbc/h2.rb
|
91
|
-
- lib/arjdbc/hsqldb.rb
|
92
|
-
- lib/arjdbc/informix.rb
|
93
|
-
- lib/arjdbc/jdbc.rb
|
94
|
-
- lib/arjdbc/mimer.rb
|
95
|
-
- lib/arjdbc/mssql.rb
|
96
|
-
- lib/arjdbc/mysql.rb
|
97
|
-
- lib/arjdbc/oracle.rb
|
98
|
-
- lib/arjdbc/postgresql.rb
|
99
|
-
- lib/arjdbc/sqlite3.rb
|
100
|
-
- lib/arjdbc/sybase.rb
|
101
|
-
- lib/arjdbc/version.rb
|
102
72
|
- lib/arjdbc/db2/adapter.rb
|
73
|
+
- lib/arjdbc/derby.rb
|
103
74
|
- lib/arjdbc/derby/adapter.rb
|
104
75
|
- lib/arjdbc/derby/connection_methods.rb
|
76
|
+
- lib/arjdbc/discover.rb
|
77
|
+
- lib/arjdbc/firebird.rb
|
105
78
|
- lib/arjdbc/firebird/adapter.rb
|
79
|
+
- lib/arjdbc/h2.rb
|
106
80
|
- lib/arjdbc/h2/adapter.rb
|
107
81
|
- lib/arjdbc/h2/connection_methods.rb
|
82
|
+
- lib/arjdbc/hsqldb.rb
|
108
83
|
- lib/arjdbc/hsqldb/adapter.rb
|
109
84
|
- lib/arjdbc/hsqldb/connection_methods.rb
|
85
|
+
- lib/arjdbc/informix.rb
|
110
86
|
- lib/arjdbc/informix/adapter.rb
|
111
87
|
- lib/arjdbc/informix/connection_methods.rb
|
88
|
+
- lib/arjdbc/jdbc.rb
|
112
89
|
- lib/arjdbc/jdbc/adapter.rb
|
90
|
+
- lib/arjdbc/jdbc/adapter_java.jar
|
113
91
|
- lib/arjdbc/jdbc/callbacks.rb
|
114
92
|
- lib/arjdbc/jdbc/column.rb
|
115
93
|
- lib/arjdbc/jdbc/compatibility.rb
|
@@ -120,31 +98,81 @@ files:
|
|
120
98
|
- lib/arjdbc/jdbc/driver.rb
|
121
99
|
- lib/arjdbc/jdbc/extension.rb
|
122
100
|
- lib/arjdbc/jdbc/java.rb
|
101
|
+
- lib/arjdbc/jdbc/jdbc.rake
|
123
102
|
- lib/arjdbc/jdbc/missing_functionality_helper.rb
|
124
103
|
- lib/arjdbc/jdbc/quoted_primary_key.rb
|
125
104
|
- lib/arjdbc/jdbc/railtie.rb
|
126
105
|
- lib/arjdbc/jdbc/rake_tasks.rb
|
127
106
|
- lib/arjdbc/jdbc/require_driver.rb
|
128
107
|
- lib/arjdbc/jdbc/type_converter.rb
|
108
|
+
- lib/arjdbc/mimer.rb
|
129
109
|
- lib/arjdbc/mimer/adapter.rb
|
110
|
+
- lib/arjdbc/mssql.rb
|
130
111
|
- lib/arjdbc/mssql/adapter.rb
|
131
112
|
- lib/arjdbc/mssql/connection_methods.rb
|
132
113
|
- lib/arjdbc/mssql/limit_helpers.rb
|
133
114
|
- lib/arjdbc/mssql/tsql_helper.rb
|
115
|
+
- lib/arjdbc/mysql.rb
|
134
116
|
- lib/arjdbc/mysql/adapter.rb
|
135
117
|
- lib/arjdbc/mysql/connection_methods.rb
|
118
|
+
- lib/arjdbc/oracle.rb
|
136
119
|
- lib/arjdbc/oracle/adapter.rb
|
137
120
|
- lib/arjdbc/oracle/connection_methods.rb
|
121
|
+
- lib/arjdbc/postgresql.rb
|
138
122
|
- lib/arjdbc/postgresql/adapter.rb
|
139
123
|
- lib/arjdbc/postgresql/connection_methods.rb
|
124
|
+
- lib/arjdbc/sqlite3.rb
|
140
125
|
- lib/arjdbc/sqlite3/adapter.rb
|
141
126
|
- lib/arjdbc/sqlite3/connection_methods.rb
|
127
|
+
- lib/arjdbc/sybase.rb
|
142
128
|
- lib/arjdbc/sybase/adapter.rb
|
129
|
+
- lib/arjdbc/version.rb
|
130
|
+
- lib/generators/jdbc/USAGE
|
143
131
|
- lib/generators/jdbc/jdbc_generator.rb
|
132
|
+
- lib/jdbc_adapter.rb
|
144
133
|
- lib/jdbc_adapter/rake_tasks.rb
|
145
134
|
- lib/jdbc_adapter/version.rb
|
146
|
-
- lib/
|
135
|
+
- lib/pg.rb
|
136
|
+
- pom.xml
|
137
|
+
- rails_generators/jdbc_generator.rb
|
138
|
+
- rails_generators/templates/config/initializers/jdbc.rb
|
139
|
+
- rails_generators/templates/lib/tasks/jdbc.rake
|
140
|
+
- rakelib/compile.rake
|
141
|
+
- rakelib/db.rake
|
142
|
+
- rakelib/rails.rake
|
143
|
+
- rakelib/test.rake
|
144
|
+
- src/java/arjdbc/db2/DB2RubyJdbcConnection.java
|
145
|
+
- src/java/arjdbc/derby/DerbyModule.java
|
146
|
+
- src/java/arjdbc/h2/H2RubyJdbcConnection.java
|
147
|
+
- src/java/arjdbc/informix/InformixRubyJdbcConnection.java
|
148
|
+
- src/java/arjdbc/jdbc/AdapterJavaService.java
|
149
|
+
- src/java/arjdbc/jdbc/JdbcConnectionFactory.java
|
150
|
+
- src/java/arjdbc/jdbc/RubyJdbcConnection.java
|
151
|
+
- src/java/arjdbc/jdbc/SQLBlock.java
|
152
|
+
- src/java/arjdbc/mssql/MssqlRubyJdbcConnection.java
|
153
|
+
- src/java/arjdbc/mysql/MySQLModule.java
|
154
|
+
- src/java/arjdbc/mysql/MySQLRubyJdbcConnection.java
|
155
|
+
- src/java/arjdbc/oracle/OracleRubyJdbcConnection.java
|
156
|
+
- src/java/arjdbc/postgresql/PostgresqlRubyJdbcConnection.java
|
157
|
+
- src/java/arjdbc/sqlite3/Sqlite3RubyJdbcConnection.java
|
147
158
|
- test/abstract_db_create.rb
|
159
|
+
- test/activerecord/connection_adapters/type_conversion_test.rb
|
160
|
+
- test/activerecord/connections/native_jdbc_mysql/connection.rb
|
161
|
+
- test/activerecord/jall.sh
|
162
|
+
- test/activerecord/jtest.sh
|
163
|
+
- test/db/db2.rb
|
164
|
+
- test/db/derby.rb
|
165
|
+
- test/db/h2.rb
|
166
|
+
- test/db/hsqldb.rb
|
167
|
+
- test/db/informix.rb
|
168
|
+
- test/db/jdbc.rb
|
169
|
+
- test/db/jndi_config.rb
|
170
|
+
- test/db/logger.rb
|
171
|
+
- test/db/mssql.rb
|
172
|
+
- test/db/mysql.rb
|
173
|
+
- test/db/oracle.rb
|
174
|
+
- test/db/postgres.rb
|
175
|
+
- test/db/sqlite3.rb
|
148
176
|
- test/db2_simple_test.rb
|
149
177
|
- test/derby_migration_test.rb
|
150
178
|
- test/derby_multibyte_test.rb
|
@@ -159,6 +187,15 @@ files:
|
|
159
187
|
- test/jndi_callbacks_test.rb
|
160
188
|
- test/jndi_test.rb
|
161
189
|
- test/manualTestDatabase.rb
|
190
|
+
- test/models/add_not_null_column_to_table.rb
|
191
|
+
- test/models/auto_id.rb
|
192
|
+
- test/models/data_types.rb
|
193
|
+
- test/models/entry.rb
|
194
|
+
- test/models/mixed_case.rb
|
195
|
+
- test/models/reserved_word.rb
|
196
|
+
- test/models/string_id.rb
|
197
|
+
- test/models/thing.rb
|
198
|
+
- test/models/validates_uniqueness_of_string.rb
|
162
199
|
- test/mssql_db_create_test.rb
|
163
200
|
- test/mssql_identity_insert_test.rb
|
164
201
|
- test/mssql_legacy_types_test.rb
|
@@ -166,13 +203,13 @@ files:
|
|
166
203
|
- test/mssql_multibyte_test.rb
|
167
204
|
- test/mssql_simple_test.rb
|
168
205
|
- test/mysql_db_create_test.rb
|
206
|
+
- test/mysql_index_length_test.rb
|
169
207
|
- test/mysql_info_test.rb
|
170
208
|
- test/mysql_multibyte_test.rb
|
171
209
|
- test/mysql_nonstandard_primary_key_test.rb
|
172
210
|
- test/mysql_simple_test.rb
|
173
211
|
- test/oracle_simple_test.rb
|
174
212
|
- test/oracle_specific_test.rb
|
175
|
-
- test/pick_rails_version.rb
|
176
213
|
- test/postgres_db_create_test.rb
|
177
214
|
- test/postgres_drop_db_test.rb
|
178
215
|
- test/postgres_information_schema_leak_test.rb
|
@@ -186,55 +223,7 @@ files:
|
|
186
223
|
- test/simple.rb
|
187
224
|
- test/sqlite3_simple_test.rb
|
188
225
|
- test/sybase_jtds_simple_test.rb
|
189
|
-
|
190
|
-
- test/activerecord/connections/native_jdbc_mysql/connection.rb
|
191
|
-
- test/db/db2.rb
|
192
|
-
- test/db/derby.rb
|
193
|
-
- test/db/h2.rb
|
194
|
-
- test/db/hsqldb.rb
|
195
|
-
- test/db/informix.rb
|
196
|
-
- test/db/jdbc.rb
|
197
|
-
- test/db/jndi_config.rb
|
198
|
-
- test/db/logger.rb
|
199
|
-
- test/db/mssql.rb
|
200
|
-
- test/db/mysql.rb
|
201
|
-
- test/db/oracle.rb
|
202
|
-
- test/db/postgres.rb
|
203
|
-
- test/db/sqlite3.rb
|
204
|
-
- test/models/add_not_null_column_to_table.rb
|
205
|
-
- test/models/auto_id.rb
|
206
|
-
- test/models/data_types.rb
|
207
|
-
- test/models/entry.rb
|
208
|
-
- test/models/mixed_case.rb
|
209
|
-
- test/models/reserved_word.rb
|
210
|
-
- test/models/string_id.rb
|
211
|
-
- test/models/validates_uniqueness_of_string.rb
|
212
|
-
- lib/arjdbc/jdbc/jdbc.rake
|
213
|
-
- src/java/arjdbc/db2/DB2RubyJdbcConnection.java
|
214
|
-
- src/java/arjdbc/derby/DerbyModule.java
|
215
|
-
- src/java/arjdbc/h2/H2RubyJdbcConnection.java
|
216
|
-
- src/java/arjdbc/informix/InformixRubyJdbcConnection.java
|
217
|
-
- src/java/arjdbc/jdbc/AdapterJavaService.java
|
218
|
-
- src/java/arjdbc/jdbc/JdbcConnectionFactory.java
|
219
|
-
- src/java/arjdbc/jdbc/RubyJdbcConnection.java
|
220
|
-
- src/java/arjdbc/jdbc/SQLBlock.java
|
221
|
-
- src/java/arjdbc/mssql/MssqlRubyJdbcConnection.java
|
222
|
-
- src/java/arjdbc/mysql/MySQLModule.java
|
223
|
-
- src/java/arjdbc/mysql/MySQLRubyJdbcConnection.java
|
224
|
-
- src/java/arjdbc/oracle/OracleRubyJdbcConnection.java
|
225
|
-
- src/java/arjdbc/postgresql/PostgresqlRubyJdbcConnection.java
|
226
|
-
- src/java/arjdbc/sqlite3/Sqlite3RubyJdbcConnection.java
|
227
|
-
- rakelib/compile.rake
|
228
|
-
- rakelib/db.rake
|
229
|
-
- rakelib/package.rake
|
230
|
-
- rakelib/rails.rake
|
231
|
-
- rakelib/test.rake
|
232
|
-
- rails_generators/jdbc_generator.rb
|
233
|
-
- rails_generators/templates/config/initializers/jdbc.rb
|
234
|
-
- rails_generators/templates/lib/tasks/jdbc.rake
|
235
|
-
- .gemtest
|
236
|
-
has_rdoc: true
|
237
|
-
homepage: http://jruby-extras.rubyforge.org/activerecord-jdbc-adapter
|
226
|
+
homepage: https://github.com/jruby/activerecord-jdbc-adapter
|
238
227
|
licenses: []
|
239
228
|
|
240
229
|
post_install_message:
|
@@ -251,6 +240,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
251
240
|
requirements:
|
252
241
|
- - ">="
|
253
242
|
- !ruby/object:Gem::Version
|
243
|
+
hash: 2
|
244
|
+
segments:
|
245
|
+
- 0
|
254
246
|
version: "0"
|
255
247
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
256
248
|
none: false
|
@@ -261,9 +253,76 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
261
253
|
requirements: []
|
262
254
|
|
263
255
|
rubyforge_project: jruby-extras
|
264
|
-
rubygems_version: 1.
|
256
|
+
rubygems_version: 1.8.9
|
265
257
|
signing_key:
|
266
258
|
specification_version: 3
|
267
259
|
summary: JDBC adapter for ActiveRecord, for use within JRuby on Rails.
|
268
|
-
test_files:
|
269
|
-
|
260
|
+
test_files:
|
261
|
+
- test/abstract_db_create.rb
|
262
|
+
- test/activerecord/connection_adapters/type_conversion_test.rb
|
263
|
+
- test/activerecord/connections/native_jdbc_mysql/connection.rb
|
264
|
+
- test/activerecord/jall.sh
|
265
|
+
- test/activerecord/jtest.sh
|
266
|
+
- test/db/db2.rb
|
267
|
+
- test/db/derby.rb
|
268
|
+
- test/db/h2.rb
|
269
|
+
- test/db/hsqldb.rb
|
270
|
+
- test/db/informix.rb
|
271
|
+
- test/db/jdbc.rb
|
272
|
+
- test/db/jndi_config.rb
|
273
|
+
- test/db/logger.rb
|
274
|
+
- test/db/mssql.rb
|
275
|
+
- test/db/mysql.rb
|
276
|
+
- test/db/oracle.rb
|
277
|
+
- test/db/postgres.rb
|
278
|
+
- test/db/sqlite3.rb
|
279
|
+
- test/db2_simple_test.rb
|
280
|
+
- test/derby_migration_test.rb
|
281
|
+
- test/derby_multibyte_test.rb
|
282
|
+
- test/derby_simple_test.rb
|
283
|
+
- test/generic_jdbc_connection_test.rb
|
284
|
+
- test/h2_simple_test.rb
|
285
|
+
- test/has_many_through.rb
|
286
|
+
- test/helper.rb
|
287
|
+
- test/hsqldb_simple_test.rb
|
288
|
+
- test/informix_simple_test.rb
|
289
|
+
- test/jdbc_common.rb
|
290
|
+
- test/jndi_callbacks_test.rb
|
291
|
+
- test/jndi_test.rb
|
292
|
+
- test/manualTestDatabase.rb
|
293
|
+
- test/models/add_not_null_column_to_table.rb
|
294
|
+
- test/models/auto_id.rb
|
295
|
+
- test/models/data_types.rb
|
296
|
+
- test/models/entry.rb
|
297
|
+
- test/models/mixed_case.rb
|
298
|
+
- test/models/reserved_word.rb
|
299
|
+
- test/models/string_id.rb
|
300
|
+
- test/models/thing.rb
|
301
|
+
- test/models/validates_uniqueness_of_string.rb
|
302
|
+
- test/mssql_db_create_test.rb
|
303
|
+
- test/mssql_identity_insert_test.rb
|
304
|
+
- test/mssql_legacy_types_test.rb
|
305
|
+
- test/mssql_limit_offset_test.rb
|
306
|
+
- test/mssql_multibyte_test.rb
|
307
|
+
- test/mssql_simple_test.rb
|
308
|
+
- test/mysql_db_create_test.rb
|
309
|
+
- test/mysql_index_length_test.rb
|
310
|
+
- test/mysql_info_test.rb
|
311
|
+
- test/mysql_multibyte_test.rb
|
312
|
+
- test/mysql_nonstandard_primary_key_test.rb
|
313
|
+
- test/mysql_simple_test.rb
|
314
|
+
- test/oracle_simple_test.rb
|
315
|
+
- test/oracle_specific_test.rb
|
316
|
+
- test/postgres_db_create_test.rb
|
317
|
+
- test/postgres_drop_db_test.rb
|
318
|
+
- test/postgres_information_schema_leak_test.rb
|
319
|
+
- test/postgres_mixed_case_test.rb
|
320
|
+
- test/postgres_native_type_mapping_test.rb
|
321
|
+
- test/postgres_nonseq_pkey_test.rb
|
322
|
+
- test/postgres_reserved_test.rb
|
323
|
+
- test/postgres_schema_search_path_test.rb
|
324
|
+
- test/postgres_simple_test.rb
|
325
|
+
- test/postgres_table_alias_length_test.rb
|
326
|
+
- test/simple.rb
|
327
|
+
- test/sqlite3_simple_test.rb
|
328
|
+
- test/sybase_jtds_simple_test.rb
|