activerecord-jdbc-adapter-ficoh 1.3.21-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (191) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +35 -0
  3. data/.travis.yml +462 -0
  4. data/.yardopts +4 -0
  5. data/Appraisals +36 -0
  6. data/CONTRIBUTING.md +49 -0
  7. data/Gemfile +68 -0
  8. data/History.md +1191 -0
  9. data/LICENSE.txt +25 -0
  10. data/README.md +277 -0
  11. data/RUNNING_TESTS.md +88 -0
  12. data/Rakefile +298 -0
  13. data/Rakefile.jdbc +20 -0
  14. data/activerecord-jdbc-adapter.gemspec +63 -0
  15. data/lib/active_record/connection_adapters/as400_adapter.rb +2 -0
  16. data/lib/active_record/connection_adapters/db2_adapter.rb +1 -0
  17. data/lib/active_record/connection_adapters/derby_adapter.rb +1 -0
  18. data/lib/active_record/connection_adapters/firebird_adapter.rb +1 -0
  19. data/lib/active_record/connection_adapters/h2_adapter.rb +1 -0
  20. data/lib/active_record/connection_adapters/hsqldb_adapter.rb +1 -0
  21. data/lib/active_record/connection_adapters/informix_adapter.rb +1 -0
  22. data/lib/active_record/connection_adapters/jdbc_adapter.rb +1 -0
  23. data/lib/active_record/connection_adapters/jndi_adapter.rb +1 -0
  24. data/lib/active_record/connection_adapters/mariadb_adapter.rb +1 -0
  25. data/lib/active_record/connection_adapters/mssql_adapter.rb +1 -0
  26. data/lib/active_record/connection_adapters/mysql2_adapter.rb +1 -0
  27. data/lib/active_record/connection_adapters/mysql_adapter.rb +1 -0
  28. data/lib/active_record/connection_adapters/oracle_adapter.rb +1 -0
  29. data/lib/active_record/connection_adapters/postgresql_adapter.rb +1 -0
  30. data/lib/active_record/connection_adapters/sqlite3_adapter.rb +1 -0
  31. data/lib/active_record/connection_adapters/sqlserver_adapter.rb +1 -0
  32. data/lib/activerecord-jdbc-adapter.rb +1 -0
  33. data/lib/arel/visitors/compat.rb +64 -0
  34. data/lib/arel/visitors/db2.rb +137 -0
  35. data/lib/arel/visitors/derby.rb +112 -0
  36. data/lib/arel/visitors/firebird.rb +79 -0
  37. data/lib/arel/visitors/h2.rb +25 -0
  38. data/lib/arel/visitors/hsqldb.rb +32 -0
  39. data/lib/arel/visitors/postgresql_jdbc.rb +6 -0
  40. data/lib/arel/visitors/sql_server.rb +225 -0
  41. data/lib/arel/visitors/sql_server/ng42.rb +293 -0
  42. data/lib/arjdbc.rb +22 -0
  43. data/lib/arjdbc/db2.rb +4 -0
  44. data/lib/arjdbc/db2/adapter.rb +802 -0
  45. data/lib/arjdbc/db2/as400.rb +137 -0
  46. data/lib/arjdbc/db2/column.rb +177 -0
  47. data/lib/arjdbc/db2/connection_methods.rb +45 -0
  48. data/lib/arjdbc/derby.rb +3 -0
  49. data/lib/arjdbc/derby/active_record_patch.rb +13 -0
  50. data/lib/arjdbc/derby/adapter.rb +567 -0
  51. data/lib/arjdbc/derby/connection_methods.rb +16 -0
  52. data/lib/arjdbc/derby/schema_creation.rb +15 -0
  53. data/lib/arjdbc/discover.rb +104 -0
  54. data/lib/arjdbc/firebird.rb +4 -0
  55. data/lib/arjdbc/firebird/adapter.rb +468 -0
  56. data/lib/arjdbc/firebird/connection_methods.rb +20 -0
  57. data/lib/arjdbc/h2.rb +3 -0
  58. data/lib/arjdbc/h2/adapter.rb +335 -0
  59. data/lib/arjdbc/h2/connection_methods.rb +22 -0
  60. data/lib/arjdbc/hsqldb.rb +3 -0
  61. data/lib/arjdbc/hsqldb/adapter.rb +304 -0
  62. data/lib/arjdbc/hsqldb/connection_methods.rb +23 -0
  63. data/lib/arjdbc/hsqldb/explain_support.rb +35 -0
  64. data/lib/arjdbc/hsqldb/schema_creation.rb +11 -0
  65. data/lib/arjdbc/informix.rb +5 -0
  66. data/lib/arjdbc/informix/adapter.rb +160 -0
  67. data/lib/arjdbc/informix/connection_methods.rb +9 -0
  68. data/lib/arjdbc/jdbc.rb +62 -0
  69. data/lib/arjdbc/jdbc/adapter.rb +997 -0
  70. data/lib/arjdbc/jdbc/adapter_require.rb +46 -0
  71. data/lib/arjdbc/jdbc/arel_support.rb +149 -0
  72. data/lib/arjdbc/jdbc/base_ext.rb +34 -0
  73. data/lib/arjdbc/jdbc/callbacks.rb +52 -0
  74. data/lib/arjdbc/jdbc/column.rb +83 -0
  75. data/lib/arjdbc/jdbc/connection.rb +26 -0
  76. data/lib/arjdbc/jdbc/connection_methods.rb +59 -0
  77. data/lib/arjdbc/jdbc/driver.rb +44 -0
  78. data/lib/arjdbc/jdbc/error.rb +75 -0
  79. data/lib/arjdbc/jdbc/extension.rb +69 -0
  80. data/lib/arjdbc/jdbc/java.rb +13 -0
  81. data/lib/arjdbc/jdbc/type_cast.rb +154 -0
  82. data/lib/arjdbc/jdbc/type_converter.rb +142 -0
  83. data/lib/arjdbc/mssql.rb +7 -0
  84. data/lib/arjdbc/mssql/adapter.rb +822 -0
  85. data/lib/arjdbc/mssql/column.rb +207 -0
  86. data/lib/arjdbc/mssql/connection_methods.rb +72 -0
  87. data/lib/arjdbc/mssql/explain_support.rb +99 -0
  88. data/lib/arjdbc/mssql/limit_helpers.rb +231 -0
  89. data/lib/arjdbc/mssql/lock_methods.rb +77 -0
  90. data/lib/arjdbc/mssql/types.rb +343 -0
  91. data/lib/arjdbc/mssql/utils.rb +82 -0
  92. data/lib/arjdbc/mysql.rb +3 -0
  93. data/lib/arjdbc/mysql/adapter.rb +998 -0
  94. data/lib/arjdbc/mysql/bulk_change_table.rb +150 -0
  95. data/lib/arjdbc/mysql/column.rb +167 -0
  96. data/lib/arjdbc/mysql/connection_methods.rb +137 -0
  97. data/lib/arjdbc/mysql/explain_support.rb +82 -0
  98. data/lib/arjdbc/mysql/schema_creation.rb +58 -0
  99. data/lib/arjdbc/oracle.rb +4 -0
  100. data/lib/arjdbc/oracle/adapter.rb +968 -0
  101. data/lib/arjdbc/oracle/column.rb +136 -0
  102. data/lib/arjdbc/oracle/connection_methods.rb +21 -0
  103. data/lib/arjdbc/postgresql.rb +3 -0
  104. data/lib/arjdbc/postgresql/_bc_time_cast_patch.rb +21 -0
  105. data/lib/arjdbc/postgresql/adapter.rb +1498 -0
  106. data/lib/arjdbc/postgresql/base/array_parser.rb +95 -0
  107. data/lib/arjdbc/postgresql/base/oid.rb +412 -0
  108. data/lib/arjdbc/postgresql/base/pgconn.rb +8 -0
  109. data/lib/arjdbc/postgresql/base/schema_definitions.rb +132 -0
  110. data/lib/arjdbc/postgresql/column.rb +640 -0
  111. data/lib/arjdbc/postgresql/connection_methods.rb +44 -0
  112. data/lib/arjdbc/postgresql/explain_support.rb +53 -0
  113. data/lib/arjdbc/postgresql/oid/bytea.rb +3 -0
  114. data/lib/arjdbc/postgresql/oid_types.rb +265 -0
  115. data/lib/arjdbc/postgresql/schema_creation.rb +60 -0
  116. data/lib/arjdbc/railtie.rb +11 -0
  117. data/lib/arjdbc/sqlite3.rb +3 -0
  118. data/lib/arjdbc/sqlite3/adapter.rb +654 -0
  119. data/lib/arjdbc/sqlite3/connection_methods.rb +36 -0
  120. data/lib/arjdbc/sqlite3/explain_support.rb +29 -0
  121. data/lib/arjdbc/sybase.rb +2 -0
  122. data/lib/arjdbc/sybase/adapter.rb +47 -0
  123. data/lib/arjdbc/tasks.rb +13 -0
  124. data/lib/arjdbc/tasks/database_tasks.rb +66 -0
  125. data/lib/arjdbc/tasks/databases.rake +91 -0
  126. data/lib/arjdbc/tasks/databases3.rake +239 -0
  127. data/lib/arjdbc/tasks/databases4.rake +39 -0
  128. data/lib/arjdbc/tasks/db2_database_tasks.rb +104 -0
  129. data/lib/arjdbc/tasks/derby_database_tasks.rb +95 -0
  130. data/lib/arjdbc/tasks/h2_database_tasks.rb +31 -0
  131. data/lib/arjdbc/tasks/hsqldb_database_tasks.rb +70 -0
  132. data/lib/arjdbc/tasks/jdbc_database_tasks.rb +169 -0
  133. data/lib/arjdbc/tasks/mssql_database_tasks.rb +46 -0
  134. data/lib/arjdbc/tasks/oracle/enhanced_structure_dump.rb +297 -0
  135. data/lib/arjdbc/tasks/oracle_database_tasks.rb +65 -0
  136. data/lib/arjdbc/util/quoted_cache.rb +60 -0
  137. data/lib/arjdbc/util/serialized_attributes.rb +98 -0
  138. data/lib/arjdbc/util/table_copier.rb +108 -0
  139. data/lib/arjdbc/version.rb +8 -0
  140. data/lib/generators/jdbc/USAGE +9 -0
  141. data/lib/generators/jdbc/jdbc_generator.rb +17 -0
  142. data/pom.xml +285 -0
  143. data/rails_generators/jdbc_generator.rb +15 -0
  144. data/rails_generators/templates/config/initializers/jdbc.rb +10 -0
  145. data/rails_generators/templates/lib/tasks/jdbc.rake +11 -0
  146. data/rakelib/01-tomcat.rake +51 -0
  147. data/rakelib/02-test.rake +151 -0
  148. data/rakelib/bundler_ext.rb +11 -0
  149. data/rakelib/db.rake +58 -0
  150. data/rakelib/rails.rake +77 -0
  151. data/src/java/arjdbc/ArJdbcModule.java +288 -0
  152. data/src/java/arjdbc/db2/DB2Module.java +77 -0
  153. data/src/java/arjdbc/db2/DB2RubyJdbcConnection.java +128 -0
  154. data/src/java/arjdbc/derby/DerbyModule.java +180 -0
  155. data/src/java/arjdbc/derby/DerbyRubyJdbcConnection.java +153 -0
  156. data/src/java/arjdbc/firebird/FirebirdRubyJdbcConnection.java +190 -0
  157. data/src/java/arjdbc/h2/H2Module.java +50 -0
  158. data/src/java/arjdbc/h2/H2RubyJdbcConnection.java +86 -0
  159. data/src/java/arjdbc/hsqldb/HSQLDBModule.java +74 -0
  160. data/src/java/arjdbc/informix/InformixRubyJdbcConnection.java +76 -0
  161. data/src/java/arjdbc/jdbc/AdapterJavaService.java +43 -0
  162. data/src/java/arjdbc/jdbc/Callable.java +44 -0
  163. data/src/java/arjdbc/jdbc/ConnectionFactory.java +77 -0
  164. data/src/java/arjdbc/jdbc/DataSourceConnectionFactory.java +156 -0
  165. data/src/java/arjdbc/jdbc/DriverConnectionFactory.java +63 -0
  166. data/src/java/arjdbc/jdbc/DriverWrapper.java +128 -0
  167. data/src/java/arjdbc/jdbc/JdbcConnectionFactory.java +32 -0
  168. data/src/java/arjdbc/jdbc/RubyJdbcConnection.java +4541 -0
  169. data/src/java/arjdbc/jdbc/SQLBlock.java +54 -0
  170. data/src/java/arjdbc/jdbc/WithResultSet.java +37 -0
  171. data/src/java/arjdbc/mssql/MSSQLModule.java +91 -0
  172. data/src/java/arjdbc/mssql/MSSQLRubyJdbcConnection.java +193 -0
  173. data/src/java/arjdbc/mysql/MySQLModule.java +140 -0
  174. data/src/java/arjdbc/mysql/MySQLRubyJdbcConnection.java +456 -0
  175. data/src/java/arjdbc/oracle/OracleModule.java +81 -0
  176. data/src/java/arjdbc/oracle/OracleRubyJdbcConnection.java +477 -0
  177. data/src/java/arjdbc/postgresql/ByteaUtils.java +171 -0
  178. data/src/java/arjdbc/postgresql/DriverImplementation.java +78 -0
  179. data/src/java/arjdbc/postgresql/PGDriverImplementation.java +535 -0
  180. data/src/java/arjdbc/postgresql/PostgreSQLModule.java +189 -0
  181. data/src/java/arjdbc/postgresql/PostgreSQLRubyJdbcConnection.java +489 -0
  182. data/src/java/arjdbc/sqlite3/SQLite3Module.java +93 -0
  183. data/src/java/arjdbc/sqlite3/SQLite3RubyJdbcConnection.java +405 -0
  184. data/src/java/arjdbc/util/CallResultSet.java +826 -0
  185. data/src/java/arjdbc/util/DateTimeUtils.java +517 -0
  186. data/src/java/arjdbc/util/NumberUtils.java +50 -0
  187. data/src/java/arjdbc/util/ObjectSupport.java +65 -0
  188. data/src/java/arjdbc/util/QuotingUtils.java +139 -0
  189. data/src/java/arjdbc/util/StringCache.java +60 -0
  190. data/src/java/arjdbc/util/StringHelper.java +155 -0
  191. metadata +288 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 711b1787e7e9cb8413e6c804c4d38c26da1e113d
4
+ data.tar.gz: 99ef646dfc81da2918757da034a359cbf3ed0df3
5
+ SHA512:
6
+ metadata.gz: cc4d7772119beef249e308b84b32d25ef9fa5aa90392a897063b3600995d146b36f5b75995c95aa05e1d284f25d8c49f4013e9a162d69d6c41453aaf4b906fef
7
+ data.tar.gz: c5ed156706542f02df48850f8197b7150977b0bd5d2df3facd348b236ae43dd5e894a8d0fc0151437ced28ce17968eccf27f7a586884e28631445ba492163128
@@ -0,0 +1,35 @@
1
+ *.gem
2
+ *.tgz
3
+ *~
4
+ *.log
5
+ patches*
6
+ *#
7
+ TAGS
8
+ MANIFEST.MF
9
+ bin
10
+ pkg
11
+ doc
12
+ target
13
+ coverage
14
+ build.xml
15
+ nbproject
16
+ .classpath
17
+ .project
18
+ .idea
19
+ *.sqlite
20
+ *.sqlite3
21
+ *.derby
22
+ derby.log
23
+ test.hsqldb*
24
+ test*.db
25
+ *test_*.out
26
+ test/jars/*.jar
27
+ jndi_test/jdbc/.bindings
28
+ .disable-appraisal-hint
29
+ .yardoc
30
+ .bundle/config
31
+ gemfiles/.bundle/config
32
+ Gemfile.lock
33
+ .idea
34
+ .settings
35
+ lib/arjdbc/jdbc/adapter_java.jar
@@ -0,0 +1,462 @@
1
+ language: ruby
2
+ sudo: false
3
+ bundler_args: --without development
4
+ script: bundle exec rake test_$DB
5
+ before_script:
6
+ - export JRUBY_OPTS="--server $JRUBY_OPTS" # -Xcompile.invokedynamic=false
7
+ - mvn prepare-package # compiles ext generates: lib/arjdbc/jdbc/adapter_java.jar
8
+ - mysql --version # to see if we're using MySQL or MariaDB
9
+ before_install:
10
+ - ((jruby -v | grep 1.8.7) && jruby --1.9 -S gem update --system 2.1.11) || true
11
+ rvm:
12
+ - jruby-1.7.24
13
+ #- jruby-9.0.5.0 # ignores --X.Y switches
14
+ jdk:
15
+ - openjdk7 # we target Java 6+ yet do have Java 7 java.sql APIs (thus needed to compile)
16
+ gemfile:
17
+ - gemfiles/rails23.gemfile
18
+ - gemfiles/rails30.gemfile
19
+ - gemfiles/rails31.gemfile
20
+ - gemfiles/rails32.gemfile
21
+ - gemfiles/rails40.gemfile
22
+ - gemfiles/rails41.gemfile
23
+ - gemfiles/rails42.gemfile
24
+ env:
25
+ - JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=mysql
26
+ - JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=mysql PREPARED_STATEMENTS=false
27
+ - JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=mysql PREPARED_STATEMENTS=true
28
+ - JRUBY_OPTS="--2.0 $JRUBY_OPTS" DB=mariadb PREPARED_STATEMENTS=false
29
+ - JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=postgresql
30
+ - JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=postgresql PREPARED_STATEMENTS=false INSERT_RETURNING=true
31
+ - JRUBY_OPTS="--2.0 $JRUBY_OPTS" DB=postgresql PREPARED_STATEMENTS=true
32
+ - JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=postgresql PREPARED_STATEMENTS=true INSERT_RETURNING=true
33
+ - JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=sqlite3
34
+ - JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=sqlite3
35
+ - JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=derby
36
+ - JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=derby PREPARED_STATEMENTS=true
37
+ - JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=h2
38
+ - JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=h2 PREPARED_STATEMENTS=true
39
+ - JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=hsqldb
40
+ - JRUBY_OPTS="--2.0 $JRUBY_OPTS" DB=hsqldb PREPARED_STATEMENTS=true
41
+ - JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jndi
42
+ - JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=jndi PREPARED_STATEMENTS=true
43
+ - JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jdbc
44
+ - JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=jdbc PREPARED_STATEMENTS=true
45
+ branches:
46
+ only:
47
+ - master
48
+ - /.*-stable$/
49
+ - /^test-.*/
50
+ matrix:
51
+ allow_failures:
52
+ #- rvm: jruby-head
53
+ - gemfile: gemfiles/rails42.gemfile
54
+ # these fail on 9K (JNDI bind/lookup issue) ... since ~ pre2 :
55
+ - env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jndi
56
+ - env: JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=jndi PREPARED_STATEMENTS=true
57
+ include: # testing against MariaDB
58
+ - addons:
59
+ mariadb: '5.5'
60
+ rvm: jruby-1.7.24
61
+ gemfile: gemfiles/rails32.gemfile
62
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=mysql
63
+ jdk: openjdk6
64
+ - addons:
65
+ mariadb: '10.0'
66
+ rvm: jruby-1.7.24
67
+ gemfile: gemfiles/rails40.gemfile
68
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=mariadb
69
+ jdk: openjdk7
70
+ - addons:
71
+ mariadb: '10.0'
72
+ rvm: jruby-1.7.24
73
+ gemfile: gemfiles/rails41.gemfile
74
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=mariadb PREPARED_STATEMENTS=true
75
+ jdk: oraclejdk8
76
+ # include some tests on JDK 6 :
77
+ # - rvm: jruby-1.7.24
78
+ # gemfile: gemfiles/rails42.gemfile
79
+ # env: JRUBY_OPTS="$JRUBY_OPTS" DB=mysql
80
+ # jdk: openjdk6
81
+ # - rvm: jruby-1.7.24
82
+ # gemfile: gemfiles/rails42.gemfile
83
+ # env: JRUBY_OPTS="$JRUBY_OPTS" DB=postgresql
84
+ # jdk: openjdk6
85
+ # - rvm: jruby-1.7.24
86
+ # gemfile: gemfiles/rails42.gemfile
87
+ # env: JRUBY_OPTS="$JRUBY_OPTS" DB=sqlite3
88
+ # jdk: openjdk6
89
+ # - rvm: jruby-1.7.24
90
+ # gemfile: gemfiles/rails42.gemfile
91
+ # env: JRUBY_OPTS="$JRUBY_OPTS" DB=derby
92
+ # jdk: openjdk6
93
+ # - rvm: jruby-1.7.24
94
+ # gemfile: gemfiles/rails42.gemfile
95
+ # env: JRUBY_OPTS="$JRUBY_OPTS" DB=h2
96
+ # jdk: openjdk6
97
+ # - rvm: jruby-1.7.24
98
+ # gemfile: gemfiles/rails42.gemfile
99
+ # env: JRUBY_OPTS="$JRUBY_OPTS" DB=hsqldb
100
+ # jdk: openjdk6
101
+ # include testing with JRuby 9K (4.2) :
102
+ - rvm: jruby-9.0.5.0
103
+ gemfile: gemfiles/rails42.gemfile
104
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=mysql PREPARED_STATEMENTS=true
105
+ jdk: oraclejdk7
106
+ - rvm: jruby-9.0.5.0
107
+ gemfile: gemfiles/rails42.gemfile
108
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=postgresql PREPARED_STATEMENTS=true
109
+ jdk: oraclejdk7
110
+ - rvm: jruby-9.0.5.0
111
+ gemfile: gemfiles/rails42.gemfile
112
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=sqlite3
113
+ jdk: oraclejdk7
114
+ - rvm: jruby-9.0.5.0
115
+ gemfile: gemfiles/rails42.gemfile
116
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=mysql
117
+ jdk: oraclejdk8
118
+ - rvm: jruby-9.0.5.0
119
+ gemfile: gemfiles/rails42.gemfile
120
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=postgresql
121
+ jdk: oraclejdk8
122
+ - rvm: jruby-9.0.5.0
123
+ gemfile: gemfiles/rails42.gemfile
124
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=sqlite3
125
+ jdk: oraclejdk8
126
+ - rvm: jruby-9.0.5.0
127
+ gemfile: gemfiles/rails42.gemfile
128
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=derby
129
+ jdk: oraclejdk8
130
+ - rvm: jruby-9.0.5.0
131
+ gemfile: gemfiles/rails42.gemfile
132
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=h2
133
+ jdk: oraclejdk8
134
+ - rvm: jruby-9.0.5.0
135
+ gemfile: gemfiles/rails42.gemfile
136
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=hsqldb
137
+ jdk: oraclejdk8
138
+ # include testing with JRuby 9K (4.1) :
139
+ - rvm: jruby-9.0.5.0
140
+ gemfile: gemfiles/rails41.gemfile
141
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=mysql PREPARED_STATEMENTS=true
142
+ jdk: oraclejdk8
143
+ - rvm: jruby-9.0.5.0
144
+ gemfile: gemfiles/rails41.gemfile
145
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=postgresql PREPARED_STATEMENTS=true
146
+ jdk: oraclejdk8
147
+ - rvm: jruby-9.0.5.0
148
+ gemfile: gemfiles/rails41.gemfile
149
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=sqlite3
150
+ jdk: oraclejdk8
151
+ - rvm: jruby-9.0.5.0
152
+ gemfile: gemfiles/rails41.gemfile
153
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=mysql
154
+ jdk: oraclejdk7
155
+ - rvm: jruby-9.0.5.0
156
+ gemfile: gemfiles/rails41.gemfile
157
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=postgresql
158
+ jdk: oraclejdk7
159
+ - rvm: jruby-9.0.5.0
160
+ gemfile: gemfiles/rails41.gemfile
161
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=sqlite3
162
+ jdk: oraclejdk8
163
+ - rvm: jruby-9.0.5.0
164
+ gemfile: gemfiles/rails41.gemfile
165
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=derby
166
+ jdk: oraclejdk7
167
+ - rvm: jruby-9.0.5.0
168
+ gemfile: gemfiles/rails41.gemfile
169
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=h2
170
+ jdk: oraclejdk7
171
+ - rvm: jruby-9.0.5.0
172
+ gemfile: gemfiles/rails41.gemfile
173
+ env: JRUBY_OPTS="$JRUBY_OPTS" DB=hsqldb
174
+ jdk: oraclejdk8
175
+ exclude:
176
+ # Rails 4 prefers Ruby 2.0 (or at least >= 1.9.3) :
177
+ - rvm: jruby-1.7.24
178
+ gemfile: gemfiles/rails40.gemfile
179
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=mysql
180
+ - rvm: jruby-1.7.24
181
+ gemfile: gemfiles/rails40.gemfile
182
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=postgresql
183
+ - rvm: jruby-1.7.24
184
+ gemfile: gemfiles/rails40.gemfile
185
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=sqlite3
186
+ - rvm: jruby-1.7.24
187
+ gemfile: gemfiles/rails40.gemfile
188
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=derby
189
+ - rvm: jruby-1.7.24
190
+ gemfile: gemfiles/rails40.gemfile
191
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=h2
192
+ - rvm: jruby-1.7.24
193
+ gemfile: gemfiles/rails40.gemfile
194
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=hsqldb
195
+ - rvm: jruby-1.7.24
196
+ gemfile: gemfiles/rails40.gemfile
197
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jndi
198
+ - rvm: jruby-1.7.24
199
+ gemfile: gemfiles/rails40.gemfile
200
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jdbc
201
+ # Rails 4.1 does not support Ruby 1.8 :
202
+ - rvm: jruby-1.7.24
203
+ gemfile: gemfiles/rails41.gemfile
204
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=mysql
205
+ - rvm: jruby-1.7.24
206
+ gemfile: gemfiles/rails41.gemfile
207
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=postgresql
208
+ - rvm: jruby-1.7.24
209
+ gemfile: gemfiles/rails41.gemfile
210
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=sqlite3
211
+ - rvm: jruby-1.7.24
212
+ gemfile: gemfiles/rails41.gemfile
213
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=derby
214
+ - rvm: jruby-1.7.24
215
+ gemfile: gemfiles/rails41.gemfile
216
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=h2
217
+ - rvm: jruby-1.7.24
218
+ gemfile: gemfiles/rails41.gemfile
219
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=hsqldb
220
+ - rvm: jruby-1.7.24
221
+ gemfile: gemfiles/rails41.gemfile
222
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jndi
223
+ - rvm: jruby-1.7.24
224
+ gemfile: gemfiles/rails41.gemfile
225
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jdbc
226
+ # Rails 4.2 will not support Ruby 1.8 :
227
+ - rvm: jruby-1.7.24
228
+ gemfile: gemfiles/rails42.gemfile
229
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=mysql
230
+ - rvm: jruby-1.7.24
231
+ gemfile: gemfiles/rails42.gemfile
232
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=postgresql
233
+ - rvm: jruby-1.7.24
234
+ gemfile: gemfiles/rails42.gemfile
235
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=sqlite3
236
+ - rvm: jruby-1.7.24
237
+ gemfile: gemfiles/rails42.gemfile
238
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=derby
239
+ - rvm: jruby-1.7.24
240
+ gemfile: gemfiles/rails42.gemfile
241
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=h2
242
+ - rvm: jruby-1.7.24
243
+ gemfile: gemfiles/rails42.gemfile
244
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=hsqldb
245
+ - rvm: jruby-1.7.24
246
+ gemfile: gemfiles/rails42.gemfile
247
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jndi
248
+ - rvm: jruby-1.7.24
249
+ gemfile: gemfiles/rails42.gemfile
250
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jdbc
251
+ ## JRuby 9K :
252
+ # Rails 2.3 (JRuby 9K) exclude all :
253
+ - rvm: jruby-head
254
+ gemfile: gemfiles/rails23.gemfile
255
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=mysql
256
+ - rvm: jruby-head
257
+ gemfile: gemfiles/rails23.gemfile
258
+ env: JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=mysql PREPARED_STATEMENTS=false
259
+ - rvm: jruby-head
260
+ gemfile: gemfiles/rails23.gemfile
261
+ env: JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=mysql PREPARED_STATEMENTS=true
262
+ - rvm: jruby-head
263
+ gemfile: gemfiles/rails23.gemfile
264
+ env: JRUBY_OPTS="--2.0 $JRUBY_OPTS" DB=mariadb PREPARED_STATEMENTS=false
265
+ - rvm: jruby-head
266
+ gemfile: gemfiles/rails23.gemfile
267
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=postgresql
268
+ - rvm: jruby-head
269
+ gemfile: gemfiles/rails23.gemfile
270
+ env: JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=postgresql PREPARED_STATEMENTS=false INSERT_RETURNING=true
271
+ - rvm: jruby-head
272
+ gemfile: gemfiles/rails23.gemfile
273
+ env: JRUBY_OPTS="--2.0 $JRUBY_OPTS" DB=postgresql PREPARED_STATEMENTS=true
274
+ - rvm: jruby-head
275
+ gemfile: gemfiles/rails23.gemfile
276
+ env: JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=postgresql PREPARED_STATEMENTS=true INSERT_RETURNING=true
277
+ - rvm: jruby-head
278
+ gemfile: gemfiles/rails23.gemfile
279
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=sqlite3
280
+ - rvm: jruby-head
281
+ gemfile: gemfiles/rails23.gemfile
282
+ env: JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=sqlite3
283
+ - rvm: jruby-head
284
+ gemfile: gemfiles/rails23.gemfile
285
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=derby
286
+ - rvm: jruby-head
287
+ gemfile: gemfiles/rails23.gemfile
288
+ env: JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=derby PREPARED_STATEMENTS=true
289
+ - rvm: jruby-head
290
+ gemfile: gemfiles/rails23.gemfile
291
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=h2
292
+ - rvm: jruby-head
293
+ gemfile: gemfiles/rails23.gemfile
294
+ env: JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=h2 PREPARED_STATEMENTS=true
295
+ - rvm: jruby-head
296
+ gemfile: gemfiles/rails23.gemfile
297
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=hsqldb
298
+ - rvm: jruby-head
299
+ gemfile: gemfiles/rails23.gemfile
300
+ env: JRUBY_OPTS="--2.0 $JRUBY_OPTS" DB=hsqldb PREPARED_STATEMENTS=true
301
+ - rvm: jruby-head
302
+ gemfile: gemfiles/rails23.gemfile
303
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jndi
304
+ - rvm: jruby-head
305
+ gemfile: gemfiles/rails23.gemfile
306
+ env: JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=jndi PREPARED_STATEMENTS=true
307
+ - rvm: jruby-head
308
+ gemfile: gemfiles/rails23.gemfile
309
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jdbc
310
+ - rvm: jruby-head
311
+ gemfile: gemfiles/rails23.gemfile
312
+ env: JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=jdbc PREPARED_STATEMENTS=true
313
+ # Rails 3.0 (JRuby 9K) NOTE we should exclude all :
314
+ - rvm: jruby-head
315
+ gemfile: gemfiles/rails30.gemfile
316
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=mysql
317
+ - rvm: jruby-head
318
+ gemfile: gemfiles/rails30.gemfile
319
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=postgresql
320
+ - rvm: jruby-head
321
+ gemfile: gemfiles/rails30.gemfile
322
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=sqlite3
323
+ - rvm: jruby-head
324
+ gemfile: gemfiles/rails30.gemfile
325
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=derby
326
+ - rvm: jruby-head
327
+ gemfile: gemfiles/rails30.gemfile
328
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=h2
329
+ - rvm: jruby-head
330
+ gemfile: gemfiles/rails30.gemfile
331
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=hsqldb
332
+ - rvm: jruby-head
333
+ gemfile: gemfiles/rails30.gemfile
334
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jndi
335
+ - rvm: jruby-head
336
+ gemfile: gemfiles/rails30.gemfile
337
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jdbc
338
+ # Rails 3.1 (JRuby 9K) NOTE we should exclude all :
339
+ - rvm: jruby-head
340
+ gemfile: gemfiles/rails31.gemfile
341
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=mysql
342
+ - rvm: jruby-head
343
+ gemfile: gemfiles/rails31.gemfile
344
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=postgresql
345
+ - rvm: jruby-head
346
+ gemfile: gemfiles/rails31.gemfile
347
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=sqlite3
348
+ - rvm: jruby-head
349
+ gemfile: gemfiles/rails31.gemfile
350
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=derby
351
+ - rvm: jruby-head
352
+ gemfile: gemfiles/rails31.gemfile
353
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=h2
354
+ - rvm: jruby-head
355
+ gemfile: gemfiles/rails31.gemfile
356
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=hsqldb
357
+ - rvm: jruby-head
358
+ gemfile: gemfiles/rails31.gemfile
359
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jndi
360
+ - rvm: jruby-head
361
+ gemfile: gemfiles/rails31.gemfile
362
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jdbc
363
+ # Rails 3.2 (JRuby 9K) :
364
+ - rvm: jruby-head
365
+ gemfile: gemfiles/rails32.gemfile
366
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=mysql
367
+ - rvm: jruby-head
368
+ gemfile: gemfiles/rails32.gemfile
369
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=postgresql
370
+ - rvm: jruby-head
371
+ gemfile: gemfiles/rails32.gemfile
372
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=sqlite3
373
+ - rvm: jruby-head
374
+ gemfile: gemfiles/rails32.gemfile
375
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=derby
376
+ - rvm: jruby-head
377
+ gemfile: gemfiles/rails32.gemfile
378
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=h2
379
+ - rvm: jruby-head
380
+ gemfile: gemfiles/rails32.gemfile
381
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=hsqldb
382
+ - rvm: jruby-head
383
+ gemfile: gemfiles/rails32.gemfile
384
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jndi
385
+ - rvm: jruby-head
386
+ gemfile: gemfiles/rails32.gemfile
387
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jdbc
388
+ # Rails 4.0 (JRuby 9K) :
389
+ - rvm: jruby-head
390
+ gemfile: gemfiles/rails40.gemfile
391
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=mysql
392
+ - rvm: jruby-head
393
+ gemfile: gemfiles/rails40.gemfile
394
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=postgresql
395
+ - rvm: jruby-head
396
+ gemfile: gemfiles/rails40.gemfile
397
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=sqlite3
398
+ - rvm: jruby-head
399
+ gemfile: gemfiles/rails40.gemfile
400
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=derby
401
+ - rvm: jruby-head
402
+ gemfile: gemfiles/rails40.gemfile
403
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=h2
404
+ - rvm: jruby-head
405
+ gemfile: gemfiles/rails40.gemfile
406
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=hsqldb
407
+ - rvm: jruby-head
408
+ gemfile: gemfiles/rails40.gemfile
409
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jndi
410
+ - rvm: jruby-head
411
+ gemfile: gemfiles/rails40.gemfile
412
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jdbc
413
+ # Rails 4.1 (JRuby 9K) :
414
+ - rvm: jruby-head
415
+ gemfile: gemfiles/rails41.gemfile
416
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=mysql
417
+ - rvm: jruby-head
418
+ gemfile: gemfiles/rails41.gemfile
419
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=postgresql
420
+ - rvm: jruby-head
421
+ gemfile: gemfiles/rails41.gemfile
422
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=sqlite3
423
+ - rvm: jruby-1.7.24
424
+ gemfile: gemfiles/rails41.gemfile
425
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=derby
426
+ - rvm: jruby-1.7.24
427
+ gemfile: gemfiles/rails41.gemfile
428
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=h2
429
+ - rvm: jruby-1.7.24
430
+ gemfile: gemfiles/rails41.gemfile
431
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=hsqldb
432
+ - rvm: jruby-1.7.24
433
+ gemfile: gemfiles/rails41.gemfile
434
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jndi
435
+ - rvm: jruby-1.7.24
436
+ gemfile: gemfiles/rails41.gemfile
437
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jdbc
438
+ # Rails 4.2 (JRuby 9K) :
439
+ - rvm: jruby-head
440
+ gemfile: gemfiles/rails42.gemfile
441
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=mysql
442
+ - rvm: jruby-head
443
+ gemfile: gemfiles/rails42.gemfile
444
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=postgresql
445
+ - rvm: jruby-head
446
+ gemfile: gemfiles/rails42.gemfile
447
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=sqlite3
448
+ - rvm: jruby-head
449
+ gemfile: gemfiles/rails42.gemfile
450
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=derby
451
+ - rvm: jruby-head
452
+ gemfile: gemfiles/rails42.gemfile
453
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=h2
454
+ - rvm: jruby-head
455
+ gemfile: gemfiles/rails42.gemfile
456
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=hsqldb
457
+ - rvm: jruby-head
458
+ gemfile: gemfiles/rails42.gemfile
459
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jndi
460
+ - rvm: jruby-head
461
+ gemfile: gemfiles/rails42.gemfile
462
+ env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jdbc