activerecord-jdbc-adapter 1.2.2.1 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -2
- data/.travis.yml +18 -3
- data/Appraisals +16 -0
- data/Gemfile +10 -10
- data/Gemfile.lock +27 -17
- data/LICENSE.txt +20 -17
- data/README.rdoc +29 -14
- data/Rakefile +4 -4
- data/activerecord-jdbc-adapter.gemspec +2 -1
- data/gemfiles/rails23.gemfile +12 -0
- data/gemfiles/rails23.gemfile.lock +44 -0
- data/gemfiles/rails30.gemfile +11 -0
- data/gemfiles/rails30.gemfile.lock +39 -0
- data/gemfiles/rails31.gemfile +11 -0
- data/gemfiles/rails31.gemfile.lock +41 -0
- data/gemfiles/rails32.gemfile +11 -0
- data/gemfiles/rails32.gemfile.lock +41 -0
- data/lib/arel/visitors/sql_server.rb +7 -0
- data/lib/arjdbc/db2/adapter.rb +82 -32
- data/lib/arjdbc/derby.rb +0 -4
- data/lib/arjdbc/derby/adapter.rb +1 -1
- data/lib/arjdbc/derby/connection_methods.rb +3 -2
- data/lib/arjdbc/discover.rb +16 -1
- data/lib/arjdbc/firebird/adapter.rb +5 -1
- data/lib/arjdbc/h2.rb +0 -1
- data/lib/arjdbc/h2/connection_methods.rb +3 -1
- data/lib/arjdbc/hsqldb.rb +0 -1
- data/lib/arjdbc/hsqldb/adapter.rb +4 -3
- data/lib/arjdbc/hsqldb/connection_methods.rb +3 -3
- data/lib/arjdbc/informix/adapter.rb +5 -1
- data/lib/arjdbc/jdbc/adapter.rb +22 -24
- data/lib/arjdbc/jdbc/adapter_java.jar +0 -0
- data/lib/arjdbc/jdbc/base_ext.rb +1 -1
- data/lib/arjdbc/jdbc/connection.rb +23 -29
- data/lib/arjdbc/jdbc/core_ext.rb +1 -1
- data/lib/arjdbc/jdbc/discover.rb +1 -1
- data/lib/arjdbc/jdbc/driver.rb +1 -1
- data/lib/arjdbc/jdbc/extension.rb +3 -3
- data/lib/arjdbc/jdbc/jdbc.rake +15 -5
- data/lib/arjdbc/mssql.rb +0 -1
- data/lib/arjdbc/mssql/adapter.rb +10 -4
- data/lib/arjdbc/mssql/connection_methods.rb +15 -15
- data/lib/arjdbc/mssql/limit_helpers.rb +24 -2
- data/lib/arjdbc/mssql/tsql_helper.rb +0 -8
- data/lib/arjdbc/mysql.rb +0 -1
- data/lib/arjdbc/mysql/adapter.rb +82 -0
- data/lib/arjdbc/mysql/connection_methods.rb +3 -4
- data/lib/arjdbc/oracle/adapter.rb +12 -2
- data/lib/arjdbc/postgresql.rb +0 -1
- data/lib/arjdbc/postgresql/adapter.rb +127 -27
- data/lib/arjdbc/postgresql/connection_methods.rb +3 -4
- data/lib/arjdbc/sqlite3.rb +0 -1
- data/lib/arjdbc/sqlite3/adapter.rb +13 -14
- data/lib/arjdbc/sqlite3/connection_methods.rb +3 -4
- data/lib/arjdbc/version.rb +1 -1
- data/rakelib/01-tomcat.rake +52 -0
- data/rakelib/02-test.rake +111 -0
- data/rakelib/db.rake +4 -3
- data/src/java/arjdbc/db2/DB2RubyJdbcConnection.java +7 -0
- data/src/java/arjdbc/jdbc/RubyJdbcConnection.java +8 -3
- data/test/abstract_db_create.rb +5 -1
- data/test/activerecord/connection_adapters/type_conversion_test.rb +0 -1
- data/test/activerecord/jall.sh +0 -0
- data/test/activerecord/jtest.sh +0 -0
- data/test/db/db2.rb +2 -0
- data/test/db/derby.rb +3 -5
- data/test/db/h2.rb +3 -1
- data/test/db/hsqldb.rb +2 -0
- data/test/db/informix.rb +2 -0
- data/test/db/jdbc.rb +11 -10
- data/test/db/jdbc_derby.rb +14 -0
- data/test/db/jdbc_h2.rb +17 -0
- data/test/db/jdbc_mysql.rb +13 -0
- data/test/db/jdbc_postgres.rb +23 -0
- data/test/db/jndi_config.rb +28 -33
- data/test/db/jndi_pooled_config.rb +35 -0
- data/test/db/logger.rb +1 -1
- data/test/db/mssql.rb +2 -0
- data/test/db/mysql.rb +2 -7
- data/test/db/mysql_config.rb +7 -0
- data/test/db/oracle.rb +2 -0
- data/test/db/postgres.rb +9 -7
- data/test/db/postgres_config.rb +10 -0
- data/test/db/sqlite3.rb +2 -0
- data/test/db2_reset_column_information_test.rb +0 -2
- data/test/derby_migration_test.rb +0 -1
- data/test/derby_multibyte_test.rb +0 -1
- data/test/derby_reset_column_information_test.rb +0 -3
- data/test/derby_row_locking_test.rb +0 -3
- data/test/derby_simple_test.rb +0 -1
- data/test/generic_jdbc_connection_test.rb +72 -17
- data/test/h2_change_column_test.rb +0 -1
- data/test/h2_simple_test.rb +0 -1
- data/test/helper.rb +22 -91
- data/test/jdbc_common.rb +98 -3
- data/test/jndi_callbacks_test.rb +6 -5
- data/test/jndi_test.rb +40 -15
- data/test/models/custom_pk_name.rb +14 -0
- data/test/mssql_ignore_system_views_test.rb +7 -4
- data/test/mssql_limit_offset_test.rb +30 -0
- data/test/mssql_multibyte_test.rb +1 -2
- data/test/mssql_reset_column_information_test.rb +0 -2
- data/test/mssql_row_locking_sql_test.rb +0 -2
- data/test/mssql_row_locking_test.rb +0 -2
- data/test/mysql_reset_column_information_test.rb +0 -2
- data/test/mysql_simple_test.rb +3 -18
- data/test/oracle_limit_test.rb +23 -0
- data/test/oracle_reset_column_information_test.rb +0 -2
- data/test/postgres_db_create_test.rb +0 -1
- data/test/postgres_drop_db_test.rb +0 -1
- data/test/postgres_information_schema_leak_test.rb +0 -1
- data/test/postgres_native_type_mapping_test.rb +17 -14
- data/test/postgres_nonseq_pkey_test.rb +0 -1
- data/test/postgres_reserved_test.rb +1 -2
- data/test/postgres_reset_column_information_test.rb +0 -3
- data/test/postgres_schema_search_path_test.rb +0 -1
- data/test/postgres_simple_test.rb +40 -1
- data/test/postgres_table_alias_length_test.rb +0 -1
- data/test/postgres_type_conversion_test.rb +0 -1
- data/test/row_locking.rb +6 -2
- data/test/simple.rb +57 -20
- data/test/sqlite3_reset_column_information_test.rb +0 -2
- data/test/sqlite3_simple_test.rb +1 -16
- data/test/sybase_reset_column_information_test.rb +0 -2
- metadata +366 -343
- data/lib/arjdbc/jdbc/require_driver.rb +0 -16
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
|
@@ -1,8 +1,23 @@
|
|
|
1
|
+
language: ruby
|
|
2
|
+
script: bundle exec rake test_$DB
|
|
1
3
|
rvm:
|
|
2
|
-
- jruby
|
|
4
|
+
- jruby-18mode
|
|
5
|
+
- jruby-19mode
|
|
3
6
|
env:
|
|
4
|
-
-
|
|
5
|
-
-
|
|
7
|
+
- DB=mysql
|
|
8
|
+
- DB=postgresql
|
|
9
|
+
- DB=h2
|
|
10
|
+
- DB=hsqldb
|
|
11
|
+
- DB=sqlite3
|
|
12
|
+
- DB=jndi
|
|
13
|
+
gemfile:
|
|
14
|
+
- gemfiles/rails23.gemfile
|
|
15
|
+
- gemfiles/rails30.gemfile
|
|
16
|
+
- gemfiles/rails31.gemfile
|
|
17
|
+
- gemfiles/rails32.gemfile
|
|
6
18
|
branches:
|
|
7
19
|
only:
|
|
8
20
|
- master
|
|
21
|
+
matrix:
|
|
22
|
+
allow_failures:
|
|
23
|
+
- gemfile: gemfiles/rails23.gemfile
|
data/Appraisals
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
appraise "rails23" do
|
|
2
|
+
gem "activerecord", "~> 2.3.14"
|
|
3
|
+
gem "rails", "~> 2.3.14"
|
|
4
|
+
end
|
|
5
|
+
|
|
6
|
+
appraise "rails30" do
|
|
7
|
+
gem "activerecord", "~> 3.0.17"
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
appraise "rails31" do
|
|
11
|
+
gem "activerecord", "~> 3.1.8"
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
appraise "rails32" do
|
|
15
|
+
gem "activerecord", "~> 3.2.9"
|
|
16
|
+
end
|
data/Gemfile
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
source "http://rubygems.org"
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
gem 'activerecord', ENV['AR_VERSION']
|
|
3
|
+
gem 'activerecord'
|
|
4
|
+
gem 'jruby-openssl', :platform => :jruby
|
|
6
5
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
gem 'jruby-openssl', :group => :development
|
|
10
|
-
|
|
11
|
-
group :test do
|
|
12
|
-
gem 'ruby-debug'
|
|
13
|
-
gem 'mocha'
|
|
6
|
+
group :development do
|
|
7
|
+
gem 'ruby-debug', :require => nil
|
|
14
8
|
end
|
|
9
|
+
|
|
10
|
+
gem 'appraisal'
|
|
11
|
+
gem 'rake', :require => nil
|
|
12
|
+
# appraisal ignores group block declarations :
|
|
13
|
+
gem 'test-unit', :group => :test
|
|
14
|
+
gem 'mocha', :group => :test
|
data/Gemfile.lock
CHANGED
|
@@ -1,40 +1,50 @@
|
|
|
1
1
|
GEM
|
|
2
2
|
remote: http://rubygems.org/
|
|
3
3
|
specs:
|
|
4
|
-
activemodel (3.2.
|
|
5
|
-
activesupport (= 3.2.
|
|
4
|
+
activemodel (3.2.9)
|
|
5
|
+
activesupport (= 3.2.9)
|
|
6
6
|
builder (~> 3.0.0)
|
|
7
|
-
activerecord (3.2.
|
|
8
|
-
activemodel (= 3.2.
|
|
9
|
-
activesupport (= 3.2.
|
|
10
|
-
arel (~> 3.0.
|
|
7
|
+
activerecord (3.2.9)
|
|
8
|
+
activemodel (= 3.2.9)
|
|
9
|
+
activesupport (= 3.2.9)
|
|
10
|
+
arel (~> 3.0.2)
|
|
11
11
|
tzinfo (~> 0.3.29)
|
|
12
|
-
activesupport (3.2.
|
|
12
|
+
activesupport (3.2.9)
|
|
13
13
|
i18n (~> 0.6)
|
|
14
14
|
multi_json (~> 1.0)
|
|
15
|
-
|
|
15
|
+
appraisal (0.5.1)
|
|
16
|
+
bundler
|
|
17
|
+
rake
|
|
18
|
+
arel (3.0.2)
|
|
16
19
|
bouncy-castle-java (1.5.0146.1)
|
|
17
|
-
builder (3.0.
|
|
18
|
-
columnize (0.3.
|
|
19
|
-
i18n (0.6.
|
|
20
|
-
jruby-openssl (0.7.
|
|
20
|
+
builder (3.0.4)
|
|
21
|
+
columnize (0.3.6)
|
|
22
|
+
i18n (0.6.1)
|
|
23
|
+
jruby-openssl (0.7.7)
|
|
21
24
|
bouncy-castle-java (>= 1.5.0146.1)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
linecache (0.46-java)
|
|
26
|
+
metaclass (0.0.1)
|
|
27
|
+
mocha (0.11.4)
|
|
28
|
+
metaclass (~> 0.0.1)
|
|
29
|
+
multi_json (1.3.7)
|
|
30
|
+
rake (10.0.3)
|
|
26
31
|
ruby-debug (0.10.4)
|
|
27
32
|
columnize (>= 0.1)
|
|
28
33
|
ruby-debug-base (~> 0.10.4.0)
|
|
34
|
+
ruby-debug-base (0.10.4)
|
|
35
|
+
linecache (>= 0.3)
|
|
29
36
|
ruby-debug-base (0.10.4-java)
|
|
30
|
-
|
|
37
|
+
test-unit (2.5.3)
|
|
38
|
+
tzinfo (0.3.35)
|
|
31
39
|
|
|
32
40
|
PLATFORMS
|
|
33
41
|
java
|
|
34
42
|
|
|
35
43
|
DEPENDENCIES
|
|
36
44
|
activerecord
|
|
45
|
+
appraisal
|
|
37
46
|
jruby-openssl
|
|
38
47
|
mocha
|
|
39
48
|
rake
|
|
40
49
|
ruby-debug
|
|
50
|
+
test-unit
|
data/LICENSE.txt
CHANGED
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
Copyright (c) 2006-
|
|
1
|
+
Copyright (c) 2006-2012 Nick Sieger <nick@nicksieger.com>
|
|
2
2
|
Copyright (c) 2006-2008 Ola Bini <ola.bini@gmail.com>
|
|
3
|
+
All rights reserved.
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"Software"), to deal in the Software without restriction, including
|
|
7
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
8
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
9
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
10
|
-
the following conditions:
|
|
5
|
+
Redistribution and use in source and binary forms, with or without modification,
|
|
6
|
+
are permitted provided that the following conditions are met:
|
|
11
7
|
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
- Redistributions of source code must retain the above copyright notice, this
|
|
9
|
+
list of conditions and the following disclaimer.
|
|
10
|
+
- Redistributions in binary form must reproduce the above copyright notice, this
|
|
11
|
+
list of conditions and the following disclaimer in the documentation and/or
|
|
12
|
+
other materials provided with the distribution.
|
|
13
|
+
|
|
14
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
15
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
16
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
17
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
|
18
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
19
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
20
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
21
|
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
22
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
23
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
14
24
|
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
16
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
17
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
18
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
19
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
20
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
21
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
CHANGED
|
@@ -11,8 +11,8 @@ MySQL, PostgreSQL, SQLite3, Oracle, Microsoft SQL Server, DB2,
|
|
|
11
11
|
FireBird, Derby, HSQLDB, H2, and Informix.
|
|
12
12
|
|
|
13
13
|
Other databases will require testing and likely a custom configuration module.
|
|
14
|
-
Please join the JRuby mailing
|
|
15
|
-
support for more databases.
|
|
14
|
+
Please join the JRuby {mailing list}[http://jruby.org/community] to help us
|
|
15
|
+
discover support for more databases.
|
|
16
16
|
|
|
17
17
|
== Using ActiveRecord JDBC
|
|
18
18
|
|
|
@@ -23,14 +23,18 @@ To use activerecord-jdbc-adapter with JRuby on Rails:
|
|
|
23
23
|
1. Choose the adapter you wish to gem install. The following pre-packaged
|
|
24
24
|
adapters are available:
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
26
|
+
- base jdbc (activerecord-jdbc-adapter). Supports all available databases via
|
|
27
|
+
JDBC, but requires you to download and manually install the database vendor's
|
|
28
|
+
JDBC driver .jar file.
|
|
29
|
+
- mysql (activerecord-jdbcmysql-adapter)
|
|
30
|
+
- postgresql (activerecord-jdbcpostgresql-adapter)
|
|
31
|
+
- sqlite3 (activerecord-jdbcsqlite3-adapter)
|
|
32
|
+
- derby (activerecord-jdbcderby-adapter)
|
|
33
|
+
- hsqldb (activerecord-jdbchsqldb-adapter)
|
|
34
|
+
- h2 (activerecord-jdbch2-adapter)
|
|
35
|
+
- mssql (activerecord-jdbcmssql-adapter). Does not support SQL Azure by default,
|
|
36
|
+
see the {project's readme}[https://github.com/jruby/activerecord-jdbc-adapter/blob/master/activerecord-jdbcmssql-adapter/README.rdoc]
|
|
37
|
+
for more information.
|
|
34
38
|
|
|
35
39
|
2a. For Rails 3, if you're generating a new application, use the
|
|
36
40
|
following command to generate your application:
|
|
@@ -67,7 +71,7 @@ prefix in front of the database adapter name as below.
|
|
|
67
71
|
adapter: jdbcmysql
|
|
68
72
|
username: blog
|
|
69
73
|
password:
|
|
70
|
-
|
|
74
|
+
host: localhost
|
|
71
75
|
database: weblog_development
|
|
72
76
|
|
|
73
77
|
For other databases, you'll need to know the database driver class and
|
|
@@ -167,13 +171,24 @@ alse need to grant "blog" create privileges on
|
|
|
167
171
|
If you also have PostgreSQL available, those tests will be run if the
|
|
168
172
|
`psql' executable can be found. Also ensure you have a database named
|
|
169
173
|
<tt>weblog_development</tt> and a user named "blog" and an empty
|
|
170
|
-
password.
|
|
174
|
+
password. You can control the host and port the tests will attempt to
|
|
175
|
+
by setting the environment variables PGHOST and PGPORT.
|
|
171
176
|
|
|
172
177
|
If you want rails logging enabled during these test runs you can edit
|
|
173
178
|
test/jdbc_common.rb and add the following line:
|
|
174
179
|
|
|
175
180
|
require 'db/logger'
|
|
176
181
|
|
|
182
|
+
To execute a single test case, you can run:
|
|
183
|
+
|
|
184
|
+
rake appraisal:{version} test_{db} TEST=test/{tests file}
|
|
185
|
+
|
|
186
|
+
Substitute the version of ActiveRecord for version, which can be one of:
|
|
187
|
+
rails23, rails30, rails31, or rails32
|
|
188
|
+
The db can be one of these:
|
|
189
|
+
mssql, mysql, oracle, postgres, sybase, sqlite3, db2, derby, h2
|
|
190
|
+
Finally, the tests file will be whichever test case you want to run.
|
|
191
|
+
|
|
177
192
|
== Running AR Tests
|
|
178
193
|
|
|
179
194
|
To run the current AR-JDBC sources with ActiveRecord, just use the
|
|
@@ -191,8 +206,8 @@ This project was written by Nick Sieger <nick@nicksieger.com> and Ola Bini
|
|
|
191
206
|
|
|
192
207
|
== License
|
|
193
208
|
|
|
194
|
-
activerecord-jdbc-adapter is released under a BSD license. See the LICENSE
|
|
195
|
-
included with the distribution for details.
|
|
209
|
+
activerecord-jdbc-adapter is released under a BSD license. See the LICENSE.txt
|
|
210
|
+
file included with the distribution for details.
|
|
196
211
|
|
|
197
212
|
Open-source driver gems for activerecord-jdbc-adapter are licensed under the
|
|
198
213
|
same license the database's drivers are licensed. See each driver gem's
|
data/Rakefile
CHANGED
|
@@ -2,11 +2,11 @@ require 'rake/testtask'
|
|
|
2
2
|
require 'rake/clean'
|
|
3
3
|
CLEAN.include 'derby*', 'test.db.*','test/reports', 'test.sqlite3','lib/**/*.jar','manifest.mf', '*.log'
|
|
4
4
|
|
|
5
|
-
require 'bundler'
|
|
5
|
+
require 'bundler/gem_helper'
|
|
6
6
|
Bundler::GemHelper.install_tasks
|
|
7
|
-
require 'bundler/setup'
|
|
8
7
|
|
|
9
|
-
require
|
|
8
|
+
require 'bundler/setup'
|
|
9
|
+
require 'appraisal'
|
|
10
10
|
|
|
11
11
|
task :default => [:jar, :test]
|
|
12
12
|
|
|
@@ -17,7 +17,7 @@ task :install => :jar
|
|
|
17
17
|
ADAPTERS = %w[derby h2 hsqldb mssql mysql postgresql sqlite3].map {|a| "activerecord-jdbc#{a}-adapter" }
|
|
18
18
|
DRIVERS = %w[derby h2 hsqldb jtds mysql postgres sqlite3].map {|a| "jdbc-#{a}" }
|
|
19
19
|
|
|
20
|
-
def rake(args)
|
|
20
|
+
def rake(*args)
|
|
21
21
|
ruby "-S", "rake", *args
|
|
22
22
|
end
|
|
23
23
|
|
|
@@ -13,11 +13,12 @@ Gem::Specification.new do |s|
|
|
|
13
13
|
s.description = %q{activerecord-jdbc-adapter is a database adapter for Rails\' ActiveRecord
|
|
14
14
|
component that can be used with JRuby[http://www.jruby.org/]. It allows use of
|
|
15
15
|
virtually any JDBC-compliant database with your JRuby on Rails application.}
|
|
16
|
+
s.license = "BSD"
|
|
16
17
|
s.files = `git ls-files`.split("\n").reject {|v| v =~ /^(activerecord-jdbc[^-]|jdbc-)/}
|
|
17
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
18
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{|f| File.basename(f) }
|
|
19
20
|
s.require_paths = ["lib"]
|
|
20
|
-
s.rdoc_options = ["--main", "README.
|
|
21
|
+
s.rdoc_options = ["--main", "README.rdoc", "-SHN", "-f", "darkfish"]
|
|
21
22
|
s.rubyforge_project = %q{jruby-extras}
|
|
22
23
|
end
|
|
23
24
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# This file was generated by Appraisal
|
|
2
|
+
|
|
3
|
+
source "http://rubygems.org"
|
|
4
|
+
|
|
5
|
+
gem "jruby-openssl", :platform=>:jruby
|
|
6
|
+
gem "appraisal"
|
|
7
|
+
gem "rake", :require=>nil
|
|
8
|
+
gem "test-unit", :group=>:test
|
|
9
|
+
gem "mocha", :group=>:test
|
|
10
|
+
gem "activerecord", "~> 2.3.14"
|
|
11
|
+
gem "rails", "~> 2.3.14"
|
|
12
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
GEM
|
|
2
|
+
remote: http://rubygems.org/
|
|
3
|
+
specs:
|
|
4
|
+
actionmailer (2.3.14)
|
|
5
|
+
actionpack (= 2.3.14)
|
|
6
|
+
actionpack (2.3.14)
|
|
7
|
+
activesupport (= 2.3.14)
|
|
8
|
+
rack (~> 1.1.0)
|
|
9
|
+
activerecord (2.3.14)
|
|
10
|
+
activesupport (= 2.3.14)
|
|
11
|
+
activeresource (2.3.14)
|
|
12
|
+
activesupport (= 2.3.14)
|
|
13
|
+
activesupport (2.3.14)
|
|
14
|
+
appraisal (0.5.1)
|
|
15
|
+
bundler
|
|
16
|
+
rake
|
|
17
|
+
bouncy-castle-java (1.5.0146.1)
|
|
18
|
+
jruby-openssl (0.7.7)
|
|
19
|
+
bouncy-castle-java (>= 1.5.0146.1)
|
|
20
|
+
metaclass (0.0.1)
|
|
21
|
+
mocha (0.11.4)
|
|
22
|
+
metaclass (~> 0.0.1)
|
|
23
|
+
rack (1.1.3)
|
|
24
|
+
rails (2.3.14)
|
|
25
|
+
actionmailer (= 2.3.14)
|
|
26
|
+
actionpack (= 2.3.14)
|
|
27
|
+
activerecord (= 2.3.14)
|
|
28
|
+
activeresource (= 2.3.14)
|
|
29
|
+
activesupport (= 2.3.14)
|
|
30
|
+
rake (>= 0.8.3)
|
|
31
|
+
rake (0.9.2.2)
|
|
32
|
+
test-unit (2.5.3)
|
|
33
|
+
|
|
34
|
+
PLATFORMS
|
|
35
|
+
java
|
|
36
|
+
|
|
37
|
+
DEPENDENCIES
|
|
38
|
+
activerecord (~> 2.3.14)
|
|
39
|
+
appraisal
|
|
40
|
+
jruby-openssl
|
|
41
|
+
mocha
|
|
42
|
+
rails (~> 2.3.14)
|
|
43
|
+
rake
|
|
44
|
+
test-unit
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# This file was generated by Appraisal
|
|
2
|
+
|
|
3
|
+
source "http://rubygems.org"
|
|
4
|
+
|
|
5
|
+
gem "jruby-openssl", :platform=>:jruby
|
|
6
|
+
gem "appraisal"
|
|
7
|
+
gem "rake", :require=>nil
|
|
8
|
+
gem "test-unit", :group=>:test
|
|
9
|
+
gem "mocha", :group=>:test
|
|
10
|
+
gem "activerecord", "~> 3.0.17"
|
|
11
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
GEM
|
|
2
|
+
remote: http://rubygems.org/
|
|
3
|
+
specs:
|
|
4
|
+
activemodel (3.0.17)
|
|
5
|
+
activesupport (= 3.0.17)
|
|
6
|
+
builder (~> 2.1.2)
|
|
7
|
+
i18n (~> 0.5.0)
|
|
8
|
+
activerecord (3.0.17)
|
|
9
|
+
activemodel (= 3.0.17)
|
|
10
|
+
activesupport (= 3.0.17)
|
|
11
|
+
arel (~> 2.0.10)
|
|
12
|
+
tzinfo (~> 0.3.23)
|
|
13
|
+
activesupport (3.0.17)
|
|
14
|
+
appraisal (0.5.1)
|
|
15
|
+
bundler
|
|
16
|
+
rake
|
|
17
|
+
arel (2.0.10)
|
|
18
|
+
bouncy-castle-java (1.5.0146.1)
|
|
19
|
+
builder (2.1.2)
|
|
20
|
+
i18n (0.5.0)
|
|
21
|
+
jruby-openssl (0.7.7)
|
|
22
|
+
bouncy-castle-java (>= 1.5.0146.1)
|
|
23
|
+
metaclass (0.0.1)
|
|
24
|
+
mocha (0.11.4)
|
|
25
|
+
metaclass (~> 0.0.1)
|
|
26
|
+
rake (10.0.3)
|
|
27
|
+
test-unit (2.5.3)
|
|
28
|
+
tzinfo (0.3.33)
|
|
29
|
+
|
|
30
|
+
PLATFORMS
|
|
31
|
+
java
|
|
32
|
+
|
|
33
|
+
DEPENDENCIES
|
|
34
|
+
activerecord (~> 3.0.17)
|
|
35
|
+
appraisal
|
|
36
|
+
jruby-openssl
|
|
37
|
+
mocha
|
|
38
|
+
rake
|
|
39
|
+
test-unit
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# This file was generated by Appraisal
|
|
2
|
+
|
|
3
|
+
source "http://rubygems.org"
|
|
4
|
+
|
|
5
|
+
gem "jruby-openssl", :platform=>:jruby
|
|
6
|
+
gem "appraisal"
|
|
7
|
+
gem "rake", :require=>nil
|
|
8
|
+
gem "test-unit", :group=>:test
|
|
9
|
+
gem "mocha", :group=>:test
|
|
10
|
+
gem "activerecord", "~> 3.1.8"
|
|
11
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
GEM
|
|
2
|
+
remote: http://rubygems.org/
|
|
3
|
+
specs:
|
|
4
|
+
activemodel (3.1.8)
|
|
5
|
+
activesupport (= 3.1.8)
|
|
6
|
+
builder (~> 3.0.0)
|
|
7
|
+
i18n (~> 0.6)
|
|
8
|
+
activerecord (3.1.8)
|
|
9
|
+
activemodel (= 3.1.8)
|
|
10
|
+
activesupport (= 3.1.8)
|
|
11
|
+
arel (~> 2.2.3)
|
|
12
|
+
tzinfo (~> 0.3.29)
|
|
13
|
+
activesupport (3.1.8)
|
|
14
|
+
multi_json (>= 1.0, < 1.3)
|
|
15
|
+
appraisal (0.5.1)
|
|
16
|
+
bundler
|
|
17
|
+
rake
|
|
18
|
+
arel (2.2.3)
|
|
19
|
+
bouncy-castle-java (1.5.0146.1)
|
|
20
|
+
builder (3.0.0)
|
|
21
|
+
i18n (0.6.1)
|
|
22
|
+
jruby-openssl (0.7.7)
|
|
23
|
+
bouncy-castle-java (>= 1.5.0146.1)
|
|
24
|
+
metaclass (0.0.1)
|
|
25
|
+
mocha (0.11.4)
|
|
26
|
+
metaclass (~> 0.0.1)
|
|
27
|
+
multi_json (1.2.0)
|
|
28
|
+
rake (10.0.3)
|
|
29
|
+
test-unit (2.5.3)
|
|
30
|
+
tzinfo (0.3.33)
|
|
31
|
+
|
|
32
|
+
PLATFORMS
|
|
33
|
+
java
|
|
34
|
+
|
|
35
|
+
DEPENDENCIES
|
|
36
|
+
activerecord (~> 3.1.8)
|
|
37
|
+
appraisal
|
|
38
|
+
jruby-openssl
|
|
39
|
+
mocha
|
|
40
|
+
rake
|
|
41
|
+
test-unit
|