ibm_db 3.0.5-x86-mingw32 → 5.0.5-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGES +4 -0
  3. data/LICENSE +1 -1
  4. data/ParameterizedQueries README +6 -6
  5. data/README +38 -55
  6. data/ext/Makefile +269 -0
  7. data/ext/extconf.rb +34 -3
  8. data/ext/gil_release_version +3 -0
  9. data/ext/ibm_db-i386-mingw32.def +2 -0
  10. data/ext/ibm_db.c +100 -108
  11. data/ext/ibm_db.o +0 -0
  12. data/ext/ibm_db.so +0 -0
  13. data/ext/mkmf.log +110 -0
  14. data/ext/ruby_ibm_db_cli.o +0 -0
  15. data/ext/unicode_support_version +3 -0
  16. data/lib/active_record/connection_adapters/ibm_db_adapter.rb +923 -527
  17. data/lib/active_record/connection_adapters/ibmdb_adapter.rb +4 -1
  18. data/lib/mswin32/ibm_db.rb +7 -39
  19. data/lib/mswin32/rb2x/i386/ibm_db.so +0 -0
  20. data/test/active_record/connection_adapters/fake_adapter.rb +8 -5
  21. data/test/cases/adapter_test.rb +133 -58
  22. data/test/cases/adapters/mysql2/active_schema_test.rb +193 -0
  23. data/test/cases/adapters/mysql2/bind_parameter_test.rb +50 -0
  24. data/test/cases/adapters/mysql2/boolean_test.rb +100 -0
  25. data/test/cases/adapters/mysql2/case_sensitivity_test.rb +63 -0
  26. data/test/cases/adapters/mysql2/charset_collation_test.rb +54 -0
  27. data/test/cases/adapters/mysql2/connection_test.rb +210 -0
  28. data/test/cases/adapters/mysql2/datetime_precision_quoting_test.rb +45 -0
  29. data/test/cases/adapters/mysql2/enum_test.rb +26 -0
  30. data/test/cases/adapters/mysql2/explain_test.rb +21 -0
  31. data/test/cases/adapters/mysql2/json_test.rb +195 -0
  32. data/test/cases/adapters/mysql2/mysql2_adapter_test.rb +83 -0
  33. data/test/cases/adapters/mysql2/reserved_word_test.rb +152 -0
  34. data/test/cases/adapters/mysql2/schema_migrations_test.rb +59 -0
  35. data/test/cases/adapters/mysql2/schema_test.rb +126 -0
  36. data/test/cases/adapters/mysql2/sp_test.rb +36 -0
  37. data/test/cases/adapters/mysql2/sql_types_test.rb +14 -0
  38. data/test/cases/adapters/mysql2/table_options_test.rb +42 -0
  39. data/test/cases/adapters/mysql2/unsigned_type_test.rb +66 -0
  40. data/test/cases/adapters/postgresql/active_schema_test.rb +98 -0
  41. data/test/cases/adapters/postgresql/array_test.rb +339 -0
  42. data/test/cases/adapters/postgresql/bit_string_test.rb +82 -0
  43. data/test/cases/adapters/postgresql/bytea_test.rb +134 -0
  44. data/test/cases/adapters/postgresql/case_insensitive_test.rb +26 -0
  45. data/test/cases/adapters/postgresql/change_schema_test.rb +38 -0
  46. data/test/cases/adapters/postgresql/cidr_test.rb +25 -0
  47. data/test/cases/adapters/postgresql/citext_test.rb +78 -0
  48. data/test/cases/adapters/postgresql/collation_test.rb +53 -0
  49. data/test/cases/adapters/postgresql/composite_test.rb +132 -0
  50. data/test/cases/adapters/postgresql/connection_test.rb +257 -0
  51. data/test/cases/adapters/postgresql/datatype_test.rb +92 -0
  52. data/test/cases/adapters/postgresql/domain_test.rb +47 -0
  53. data/test/cases/adapters/postgresql/enum_test.rb +91 -0
  54. data/test/cases/adapters/postgresql/explain_test.rb +20 -0
  55. data/test/cases/adapters/postgresql/extension_migration_test.rb +63 -0
  56. data/test/cases/adapters/postgresql/full_text_test.rb +44 -0
  57. data/test/cases/adapters/postgresql/geometric_test.rb +378 -0
  58. data/test/cases/adapters/postgresql/hstore_test.rb +382 -0
  59. data/test/cases/adapters/postgresql/infinity_test.rb +69 -0
  60. data/test/cases/adapters/postgresql/integer_test.rb +25 -0
  61. data/test/cases/adapters/postgresql/json_test.rb +237 -0
  62. data/test/cases/adapters/postgresql/ltree_test.rb +53 -0
  63. data/test/cases/adapters/postgresql/money_test.rb +96 -0
  64. data/test/cases/adapters/postgresql/network_test.rb +94 -0
  65. data/test/cases/adapters/postgresql/numbers_test.rb +49 -0
  66. data/test/cases/adapters/postgresql/postgresql_adapter_test.rb +405 -0
  67. data/test/cases/adapters/postgresql/prepared_statements_test.rb +22 -0
  68. data/test/cases/adapters/postgresql/quoting_test.rb +44 -0
  69. data/test/cases/adapters/postgresql/range_test.rb +343 -0
  70. data/test/cases/adapters/postgresql/referential_integrity_test.rb +111 -0
  71. data/test/cases/adapters/postgresql/rename_table_test.rb +34 -0
  72. data/test/cases/adapters/postgresql/schema_authorization_test.rb +119 -0
  73. data/test/cases/adapters/postgresql/schema_test.rb +597 -0
  74. data/test/cases/adapters/postgresql/serial_test.rb +154 -0
  75. data/test/cases/adapters/postgresql/statement_pool_test.rb +41 -0
  76. data/test/cases/adapters/postgresql/timestamp_test.rb +90 -0
  77. data/test/cases/adapters/postgresql/type_lookup_test.rb +33 -0
  78. data/test/cases/adapters/postgresql/utils_test.rb +62 -0
  79. data/test/cases/adapters/postgresql/uuid_test.rb +294 -0
  80. data/test/cases/adapters/postgresql/xml_test.rb +54 -0
  81. data/test/cases/adapters/sqlite3/collation_test.rb +53 -0
  82. data/test/cases/adapters/sqlite3/copy_table_test.rb +98 -0
  83. data/test/cases/adapters/sqlite3/explain_test.rb +21 -0
  84. data/test/cases/adapters/sqlite3/quoting_test.rb +101 -0
  85. data/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb +441 -0
  86. data/test/cases/adapters/sqlite3/sqlite3_create_folder_test.rb +24 -0
  87. data/test/cases/adapters/sqlite3/statement_pool_test.rb +20 -0
  88. data/test/cases/aggregations_test.rb +11 -1
  89. data/test/cases/ar_schema_test.rb +35 -50
  90. data/test/cases/associations/association_scope_test.rb +1 -6
  91. data/test/cases/associations/belongs_to_associations_test.rb +122 -10
  92. data/test/cases/associations/bidirectional_destroy_dependencies_test.rb +41 -0
  93. data/test/cases/associations/callbacks_test.rb +5 -7
  94. data/test/cases/associations/cascaded_eager_loading_test.rb +1 -1
  95. data/test/cases/associations/eager_load_nested_include_test.rb +1 -3
  96. data/test/cases/associations/eager_test.rb +158 -73
  97. data/test/cases/associations/extension_test.rb +7 -2
  98. data/test/cases/associations/has_and_belongs_to_many_associations_test.rb +64 -32
  99. data/test/cases/associations/has_many_associations_test.rb +362 -43
  100. data/test/cases/associations/has_many_through_associations_test.rb +108 -41
  101. data/test/cases/associations/has_one_associations_test.rb +105 -8
  102. data/test/cases/associations/has_one_through_associations_test.rb +6 -3
  103. data/test/cases/associations/inner_join_association_test.rb +3 -3
  104. data/test/cases/associations/inverse_associations_test.rb +38 -11
  105. data/test/cases/associations/join_model_test.rb +59 -36
  106. data/test/cases/associations/left_outer_join_association_test.rb +88 -0
  107. data/test/cases/associations/nested_through_associations_test.rb +2 -2
  108. data/test/cases/associations/required_test.rb +25 -5
  109. data/test/cases/associations_test.rb +39 -34
  110. data/test/cases/attribute_decorators_test.rb +9 -8
  111. data/test/cases/attribute_methods/read_test.rb +5 -5
  112. data/test/cases/attribute_methods_test.rb +97 -40
  113. data/test/cases/attribute_set_test.rb +64 -4
  114. data/test/cases/attribute_test.rb +84 -18
  115. data/test/cases/attributes_test.rb +151 -34
  116. data/test/cases/autosave_association_test.rb +149 -36
  117. data/test/cases/base_test.rb +290 -241
  118. data/test/cases/batches_test.rb +299 -22
  119. data/test/cases/binary_test.rb +2 -10
  120. data/test/cases/bind_parameter_test.rb +76 -66
  121. data/test/cases/cache_key_test.rb +26 -0
  122. data/test/cases/calculations_test.rb +167 -15
  123. data/test/cases/callbacks_test.rb +161 -68
  124. data/test/cases/coders/json_test.rb +15 -0
  125. data/test/cases/collection_cache_key_test.rb +115 -0
  126. data/test/cases/column_definition_test.rb +26 -57
  127. data/test/cases/comment_test.rb +145 -0
  128. data/test/cases/connection_adapters/adapter_leasing_test.rb +5 -3
  129. data/test/cases/connection_adapters/connection_handler_test.rb +128 -21
  130. data/test/cases/connection_adapters/connection_specification_test.rb +1 -1
  131. data/test/cases/connection_adapters/merge_and_resolve_default_url_config_test.rb +0 -38
  132. data/test/cases/connection_adapters/mysql_type_lookup_test.rb +5 -1
  133. data/test/cases/connection_adapters/schema_cache_test.rb +8 -3
  134. data/test/cases/connection_adapters/type_lookup_test.rb +15 -7
  135. data/test/cases/connection_management_test.rb +46 -56
  136. data/test/cases/connection_pool_test.rb +195 -20
  137. data/test/cases/connection_specification/resolver_test.rb +15 -0
  138. data/test/cases/counter_cache_test.rb +10 -5
  139. data/test/cases/custom_locking_test.rb +1 -1
  140. data/test/cases/database_statements_test.rb +18 -3
  141. data/test/cases/{invalid_date_test.rb → date_test.rb} +13 -1
  142. data/test/cases/date_time_precision_test.rb +107 -0
  143. data/test/cases/defaults_test.rb +85 -89
  144. data/test/cases/dirty_test.rb +30 -52
  145. data/test/cases/disconnected_test.rb +4 -2
  146. data/test/cases/enum_test.rb +178 -24
  147. data/test/cases/errors_test.rb +16 -0
  148. data/test/cases/explain_test.rb +32 -21
  149. data/test/cases/finder_test.rb +273 -148
  150. data/test/cases/fixture_set/file_test.rb +18 -0
  151. data/test/cases/fixtures_test.rb +112 -32
  152. data/test/cases/forbidden_attributes_protection_test.rb +69 -3
  153. data/test/cases/helper.rb +10 -16
  154. data/test/cases/hot_compatibility_test.rb +89 -1
  155. data/test/cases/inheritance_test.rb +284 -53
  156. data/test/cases/integration_test.rb +23 -7
  157. data/test/cases/invalid_connection_test.rb +4 -2
  158. data/test/cases/invertible_migration_test.rb +124 -32
  159. data/test/cases/json_serialization_test.rb +11 -2
  160. data/test/cases/locking_test.rb +22 -6
  161. data/test/cases/log_subscriber_test.rb +106 -17
  162. data/test/cases/migration/change_schema_test.rb +60 -114
  163. data/test/cases/migration/change_table_test.rb +34 -2
  164. data/test/cases/migration/column_attributes_test.rb +7 -23
  165. data/test/cases/migration/column_positioning_test.rb +8 -8
  166. data/test/cases/migration/columns_test.rb +17 -11
  167. data/test/cases/migration/command_recorder_test.rb +47 -2
  168. data/test/cases/migration/compatibility_test.rb +118 -0
  169. data/test/cases/migration/create_join_table_test.rb +21 -12
  170. data/test/cases/migration/foreign_key_test.rb +52 -18
  171. data/test/cases/migration/index_test.rb +14 -12
  172. data/test/cases/migration/logger_test.rb +1 -1
  173. data/test/cases/migration/pending_migrations_test.rb +0 -1
  174. data/test/cases/migration/references_foreign_key_test.rb +59 -7
  175. data/test/cases/migration/references_index_test.rb +4 -4
  176. data/test/cases/migration/references_statements_test.rb +26 -6
  177. data/test/cases/migration/rename_table_test.rb +25 -25
  178. data/test/cases/migration_test.rb +279 -81
  179. data/test/cases/migrator_test.rb +91 -8
  180. data/test/cases/mixin_test.rb +0 -2
  181. data/test/cases/modules_test.rb +3 -4
  182. data/test/cases/multiparameter_attributes_test.rb +24 -2
  183. data/test/cases/multiple_db_test.rb +11 -4
  184. data/test/cases/nested_attributes_test.rb +61 -33
  185. data/test/cases/persistence_test.rb +102 -10
  186. data/test/cases/pooled_connections_test.rb +3 -3
  187. data/test/cases/primary_keys_test.rb +170 -31
  188. data/test/cases/query_cache_test.rb +216 -96
  189. data/test/cases/quoting_test.rb +65 -19
  190. data/test/cases/readonly_test.rb +2 -1
  191. data/test/cases/reflection_test.rb +68 -22
  192. data/test/cases/relation/delegation_test.rb +3 -8
  193. data/test/cases/relation/merging_test.rb +10 -14
  194. data/test/cases/relation/mutation_test.rb +42 -24
  195. data/test/cases/relation/or_test.rb +92 -0
  196. data/test/cases/relation/predicate_builder_test.rb +4 -2
  197. data/test/cases/relation/record_fetch_warning_test.rb +40 -0
  198. data/test/cases/relation/where_chain_test.rb +23 -99
  199. data/test/cases/relation/where_clause_test.rb +182 -0
  200. data/test/cases/relation/where_test.rb +45 -23
  201. data/test/cases/relation_test.rb +67 -58
  202. data/test/cases/relations_test.rb +249 -38
  203. data/test/cases/result_test.rb +10 -0
  204. data/test/cases/sanitize_test.rb +108 -15
  205. data/test/cases/schema_dumper_test.rb +119 -125
  206. data/test/cases/schema_loading_test.rb +52 -0
  207. data/test/cases/scoping/default_scoping_test.rb +113 -39
  208. data/test/cases/scoping/named_scoping_test.rb +46 -9
  209. data/test/cases/scoping/relation_scoping_test.rb +47 -4
  210. data/test/cases/secure_token_test.rb +32 -0
  211. data/test/cases/serialization_test.rb +1 -1
  212. data/test/cases/serialized_attribute_test.rb +93 -6
  213. data/test/cases/statement_cache_test.rb +38 -0
  214. data/test/cases/store_test.rb +2 -1
  215. data/test/cases/suppressor_test.rb +63 -0
  216. data/test/cases/tasks/database_tasks_test.rb +73 -9
  217. data/test/cases/tasks/mysql_rake_test.rb +139 -118
  218. data/test/cases/tasks/postgresql_rake_test.rb +60 -6
  219. data/test/cases/tasks/sqlite_rake_test.rb +30 -3
  220. data/test/cases/test_case.rb +28 -20
  221. data/test/cases/test_fixtures_test.rb +36 -0
  222. data/test/cases/time_precision_test.rb +103 -0
  223. data/test/cases/timestamp_test.rb +44 -10
  224. data/test/cases/touch_later_test.rb +121 -0
  225. data/test/cases/transaction_callbacks_test.rb +128 -62
  226. data/test/cases/transaction_isolation_test.rb +2 -2
  227. data/test/cases/transactions_test.rb +61 -43
  228. data/test/cases/type/adapter_specific_registry_test.rb +133 -0
  229. data/test/cases/type/date_time_test.rb +14 -0
  230. data/test/cases/type/integer_test.rb +2 -96
  231. data/test/cases/type/string_test.rb +0 -14
  232. data/test/cases/type_test.rb +39 -0
  233. data/test/cases/types_test.rb +1 -118
  234. data/test/cases/unconnected_test.rb +1 -1
  235. data/test/cases/validations/absence_validation_test.rb +73 -0
  236. data/test/cases/validations/association_validation_test.rb +13 -2
  237. data/test/cases/validations/i18n_validation_test.rb +6 -10
  238. data/test/cases/validations/length_validation_test.rb +62 -30
  239. data/test/cases/validations/presence_validation_test.rb +36 -1
  240. data/test/cases/validations/uniqueness_validation_test.rb +128 -37
  241. data/test/cases/validations_repair_helper.rb +2 -6
  242. data/test/cases/validations_test.rb +36 -7
  243. data/test/cases/view_test.rb +102 -5
  244. data/test/cases/yaml_serialization_test.rb +21 -26
  245. data/test/config.example.yml +97 -0
  246. data/test/fixtures/bad_posts.yml +9 -0
  247. data/test/fixtures/books.yml +20 -0
  248. data/test/fixtures/content.yml +3 -0
  249. data/test/fixtures/content_positions.yml +3 -0
  250. data/test/fixtures/dead_parrots.yml +5 -0
  251. data/test/fixtures/live_parrots.yml +4 -0
  252. data/test/fixtures/naked/yml/parrots.yml +2 -0
  253. data/test/fixtures/naked/yml/trees.yml +3 -0
  254. data/test/fixtures/nodes.yml +29 -0
  255. data/test/fixtures/other_comments.yml +6 -0
  256. data/test/fixtures/other_dogs.yml +2 -0
  257. data/test/fixtures/other_posts.yml +7 -0
  258. data/test/fixtures/price_estimates.yml +10 -1
  259. data/test/fixtures/trees.yml +3 -0
  260. data/test/migrations/10_urban/9_add_expressions.rb +1 -1
  261. data/test/migrations/decimal/1_give_me_big_numbers.rb +1 -1
  262. data/test/migrations/magic/1_currencies_have_symbols.rb +1 -1
  263. data/test/migrations/missing/1000_people_have_middle_names.rb +2 -2
  264. data/test/migrations/missing/1_people_have_last_names.rb +2 -2
  265. data/test/migrations/missing/3_we_need_reminders.rb +2 -2
  266. data/test/migrations/missing/4_innocent_jointable.rb +2 -2
  267. data/test/migrations/rename/1_we_need_things.rb +2 -2
  268. data/test/migrations/rename/2_rename_things.rb +2 -2
  269. data/test/migrations/to_copy/1_people_have_hobbies.rb +1 -1
  270. data/test/migrations/to_copy/2_people_have_descriptions.rb +1 -1
  271. data/test/migrations/to_copy2/1_create_articles.rb +1 -1
  272. data/test/migrations/to_copy2/2_create_comments.rb +1 -1
  273. data/test/migrations/to_copy_with_name_collision/1_people_have_hobbies.rb +1 -1
  274. data/test/migrations/to_copy_with_timestamps/20090101010101_people_have_hobbies.rb +1 -1
  275. data/test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb +1 -1
  276. data/test/migrations/to_copy_with_timestamps2/20090101010101_create_articles.rb +1 -1
  277. data/test/migrations/to_copy_with_timestamps2/20090101010202_create_comments.rb +1 -1
  278. data/test/migrations/valid/1_valid_people_have_last_names.rb +1 -1
  279. data/test/migrations/valid/2_we_need_reminders.rb +2 -2
  280. data/test/migrations/valid/3_innocent_jointable.rb +2 -2
  281. data/test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb +1 -1
  282. data/test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb +2 -2
  283. data/test/migrations/valid_with_subdirectories/sub1/3_innocent_jointable.rb +2 -2
  284. data/test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb +1 -1
  285. data/test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb +1 -1
  286. data/test/migrations/valid_with_timestamps/20100301010101_valid_with_timestamps_innocent_jointable.rb +1 -1
  287. data/test/migrations/version_check/20131219224947_migration_version_check.rb +1 -1
  288. data/test/models/admin/randomly_named_c1.rb +6 -2
  289. data/test/models/aircraft.rb +1 -0
  290. data/test/models/author.rb +4 -7
  291. data/test/models/bird.rb +1 -1
  292. data/test/models/book.rb +5 -0
  293. data/test/models/bulb.rb +2 -1
  294. data/test/models/car.rb +3 -0
  295. data/test/models/cat.rb +10 -0
  296. data/test/models/chef.rb +1 -0
  297. data/test/models/club.rb +2 -0
  298. data/test/models/comment.rb +17 -5
  299. data/test/models/company.rb +4 -2
  300. data/test/models/company_in_module.rb +1 -1
  301. data/test/models/contact.rb +1 -1
  302. data/test/models/content.rb +40 -0
  303. data/test/models/customer.rb +8 -2
  304. data/test/models/developer.rb +19 -0
  305. data/test/models/face.rb +1 -1
  306. data/test/models/guitar.rb +4 -0
  307. data/test/models/hotel.rb +2 -0
  308. data/test/models/member.rb +1 -0
  309. data/test/models/member_detail.rb +4 -3
  310. data/test/models/mentor.rb +3 -0
  311. data/test/models/mocktail_designer.rb +2 -0
  312. data/test/models/node.rb +5 -0
  313. data/test/models/non_primary_key.rb +2 -0
  314. data/test/models/notification.rb +3 -0
  315. data/test/models/other_dog.rb +5 -0
  316. data/test/models/owner.rb +4 -1
  317. data/test/models/parrot.rb +6 -7
  318. data/test/models/person.rb +0 -1
  319. data/test/models/pet.rb +3 -0
  320. data/test/models/pet_treasure.rb +6 -0
  321. data/test/models/pirate.rb +3 -3
  322. data/test/models/post.rb +18 -9
  323. data/test/models/project.rb +9 -0
  324. data/test/models/randomly_named_c1.rb +1 -1
  325. data/test/models/recipe.rb +3 -0
  326. data/test/models/ship.rb +8 -2
  327. data/test/models/tag.rb +6 -0
  328. data/test/models/topic.rb +2 -8
  329. data/test/models/tree.rb +3 -0
  330. data/test/models/tuning_peg.rb +4 -0
  331. data/test/models/user.rb +14 -0
  332. data/test/models/uuid_item.rb +6 -0
  333. data/test/schema/mysql2_specific_schema.rb +33 -23
  334. data/test/schema/oracle_specific_schema.rb +1 -4
  335. data/test/schema/postgresql_specific_schema.rb +36 -124
  336. data/test/schema/schema.rb +170 -65
  337. data/test/schema/schema.rb.original +1057 -0
  338. data/test/schema/sqlite_specific_schema.rb +1 -5
  339. data/test/support/connection.rb +1 -0
  340. data/test/support/schema_dumping_helper.rb +1 -1
  341. data/test/support/yaml_compatibility_fixtures/rails_4_1.yml +22 -0
  342. data/test/support/yaml_compatibility_fixtures/rails_4_2_0.yml +182 -0
  343. metadata +146 -30
  344. data/lib/mswin32/rb19x/ibm_db.so +0 -0
  345. data/lib/mswin32/rb21x/i386/ibm_db.so +0 -0
  346. data/lib/mswin32/rb22x/i386/ibm_db.so +0 -0
  347. data/lib/mswin32/rb23x/i386/ibm_db.so +0 -0
  348. data/test/cases/associations/deprecated_counter_cache_on_has_many_through_test.rb +0 -26
  349. data/test/cases/attribute_methods/serialization_test.rb +0 -29
  350. data/test/cases/migration/change_schema_test - Copy.rb +0 -448
  351. data/test/cases/migration/foreign_key_test - Changed.rb +0 -325
  352. data/test/cases/migration/table_and_index_test.rb +0 -24
  353. data/test/cases/relation/where_test2.rb +0 -36
  354. data/test/cases/type/decimal_test.rb +0 -56
  355. data/test/cases/type/unsigned_integer_test.rb +0 -18
  356. data/test/cases/xml_serialization_test.rb +0 -457
  357. data/test/fixtures/naked/csv/accounts.csv +0 -1
  358. data/test/schema/mysql_specific_schema.rb +0 -70
@@ -1,8 +1,4 @@
1
1
  ActiveRecord::Schema.define do
2
- create_table :table_with_autoincrement, :force => true do |t|
3
- t.column :name, :string
4
- end
5
-
6
2
  execute "DROP TABLE fk_test_has_fk" rescue nil
7
3
  execute "DROP TABLE fk_test_has_pk" rescue nil
8
4
  execute <<_SQL
@@ -19,4 +15,4 @@ _SQL
19
15
  FOREIGN KEY ('fk_id') REFERENCES 'fk_test_has_pk'('pk_id')
20
16
  );
21
17
  _SQL
22
- end
18
+ end
@@ -2,6 +2,7 @@ require 'active_support/logger'
2
2
  require 'models/college'
3
3
  require 'models/course'
4
4
  require 'models/professor'
5
+ require "models/other_dog"
5
6
 
6
7
  module ARTest
7
8
  def self.connection_name
@@ -1,7 +1,7 @@
1
1
  module SchemaDumpingHelper
2
2
  def dump_table_schema(table, connection = ActiveRecord::Base.connection)
3
3
  old_ignore_tables = ActiveRecord::SchemaDumper.ignore_tables
4
- ActiveRecord::SchemaDumper.ignore_tables = connection.tables - [table]
4
+ ActiveRecord::SchemaDumper.ignore_tables = connection.data_sources - [table]
5
5
  stream = StringIO.new
6
6
  ActiveRecord::SchemaDumper.dump(ActiveRecord::Base.connection, stream)
7
7
  stream.string
@@ -0,0 +1,22 @@
1
+ --- !ruby/object:Topic
2
+ attributes:
3
+ id:
4
+ title: The First Topic
5
+ author_name: David
6
+ author_email_address: david@loudthinking.com
7
+ written_on: 2003-07-16 14:28:11.223300000 Z
8
+ bonus_time: 2000-01-01 14:28:00.000000000 Z
9
+ last_read: 2004-04-15
10
+ content: |
11
+ ---
12
+ :omg: :lol
13
+ important:
14
+ approved: false
15
+ replies_count: 1
16
+ unique_replies_count: 0
17
+ parent_id:
18
+ parent_title:
19
+ type:
20
+ group:
21
+ created_at: 2015-03-10 17:05:42.000000000 Z
22
+ updated_at: 2015-03-10 17:05:42.000000000 Z
@@ -0,0 +1,182 @@
1
+ --- !ruby/object:Topic
2
+ raw_attributes:
3
+ id: 1
4
+ title: The First Topic
5
+ author_name: David
6
+ author_email_address: david@loudthinking.com
7
+ written_on: '2003-07-16 14:28:11.223300'
8
+ bonus_time: '2005-01-30 14:28:00.000000'
9
+ last_read: '2004-04-15'
10
+ content: |
11
+ --- Have a nice day
12
+ ...
13
+ important:
14
+ approved: f
15
+ replies_count: 1
16
+ unique_replies_count: 0
17
+ parent_id:
18
+ parent_title:
19
+ type:
20
+ group:
21
+ created_at: '2015-03-10 17:44:41'
22
+ updated_at: '2015-03-10 17:44:41'
23
+ attributes: !ruby/object:ActiveRecord::AttributeSet
24
+ attributes: !ruby/object:ActiveRecord::LazyAttributeHash
25
+ types:
26
+ id: &5 !ruby/object:ActiveRecord::Type::Integer
27
+ precision:
28
+ scale:
29
+ limit:
30
+ range: !ruby/range
31
+ begin: -2147483648
32
+ end: 2147483648
33
+ excl: true
34
+ title: &6 !ruby/object:ActiveRecord::Type::String
35
+ precision:
36
+ scale:
37
+ limit: 250
38
+ author_name: &1 !ruby/object:ActiveRecord::Type::String
39
+ precision:
40
+ scale:
41
+ limit:
42
+ author_email_address: *1
43
+ written_on: &4 !ruby/object:ActiveRecord::Type::DateTime
44
+ precision:
45
+ scale:
46
+ limit:
47
+ bonus_time: &7 !ruby/object:ActiveRecord::Type::Time
48
+ precision:
49
+ scale:
50
+ limit:
51
+ last_read: &8 !ruby/object:ActiveRecord::Type::Date
52
+ precision:
53
+ scale:
54
+ limit:
55
+ content: !ruby/object:ActiveRecord::Type::Serialized
56
+ coder: &9 !ruby/object:ActiveRecord::Coders::YAMLColumn
57
+ object_class: !ruby/class 'Object'
58
+ subtype: &2 !ruby/object:ActiveRecord::Type::Text
59
+ precision:
60
+ scale:
61
+ limit:
62
+ important: *2
63
+ approved: &10 !ruby/object:ActiveRecord::Type::Boolean
64
+ precision:
65
+ scale:
66
+ limit:
67
+ replies_count: &3 !ruby/object:ActiveRecord::Type::Integer
68
+ precision:
69
+ scale:
70
+ limit:
71
+ range: !ruby/range
72
+ begin: -2147483648
73
+ end: 2147483648
74
+ excl: true
75
+ unique_replies_count: *3
76
+ parent_id: *3
77
+ parent_title: *1
78
+ type: *1
79
+ group: *1
80
+ created_at: *4
81
+ updated_at: *4
82
+ values:
83
+ id: 1
84
+ title: The First Topic
85
+ author_name: David
86
+ author_email_address: david@loudthinking.com
87
+ written_on: '2003-07-16 14:28:11.223300'
88
+ bonus_time: '2005-01-30 14:28:00.000000'
89
+ last_read: '2004-04-15'
90
+ content: |
91
+ --- Have a nice day
92
+ ...
93
+ important:
94
+ approved: f
95
+ replies_count: 1
96
+ unique_replies_count: 0
97
+ parent_id:
98
+ parent_title:
99
+ type:
100
+ group:
101
+ created_at: '2015-03-10 17:44:41'
102
+ updated_at: '2015-03-10 17:44:41'
103
+ additional_types: {}
104
+ materialized: true
105
+ delegate_hash:
106
+ id: !ruby/object:ActiveRecord::Attribute::FromDatabase
107
+ name: id
108
+ value_before_type_cast: 1
109
+ type: *5
110
+ title: !ruby/object:ActiveRecord::Attribute::FromDatabase
111
+ name: title
112
+ value_before_type_cast: The First Topic
113
+ type: *6
114
+ author_name: !ruby/object:ActiveRecord::Attribute::FromDatabase
115
+ name: author_name
116
+ value_before_type_cast: David
117
+ type: *1
118
+ author_email_address: !ruby/object:ActiveRecord::Attribute::FromDatabase
119
+ name: author_email_address
120
+ value_before_type_cast: david@loudthinking.com
121
+ type: *1
122
+ written_on: !ruby/object:ActiveRecord::Attribute::FromDatabase
123
+ name: written_on
124
+ value_before_type_cast: '2003-07-16 14:28:11.223300'
125
+ type: *4
126
+ bonus_time: !ruby/object:ActiveRecord::Attribute::FromDatabase
127
+ name: bonus_time
128
+ value_before_type_cast: '2005-01-30 14:28:00.000000'
129
+ type: *7
130
+ last_read: !ruby/object:ActiveRecord::Attribute::FromDatabase
131
+ name: last_read
132
+ value_before_type_cast: '2004-04-15'
133
+ type: *8
134
+ content: !ruby/object:ActiveRecord::Attribute::FromDatabase
135
+ name: content
136
+ value_before_type_cast: |
137
+ --- Have a nice day
138
+ ...
139
+ type: !ruby/object:ActiveRecord::Type::Serialized
140
+ coder: *9
141
+ subtype: *2
142
+ important: !ruby/object:ActiveRecord::Attribute::FromDatabase
143
+ name: important
144
+ value_before_type_cast:
145
+ type: *2
146
+ approved: !ruby/object:ActiveRecord::Attribute::FromDatabase
147
+ name: approved
148
+ value_before_type_cast: f
149
+ type: *10
150
+ replies_count: !ruby/object:ActiveRecord::Attribute::FromDatabase
151
+ name: replies_count
152
+ value_before_type_cast: 1
153
+ type: *3
154
+ unique_replies_count: !ruby/object:ActiveRecord::Attribute::FromDatabase
155
+ name: unique_replies_count
156
+ value_before_type_cast: 0
157
+ type: *3
158
+ parent_id: !ruby/object:ActiveRecord::Attribute::FromDatabase
159
+ name: parent_id
160
+ value_before_type_cast:
161
+ type: *3
162
+ parent_title: !ruby/object:ActiveRecord::Attribute::FromDatabase
163
+ name: parent_title
164
+ value_before_type_cast:
165
+ type: *1
166
+ type: !ruby/object:ActiveRecord::Attribute::FromDatabase
167
+ name: type
168
+ value_before_type_cast:
169
+ type: *1
170
+ group: !ruby/object:ActiveRecord::Attribute::FromDatabase
171
+ name: group
172
+ value_before_type_cast:
173
+ type: *1
174
+ created_at: !ruby/object:ActiveRecord::Attribute::FromDatabase
175
+ name: created_at
176
+ value_before_type_cast: '2015-03-10 17:44:41'
177
+ type: *4
178
+ updated_at: !ruby/object:ActiveRecord::Attribute::FromDatabase
179
+ name: updated_at
180
+ value_before_type_cast: '2015-03-10 17:44:41'
181
+ type: *4
182
+ new_record: false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ibm_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.5
4
+ version: 5.0.5
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - IBM
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-11 00:00:00.000000000 Z
11
+ date: 2020-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.0
19
+ version: 5.0.7
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 4.2.0
26
+ version: 5.0.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: archive-zip
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,13 +52,21 @@ files:
52
52
  - MANIFEST
53
53
  - ParameterizedQueries README
54
54
  - README
55
+ - ext/Makefile
55
56
  - ext/Makefile.nt32
56
57
  - ext/Makefile.nt32.191
57
58
  - ext/extconf.rb
59
+ - ext/gil_release_version
60
+ - ext/ibm_db-i386-mingw32.def
58
61
  - ext/ibm_db.c
62
+ - ext/ibm_db.o
63
+ - ext/ibm_db.so
64
+ - ext/mkmf.log
59
65
  - ext/ruby_ibm_db.h
60
66
  - ext/ruby_ibm_db_cli.c
61
67
  - ext/ruby_ibm_db_cli.h
68
+ - ext/ruby_ibm_db_cli.o
69
+ - ext/unicode_support_version
62
70
  - init.rb
63
71
  - lib/IBM_DB.rb
64
72
  - lib/active_record/connection_adapters/ibm_db_adapter.rb
@@ -66,23 +74,85 @@ files:
66
74
  - lib/active_record/connection_adapters/ibmdb_adapter.rb
67
75
  - lib/active_record/vendor/db2-i5-zOS.yaml
68
76
  - lib/mswin32/ibm_db.rb
69
- - lib/mswin32/rb19x/ibm_db.so
70
- - lib/mswin32/rb21x/i386/ibm_db.so
71
- - lib/mswin32/rb22x/i386/ibm_db.so
72
- - lib/mswin32/rb23x/i386/ibm_db.so
73
77
  - lib/mswin32/rb2x/i386/ibm_db.so
74
78
  - test/active_record/connection_adapters/fake_adapter.rb
75
79
  - test/assets/example.log
76
80
  - test/assets/flowers.jpg
77
81
  - test/assets/test.txt
78
82
  - test/cases/adapter_test.rb
83
+ - test/cases/adapters/mysql2/active_schema_test.rb
84
+ - test/cases/adapters/mysql2/bind_parameter_test.rb
85
+ - test/cases/adapters/mysql2/boolean_test.rb
86
+ - test/cases/adapters/mysql2/case_sensitivity_test.rb
87
+ - test/cases/adapters/mysql2/charset_collation_test.rb
88
+ - test/cases/adapters/mysql2/connection_test.rb
89
+ - test/cases/adapters/mysql2/datetime_precision_quoting_test.rb
90
+ - test/cases/adapters/mysql2/enum_test.rb
91
+ - test/cases/adapters/mysql2/explain_test.rb
92
+ - test/cases/adapters/mysql2/json_test.rb
93
+ - test/cases/adapters/mysql2/mysql2_adapter_test.rb
94
+ - test/cases/adapters/mysql2/reserved_word_test.rb
95
+ - test/cases/adapters/mysql2/schema_migrations_test.rb
96
+ - test/cases/adapters/mysql2/schema_test.rb
97
+ - test/cases/adapters/mysql2/sp_test.rb
98
+ - test/cases/adapters/mysql2/sql_types_test.rb
99
+ - test/cases/adapters/mysql2/table_options_test.rb
100
+ - test/cases/adapters/mysql2/unsigned_type_test.rb
101
+ - test/cases/adapters/postgresql/active_schema_test.rb
102
+ - test/cases/adapters/postgresql/array_test.rb
103
+ - test/cases/adapters/postgresql/bit_string_test.rb
104
+ - test/cases/adapters/postgresql/bytea_test.rb
105
+ - test/cases/adapters/postgresql/case_insensitive_test.rb
106
+ - test/cases/adapters/postgresql/change_schema_test.rb
107
+ - test/cases/adapters/postgresql/cidr_test.rb
108
+ - test/cases/adapters/postgresql/citext_test.rb
109
+ - test/cases/adapters/postgresql/collation_test.rb
110
+ - test/cases/adapters/postgresql/composite_test.rb
111
+ - test/cases/adapters/postgresql/connection_test.rb
112
+ - test/cases/adapters/postgresql/datatype_test.rb
113
+ - test/cases/adapters/postgresql/domain_test.rb
114
+ - test/cases/adapters/postgresql/enum_test.rb
115
+ - test/cases/adapters/postgresql/explain_test.rb
116
+ - test/cases/adapters/postgresql/extension_migration_test.rb
117
+ - test/cases/adapters/postgresql/full_text_test.rb
118
+ - test/cases/adapters/postgresql/geometric_test.rb
119
+ - test/cases/adapters/postgresql/hstore_test.rb
120
+ - test/cases/adapters/postgresql/infinity_test.rb
121
+ - test/cases/adapters/postgresql/integer_test.rb
122
+ - test/cases/adapters/postgresql/json_test.rb
123
+ - test/cases/adapters/postgresql/ltree_test.rb
124
+ - test/cases/adapters/postgresql/money_test.rb
125
+ - test/cases/adapters/postgresql/network_test.rb
126
+ - test/cases/adapters/postgresql/numbers_test.rb
127
+ - test/cases/adapters/postgresql/postgresql_adapter_test.rb
128
+ - test/cases/adapters/postgresql/prepared_statements_test.rb
129
+ - test/cases/adapters/postgresql/quoting_test.rb
130
+ - test/cases/adapters/postgresql/range_test.rb
131
+ - test/cases/adapters/postgresql/referential_integrity_test.rb
132
+ - test/cases/adapters/postgresql/rename_table_test.rb
133
+ - test/cases/adapters/postgresql/schema_authorization_test.rb
134
+ - test/cases/adapters/postgresql/schema_test.rb
135
+ - test/cases/adapters/postgresql/serial_test.rb
136
+ - test/cases/adapters/postgresql/statement_pool_test.rb
137
+ - test/cases/adapters/postgresql/timestamp_test.rb
138
+ - test/cases/adapters/postgresql/type_lookup_test.rb
139
+ - test/cases/adapters/postgresql/utils_test.rb
140
+ - test/cases/adapters/postgresql/uuid_test.rb
141
+ - test/cases/adapters/postgresql/xml_test.rb
142
+ - test/cases/adapters/sqlite3/collation_test.rb
143
+ - test/cases/adapters/sqlite3/copy_table_test.rb
144
+ - test/cases/adapters/sqlite3/explain_test.rb
145
+ - test/cases/adapters/sqlite3/quoting_test.rb
146
+ - test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
147
+ - test/cases/adapters/sqlite3/sqlite3_create_folder_test.rb
148
+ - test/cases/adapters/sqlite3/statement_pool_test.rb
79
149
  - test/cases/aggregations_test.rb
80
150
  - test/cases/ar_schema_test.rb
81
151
  - test/cases/associations/association_scope_test.rb
82
152
  - test/cases/associations/belongs_to_associations_test.rb
153
+ - test/cases/associations/bidirectional_destroy_dependencies_test.rb
83
154
  - test/cases/associations/callbacks_test.rb
84
155
  - test/cases/associations/cascaded_eager_loading_test.rb
85
- - test/cases/associations/deprecated_counter_cache_on_has_many_through_test.rb
86
156
  - test/cases/associations/eager_load_includes_full_sti_class_test.rb
87
157
  - test/cases/associations/eager_load_nested_include_test.rb
88
158
  - test/cases/associations/eager_singularization_test.rb
@@ -96,12 +166,12 @@ files:
96
166
  - test/cases/associations/inner_join_association_test.rb
97
167
  - test/cases/associations/inverse_associations_test.rb
98
168
  - test/cases/associations/join_model_test.rb
169
+ - test/cases/associations/left_outer_join_association_test.rb
99
170
  - test/cases/associations/nested_through_associations_test.rb
100
171
  - test/cases/associations/required_test.rb
101
172
  - test/cases/associations_test.rb
102
173
  - test/cases/attribute_decorators_test.rb
103
174
  - test/cases/attribute_methods/read_test.rb
104
- - test/cases/attribute_methods/serialization_test.rb
105
175
  - test/cases/attribute_methods_test.rb
106
176
  - test/cases/attribute_set_test.rb
107
177
  - test/cases/attribute_test.rb
@@ -111,12 +181,16 @@ files:
111
181
  - test/cases/batches_test.rb
112
182
  - test/cases/binary_test.rb
113
183
  - test/cases/bind_parameter_test.rb
184
+ - test/cases/cache_key_test.rb
114
185
  - test/cases/calculations_test.rb
115
186
  - test/cases/callbacks_test.rb
116
187
  - test/cases/clone_test.rb
188
+ - test/cases/coders/json_test.rb
117
189
  - test/cases/coders/yaml_column_test.rb
190
+ - test/cases/collection_cache_key_test.rb
118
191
  - test/cases/column_alias_test.rb
119
192
  - test/cases/column_definition_test.rb
193
+ - test/cases/comment_test.rb
120
194
  - test/cases/connection_adapters/adapter_leasing_test.rb
121
195
  - test/cases/connection_adapters/connection_handler_test.rb
122
196
  - test/cases/connection_adapters/connection_specification_test.rb
@@ -132,12 +206,15 @@ files:
132
206
  - test/cases/counter_cache_test.rb
133
207
  - test/cases/custom_locking_test.rb
134
208
  - test/cases/database_statements_test.rb
209
+ - test/cases/date_test.rb
210
+ - test/cases/date_time_precision_test.rb
135
211
  - test/cases/date_time_test.rb
136
212
  - test/cases/defaults_test.rb
137
213
  - test/cases/dirty_test.rb
138
214
  - test/cases/disconnected_test.rb
139
215
  - test/cases/dup_test.rb
140
216
  - test/cases/enum_test.rb
217
+ - test/cases/errors_test.rb
141
218
  - test/cases/explain_subscriber_test.rb
142
219
  - test/cases/explain_test.rb
143
220
  - test/cases/finder_respond_to_test.rb
@@ -152,20 +229,18 @@ files:
152
229
  - test/cases/inheritance_test.rb
153
230
  - test/cases/integration_test.rb
154
231
  - test/cases/invalid_connection_test.rb
155
- - test/cases/invalid_date_test.rb
156
232
  - test/cases/invertible_migration_test.rb
157
233
  - test/cases/json_serialization_test.rb
158
234
  - test/cases/locking_test.rb
159
235
  - test/cases/log_subscriber_test.rb
160
- - test/cases/migration/change_schema_test - Copy.rb
161
236
  - test/cases/migration/change_schema_test.rb
162
237
  - test/cases/migration/change_table_test.rb
163
238
  - test/cases/migration/column_attributes_test.rb
164
239
  - test/cases/migration/column_positioning_test.rb
165
240
  - test/cases/migration/columns_test.rb
166
241
  - test/cases/migration/command_recorder_test.rb
242
+ - test/cases/migration/compatibility_test.rb
167
243
  - test/cases/migration/create_join_table_test.rb
168
- - test/cases/migration/foreign_key_test - Changed.rb
169
244
  - test/cases/migration/foreign_key_test.rb
170
245
  - test/cases/migration/helper.rb
171
246
  - test/cases/migration/index_test.rb
@@ -175,7 +250,6 @@ files:
175
250
  - test/cases/migration/references_index_test.rb
176
251
  - test/cases/migration/references_statements_test.rb
177
252
  - test/cases/migration/rename_table_test.rb
178
- - test/cases/migration/table_and_index_test.rb
179
253
  - test/cases/migration_test.rb
180
254
  - test/cases/migrator_test.rb
181
255
  - test/cases/mixin_test.rb
@@ -195,39 +269,49 @@ files:
195
269
  - test/cases/relation/delegation_test.rb
196
270
  - test/cases/relation/merging_test.rb
197
271
  - test/cases/relation/mutation_test.rb
272
+ - test/cases/relation/or_test.rb
198
273
  - test/cases/relation/predicate_builder_test.rb
274
+ - test/cases/relation/record_fetch_warning_test.rb
199
275
  - test/cases/relation/where_chain_test.rb
276
+ - test/cases/relation/where_clause_test.rb
200
277
  - test/cases/relation/where_test.rb
201
- - test/cases/relation/where_test2.rb
202
278
  - test/cases/relation_test.rb
203
279
  - test/cases/relations_test.rb
204
280
  - test/cases/reload_models_test.rb
205
281
  - test/cases/result_test.rb
206
282
  - test/cases/sanitize_test.rb
207
283
  - test/cases/schema_dumper_test.rb
284
+ - test/cases/schema_loading_test.rb
208
285
  - test/cases/scoping/default_scoping_test.rb
209
286
  - test/cases/scoping/named_scoping_test.rb
210
287
  - test/cases/scoping/relation_scoping_test.rb
288
+ - test/cases/secure_token_test.rb
211
289
  - test/cases/serialization_test.rb
212
290
  - test/cases/serialized_attribute_test.rb
213
291
  - test/cases/statement_cache_test.rb
214
292
  - test/cases/store_test.rb
293
+ - test/cases/suppressor_test.rb
215
294
  - test/cases/tasks/database_tasks_test.rb
216
295
  - test/cases/tasks/mysql_rake_test.rb
217
296
  - test/cases/tasks/postgresql_rake_test.rb
218
297
  - test/cases/tasks/sqlite_rake_test.rb
219
298
  - test/cases/test_case.rb
299
+ - test/cases/test_fixtures_test.rb
300
+ - test/cases/time_precision_test.rb
220
301
  - test/cases/timestamp_test.rb
302
+ - test/cases/touch_later_test.rb
221
303
  - test/cases/transaction_callbacks_test.rb
222
304
  - test/cases/transaction_isolation_test.rb
223
305
  - test/cases/transactions_test.rb
224
- - test/cases/type/decimal_test.rb
306
+ - test/cases/type/adapter_specific_registry_test.rb
307
+ - test/cases/type/date_time_test.rb
225
308
  - test/cases/type/integer_test.rb
226
309
  - test/cases/type/string_test.rb
227
310
  - test/cases/type/type_map_test.rb
228
- - test/cases/type/unsigned_integer_test.rb
311
+ - test/cases/type_test.rb
229
312
  - test/cases/types_test.rb
230
313
  - test/cases/unconnected_test.rb
314
+ - test/cases/validations/absence_validation_test.rb
231
315
  - test/cases/validations/association_validation_test.rb
232
316
  - test/cases/validations/i18n_generate_message_validation_test.rb
233
317
  - test/cases/validations/i18n_validation_test.rb
@@ -237,8 +321,8 @@ files:
237
321
  - test/cases/validations_repair_helper.rb
238
322
  - test/cases/validations_test.rb
239
323
  - test/cases/view_test.rb
240
- - test/cases/xml_serialization_test.rb
241
324
  - test/cases/yaml_serialization_test.rb
325
+ - test/config.example.yml
242
326
  - test/config.rb
243
327
  - test/config.yml
244
328
  - test/connections/native_ibm_db/connection.rb
@@ -254,6 +338,7 @@ files:
254
338
  - test/fixtures/author_addresses.yml
255
339
  - test/fixtures/author_favorites.yml
256
340
  - test/fixtures/authors.yml
341
+ - test/fixtures/bad_posts.yml
257
342
  - test/fixtures/binaries.yml
258
343
  - test/fixtures/books.yml
259
344
  - test/fixtures/bulbs.yml
@@ -270,9 +355,12 @@ files:
270
355
  - test/fixtures/comments.yml
271
356
  - test/fixtures/companies.yml
272
357
  - test/fixtures/computers.yml
358
+ - test/fixtures/content.yml
359
+ - test/fixtures/content_positions.yml
273
360
  - test/fixtures/courses.yml
274
361
  - test/fixtures/customers.yml
275
362
  - test/fixtures/dashboards.yml
363
+ - test/fixtures/dead_parrots.yml
276
364
  - test/fixtures/developers.yml
277
365
  - test/fixtures/developers_projects.yml
278
366
  - test/fixtures/dog_lovers.yml
@@ -290,6 +378,7 @@ files:
290
378
  - test/fixtures/items.yml
291
379
  - test/fixtures/jobs.yml
292
380
  - test/fixtures/legacy_things.yml
381
+ - test/fixtures/live_parrots.yml
293
382
  - test/fixtures/mateys.yml
294
383
  - test/fixtures/member_details.yml
295
384
  - test/fixtures/member_types.yml
@@ -301,11 +390,16 @@ files:
301
390
  - test/fixtures/mixed_case_monkeys.yml
302
391
  - test/fixtures/mixins.yml
303
392
  - test/fixtures/movies.yml
304
- - test/fixtures/naked/csv/accounts.csv
305
393
  - test/fixtures/naked/yml/accounts.yml
306
394
  - test/fixtures/naked/yml/companies.yml
307
395
  - test/fixtures/naked/yml/courses.yml
396
+ - test/fixtures/naked/yml/parrots.yml
397
+ - test/fixtures/naked/yml/trees.yml
398
+ - test/fixtures/nodes.yml
308
399
  - test/fixtures/organizations.yml
400
+ - test/fixtures/other_comments.yml
401
+ - test/fixtures/other_dogs.yml
402
+ - test/fixtures/other_posts.yml
309
403
  - test/fixtures/other_topics.yml
310
404
  - test/fixtures/owners.yml
311
405
  - test/fixtures/parrots.yml
@@ -343,6 +437,7 @@ files:
343
437
  - test/fixtures/toys.yml
344
438
  - test/fixtures/traffic_lights.yml
345
439
  - test/fixtures/treasures.yml
440
+ - test/fixtures/trees.yml
346
441
  - test/fixtures/uuid_children.yml
347
442
  - test/fixtures/uuid_parents.yml
348
443
  - test/fixtures/variants.yml
@@ -396,6 +491,7 @@ files:
396
491
  - test/models/cake_designer.rb
397
492
  - test/models/car.rb
398
493
  - test/models/carrier.rb
494
+ - test/models/cat.rb
399
495
  - test/models/categorization.rb
400
496
  - test/models/category.rb
401
497
  - test/models/chef.rb
@@ -409,6 +505,7 @@ files:
409
505
  - test/models/company_in_module.rb
410
506
  - test/models/computer.rb
411
507
  - test/models/contact.rb
508
+ - test/models/content.rb
412
509
  - test/models/contract.rb
413
510
  - test/models/country.rb
414
511
  - test/models/course.rb
@@ -432,6 +529,7 @@ files:
432
529
  - test/models/face.rb
433
530
  - test/models/friendship.rb
434
531
  - test/models/guid.rb
532
+ - test/models/guitar.rb
435
533
  - test/models/hotel.rb
436
534
  - test/models/image.rb
437
535
  - test/models/interest.rb
@@ -450,18 +548,25 @@ files:
450
548
  - test/models/member_detail.rb
451
549
  - test/models/member_type.rb
452
550
  - test/models/membership.rb
551
+ - test/models/mentor.rb
453
552
  - test/models/minimalistic.rb
454
553
  - test/models/minivan.rb
455
554
  - test/models/mixed_case_monkey.rb
555
+ - test/models/mocktail_designer.rb
456
556
  - test/models/molecule.rb
457
557
  - test/models/movie.rb
558
+ - test/models/node.rb
559
+ - test/models/non_primary_key.rb
560
+ - test/models/notification.rb
458
561
  - test/models/order.rb
459
562
  - test/models/organization.rb
563
+ - test/models/other_dog.rb
460
564
  - test/models/owner.rb
461
565
  - test/models/parrot.rb
462
566
  - test/models/person.rb
463
567
  - test/models/personal_legacy_thing.rb
464
568
  - test/models/pet.rb
569
+ - test/models/pet_treasure.rb
465
570
  - test/models/pirate.rb
466
571
  - test/models/possession.rb
467
572
  - test/models/post.rb
@@ -474,6 +579,7 @@ files:
474
579
  - test/models/randomly_named_c1.rb
475
580
  - test/models/rating.rb
476
581
  - test/models/reader.rb
582
+ - test/models/recipe.rb
477
583
  - test/models/record.rb
478
584
  - test/models/reference.rb
479
585
  - test/models/reply.rb
@@ -496,8 +602,12 @@ files:
496
602
  - test/models/traffic_light.rb
497
603
  - test/models/treasure.rb
498
604
  - test/models/treaty.rb
605
+ - test/models/tree.rb
606
+ - test/models/tuning_peg.rb
499
607
  - test/models/tyre.rb
608
+ - test/models/user.rb
500
609
  - test/models/uuid_child.rb
610
+ - test/models/uuid_item.rb
501
611
  - test/models/uuid_parent.rb
502
612
  - test/models/vegetables.rb
503
613
  - test/models/vehicle.rb
@@ -510,10 +620,10 @@ files:
510
620
  - test/schema/ids/ibm_db_specific_schema.rb
511
621
  - test/schema/luw/ibm_db_specific_schema.rb
512
622
  - test/schema/mysql2_specific_schema.rb
513
- - test/schema/mysql_specific_schema.rb
514
623
  - test/schema/oracle_specific_schema.rb
515
624
  - test/schema/postgresql_specific_schema.rb
516
625
  - test/schema/schema.rb
626
+ - test/schema/schema.rb.original
517
627
  - test/schema/sqlite_specific_schema.rb
518
628
  - test/schema/zOS/ibm_db_specific_schema.rb
519
629
  - test/support/config.rb
@@ -521,15 +631,22 @@ files:
521
631
  - test/support/connection_helper.rb
522
632
  - test/support/ddl_helper.rb
523
633
  - test/support/schema_dumping_helper.rb
634
+ - test/support/yaml_compatibility_fixtures/rails_4_1.yml
635
+ - test/support/yaml_compatibility_fixtures/rails_4_2_0.yml
524
636
  homepage: https://github.com/ibmdb/ruby-ibmdb
525
637
  licenses: []
526
638
  metadata: {}
527
- post_install_message: |2+
528
-
529
- *****************************************************************************
530
- Successfully installed ibm_db, the Ruby gem for IBM DB2/Informix. The Ruby gem is licensed under the MIT License. The package also includes IBM ODBC and CLI Driver from IBM, which could have been automatically downloaded as the Ruby gem is installed on your system/device. The license agreement to the IBM driver is available in the folder "$GEM_HOME/ibm_db-*/lib/clidriver/license". Check for additional dependencies, which may come with their own license agreement(s). Your use of the components of the package and dependencies constitutes your acceptance of their respective license agreements. If you do not accept the terms of any license agreement(s), then delete the relevant component(s) from your system/device.
531
- *****************************************************************************
532
-
639
+ post_install_message: "\n*****************************************************************************\nSuccessfully
640
+ installed ibm_db, the Ruby gem for IBM DB2/Informix. The Ruby gem is licensed under
641
+ the MIT License. The package also includes IBM ODBC and CLI Driver from IBM, which
642
+ could have been automatically downloaded as the Ruby gem is installed on your system/device.
643
+ \ The license agreement to the IBM driver is available in the folder \"$GEM_HOME/ibm_db-*/lib/clidriver/license\".
644
+ \ Check for additional dependencies, which may come with their own license agreement(s).
645
+ Your use of the components of the package and dependencies constitutes your acceptance
646
+ of their respective license agreements. If you do not accept the terms of any license
647
+ agreement(s), then delete the relevant component(s) from your system/device.\n*****************************************************************************\n\n
648
+ FOR WINDOWS PLEASE SET RUBY_DLL_PATH=/path/to/clidriver/bin \n\n ****************************************************
649
+ \n\n"
533
650
  rdoc_options: []
534
651
  require_paths:
535
652
  - lib
@@ -537,16 +654,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
537
654
  requirements:
538
655
  - - ">="
539
656
  - !ruby/object:Gem::Version
540
- version: 2.0.0
657
+ version: 2.5.0
541
658
  required_rubygems_version: !ruby/object:Gem::Requirement
542
659
  requirements:
543
660
  - - ">="
544
661
  - !ruby/object:Gem::Version
545
662
  version: '0'
546
663
  requirements:
547
- - ActiveRecord, at least 4.2.0
548
- rubyforge_project: rubyibm
549
- rubygems_version: 2.5.1
664
+ - ActiveRecord, at least 5.0.7
665
+ rubygems_version: 3.0.3
550
666
  signing_key:
551
667
  specification_version: 4
552
668
  summary: 'Rails Driver and Adapter for IBM Data Servers: {DB2 on Linux/Unix/Windows,