activerecord-jdbc-adapter 1.3.0.beta2 → 1.3.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +14 -8
- data/.travis.yml +40 -31
- data/.yardopts +4 -0
- data/Appraisals +2 -5
- data/CONTRIBUTING.md +46 -0
- data/Gemfile +21 -4
- data/Gemfile.lock +42 -17
- data/{History.txt → History.md} +142 -75
- data/README.md +102 -104
- data/RUNNING_TESTS.md +76 -0
- data/Rakefile.jdbc +20 -0
- data/activerecord-jdbc-adapter.gemspec +35 -18
- data/gemfiles/rails23.gemfile +4 -3
- data/gemfiles/rails23.gemfile.lock +9 -6
- data/gemfiles/rails30.gemfile +4 -3
- data/gemfiles/rails30.gemfile.lock +9 -6
- data/gemfiles/rails31.gemfile +4 -3
- data/gemfiles/rails31.gemfile.lock +9 -6
- data/gemfiles/rails32.gemfile +4 -3
- data/gemfiles/rails32.gemfile.lock +17 -14
- data/gemfiles/rails40.gemfile +5 -5
- data/gemfiles/rails40.gemfile.lock +17 -69
- data/lib/active_record/connection_adapters/firebird_adapter.rb +1 -0
- data/lib/active_record/connection_adapters/sqlserver_adapter.rb +1 -0
- data/lib/arel/visitors/compat.rb +22 -3
- data/lib/arel/visitors/db2.rb +8 -4
- data/lib/arel/visitors/derby.rb +14 -13
- data/lib/arel/visitors/firebird.rb +5 -4
- data/lib/arel/visitors/hsqldb.rb +11 -9
- data/lib/arel/visitors/sql_server.rb +89 -61
- data/lib/arjdbc.rb +1 -1
- data/lib/arjdbc/db2/adapter.rb +181 -212
- data/lib/arjdbc/db2/as400.rb +31 -18
- data/lib/arjdbc/db2/column.rb +167 -0
- data/lib/arjdbc/db2/connection_methods.rb +2 -0
- data/lib/arjdbc/derby/adapter.rb +206 -107
- data/lib/arjdbc/derby/connection_methods.rb +4 -9
- data/lib/arjdbc/firebird.rb +1 -0
- data/lib/arjdbc/firebird/adapter.rb +202 -64
- data/lib/arjdbc/firebird/connection_methods.rb +20 -0
- data/lib/arjdbc/h2/adapter.rb +56 -36
- data/lib/arjdbc/hsqldb/adapter.rb +99 -68
- data/lib/arjdbc/jdbc/adapter.rb +474 -265
- data/lib/arjdbc/jdbc/adapter_java.jar +0 -0
- data/lib/arjdbc/jdbc/adapter_require.rb +8 -7
- data/lib/arjdbc/jdbc/arel_support.rb +132 -0
- data/lib/arjdbc/jdbc/base_ext.rb +8 -7
- data/lib/arjdbc/jdbc/callbacks.rb +16 -10
- data/lib/arjdbc/jdbc/column.rb +25 -3
- data/lib/arjdbc/jdbc/connection.rb +28 -55
- data/lib/arjdbc/jdbc/extension.rb +14 -14
- data/lib/arjdbc/jdbc/java.rb +6 -3
- data/lib/arjdbc/jdbc/jdbc.rake +1 -1
- data/lib/arjdbc/jdbc/quoted_primary_key.rb +2 -2
- data/lib/arjdbc/jdbc/rake_tasks.rb +1 -1
- data/lib/arjdbc/jdbc/type_converter.rb +5 -2
- data/lib/arjdbc/mssql/adapter.rb +160 -280
- data/lib/arjdbc/mssql/column.rb +182 -0
- data/lib/arjdbc/mssql/connection_methods.rb +37 -4
- data/lib/arjdbc/mssql/explain_support.rb +13 -21
- data/lib/arjdbc/mssql/limit_helpers.rb +79 -42
- data/lib/arjdbc/mssql/lock_methods.rb +77 -0
- data/lib/arjdbc/mssql/utils.rb +11 -11
- data/lib/arjdbc/mysql/adapter.rb +165 -247
- data/lib/arjdbc/mysql/column.rb +123 -0
- data/lib/arjdbc/mysql/connection_methods.rb +3 -6
- data/lib/arjdbc/oracle/adapter.rb +282 -288
- data/lib/arjdbc/oracle/column.rb +122 -0
- data/lib/arjdbc/oracle/connection_methods.rb +3 -0
- data/lib/arjdbc/postgresql/adapter.rb +336 -574
- data/lib/arjdbc/postgresql/column.rb +458 -0
- data/lib/arjdbc/postgresql/connection_methods.rb +1 -2
- data/lib/arjdbc/postgresql/schema_creation.rb +38 -0
- data/lib/arjdbc/sqlite3/adapter.rb +189 -145
- data/lib/arjdbc/sqlite3/explain_support.rb +1 -1
- data/lib/arjdbc/tasks/oracle/enhanced_structure_dump.rb +8 -8
- data/lib/arjdbc/util/quoted_cache.rb +60 -0
- data/lib/arjdbc/util/table_copier.rb +110 -0
- data/lib/arjdbc/version.rb +6 -7
- data/pom.xml +56 -2
- data/rakelib/02-test.rake +72 -83
- data/rakelib/db.rake +29 -17
- data/src/java/arjdbc/ArJdbcModule.java +21 -18
- data/src/java/arjdbc/db2/DB2RubyJdbcConnection.java +84 -12
- data/src/java/arjdbc/derby/DerbyModule.java +140 -143
- data/src/java/arjdbc/derby/DerbyRubyJdbcConnection.java +58 -7
- data/src/java/arjdbc/h2/H2Module.java +43 -0
- data/src/java/arjdbc/informix/InformixRubyJdbcConnection.java +7 -6
- data/src/java/arjdbc/jdbc/RubyJdbcConnection.java +1223 -648
- data/src/java/arjdbc/mssql/MSSQLRubyJdbcConnection.java +24 -23
- data/src/java/arjdbc/mysql/MySQLModule.java +33 -32
- data/src/java/arjdbc/mysql/MySQLRubyJdbcConnection.java +147 -30
- data/src/java/arjdbc/oracle/OracleModule.java +13 -13
- data/src/java/arjdbc/oracle/OracleRubyJdbcConnection.java +114 -6
- data/src/java/arjdbc/postgresql/PostgreSQLRubyJdbcConnection.java +166 -36
- data/src/java/arjdbc/sqlite3/SQLite3RubyJdbcConnection.java +101 -19
- data/src/java/arjdbc/util/QuotingUtils.java +19 -19
- metadata +240 -394
- data/bench/bench_attributes.rb +0 -13
- data/bench/bench_attributes_new.rb +0 -14
- data/bench/bench_create.rb +0 -12
- data/bench/bench_find_all.rb +0 -12
- data/bench/bench_find_all_mt.rb +0 -25
- data/bench/bench_model.rb +0 -85
- data/bench/bench_new.rb +0 -12
- data/bench/bench_new_valid.rb +0 -12
- data/bench/bench_valid.rb +0 -13
- data/lib/arel/engines/sql/compilers/db2_compiler.rb +0 -9
- data/lib/arel/engines/sql/compilers/derby_compiler.rb +0 -6
- data/lib/arel/engines/sql/compilers/h2_compiler.rb +0 -6
- data/lib/arel/engines/sql/compilers/hsqldb_compiler.rb +0 -15
- data/lib/arel/engines/sql/compilers/jdbc_compiler.rb +0 -6
- data/lib/arel/engines/sql/compilers/mssql_compiler.rb +0 -46
- data/lib/arjdbc/jdbc/missing_functionality_helper.rb +0 -98
- data/lib/arjdbc/mssql/lock_helpers.rb +0 -76
- data/lib/arjdbc/mssql/tsql_methods.rb +0 -58
- data/lib/arjdbc/postgresql/column_cast.rb +0 -134
- data/test/activerecord/connections/native_jdbc_mysql/connection.rb +0 -25
- data/test/activerecord/jall.sh +0 -7
- data/test/activerecord/jtest.sh +0 -3
- data/test/assets/flowers.jpg +0 -0
- data/test/binary.rb +0 -67
- data/test/db/db2.rb +0 -43
- data/test/db/db2/binary_test.rb +0 -6
- data/test/db/db2/has_many_through_test.rb +0 -6
- data/test/db/db2/rake_test.rb +0 -82
- data/test/db/db2/rake_test_data.sql +0 -35
- data/test/db/db2/reset_column_information_test.rb +0 -5
- data/test/db/db2/serialize_test.rb +0 -6
- data/test/db/db2/simple_test.rb +0 -81
- data/test/db/db2/test_helper.rb +0 -6
- data/test/db/db2/unit_test.rb +0 -73
- data/test/db/derby.rb +0 -12
- data/test/db/derby/binary_test.rb +0 -6
- data/test/db/derby/migration_test.rb +0 -74
- data/test/db/derby/rake_test.rb +0 -96
- data/test/db/derby/reset_column_information_test.rb +0 -6
- data/test/db/derby/row_locking_test.rb +0 -20
- data/test/db/derby/schema_dump_test.rb +0 -5
- data/test/db/derby/serialize_test.rb +0 -6
- data/test/db/derby/simple_test.rb +0 -173
- data/test/db/derby/test_helper.rb +0 -6
- data/test/db/derby/unit_test.rb +0 -32
- data/test/db/derby/xml_column_test.rb +0 -17
- data/test/db/h2.rb +0 -11
- data/test/db/h2/binary_test.rb +0 -6
- data/test/db/h2/change_column_test.rb +0 -68
- data/test/db/h2/identity_column_test.rb +0 -35
- data/test/db/h2/offset_test.rb +0 -49
- data/test/db/h2/rake_test.rb +0 -98
- data/test/db/h2/schema_dump_test.rb +0 -29
- data/test/db/h2/serialize_test.rb +0 -6
- data/test/db/h2/simple_test.rb +0 -56
- data/test/db/hsqldb.rb +0 -11
- data/test/db/hsqldb/binary_test.rb +0 -6
- data/test/db/hsqldb/rake_test.rb +0 -101
- data/test/db/hsqldb/schema_dump_test.rb +0 -19
- data/test/db/hsqldb/serialize_test.rb +0 -6
- data/test/db/hsqldb/simple_test.rb +0 -17
- data/test/db/informix.rb +0 -13
- data/test/db/jdbc.rb +0 -16
- data/test/db/jdbc_derby.rb +0 -14
- data/test/db/jdbc_h2.rb +0 -17
- data/test/db/jdbc_mysql.rb +0 -13
- data/test/db/jdbc_postgres.rb +0 -23
- data/test/db/jndi_config.rb +0 -32
- data/test/db/jndi_pooled_config.rb +0 -32
- data/test/db/mssql.rb +0 -11
- data/test/db/mssql/binary_test.rb +0 -6
- data/test/db/mssql/exec_proc_test.rb +0 -46
- data/test/db/mssql/identity_insert_test.rb +0 -18
- data/test/db/mssql/ignore_system_views_test.rb +0 -40
- data/test/db/mssql/limit_offset_test.rb +0 -190
- data/test/db/mssql/multibyte_test.rb +0 -16
- data/test/db/mssql/multiple_connections_test.rb +0 -71
- data/test/db/mssql/rake_test.rb +0 -143
- data/test/db/mssql/reset_column_information_test.rb +0 -6
- data/test/db/mssql/row_locking_test.rb +0 -7
- data/test/db/mssql/serialize_test.rb +0 -6
- data/test/db/mssql/simple_test.rb +0 -140
- data/test/db/mssql/transaction_test.rb +0 -6
- data/test/db/mssql/types_test.rb +0 -205
- data/test/db/mssql/unit_test.rb +0 -249
- data/test/db/mysql.rb +0 -4
- data/test/db/mysql/_rails_test_mysql.32.out +0 -6585
- data/test/db/mysql/binary_test.rb +0 -6
- data/test/db/mysql/connection_test.rb +0 -51
- data/test/db/mysql/index_length_test.rb +0 -58
- data/test/db/mysql/multibyte_test.rb +0 -10
- data/test/db/mysql/nonstandard_primary_key_test.rb +0 -39
- data/test/db/mysql/rake_test.rb +0 -97
- data/test/db/mysql/reset_column_information_test.rb +0 -6
- data/test/db/mysql/schema_dump_test.rb +0 -228
- data/test/db/mysql/serialize_test.rb +0 -6
- data/test/db/mysql/simple_test.rb +0 -187
- data/test/db/mysql/statement_escaping_test.rb +0 -46
- data/test/db/mysql/transaction_test.rb +0 -6
- data/test/db/mysql/types_test.rb +0 -30
- data/test/db/mysql/unit_test.rb +0 -93
- data/test/db/mysql_config.rb +0 -7
- data/test/db/oracle.rb +0 -27
- data/test/db/oracle/binary_test.rb +0 -6
- data/test/db/oracle/limit_test.rb +0 -24
- data/test/db/oracle/multibyte_test.rb +0 -22
- data/test/db/oracle/rake_test.rb +0 -100
- data/test/db/oracle/reset_column_information_test.rb +0 -6
- data/test/db/oracle/serialize_test.rb +0 -6
- data/test/db/oracle/simple_test.rb +0 -140
- data/test/db/oracle/specific_test.rb +0 -180
- data/test/db/oracle/transaction_test.rb +0 -31
- data/test/db/oracle/unit_test.rb +0 -31
- data/test/db/postgres.rb +0 -11
- data/test/db/postgres/_rails_test_postgres.32.out +0 -6405
- data/test/db/postgres/a_custom_primary_key_test.rb +0 -50
- data/test/db/postgres/active_schema_unit_test.rb +0 -68
- data/test/db/postgres/array_type_test.rb +0 -101
- data/test/db/postgres/binary_test.rb +0 -6
- data/test/db/postgres/connection_test.rb +0 -63
- data/test/db/postgres/data_types_test.rb +0 -703
- data/test/db/postgres/hstore_test.rb +0 -200
- data/test/db/postgres/information_schema_leak_test.rb +0 -30
- data/test/db/postgres/json_test.rb +0 -86
- data/test/db/postgres/ltree_test.rb +0 -51
- data/test/db/postgres/mixed_case_test.rb +0 -29
- data/test/db/postgres/native_types_test.rb +0 -124
- data/test/db/postgres/rake_test.rb +0 -117
- data/test/db/postgres/reserved_test.rb +0 -22
- data/test/db/postgres/reset_column_information_test.rb +0 -6
- data/test/db/postgres/row_locking_test.rb +0 -21
- data/test/db/postgres/schema_dump_test.rb +0 -95
- data/test/db/postgres/schema_test.rb +0 -115
- data/test/db/postgres/simple_test.rb +0 -260
- data/test/db/postgres/table_alias_length_test.rb +0 -16
- data/test/db/postgres/transaction_test.rb +0 -6
- data/test/db/postgres/unit_test.rb +0 -31
- data/test/db/postgres_config.rb +0 -10
- data/test/db/sqlite3.rb +0 -6
- data/test/db/sqlite3/_rails_test_sqlite3.32.out +0 -6274
- data/test/db/sqlite3/has_many_though_test.rb +0 -6
- data/test/db/sqlite3/rake_test.rb +0 -71
- data/test/db/sqlite3/reset_column_information_test.rb +0 -6
- data/test/db/sqlite3/schema_dump_test.rb +0 -6
- data/test/db/sqlite3/serialize_test.rb +0 -6
- data/test/db/sqlite3/simple_test.rb +0 -268
- data/test/db/sqlite3/transaction_test.rb +0 -32
- data/test/db/sqlite3/type_conversion_test.rb +0 -104
- data/test/has_many_through.rb +0 -61
- data/test/informix_simple_test.rb +0 -48
- data/test/jdbc/db2.rb +0 -36
- data/test/jdbc/oracle.rb +0 -34
- data/test/jdbc_column_test.rb +0 -23
- data/test/jdbc_common.rb +0 -16
- data/test/jdbc_connection_test.rb +0 -196
- data/test/jndi_callbacks_test.rb +0 -33
- data/test/jndi_test.rb +0 -55
- data/test/manualTestDatabase.rb +0 -191
- data/test/models/add_not_null_column_to_table.rb +0 -9
- data/test/models/auto_id.rb +0 -15
- data/test/models/binary.rb +0 -18
- data/test/models/custom_pk_name.rb +0 -15
- data/test/models/data_types.rb +0 -40
- data/test/models/entry.rb +0 -41
- data/test/models/mixed_case.rb +0 -22
- data/test/models/reserved_word.rb +0 -15
- data/test/models/rights_and_roles.rb +0 -57
- data/test/models/string_id.rb +0 -17
- data/test/models/thing.rb +0 -17
- data/test/models/topic.rb +0 -32
- data/test/models/validates_uniqueness_of_string.rb +0 -19
- data/test/rails/mysql.rb +0 -13
- data/test/rails/sqlite3/version.rb +0 -6
- data/test/rails_stub.rb +0 -31
- data/test/rake_test_support.rb +0 -298
- data/test/row_locking.rb +0 -102
- data/test/schema_dump.rb +0 -182
- data/test/serialize.rb +0 -275
- data/test/shared_helper.rb +0 -35
- data/test/simple.rb +0 -1317
- data/test/sybase_jtds_simple_test.rb +0 -28
- data/test/sybase_reset_column_information_test.rb +0 -6
- data/test/test_helper.rb +0 -304
- data/test/transaction.rb +0 -109
@@ -2,23 +2,40 @@
|
|
2
2
|
$:.push File.expand_path("../lib", __FILE__)
|
3
3
|
require 'arjdbc/version'
|
4
4
|
|
5
|
-
Gem::Specification.new do |
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
5
|
+
Gem::Specification.new do |gem|
|
6
|
+
gem.name = 'activerecord-jdbc-adapter'
|
7
|
+
gem.version = ArJdbc::VERSION
|
8
|
+
gem.platform = Gem::Platform::RUBY
|
9
|
+
gem.authors = ['Nick Sieger, Ola Bini and JRuby contributors']
|
10
|
+
gem.email = ['nick@nicksieger.com', 'ola.bini@gmail.com']
|
11
|
+
gem.homepage = 'https://github.com/jruby/activerecord-jdbc-adapter'
|
12
|
+
gem.license = "BSD"
|
13
|
+
gem.summary = 'JDBC adapter for ActiveRecord, for use within JRuby on Rails.'
|
14
|
+
gem.description = "" <<
|
15
|
+
"AR-JDBC is a database adapter for Rails' ActiveRecord component designed " <<
|
16
|
+
"to be used with JRuby built upon Java's JDBC API for database access. " <<
|
17
|
+
"Provides (ActiveRecord) built-in adapters: MySQL, PostgreSQL and SQLite3 " <<
|
18
|
+
"as well as adapters for popular databases such as Oracle, SQLServer, " <<
|
19
|
+
"DB2, FireBird and even Java (embed) databases: Derby, HSQLDB and H2. " <<
|
20
|
+
"It allows to connect to virtually any JDBC-compliant database with your " <<
|
21
|
+
"JRuby on Rails application."
|
22
|
+
|
23
|
+
gem.require_paths = ["lib"]
|
24
|
+
|
25
|
+
gem.files = `git ls-files`.split("\n").
|
26
|
+
reject { |f| f =~ /^(activerecord-jdbc[^-]|jdbc-)/ }. # gem directories
|
27
|
+
reject { |f| f =~ /^(bench|test)/ } # not sure if including tests is useful
|
28
|
+
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
29
|
+
gem.test_files = gem.files.grep(%r{^test/})
|
30
|
+
|
31
|
+
# NOTE: 1.3.0 only supports >= 2.3 but users report it works with 2.2 :
|
32
|
+
gem.add_dependency 'activerecord', '>= 2.2'
|
33
|
+
|
34
|
+
#gem.add_development_dependency 'test-unit', '2.5.4'
|
35
|
+
#gem.add_development_dependency 'test-unit-context', '>= 0.3.0'
|
36
|
+
#gem.add_development_dependency 'mocha', '~> 0.13.1'
|
37
|
+
|
38
|
+
gem.rdoc_options = ["--main", "README.md", "-SHN", "-f", "darkfish"]
|
39
|
+
gem.rubyforge_project = %q{jruby-extras}
|
23
40
|
end
|
24
41
|
|
data/gemfiles/rails23.gemfile
CHANGED
@@ -2,12 +2,13 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
+
gem "thread_safe", :require=>nil
|
5
6
|
gem "jruby-openssl", :platform=>:jruby
|
6
|
-
gem "appraisal", :require=>nil
|
7
7
|
gem "rake", :require=>nil
|
8
|
+
gem "appraisal", :require=>nil
|
8
9
|
gem "test-unit", "2.5.4", :group=>:test
|
9
|
-
gem "test-unit-context", :group=>:test
|
10
|
-
gem "mocha", "
|
10
|
+
gem "test-unit-context", ">= 0.3.0", :group=>:test
|
11
|
+
gem "mocha", "~> 0.13.1", :require=>nil, :group=>:test
|
11
12
|
gem "simplecov", :require=>nil, :group=>:test
|
12
13
|
gem "bcrypt-ruby", "~> 3.0.0", :require=>nil, :group=>:test
|
13
14
|
gem "activerecord", "~> 2.3.18"
|
@@ -14,15 +14,15 @@ GEM
|
|
14
14
|
appraisal (0.5.2)
|
15
15
|
bundler
|
16
16
|
rake
|
17
|
-
|
17
|
+
atomic (1.1.10-java)
|
18
18
|
bcrypt-ruby (3.0.1-java)
|
19
19
|
bouncy-castle-java (1.5.0147)
|
20
|
-
jruby-openssl (0.8.
|
20
|
+
jruby-openssl (0.8.8)
|
21
21
|
bouncy-castle-java (>= 1.5.0147)
|
22
22
|
metaclass (0.0.1)
|
23
23
|
mocha (0.13.3)
|
24
24
|
metaclass (~> 0.0.1)
|
25
|
-
multi_json (1.7.
|
25
|
+
multi_json (1.7.7)
|
26
26
|
rack (1.1.6)
|
27
27
|
rails (2.3.18)
|
28
28
|
actionmailer (= 2.3.18)
|
@@ -31,7 +31,7 @@ GEM
|
|
31
31
|
activeresource (= 2.3.18)
|
32
32
|
activesupport (= 2.3.18)
|
33
33
|
rake (>= 0.8.3)
|
34
|
-
rake (10.0
|
34
|
+
rake (10.1.0)
|
35
35
|
simplecov (0.7.1)
|
36
36
|
multi_json (~> 1.0)
|
37
37
|
simplecov-html (~> 0.7.1)
|
@@ -39,6 +39,8 @@ GEM
|
|
39
39
|
test-unit (2.5.4)
|
40
40
|
test-unit-context (0.3.1)
|
41
41
|
test-unit (>= 2.4.0)
|
42
|
+
thread_safe (0.1.2-java)
|
43
|
+
atomic
|
42
44
|
|
43
45
|
PLATFORMS
|
44
46
|
java
|
@@ -48,9 +50,10 @@ DEPENDENCIES
|
|
48
50
|
appraisal
|
49
51
|
bcrypt-ruby (~> 3.0.0)
|
50
52
|
jruby-openssl
|
51
|
-
mocha (
|
53
|
+
mocha (~> 0.13.1)
|
52
54
|
rails (~> 2.3.18)
|
53
55
|
rake
|
54
56
|
simplecov
|
55
57
|
test-unit (= 2.5.4)
|
56
|
-
test-unit-context
|
58
|
+
test-unit-context (>= 0.3.0)
|
59
|
+
thread_safe
|
data/gemfiles/rails30.gemfile
CHANGED
@@ -2,12 +2,13 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
+
gem "thread_safe", :require=>nil
|
5
6
|
gem "jruby-openssl", :platform=>:jruby
|
6
|
-
gem "appraisal", :require=>nil
|
7
7
|
gem "rake", :require=>nil
|
8
|
+
gem "appraisal", :require=>nil
|
8
9
|
gem "test-unit", "2.5.4", :group=>:test
|
9
|
-
gem "test-unit-context", :group=>:test
|
10
|
-
gem "mocha", "
|
10
|
+
gem "test-unit-context", ">= 0.3.0", :group=>:test
|
11
|
+
gem "mocha", "~> 0.13.1", :require=>nil, :group=>:test
|
11
12
|
gem "simplecov", :require=>nil, :group=>:test
|
12
13
|
gem "bcrypt-ruby", "~> 3.0.0", :require=>nil, :group=>:test
|
13
14
|
gem "activerecord", "~> 3.0.20"
|
@@ -15,18 +15,18 @@ GEM
|
|
15
15
|
bundler
|
16
16
|
rake
|
17
17
|
arel (2.0.10)
|
18
|
-
|
18
|
+
atomic (1.1.10-java)
|
19
19
|
bcrypt-ruby (3.0.1-java)
|
20
20
|
bouncy-castle-java (1.5.0147)
|
21
21
|
builder (2.1.2)
|
22
22
|
i18n (0.5.0)
|
23
|
-
jruby-openssl (0.8.
|
23
|
+
jruby-openssl (0.8.8)
|
24
24
|
bouncy-castle-java (>= 1.5.0147)
|
25
25
|
metaclass (0.0.1)
|
26
26
|
mocha (0.13.3)
|
27
27
|
metaclass (~> 0.0.1)
|
28
|
-
multi_json (1.7.
|
29
|
-
rake (10.0
|
28
|
+
multi_json (1.7.7)
|
29
|
+
rake (10.1.0)
|
30
30
|
simplecov (0.7.1)
|
31
31
|
multi_json (~> 1.0)
|
32
32
|
simplecov-html (~> 0.7.1)
|
@@ -34,6 +34,8 @@ GEM
|
|
34
34
|
test-unit (2.5.4)
|
35
35
|
test-unit-context (0.3.1)
|
36
36
|
test-unit (>= 2.4.0)
|
37
|
+
thread_safe (0.1.2-java)
|
38
|
+
atomic
|
37
39
|
tzinfo (0.3.37)
|
38
40
|
|
39
41
|
PLATFORMS
|
@@ -44,8 +46,9 @@ DEPENDENCIES
|
|
44
46
|
appraisal
|
45
47
|
bcrypt-ruby (~> 3.0.0)
|
46
48
|
jruby-openssl
|
47
|
-
mocha (
|
49
|
+
mocha (~> 0.13.1)
|
48
50
|
rake
|
49
51
|
simplecov
|
50
52
|
test-unit (= 2.5.4)
|
51
|
-
test-unit-context
|
53
|
+
test-unit-context (>= 0.3.0)
|
54
|
+
thread_safe
|
data/gemfiles/rails31.gemfile
CHANGED
@@ -2,12 +2,13 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
+
gem "thread_safe", :require=>nil
|
5
6
|
gem "jruby-openssl", :platform=>:jruby
|
6
|
-
gem "appraisal", :require=>nil
|
7
7
|
gem "rake", :require=>nil
|
8
|
+
gem "appraisal", :require=>nil
|
8
9
|
gem "test-unit", "2.5.4", :group=>:test
|
9
|
-
gem "test-unit-context", :group=>:test
|
10
|
-
gem "mocha", "
|
10
|
+
gem "test-unit-context", ">= 0.3.0", :group=>:test
|
11
|
+
gem "mocha", "~> 0.13.1", :require=>nil, :group=>:test
|
11
12
|
gem "simplecov", :require=>nil, :group=>:test
|
12
13
|
gem "bcrypt-ruby", "~> 3.0.0", :require=>nil, :group=>:test
|
13
14
|
gem "activerecord", "~> 3.1.12"
|
@@ -16,18 +16,18 @@ GEM
|
|
16
16
|
bundler
|
17
17
|
rake
|
18
18
|
arel (2.2.3)
|
19
|
-
|
19
|
+
atomic (1.1.10-java)
|
20
20
|
bcrypt-ruby (3.0.1-java)
|
21
21
|
bouncy-castle-java (1.5.0147)
|
22
22
|
builder (3.0.4)
|
23
23
|
i18n (0.6.4)
|
24
|
-
jruby-openssl (0.8.
|
24
|
+
jruby-openssl (0.8.8)
|
25
25
|
bouncy-castle-java (>= 1.5.0147)
|
26
26
|
metaclass (0.0.1)
|
27
27
|
mocha (0.13.3)
|
28
28
|
metaclass (~> 0.0.1)
|
29
|
-
multi_json (1.7.
|
30
|
-
rake (10.0
|
29
|
+
multi_json (1.7.7)
|
30
|
+
rake (10.1.0)
|
31
31
|
simplecov (0.7.1)
|
32
32
|
multi_json (~> 1.0)
|
33
33
|
simplecov-html (~> 0.7.1)
|
@@ -35,6 +35,8 @@ GEM
|
|
35
35
|
test-unit (2.5.4)
|
36
36
|
test-unit-context (0.3.1)
|
37
37
|
test-unit (>= 2.4.0)
|
38
|
+
thread_safe (0.1.2-java)
|
39
|
+
atomic
|
38
40
|
tzinfo (0.3.37)
|
39
41
|
|
40
42
|
PLATFORMS
|
@@ -45,8 +47,9 @@ DEPENDENCIES
|
|
45
47
|
appraisal
|
46
48
|
bcrypt-ruby (~> 3.0.0)
|
47
49
|
jruby-openssl
|
48
|
-
mocha (
|
50
|
+
mocha (~> 0.13.1)
|
49
51
|
rake
|
50
52
|
simplecov
|
51
53
|
test-unit (= 2.5.4)
|
52
|
-
test-unit-context
|
54
|
+
test-unit-context (>= 0.3.0)
|
55
|
+
thread_safe
|
data/gemfiles/rails32.gemfile
CHANGED
@@ -2,12 +2,13 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
+
gem "thread_safe", :require=>nil
|
5
6
|
gem "jruby-openssl", :platform=>:jruby
|
6
|
-
gem "appraisal", :require=>nil
|
7
7
|
gem "rake", :require=>nil
|
8
|
+
gem "appraisal", :require=>nil
|
8
9
|
gem "test-unit", "2.5.4", :group=>:test
|
9
|
-
gem "test-unit-context", :group=>:test
|
10
|
-
gem "mocha", "
|
10
|
+
gem "test-unit-context", ">= 0.3.0", :group=>:test
|
11
|
+
gem "mocha", "~> 0.13.1", :require=>nil, :group=>:test
|
11
12
|
gem "simplecov", :require=>nil, :group=>:test
|
12
13
|
gem "bcrypt-ruby", "~> 3.0.0", :require=>nil, :group=>:test
|
13
14
|
gem "activerecord", "~> 3.2.13"
|
@@ -1,33 +1,33 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activemodel (3.2.
|
5
|
-
activesupport (= 3.2.
|
4
|
+
activemodel (3.2.14)
|
5
|
+
activesupport (= 3.2.14)
|
6
6
|
builder (~> 3.0.0)
|
7
|
-
activerecord (3.2.
|
8
|
-
activemodel (= 3.2.
|
9
|
-
activesupport (= 3.2.
|
7
|
+
activerecord (3.2.14)
|
8
|
+
activemodel (= 3.2.14)
|
9
|
+
activesupport (= 3.2.14)
|
10
10
|
arel (~> 3.0.2)
|
11
11
|
tzinfo (~> 0.3.29)
|
12
|
-
activesupport (3.2.
|
13
|
-
i18n (
|
12
|
+
activesupport (3.2.14)
|
13
|
+
i18n (~> 0.6, >= 0.6.4)
|
14
14
|
multi_json (~> 1.0)
|
15
15
|
appraisal (0.5.2)
|
16
16
|
bundler
|
17
17
|
rake
|
18
18
|
arel (3.0.2)
|
19
|
-
|
19
|
+
atomic (1.1.10-java)
|
20
20
|
bcrypt-ruby (3.0.1-java)
|
21
21
|
bouncy-castle-java (1.5.0147)
|
22
22
|
builder (3.0.4)
|
23
|
-
i18n (0.6.
|
24
|
-
jruby-openssl (0.8.
|
23
|
+
i18n (0.6.4)
|
24
|
+
jruby-openssl (0.8.8)
|
25
25
|
bouncy-castle-java (>= 1.5.0147)
|
26
26
|
metaclass (0.0.1)
|
27
27
|
mocha (0.13.3)
|
28
28
|
metaclass (~> 0.0.1)
|
29
|
-
multi_json (1.7.
|
30
|
-
rake (10.0
|
29
|
+
multi_json (1.7.7)
|
30
|
+
rake (10.1.0)
|
31
31
|
simplecov (0.7.1)
|
32
32
|
multi_json (~> 1.0)
|
33
33
|
simplecov-html (~> 0.7.1)
|
@@ -35,6 +35,8 @@ GEM
|
|
35
35
|
test-unit (2.5.4)
|
36
36
|
test-unit-context (0.3.1)
|
37
37
|
test-unit (>= 2.4.0)
|
38
|
+
thread_safe (0.1.2-java)
|
39
|
+
atomic
|
38
40
|
tzinfo (0.3.37)
|
39
41
|
|
40
42
|
PLATFORMS
|
@@ -45,8 +47,9 @@ DEPENDENCIES
|
|
45
47
|
appraisal
|
46
48
|
bcrypt-ruby (~> 3.0.0)
|
47
49
|
jruby-openssl
|
48
|
-
mocha (
|
50
|
+
mocha (~> 0.13.1)
|
49
51
|
rake
|
50
52
|
simplecov
|
51
53
|
test-unit (= 2.5.4)
|
52
|
-
test-unit-context
|
54
|
+
test-unit-context (>= 0.3.0)
|
55
|
+
thread_safe
|
data/gemfiles/rails40.gemfile
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
-
gem "
|
5
|
+
gem "thread_safe", :require=>nil
|
6
6
|
gem "jruby-openssl", :platform=>:jruby
|
7
|
-
gem "appraisal", :require=>nil
|
8
7
|
gem "rake", :require=>nil
|
8
|
+
gem "appraisal", :require=>nil
|
9
9
|
gem "test-unit", "2.5.4", :group=>:test
|
10
|
-
gem "test-unit-context", :group=>:test
|
11
|
-
gem "mocha", "
|
10
|
+
gem "test-unit-context", ">= 0.3.0", :group=>:test
|
11
|
+
gem "mocha", "~> 0.13.1", :require=>nil, :group=>:test
|
12
12
|
gem "simplecov", :require=>nil, :group=>:test
|
13
13
|
gem "bcrypt-ruby", "~> 3.0.0", :require=>nil, :group=>:test
|
14
|
-
gem "
|
14
|
+
gem "activerecord", "~> 4.0.0"
|
15
15
|
|
@@ -1,112 +1,60 @@
|
|
1
|
-
|
2
|
-
remote:
|
3
|
-
revision: b83a7203b85df83026af2b1d8a9135c4d068d807
|
4
|
-
branch: 4-0-stable
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
5
3
|
specs:
|
6
|
-
|
7
|
-
|
8
|
-
mail (~> 2.5.4)
|
9
|
-
actionpack (4.0.0.rc1)
|
10
|
-
activesupport (= 4.0.0.rc1)
|
4
|
+
activemodel (4.0.0)
|
5
|
+
activesupport (= 4.0.0)
|
11
6
|
builder (~> 3.1.0)
|
12
|
-
|
13
|
-
|
14
|
-
rack-test (~> 0.6.2)
|
15
|
-
activemodel (4.0.0.rc1)
|
16
|
-
activesupport (= 4.0.0.rc1)
|
17
|
-
builder (~> 3.1.0)
|
18
|
-
activerecord (4.0.0.rc1)
|
19
|
-
activemodel (= 4.0.0.rc1)
|
7
|
+
activerecord (4.0.0)
|
8
|
+
activemodel (= 4.0.0)
|
20
9
|
activerecord-deprecated_finders (~> 1.0.2)
|
21
|
-
activesupport (= 4.0.0
|
10
|
+
activesupport (= 4.0.0)
|
22
11
|
arel (~> 4.0.0)
|
23
|
-
|
12
|
+
activerecord-deprecated_finders (1.0.3)
|
13
|
+
activesupport (4.0.0)
|
24
14
|
i18n (~> 0.6, >= 0.6.4)
|
25
15
|
minitest (~> 4.2)
|
26
16
|
multi_json (~> 1.3)
|
27
17
|
thread_safe (~> 0.1)
|
28
18
|
tzinfo (~> 0.3.37)
|
29
|
-
rails (4.0.0.rc1)
|
30
|
-
actionmailer (= 4.0.0.rc1)
|
31
|
-
actionpack (= 4.0.0.rc1)
|
32
|
-
activerecord (= 4.0.0.rc1)
|
33
|
-
activesupport (= 4.0.0.rc1)
|
34
|
-
bundler (>= 1.3.0, < 2.0)
|
35
|
-
railties (= 4.0.0.rc1)
|
36
|
-
sprockets-rails (~> 2.0.0.rc4)
|
37
|
-
railties (4.0.0.rc1)
|
38
|
-
actionpack (= 4.0.0.rc1)
|
39
|
-
activesupport (= 4.0.0.rc1)
|
40
|
-
rake (>= 0.8.7)
|
41
|
-
thor (>= 0.18.1, < 2.0)
|
42
|
-
|
43
|
-
GEM
|
44
|
-
remote: https://rubygems.org/
|
45
|
-
specs:
|
46
|
-
activerecord-deprecated_finders (1.0.2)
|
47
19
|
appraisal (0.5.2)
|
48
20
|
bundler
|
49
21
|
rake
|
50
22
|
arel (4.0.0)
|
51
|
-
atomic (1.1.
|
23
|
+
atomic (1.1.10-java)
|
52
24
|
bcrypt-ruby (3.0.1-java)
|
53
25
|
bouncy-castle-java (1.5.0147)
|
54
26
|
builder (3.1.4)
|
55
|
-
erubis (2.7.0)
|
56
|
-
hike (1.2.2)
|
57
27
|
i18n (0.6.4)
|
58
28
|
jruby-openssl (0.8.8)
|
59
29
|
bouncy-castle-java (>= 1.5.0147)
|
60
|
-
mail (2.5.4)
|
61
|
-
mime-types (~> 1.16)
|
62
|
-
treetop (~> 1.4.8)
|
63
30
|
metaclass (0.0.1)
|
64
|
-
|
65
|
-
minitest (4.7.4)
|
31
|
+
minitest (4.7.5)
|
66
32
|
mocha (0.13.3)
|
67
33
|
metaclass (~> 0.0.1)
|
68
|
-
multi_json (1.7.
|
69
|
-
|
70
|
-
rack (1.5.2)
|
71
|
-
rack-test (0.6.2)
|
72
|
-
rack (>= 1.0)
|
73
|
-
rake (10.0.4)
|
34
|
+
multi_json (1.7.7)
|
35
|
+
rake (10.1.0)
|
74
36
|
simplecov (0.7.1)
|
75
37
|
multi_json (~> 1.0)
|
76
38
|
simplecov-html (~> 0.7.1)
|
77
39
|
simplecov-html (0.7.1)
|
78
|
-
sprockets (2.9.3)
|
79
|
-
hike (~> 1.2)
|
80
|
-
multi_json (~> 1.0)
|
81
|
-
rack (~> 1.0)
|
82
|
-
tilt (~> 1.1, != 1.3.0)
|
83
|
-
sprockets-rails (2.0.0.rc4)
|
84
|
-
actionpack (>= 3.0)
|
85
|
-
activesupport (>= 3.0)
|
86
|
-
sprockets (~> 2.8)
|
87
40
|
test-unit (2.5.4)
|
88
41
|
test-unit-context (0.3.1)
|
89
42
|
test-unit (>= 2.4.0)
|
90
|
-
thor (0.18.1)
|
91
43
|
thread_safe (0.1.0)
|
92
44
|
atomic
|
93
|
-
tilt (1.4.1)
|
94
|
-
treetop (1.4.12)
|
95
|
-
polyglot
|
96
|
-
polyglot (>= 0.3.1)
|
97
45
|
tzinfo (0.3.37)
|
98
46
|
|
99
47
|
PLATFORMS
|
100
48
|
java
|
101
49
|
|
102
50
|
DEPENDENCIES
|
103
|
-
activerecord
|
51
|
+
activerecord (~> 4.0.0)
|
104
52
|
appraisal
|
105
53
|
bcrypt-ruby (~> 3.0.0)
|
106
54
|
jruby-openssl
|
107
|
-
mocha (
|
108
|
-
rails!
|
55
|
+
mocha (~> 0.13.1)
|
109
56
|
rake
|
110
57
|
simplecov
|
111
58
|
test-unit (= 2.5.4)
|
112
|
-
test-unit-context
|
59
|
+
test-unit-context (>= 0.3.0)
|
60
|
+
thread_safe
|