activerecord-jdbc-adapter 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +33 -0
- data/Manifest.txt +17 -0
- data/README.txt +48 -20
- data/Rakefile +2 -169
- data/lib/active_record/connection_adapters/jdbc_adapter.rb +11 -5
- data/lib/active_record/connection_adapters/jdbc_adapter_spec.rb +12 -0
- data/lib/jdbc_adapter.rb +1 -1
- data/lib/jdbc_adapter/jdbc.rake +43 -30
- data/lib/jdbc_adapter/jdbc_adapter_internal.jar +0 -0
- data/lib/jdbc_adapter/jdbc_db2.rb +2 -2
- data/lib/jdbc_adapter/jdbc_derby.rb +11 -0
- data/lib/jdbc_adapter/jdbc_hsqldb.rb +6 -1
- data/lib/jdbc_adapter/jdbc_mimer.rb +14 -7
- data/lib/jdbc_adapter/jdbc_mssql.rb +18 -2
- data/lib/jdbc_adapter/jdbc_mysql.rb +3 -0
- data/lib/jdbc_adapter/jdbc_oracle.rb +24 -14
- data/lib/jdbc_adapter/jdbc_postgre.rb +38 -18
- data/lib/jdbc_adapter/jdbc_sqlite3.rb +96 -26
- data/lib/jdbc_adapter/missing_functionality_helper.rb +40 -34
- data/lib/jdbc_adapter/rake_tasks.rb +1 -1
- data/lib/jdbc_adapter/tsql_helper.rb +1 -0
- data/lib/jdbc_adapter/version.rb +1 -1
- data/lib/pg.rb +4 -0
- data/rails_generators/jdbc_generator.rb +15 -0
- data/rails_generators/templates/jdbc.rake +8 -0
- data/rails_generators/templates/jdbc.rb +7 -0
- data/rakelib/compile.rake +23 -0
- data/rakelib/package.rake +85 -0
- data/rakelib/rails.rake +41 -0
- data/rakelib/test.rake +71 -0
- data/src/java/jdbc_adapter/JdbcAdapterInternalService.java +1 -0
- data/src/java/jdbc_adapter/JdbcDerbySpec.java +11 -46
- data/src/java/jdbc_adapter/JdbcMySQLSpec.java +3 -2
- data/src/java/jdbc_adapter/MssqlRubyJdbcConnection.java +71 -0
- data/src/java/jdbc_adapter/PostgresRubyJdbcConnection.java +24 -4
- data/src/java/jdbc_adapter/RubyJdbcConnection.java +57 -44
- data/test/abstract_db_create.rb +45 -0
- data/test/db/mysql.rb +2 -2
- data/test/db/postgres.rb +2 -2
- data/test/helper.rb +5 -0
- data/test/jdbc_adapter/jdbc_db2_test.rb +5 -0
- data/test/jdbc_common.rb +2 -0
- data/test/models/entry.rb +3 -0
- data/test/models/validates_uniqueness_of_string.rb +19 -0
- data/test/mysql_db_create_test.rb +25 -0
- data/test/mysql_nonstandard_primary_key_test.rb +42 -0
- data/test/mysql_simple_test.rb +5 -0
- data/test/postgres_db_create_test.rb +21 -0
- data/test/postgres_nonseq_pkey_test.rb +40 -0
- data/test/simple.rb +62 -1
- data/test/sqlite3_simple_test.rb +153 -10
- metadata +26 -5
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-jdbc-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sieger, Ola Bini and JRuby contributors
|
@@ -9,11 +9,14 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-10-02 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
16
|
-
description:
|
16
|
+
description: |-
|
17
|
+
activerecord-jdbc-adapter is a database adapter for Rails' ActiveRecord
|
18
|
+
component that can be used with JRuby[http://www.jruby.org/]. It allows use of
|
19
|
+
virtually any JDBC-compliant database with your JRuby on Rails application.
|
17
20
|
email: nick@nicksieger.com, ola.bini@gmail.com
|
18
21
|
executables: []
|
19
22
|
|
@@ -60,7 +63,9 @@ files:
|
|
60
63
|
- lib/jdbc_adapter/tsql_helper.rb
|
61
64
|
- lib/jdbc_adapter/version.rb
|
62
65
|
- lib/jdbc_adapter.rb
|
66
|
+
- lib/pg.rb
|
63
67
|
- lib/jdbc_adapter/jdbc_adapter_internal.jar
|
68
|
+
- test/abstract_db_create.rb
|
64
69
|
- test/activerecord/connection_adapters/type_conversion_test.rb
|
65
70
|
- test/activerecord/connections/native_jdbc_mysql/connection.rb
|
66
71
|
- test/cachedb_simple_test.rb
|
@@ -85,6 +90,7 @@ files:
|
|
85
90
|
- test/generic_jdbc_connection_test.rb
|
86
91
|
- test/h2_simple_test.rb
|
87
92
|
- test/has_many_through.rb
|
93
|
+
- test/helper.rb
|
88
94
|
- test/hsqldb_simple_test.rb
|
89
95
|
- test/informix_simple_test.rb
|
90
96
|
- test/jdbc_adapter/jdbc_db2_test.rb
|
@@ -106,11 +112,16 @@ files:
|
|
106
112
|
- test/models/entry.rb
|
107
113
|
- test/models/mixed_case.rb
|
108
114
|
- test/models/reserved_word.rb
|
115
|
+
- test/models/validates_uniqueness_of_string.rb
|
109
116
|
- test/mssql_simple_test.rb
|
117
|
+
- test/mysql_db_create_test.rb
|
110
118
|
- test/mysql_multibyte_test.rb
|
119
|
+
- test/mysql_nonstandard_primary_key_test.rb
|
111
120
|
- test/mysql_simple_test.rb
|
112
121
|
- test/oracle_simple_test.rb
|
122
|
+
- test/postgres_db_create_test.rb
|
113
123
|
- test/postgres_mixed_case_test.rb
|
124
|
+
- test/postgres_nonseq_pkey_test.rb
|
114
125
|
- test/postgres_reserved_test.rb
|
115
126
|
- test/postgres_simple_test.rb
|
116
127
|
- test/simple.rb
|
@@ -121,12 +132,22 @@ files:
|
|
121
132
|
- src/java/jdbc_adapter/JdbcConnectionFactory.java
|
122
133
|
- src/java/jdbc_adapter/JdbcDerbySpec.java
|
123
134
|
- src/java/jdbc_adapter/JdbcMySQLSpec.java
|
135
|
+
- src/java/jdbc_adapter/MssqlRubyJdbcConnection.java
|
124
136
|
- src/java/jdbc_adapter/PostgresRubyJdbcConnection.java
|
125
137
|
- src/java/jdbc_adapter/RubyJdbcConnection.java
|
126
138
|
- src/java/jdbc_adapter/SQLBlock.java
|
127
139
|
- src/java/jdbc_adapter/Sqlite3RubyJdbcConnection.java
|
140
|
+
- rakelib/compile.rake
|
141
|
+
- rakelib/package.rake
|
142
|
+
- rakelib/rails.rake
|
143
|
+
- rakelib/test.rake
|
144
|
+
- rails_generators/jdbc_generator.rb
|
145
|
+
- rails_generators/templates/jdbc.rake
|
146
|
+
- rails_generators/templates/jdbc.rb
|
128
147
|
has_rdoc: true
|
129
148
|
homepage: http://jruby-extras.rubyforge.org/activerecord-jdbc-adapter
|
149
|
+
licenses: []
|
150
|
+
|
130
151
|
post_install_message:
|
131
152
|
rdoc_options:
|
132
153
|
- --main
|
@@ -148,9 +169,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
169
|
requirements: []
|
149
170
|
|
150
171
|
rubyforge_project: jruby-extras
|
151
|
-
rubygems_version: 1.3.
|
172
|
+
rubygems_version: 1.3.5
|
152
173
|
signing_key:
|
153
|
-
specification_version:
|
174
|
+
specification_version: 3
|
154
175
|
summary: JDBC adapter for ActiveRecord, for use within JRuby on Rails.
|
155
176
|
test_files: []
|
156
177
|
|