postfinancecheckout-ruby-sdk 3.0.2 → 3.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1193) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile.lock +35 -0
  3. data/LICENSE +1 -1
  4. data/README.md +0 -2
  5. data/lib/postfinancecheckout-ruby-sdk/api/analytics_query_service_api.rb +381 -0
  6. data/lib/postfinancecheckout-ruby-sdk/api/charge_flow_service_api.rb +126 -0
  7. data/lib/postfinancecheckout-ruby-sdk/api/invoice_reconciliation_record_invoice_link_service_api.rb +351 -0
  8. data/lib/postfinancecheckout-ruby-sdk/api/invoice_reconciliation_record_service_api.rb +399 -0
  9. data/lib/postfinancecheckout-ruby-sdk/api/invoice_reimbursement_service_api.rb +348 -0
  10. data/lib/postfinancecheckout-ruby-sdk/api/payment_terminal_service_api.rb +253 -0
  11. data/lib/postfinancecheckout-ruby-sdk/api/payment_terminal_till_service_api.rb +2 -2
  12. data/lib/postfinancecheckout-ruby-sdk/api/payment_terminal_transaction_summary_service_api.rb +275 -0
  13. data/lib/postfinancecheckout-ruby-sdk/api/transaction_line_item_version_service_api.rb +275 -0
  14. data/lib/postfinancecheckout-ruby-sdk/api/transaction_service_api.rb +2 -64
  15. data/lib/postfinancecheckout-ruby-sdk/models/abstract_transaction_pending.rb +11 -11
  16. data/lib/postfinancecheckout-ruby-sdk/models/analytics_query.rb +272 -0
  17. data/lib/postfinancecheckout-ruby-sdk/models/analytics_query_execution.rb +293 -0
  18. data/lib/postfinancecheckout-ruby-sdk/models/analytics_query_execution_state.rb +37 -0
  19. data/lib/postfinancecheckout-ruby-sdk/models/analytics_query_result_batch.rb +225 -0
  20. data/lib/postfinancecheckout-ruby-sdk/models/analytics_schema_column.rb +263 -0
  21. data/lib/postfinancecheckout-ruby-sdk/models/analytics_schema_table.rb +215 -0
  22. data/lib/postfinancecheckout-ruby-sdk/models/charge_attempt.rb +11 -1
  23. data/lib/postfinancecheckout-ruby-sdk/models/invoice_reconciliation_record.rb +571 -0
  24. data/lib/postfinancecheckout-ruby-sdk/models/invoice_reconciliation_record_invoice_link.rb +241 -0
  25. data/lib/postfinancecheckout-ruby-sdk/models/invoice_reconciliation_record_rejection_status.rb +36 -0
  26. data/lib/postfinancecheckout-ruby-sdk/models/invoice_reconciliation_record_state.rb +38 -0
  27. data/lib/postfinancecheckout-ruby-sdk/models/{transaction_line_item_update_request.rb → invoice_reconciliation_record_type.rb} +27 -20
  28. data/lib/postfinancecheckout-ruby-sdk/models/invoice_reimbursement.rb +391 -0
  29. data/lib/postfinancecheckout-ruby-sdk/models/invoice_reimbursement_state.rb +38 -0
  30. data/lib/postfinancecheckout-ruby-sdk/models/invoice_reimbursement_with_refund_reference.rb +401 -0
  31. data/lib/postfinancecheckout-ruby-sdk/models/line_item_type.rb +1 -0
  32. data/lib/postfinancecheckout-ruby-sdk/models/payment_initiation_advice_file.rb +251 -0
  33. data/lib/postfinancecheckout-ruby-sdk/models/payment_initiation_advice_file_state.rb +35 -0
  34. data/lib/postfinancecheckout-ruby-sdk/models/payment_processor_configuration.rb +11 -1
  35. data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal.rb +11 -1
  36. data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_dcc_transaction_sum.rb +261 -0
  37. data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_location.rb +8 -8
  38. data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_location_version.rb +11 -1
  39. data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_state.rb +1 -0
  40. data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_transaction_sum.rb +291 -0
  41. data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_transaction_summary.rb +285 -0
  42. data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_transaction_summary_fetch_request.rb +221 -0
  43. data/lib/postfinancecheckout-ruby-sdk/models/rendered_document.rb +17 -5
  44. data/lib/postfinancecheckout-ruby-sdk/models/rendered_terminal_receipt.rb +17 -5
  45. data/lib/postfinancecheckout-ruby-sdk/models/rendered_terminal_transaction_summary.rb +215 -0
  46. data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscriber.rb +30 -0
  47. data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscriber_active.rb +30 -0
  48. data/lib/postfinancecheckout-ruby-sdk/models/space_address.rb +51 -1
  49. data/lib/postfinancecheckout-ruby-sdk/models/space_address_create.rb +51 -1
  50. data/lib/postfinancecheckout-ruby-sdk/models/transaction.rb +26 -16
  51. data/lib/postfinancecheckout-ruby-sdk/models/transaction_create.rb +12 -12
  52. data/lib/postfinancecheckout-ruby-sdk/models/transaction_line_item_version.rb +93 -1
  53. data/lib/postfinancecheckout-ruby-sdk/models/transaction_line_item_version_create.rb +228 -0
  54. data/lib/postfinancecheckout-ruby-sdk/models/transaction_line_item_version_state.rb +38 -0
  55. data/lib/postfinancecheckout-ruby-sdk/models/transaction_pending.rb +11 -11
  56. data/lib/postfinancecheckout-ruby-sdk/version.rb +1 -1
  57. data/lib/postfinancecheckout-ruby-sdk.rb +29 -1
  58. data/vendor/bundle/ruby/2.4.0/bin/rake +22 -0
  59. data/vendor/bundle/ruby/2.4.0/cache/addressable-2.8.1.gem +0 -0
  60. data/vendor/bundle/ruby/2.4.0/cache/ethon-0.15.0.gem +0 -0
  61. data/vendor/bundle/ruby/2.4.0/cache/ffi-1.15.5.gem +0 -0
  62. data/vendor/bundle/ruby/2.4.0/cache/json-2.6.2.gem +0 -0
  63. data/vendor/bundle/ruby/2.4.0/cache/power_assert-2.0.1.gem +0 -0
  64. data/vendor/bundle/ruby/2.4.0/cache/public_suffix-4.0.7.gem +0 -0
  65. data/vendor/bundle/ruby/2.4.0/cache/rake-12.3.3.gem +0 -0
  66. data/vendor/bundle/ruby/2.4.0/cache/test-unit-3.2.9.gem +0 -0
  67. data/vendor/bundle/ruby/2.4.0/cache/typhoeus-1.4.0.gem +0 -0
  68. data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.15.5/ffi_c.so +0 -0
  69. data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.15.5/gem.build_complete +0 -0
  70. data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.15.5/gem_make.out +370 -0
  71. data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.15.5/mkmf.log +405 -0
  72. data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/gem.build_complete +0 -0
  73. data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/gem_make.out +13 -0
  74. data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/json/ext/generator.so +0 -0
  75. data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/json/ext/parser.so +0 -0
  76. data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/mkmf.log +203 -0
  77. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/CHANGELOG.md +262 -0
  78. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/Gemfile +30 -0
  79. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/LICENSE.txt +202 -0
  80. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/README.md +121 -0
  81. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/Rakefile +34 -0
  82. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/data/unicode.data +0 -0
  83. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/lib/addressable/idna/native.rb +60 -0
  84. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/lib/addressable/idna/pure.rb +677 -0
  85. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/lib/addressable/idna.rb +26 -0
  86. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/lib/addressable/template.rb +1030 -0
  87. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/lib/addressable/uri.rb +2560 -0
  88. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/lib/addressable/version.rb +31 -0
  89. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/lib/addressable.rb +4 -0
  90. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/spec/addressable/idna_spec.rb +301 -0
  91. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/spec/addressable/net_http_compat_spec.rb +29 -0
  92. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/spec/addressable/security_spec.rb +58 -0
  93. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/spec/addressable/template_spec.rb +1468 -0
  94. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/spec/addressable/uri_spec.rb +6745 -0
  95. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/spec/spec_helper.rb +33 -0
  96. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/clobber.rake +4 -0
  97. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/gem.rake +95 -0
  98. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/git.rake +47 -0
  99. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/metrics.rake +24 -0
  100. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/profile.rake +72 -0
  101. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/rspec.rake +23 -0
  102. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/yard.rake +29 -0
  103. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/.github/workflows/ruby.yml +41 -0
  104. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/.gitignore +8 -0
  105. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/.rspec +3 -0
  106. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/CHANGELOG.md +372 -0
  107. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/Gemfile +43 -0
  108. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/Guardfile +10 -0
  109. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/LICENSE +20 -0
  110. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/README.md +95 -0
  111. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/Rakefile +40 -0
  112. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/ethon.gemspec +26 -0
  113. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curl.rb +90 -0
  114. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb +55 -0
  115. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/codes.rb +122 -0
  116. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/constants.rb +80 -0
  117. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb +37 -0
  118. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/functions.rb +58 -0
  119. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/infos.rb +151 -0
  120. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/messages.rb +19 -0
  121. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/options.rb +502 -0
  122. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/settings.rb +12 -0
  123. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/callbacks.rb +148 -0
  124. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/debug_info.rb +47 -0
  125. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/features.rb +31 -0
  126. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/form.rb +107 -0
  127. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/header.rb +61 -0
  128. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/actionable.rb +157 -0
  129. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/custom.rb +29 -0
  130. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb +25 -0
  131. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/get.rb +24 -0
  132. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/head.rb +24 -0
  133. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/options.rb +24 -0
  134. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/patch.rb +24 -0
  135. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/post.rb +26 -0
  136. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/postable.rb +32 -0
  137. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/put.rb +27 -0
  138. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/putable.rb +25 -0
  139. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http.rb +68 -0
  140. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/informations.rb +113 -0
  141. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/mirror.rb +36 -0
  142. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/operations.rb +64 -0
  143. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/options.rb +50 -0
  144. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/params.rb +29 -0
  145. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/queryable.rb +154 -0
  146. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/response_callbacks.rb +131 -0
  147. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/util.rb +28 -0
  148. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy.rb +315 -0
  149. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/ethon_error.rb +9 -0
  150. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/global_init.rb +13 -0
  151. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/invalid_option.rb +13 -0
  152. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/invalid_value.rb +13 -0
  153. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/multi_add.rb +12 -0
  154. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/multi_fdset.rb +12 -0
  155. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/multi_remove.rb +12 -0
  156. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/multi_timeout.rb +13 -0
  157. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/select.rb +13 -0
  158. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors.rb +17 -0
  159. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/libc.rb +21 -0
  160. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/loggable.rb +59 -0
  161. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/multi/operations.rb +228 -0
  162. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/multi/options.rb +117 -0
  163. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/multi/stack.rb +49 -0
  164. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/multi.rb +126 -0
  165. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/version.rb +6 -0
  166. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon.rb +36 -0
  167. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/benchmarks.rb +104 -0
  168. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/memory_leaks.rb +114 -0
  169. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/perf_spec_helper.rb +37 -0
  170. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/support/memory_test_helpers.rb +76 -0
  171. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/support/os_memory_leak_tracker.rb +48 -0
  172. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/support/ruby_object_leak_tracker.rb +49 -0
  173. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/curl_spec.rb +38 -0
  174. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/callbacks_spec.rb +59 -0
  175. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/debug_info_spec.rb +54 -0
  176. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/features_spec.rb +24 -0
  177. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/form_spec.rb +104 -0
  178. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/header_spec.rb +79 -0
  179. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/custom_spec.rb +177 -0
  180. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/delete_spec.rb +21 -0
  181. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/get_spec.rb +126 -0
  182. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/head_spec.rb +80 -0
  183. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/options_spec.rb +51 -0
  184. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/patch_spec.rb +51 -0
  185. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/post_spec.rb +317 -0
  186. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/put_spec.rb +168 -0
  187. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http_spec.rb +64 -0
  188. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/informations_spec.rb +120 -0
  189. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/mirror_spec.rb +47 -0
  190. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/operations_spec.rb +268 -0
  191. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/options_spec.rb +193 -0
  192. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/queryable_spec.rb +235 -0
  193. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/response_callbacks_spec.rb +152 -0
  194. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/util_spec.rb +28 -0
  195. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy_spec.rb +203 -0
  196. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/libc_spec.rb +14 -0
  197. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb +22 -0
  198. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/multi/operations_spec.rb +298 -0
  199. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/multi/options_spec.rb +182 -0
  200. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/multi/stack_spec.rb +80 -0
  201. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/multi_spec.rb +152 -0
  202. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/spec_helper.rb +28 -0
  203. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/support/localhost_server.rb +95 -0
  204. data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/support/server.rb +115 -0
  205. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/CHANGELOG.md +338 -0
  206. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/COPYING +49 -0
  207. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/Gemfile +14 -0
  208. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/LICENSE +24 -0
  209. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/LICENSE.SPECS +22 -0
  210. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/README.md +136 -0
  211. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/Rakefile +191 -0
  212. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/.sitearchdir.time +0 -0
  213. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.c +1104 -0
  214. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.h +175 -0
  215. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.o +0 -0
  216. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.c +162 -0
  217. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.h +59 -0
  218. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.o +0 -0
  219. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.c +360 -0
  220. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.o +0 -0
  221. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Call.c +487 -0
  222. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Call.h +107 -0
  223. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Call.o +0 -0
  224. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.c +333 -0
  225. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.h +59 -0
  226. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.o +0 -0
  227. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.c +334 -0
  228. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.h +98 -0
  229. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.o +0 -0
  230. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Function.c +917 -0
  231. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Function.h +83 -0
  232. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Function.o +0 -0
  233. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.c +266 -0
  234. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.o +0 -0
  235. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LastError.c +225 -0
  236. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LastError.h +47 -0
  237. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LastError.o +0 -0
  238. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.c +65 -0
  239. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.h +47 -0
  240. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.o +0 -0
  241. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +263 -0
  242. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.c +168 -0
  243. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.h +59 -0
  244. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.o +0 -0
  245. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.c +192 -0
  246. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.h +49 -0
  247. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.o +0 -0
  248. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.c +348 -0
  249. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.h +56 -0
  250. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.o +0 -0
  251. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Platform.c +78 -0
  252. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Platform.h +45 -0
  253. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Platform.o +0 -0
  254. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.c +507 -0
  255. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.h +59 -0
  256. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.o +0 -0
  257. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Struct.c +822 -0
  258. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Struct.h +112 -0
  259. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Struct.o +0 -0
  260. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.c +145 -0
  261. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.h +55 -0
  262. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.o +0 -0
  263. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.c +700 -0
  264. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.o +0 -0
  265. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Thread.c +129 -0
  266. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Thread.h +76 -0
  267. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Thread.o +0 -0
  268. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Type.c +379 -0
  269. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Type.h +61 -0
  270. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Type.o +0 -0
  271. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Types.c +138 -0
  272. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Types.h +88 -0
  273. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Types.o +0 -0
  274. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.c +303 -0
  275. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.o +0 -0
  276. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/compat.h +82 -0
  277. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/extconf.h +8 -0
  278. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/extconf.rb +98 -0
  279. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ffi.c +93 -0
  280. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ffi.o +0 -0
  281. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ffi_c.so +0 -0
  282. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.appveyor.yml +66 -0
  283. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.gitattributes +4 -0
  284. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.github/issue_template.md +10 -0
  285. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.gitignore +38 -0
  286. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/ar-lib +270 -0
  287. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/bfin-sim.exp +58 -0
  288. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/build-cross-in-container.sh +14 -0
  289. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/build-in-container.sh +12 -0
  290. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/build.sh +142 -0
  291. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/compile +351 -0
  292. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/install.sh +71 -0
  293. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/m32r-sim.exp +58 -0
  294. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/moxie-sim.exp +60 -0
  295. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/or1k-sim.exp +58 -0
  296. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/powerpc-eabisim.exp +58 -0
  297. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/site.exp +27 -0
  298. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/wine-sim.exp +55 -0
  299. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis.yml +83 -0
  300. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/ChangeLog.old +7407 -0
  301. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/LICENSE +21 -0
  302. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/LICENSE-BUILDTOOLS +353 -0
  303. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/Makefile.am +150 -0
  304. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/Makefile.in +2060 -0
  305. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/README.md +486 -0
  306. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/acinclude.m4 +479 -0
  307. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/autogen.sh +2 -0
  308. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/config.guess +1687 -0
  309. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/config.sub +1851 -0
  310. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/configure +22050 -0
  311. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/configure.ac +415 -0
  312. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/configure.host +318 -0
  313. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/Makefile.am +3 -0
  314. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/Makefile.in +815 -0
  315. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/libffi.texi +997 -0
  316. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/version.texi +4 -0
  317. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/fficonfig.h.in +223 -0
  318. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +201 -0
  319. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/Makefile.am +9 -0
  320. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/Makefile.in +608 -0
  321. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/ffi.h.in +523 -0
  322. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/ffi_cfi.h +55 -0
  323. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/ffi_common.h +153 -0
  324. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/install-sh +518 -0
  325. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libffi.map.in +76 -0
  326. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libffi.pc.in +11 -0
  327. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +997 -0
  328. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libtool-ldflags +106 -0
  329. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libtool-version +29 -0
  330. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/ltmain.sh +11251 -0
  331. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/asmcfi.m4 +13 -0
  332. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_append_flag.m4 +50 -0
  333. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +194 -0
  334. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +122 -0
  335. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_check_compile_flag.m4 +53 -0
  336. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +88 -0
  337. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_configure_args.m4 +49 -0
  338. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +302 -0
  339. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +267 -0
  340. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +89 -0
  341. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_require_defined.m4 +37 -0
  342. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/make_sunver.pl +333 -0
  343. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/Makefile.am +8 -0
  344. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/Makefile.in +562 -0
  345. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/ffi.3 +41 -0
  346. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/ffi_call.3 +103 -0
  347. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/ffi_prep_cif.3 +68 -0
  348. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/ffi_prep_cif_var.3 +73 -0
  349. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/missing +215 -0
  350. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.sln +33 -0
  351. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj +130 -0
  352. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.filters +57 -0
  353. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.user +4 -0
  354. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/ffi.h +511 -0
  355. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/fficonfig.h +219 -0
  356. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvcc.sh +353 -0
  357. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/ffi.c +1025 -0
  358. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/ffitarget.h +97 -0
  359. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/internal.h +68 -0
  360. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/sysv.S +451 -0
  361. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/win64_armasm.S +506 -0
  362. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/alpha/ffi.c +521 -0
  363. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/alpha/ffitarget.h +57 -0
  364. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/alpha/internal.h +23 -0
  365. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/alpha/osf.S +282 -0
  366. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arc/arcompact.S +135 -0
  367. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arc/ffi.c +266 -0
  368. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arc/ffitarget.h +53 -0
  369. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/ffi.c +876 -0
  370. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/ffitarget.h +89 -0
  371. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/internal.h +7 -0
  372. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/sysv.S +385 -0
  373. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/sysv_msvc_arm32.S +311 -0
  374. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/avr32/ffi.c +423 -0
  375. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/avr32/ffitarget.h +55 -0
  376. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/avr32/sysv.S +208 -0
  377. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/bfin/ffi.c +196 -0
  378. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/bfin/ffitarget.h +43 -0
  379. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/bfin/sysv.S +179 -0
  380. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/closures.c +1021 -0
  381. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/cris/ffi.c +386 -0
  382. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/cris/ffitarget.h +56 -0
  383. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/cris/sysv.S +215 -0
  384. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/csky/ffi.c +395 -0
  385. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/csky/ffitarget.h +63 -0
  386. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/csky/sysv.S +371 -0
  387. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/debug.c +64 -0
  388. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/dlmalloc.c +5166 -0
  389. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/frv/eabi.S +128 -0
  390. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/frv/ffi.c +292 -0
  391. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/frv/ffitarget.h +62 -0
  392. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/ffi.c +604 -0
  393. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/ffitarget.h +56 -0
  394. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/ia64_flags.h +40 -0
  395. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/unix.S +567 -0
  396. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/java_raw_api.c +374 -0
  397. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/kvx/asm.h +5 -0
  398. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/kvx/ffi.c +273 -0
  399. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/kvx/ffitarget.h +75 -0
  400. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/kvx/sysv.S +127 -0
  401. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m32r/ffi.c +232 -0
  402. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m32r/ffitarget.h +53 -0
  403. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m32r/sysv.S +121 -0
  404. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m68k/ffi.c +362 -0
  405. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m68k/ffitarget.h +54 -0
  406. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m68k/sysv.S +357 -0
  407. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m88k/ffi.c +400 -0
  408. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m88k/ffitarget.h +49 -0
  409. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m88k/obsd.S +209 -0
  410. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/metag/ffi.c +330 -0
  411. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/metag/ffitarget.h +53 -0
  412. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/metag/sysv.S +311 -0
  413. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/microblaze/ffi.c +321 -0
  414. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/microblaze/ffitarget.h +53 -0
  415. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/microblaze/sysv.S +302 -0
  416. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/ffi.c +1134 -0
  417. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/ffitarget.h +244 -0
  418. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/n32.S +663 -0
  419. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/o32.S +504 -0
  420. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/moxie/eabi.S +101 -0
  421. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/moxie/ffi.c +285 -0
  422. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/moxie/ffitarget.h +52 -0
  423. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/nios2/ffi.c +304 -0
  424. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/nios2/ffitarget.h +52 -0
  425. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/nios2/sysv.S +136 -0
  426. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/or1k/ffi.c +328 -0
  427. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/or1k/ffitarget.h +58 -0
  428. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/or1k/sysv.S +107 -0
  429. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/ffi.c +674 -0
  430. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/ffitarget.h +80 -0
  431. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/hpux32.S +370 -0
  432. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/linux.S +380 -0
  433. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/aix.S +566 -0
  434. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/aix_closure.S +694 -0
  435. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/asm.h +125 -0
  436. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/darwin.S +378 -0
  437. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +571 -0
  438. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi.c +175 -0
  439. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +1452 -0
  440. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +1153 -0
  441. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +105 -0
  442. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_sysv.c +923 -0
  443. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffitarget.h +204 -0
  444. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/linux64.S +291 -0
  445. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +564 -0
  446. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +397 -0
  447. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/sysv.S +173 -0
  448. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/prep_cif.c +263 -0
  449. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/raw_api.c +267 -0
  450. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/riscv/ffi.c +481 -0
  451. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/riscv/ffitarget.h +69 -0
  452. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/riscv/sysv.S +293 -0
  453. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/s390/ffi.c +756 -0
  454. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/s390/ffitarget.h +70 -0
  455. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/s390/internal.h +11 -0
  456. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/s390/sysv.S +325 -0
  457. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh/ffi.c +717 -0
  458. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh/ffitarget.h +54 -0
  459. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh/sysv.S +850 -0
  460. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh64/ffi.c +469 -0
  461. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh64/ffitarget.h +58 -0
  462. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh64/sysv.S +539 -0
  463. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/ffi.c +468 -0
  464. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/ffi64.c +608 -0
  465. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/ffitarget.h +81 -0
  466. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/internal.h +26 -0
  467. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/v8.S +443 -0
  468. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/v9.S +440 -0
  469. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/tile/ffi.c +355 -0
  470. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/tile/ffitarget.h +65 -0
  471. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/tile/tile.S +360 -0
  472. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/types.c +108 -0
  473. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/vax/elfbsd.S +195 -0
  474. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/vax/ffi.c +276 -0
  475. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/vax/ffitarget.h +49 -0
  476. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/asmnames.h +30 -0
  477. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffi.c +770 -0
  478. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffi64.c +895 -0
  479. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffitarget.h +160 -0
  480. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffiw64.c +318 -0
  481. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/internal.h +29 -0
  482. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/internal64.h +22 -0
  483. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/sysv.S +1138 -0
  484. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/sysv_intel.S +995 -0
  485. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/unix64.S +621 -0
  486. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/win64.S +241 -0
  487. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/win64_intel.S +238 -0
  488. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/xtensa/ffi.c +298 -0
  489. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/xtensa/ffitarget.h +53 -0
  490. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/xtensa/sysv.S +258 -0
  491. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/stamp-h.in +1 -0
  492. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/Makefile.am +122 -0
  493. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/Makefile.in +648 -0
  494. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/config/default.exp +1 -0
  495. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/lib/libffi.exp +660 -0
  496. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +283 -0
  497. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +45 -0
  498. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/Makefile +28 -0
  499. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/README +78 -0
  500. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/alignof.h +50 -0
  501. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/bhaible.exp +63 -0
  502. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +1745 -0
  503. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +2885 -0
  504. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/testcases.c +743 -0
  505. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/align_mixed.c +46 -0
  506. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/align_stdcall.c +46 -0
  507. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +54 -0
  508. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +26 -0
  509. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +138 -0
  510. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float.c +59 -0
  511. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +60 -0
  512. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +61 -0
  513. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +74 -0
  514. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +62 -0
  515. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float_va.c +107 -0
  516. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/many.c +59 -0
  517. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/many2.c +57 -0
  518. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/many_double.c +70 -0
  519. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/many_mixed.c +78 -0
  520. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +52 -0
  521. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/offsets.c +46 -0
  522. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/pr1172638.c +127 -0
  523. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +59 -0
  524. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c +114 -0
  525. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +36 -0
  526. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +43 -0
  527. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +42 -0
  528. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +35 -0
  529. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +36 -0
  530. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +49 -0
  531. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +42 -0
  532. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +34 -0
  533. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +41 -0
  534. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +43 -0
  535. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +36 -0
  536. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +38 -0
  537. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +38 -0
  538. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +38 -0
  539. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +44 -0
  540. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c +49 -0
  541. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c +49 -0
  542. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen4.c +55 -0
  543. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +67 -0
  544. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct10.c +57 -0
  545. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +67 -0
  546. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +60 -0
  547. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +64 -0
  548. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +66 -0
  549. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +64 -0
  550. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +74 -0
  551. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +81 -0
  552. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +68 -0
  553. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/uninitialized.c +61 -0
  554. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +196 -0
  555. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c +121 -0
  556. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c +123 -0
  557. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c +125 -0
  558. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure.exp +67 -0
  559. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn0.c +89 -0
  560. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn1.c +81 -0
  561. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn2.c +81 -0
  562. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn3.c +82 -0
  563. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn4.c +89 -0
  564. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn5.c +92 -0
  565. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn6.c +90 -0
  566. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_loc_fn0.c +95 -0
  567. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_simple.c +55 -0
  568. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_12byte.c +94 -0
  569. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_16byte.c +95 -0
  570. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_18byte.c +96 -0
  571. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_19byte.c +102 -0
  572. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_1_1byte.c +89 -0
  573. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte.c +91 -0
  574. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte1.c +93 -0
  575. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_24byte.c +113 -0
  576. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_2byte.c +90 -0
  577. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3_1byte.c +95 -0
  578. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte1.c +90 -0
  579. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte2.c +90 -0
  580. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3float.c +95 -0
  581. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4_1byte.c +98 -0
  582. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4byte.c +90 -0
  583. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5_1_byte.c +109 -0
  584. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5byte.c +98 -0
  585. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_64byte.c +124 -0
  586. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6_1_byte.c +113 -0
  587. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6byte.c +99 -0
  588. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7_1_byte.c +117 -0
  589. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7byte.c +97 -0
  590. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_8byte.c +88 -0
  591. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte1.c +90 -0
  592. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte2.c +91 -0
  593. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_double.c +93 -0
  594. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_float.c +91 -0
  595. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble.c +92 -0
  596. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split.c +132 -0
  597. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split2.c +115 -0
  598. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_pointer.c +95 -0
  599. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint16.c +91 -0
  600. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint32.c +91 -0
  601. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint64.c +92 -0
  602. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint16.c +91 -0
  603. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint32.c +91 -0
  604. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint64.c +93 -0
  605. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_dbls_struct.c +66 -0
  606. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double.c +43 -0
  607. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double_va.c +61 -0
  608. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_float.c +42 -0
  609. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble.c +105 -0
  610. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble_va.c +61 -0
  611. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_args.c +70 -0
  612. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_float_double.c +55 -0
  613. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_schar.c +74 -0
  614. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshort.c +74 -0
  615. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshortchar.c +86 -0
  616. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_uchar.c +91 -0
  617. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushort.c +74 -0
  618. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushortchar.c +86 -0
  619. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer.c +74 -0
  620. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer_stack.c +142 -0
  621. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_schar.c +44 -0
  622. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sint.c +42 -0
  623. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sshort.c +42 -0
  624. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_struct_va1.c +114 -0
  625. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar.c +42 -0
  626. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar_va.c +44 -0
  627. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint.c +43 -0
  628. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint_va.c +45 -0
  629. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulong_va.c +45 -0
  630. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulonglong.c +47 -0
  631. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort.c +43 -0
  632. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort_va.c +44 -0
  633. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/err_bad_abi.c +36 -0
  634. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/ffitest.h +138 -0
  635. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/huge_struct.c +343 -0
  636. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct.c +152 -0
  637. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct1.c +161 -0
  638. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct10.c +134 -0
  639. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct11.c +121 -0
  640. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct2.c +110 -0
  641. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct3.c +111 -0
  642. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct4.c +111 -0
  643. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct5.c +112 -0
  644. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct6.c +131 -0
  645. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct7.c +111 -0
  646. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct8.c +131 -0
  647. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct9.c +131 -0
  648. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/problem1.c +90 -0
  649. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large.c +145 -0
  650. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large2.c +148 -0
  651. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium.c +124 -0
  652. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium2.c +125 -0
  653. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/testclosure.c +70 -0
  654. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest.cc +117 -0
  655. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest_ffi_call.cc +54 -0
  656. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex.inc +91 -0
  657. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_double.c +10 -0
  658. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_float.c +10 -0
  659. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_longdouble.c +10 -0
  660. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex.inc +42 -0
  661. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_double.c +10 -0
  662. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_float.c +10 -0
  663. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_longdouble.c +10 -0
  664. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct.inc +71 -0
  665. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_double.c +10 -0
  666. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_float.c +10 -0
  667. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_longdouble.c +10 -0
  668. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va.inc +80 -0
  669. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_double.c +10 -0
  670. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_float.c +16 -0
  671. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_longdouble.c +10 -0
  672. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex.exp +36 -0
  673. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex.inc +51 -0
  674. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_double.inc +7 -0
  675. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_float.inc +7 -0
  676. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc +7 -0
  677. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_double.c +10 -0
  678. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_float.c +10 -0
  679. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_int.c +86 -0
  680. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_longdouble.c +10 -0
  681. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/ffitest.h +1 -0
  682. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex.inc +78 -0
  683. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_double.c +10 -0
  684. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_float.c +10 -0
  685. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_longdouble.c +10 -0
  686. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex.inc +37 -0
  687. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1.inc +41 -0
  688. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_double.c +10 -0
  689. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_float.c +10 -0
  690. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_longdouble.c +10 -0
  691. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2.inc +44 -0
  692. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_double.c +10 -0
  693. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_float.c +10 -0
  694. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_longdouble.c +10 -0
  695. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_double.c +10 -0
  696. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_float.c +10 -0
  697. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_longdouble.c +10 -0
  698. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/aa-direct.c +34 -0
  699. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/closure1.c +28 -0
  700. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/ffitest.h +1 -0
  701. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/go.exp +36 -0
  702. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/static-chain.h +19 -0
  703. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.bsd.mk +40 -0
  704. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.darwin.mk +105 -0
  705. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.gnu.mk +32 -0
  706. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.mk +18 -0
  707. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.vc.mk +26 -0
  708. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.vc64.mk +26 -0
  709. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/rbffi.h +55 -0
  710. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/rbffi_endian.h +59 -0
  711. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ffi.gemspec +42 -0
  712. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/abstract_memory.rb +44 -0
  713. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/autopointer.rb +203 -0
  714. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/buffer.rb +4 -0
  715. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/callback.rb +4 -0
  716. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/data_converter.rb +67 -0
  717. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/enum.rb +296 -0
  718. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/errno.rb +43 -0
  719. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/ffi.rb +47 -0
  720. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/io.rb +62 -0
  721. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/library.rb +592 -0
  722. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/managedstruct.rb +84 -0
  723. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/memorypointer.rb +1 -0
  724. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-darwin/types.conf +130 -0
  725. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-freebsd/types.conf +128 -0
  726. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-freebsd12/types.conf +181 -0
  727. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-linux/types.conf +104 -0
  728. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-openbsd/types.conf +134 -0
  729. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/arm-freebsd/types.conf +152 -0
  730. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/arm-freebsd12/types.conf +152 -0
  731. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/arm-linux/types.conf +132 -0
  732. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-cygwin/types.conf +3 -0
  733. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-darwin/types.conf +100 -0
  734. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-freebsd/types.conf +152 -0
  735. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-freebsd12/types.conf +152 -0
  736. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-gnu/types.conf +107 -0
  737. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-linux/types.conf +103 -0
  738. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-netbsd/types.conf +126 -0
  739. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-openbsd/types.conf +128 -0
  740. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-solaris/types.conf +122 -0
  741. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-windows/types.conf +52 -0
  742. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/ia64-linux/types.conf +104 -0
  743. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mips-linux/types.conf +102 -0
  744. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mips64-linux/types.conf +104 -0
  745. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mips64el-linux/types.conf +104 -0
  746. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mipsel-linux/types.conf +102 -0
  747. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mipsisa32r6-linux/types.conf +102 -0
  748. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mipsisa32r6el-linux/types.conf +102 -0
  749. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mipsisa64r6-linux/types.conf +104 -0
  750. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mipsisa64r6el-linux/types.conf +104 -0
  751. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc-aix/types.conf +180 -0
  752. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
  753. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc-linux/types.conf +130 -0
  754. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc-openbsd/types.conf +156 -0
  755. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc64-linux/types.conf +104 -0
  756. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc64le-linux/types.conf +100 -0
  757. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/riscv64-linux/types.conf +104 -0
  758. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/s390-linux/types.conf +102 -0
  759. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/s390x-linux/types.conf +102 -0
  760. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/sparc-linux/types.conf +102 -0
  761. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/sparc-solaris/types.conf +128 -0
  762. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/sparc64-linux/types.conf +102 -0
  763. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/sparcv9-openbsd/types.conf +156 -0
  764. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
  765. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-cygwin/types.conf +3 -0
  766. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-darwin/types.conf +130 -0
  767. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-dragonflybsd/types.conf +130 -0
  768. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-freebsd/types.conf +128 -0
  769. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-freebsd12/types.conf +158 -0
  770. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-haiku/types.conf +117 -0
  771. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-linux/types.conf +132 -0
  772. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-msys/types.conf +119 -0
  773. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-netbsd/types.conf +128 -0
  774. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-openbsd/types.conf +134 -0
  775. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
  776. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-windows/types.conf +52 -0
  777. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform.rb +185 -0
  778. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/pointer.rb +167 -0
  779. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/struct.rb +316 -0
  780. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/struct_by_reference.rb +72 -0
  781. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/struct_layout.rb +96 -0
  782. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/struct_layout_builder.rb +227 -0
  783. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/tools/const_generator.rb +232 -0
  784. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/tools/generator.rb +105 -0
  785. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/tools/generator_task.rb +32 -0
  786. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/tools/struct_generator.rb +195 -0
  787. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/tools/types_generator.rb +137 -0
  788. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/types.rb +194 -0
  789. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/union.rb +43 -0
  790. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/variadic.rb +69 -0
  791. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/version.rb +3 -0
  792. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi.rb +27 -0
  793. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi_c.so +0 -0
  794. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/rakelib/ffi_gem_helper.rb +65 -0
  795. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/getlogin.rb +8 -0
  796. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/getpid.rb +8 -0
  797. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/gettimeofday.rb +18 -0
  798. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/hello.rb +8 -0
  799. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/inotify.rb +60 -0
  800. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/pty.rb +75 -0
  801. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/qsort.rb +20 -0
  802. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/CHANGES.md +457 -0
  803. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/LICENSE +56 -0
  804. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/README.md +425 -0
  805. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/VERSION +1 -0
  806. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/Makefile +199 -0
  807. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/fbuffer/fbuffer.h +187 -0
  808. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
  809. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/Makefile +264 -0
  810. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/depend +1 -0
  811. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/extconf.rb +4 -0
  812. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/generator.c +1608 -0
  813. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/generator.h +174 -0
  814. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/generator.o +0 -0
  815. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/generator.so +0 -0
  816. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
  817. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/Makefile +264 -0
  818. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/depend +1 -0
  819. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/extconf.rb +32 -0
  820. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/parser.c +3347 -0
  821. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/parser.h +96 -0
  822. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/parser.o +0 -0
  823. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/parser.rl +986 -0
  824. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/parser.so +0 -0
  825. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/extconf.rb +3 -0
  826. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/json.gemspec +67 -0
  827. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/bigdecimal.rb +29 -0
  828. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/complex.rb +28 -0
  829. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/core.rb +12 -0
  830. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/date.rb +34 -0
  831. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/date_time.rb +50 -0
  832. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/exception.rb +31 -0
  833. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/ostruct.rb +31 -0
  834. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/range.rb +29 -0
  835. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/rational.rb +27 -0
  836. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/regexp.rb +30 -0
  837. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/set.rb +29 -0
  838. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/struct.rb +30 -0
  839. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/symbol.rb +25 -0
  840. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/time.rb +38 -0
  841. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/common.rb +703 -0
  842. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/ext/generator.so +0 -0
  843. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/ext/parser.so +0 -0
  844. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/ext.rb +15 -0
  845. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/generic_object.rb +71 -0
  846. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/pure/generator.rb +479 -0
  847. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/pure/parser.rb +337 -0
  848. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/pure.rb +15 -0
  849. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/version.rb +9 -0
  850. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json.rb +583 -0
  851. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/.github/workflows/ci.yml +32 -0
  852. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/.gitignore +9 -0
  853. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/BSDL +22 -0
  854. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/COPYING +57 -0
  855. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/Gemfile +9 -0
  856. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/LEGAL +4 -0
  857. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/README.md +98 -0
  858. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/Rakefile +59 -0
  859. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/colorize.rb +7 -0
  860. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/configuration.rb +46 -0
  861. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/context.rb +233 -0
  862. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/enable_tracepoint_events.rb +58 -0
  863. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/inspector.rb +62 -0
  864. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/parser.rb +251 -0
  865. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/version.rb +3 -0
  866. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert.rb +91 -0
  867. data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/power_assert.gemspec +31 -0
  868. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.github/FUNDING.yml +12 -0
  869. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.github/dependabot.yml +8 -0
  870. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.github/workflows/release.yml +16 -0
  871. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.github/workflows/tests.yml +28 -0
  872. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.gitignore +8 -0
  873. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.rubocop.yml +36 -0
  874. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.rubocop_opinionated.yml +163 -0
  875. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.yardopts +1 -0
  876. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/2.0-Upgrade.md +52 -0
  877. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/CHANGELOG.md +417 -0
  878. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/Gemfile +14 -0
  879. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/LICENSE.txt +22 -0
  880. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/README.md +217 -0
  881. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/Rakefile +52 -0
  882. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/SECURITY.md +104 -0
  883. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/bin/console +15 -0
  884. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/data/list.txt +14035 -0
  885. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix/domain.rb +235 -0
  886. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix/errors.rb +41 -0
  887. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix/list.rb +247 -0
  888. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix/rule.rb +350 -0
  889. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix/version.rb +15 -0
  890. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix.rb +177 -0
  891. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/public_suffix.gemspec +29 -0
  892. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/.empty +2 -0
  893. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/acceptance_test.rb +131 -0
  894. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_find.rb +66 -0
  895. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_find_all.rb +102 -0
  896. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_names.rb +91 -0
  897. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_select.rb +26 -0
  898. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_select_incremental.rb +25 -0
  899. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_valid.rb +101 -0
  900. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/domain_profiler.rb +12 -0
  901. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/find_profiler.rb +12 -0
  902. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/find_profiler_jp.rb +12 -0
  903. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/initialization_profiler.rb +11 -0
  904. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/list_profsize.rb +11 -0
  905. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/object_binsize.rb +57 -0
  906. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/psl_test.rb +52 -0
  907. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/test_helper.rb +10 -0
  908. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/tests.txt +98 -0
  909. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/unit/domain_test.rb +106 -0
  910. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/unit/errors_test.rb +25 -0
  911. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/unit/list_test.rb +241 -0
  912. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/unit/public_suffix_test.rb +188 -0
  913. data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/unit/rule_test.rb +222 -0
  914. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/CONTRIBUTING.rdoc +43 -0
  915. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/Gemfile +3 -0
  916. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/History.rdoc +2344 -0
  917. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/MIT-LICENSE +21 -0
  918. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/README.rdoc +156 -0
  919. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/Rakefile +41 -0
  920. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/azure-pipelines.yml +11 -0
  921. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/bundle +105 -0
  922. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/console +7 -0
  923. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/rake +29 -0
  924. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/rdoc +29 -0
  925. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/rubocop +29 -0
  926. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/setup +6 -0
  927. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/command_line_usage.rdoc +158 -0
  928. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/example/Rakefile1 +38 -0
  929. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/example/Rakefile2 +35 -0
  930. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/example/a.c +6 -0
  931. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/example/b.c +6 -0
  932. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/example/main.c +11 -0
  933. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/glossary.rdoc +42 -0
  934. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/jamis.rb +592 -0
  935. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/proto_rake.rdoc +127 -0
  936. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/rake.1 +156 -0
  937. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/rakefile.rdoc +622 -0
  938. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/rational.rdoc +151 -0
  939. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/exe/rake +27 -0
  940. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/application.rb +824 -0
  941. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/backtrace.rb +24 -0
  942. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/clean.rb +78 -0
  943. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/cloneable.rb +17 -0
  944. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/cpu_counter.rb +107 -0
  945. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/default_loader.rb +15 -0
  946. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/dsl_definition.rb +195 -0
  947. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/early_time.rb +22 -0
  948. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/ext/core.rb +26 -0
  949. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/ext/string.rb +176 -0
  950. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/file_creation_task.rb +25 -0
  951. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/file_list.rb +435 -0
  952. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/file_task.rb +54 -0
  953. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/file_utils.rb +137 -0
  954. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/file_utils_ext.rb +145 -0
  955. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/invocation_chain.rb +57 -0
  956. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/invocation_exception_mixin.rb +17 -0
  957. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/late_time.rb +18 -0
  958. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/linked_list.rb +112 -0
  959. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/loaders/makefile.rb +54 -0
  960. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/multi_task.rb +14 -0
  961. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/name_space.rb +38 -0
  962. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/packagetask.rb +207 -0
  963. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/phony.rb +16 -0
  964. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/private_reader.rb +21 -0
  965. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/promise.rb +100 -0
  966. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb +30 -0
  967. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/rake_module.rb +67 -0
  968. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb +27 -0
  969. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/rule_recursion_overflow_error.rb +20 -0
  970. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/scope.rb +43 -0
  971. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/task.rb +413 -0
  972. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/task_argument_error.rb +8 -0
  973. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/task_arguments.rb +109 -0
  974. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/task_manager.rb +324 -0
  975. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/tasklib.rb +12 -0
  976. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/testtask.rb +224 -0
  977. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/thread_history_display.rb +49 -0
  978. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/thread_pool.rb +163 -0
  979. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/trace_output.rb +23 -0
  980. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/version.rb +10 -0
  981. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/win32.rb +51 -0
  982. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake.rb +71 -0
  983. data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/rake.gemspec +42 -0
  984. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/COPYING +67 -0
  985. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/GPL +339 -0
  986. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/LGPL +502 -0
  987. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/PSFL +271 -0
  988. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/README.md +101 -0
  989. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/Rakefile +80 -0
  990. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/doc/text/getting-started.md +246 -0
  991. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/doc/text/how-to.md +90 -0
  992. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/doc/text/news.md +1374 -0
  993. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/assertion-failed-error.rb +25 -0
  994. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/assertions.rb +2249 -0
  995. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/attribute-matcher.rb +26 -0
  996. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/attribute.rb +226 -0
  997. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/auto-runner-loader.rb +17 -0
  998. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/autorunner.rb +533 -0
  999. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/code-snippet-fetcher.rb +58 -0
  1000. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector/descendant.rb +19 -0
  1001. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector/dir.rb +108 -0
  1002. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector/load.rb +199 -0
  1003. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector/objectspace.rb +34 -0
  1004. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector/xml.rb +249 -0
  1005. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector.rb +73 -0
  1006. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/color-scheme.rb +198 -0
  1007. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/color.rb +134 -0
  1008. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/data-sets.rb +116 -0
  1009. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/data.rb +371 -0
  1010. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/diff.rb +746 -0
  1011. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/error.rb +158 -0
  1012. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/exception-handler.rb +82 -0
  1013. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/failure.rb +169 -0
  1014. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/fault-location-detector.rb +100 -0
  1015. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/fixture.rb +298 -0
  1016. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/notification.rb +136 -0
  1017. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/omission.rb +195 -0
  1018. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/pending.rb +154 -0
  1019. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/priority.rb +192 -0
  1020. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/runner/console.rb +84 -0
  1021. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/runner/emacs.rb +8 -0
  1022. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/runner/xml.rb +15 -0
  1023. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/test-suite-creator.rb +103 -0
  1024. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/testcase.rb +862 -0
  1025. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/testresult.rb +132 -0
  1026. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/testsuite.rb +175 -0
  1027. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/console/outputlevel.rb +15 -0
  1028. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/console/testrunner.rb +750 -0
  1029. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/emacs/testrunner.rb +49 -0
  1030. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/testrunner.rb +53 -0
  1031. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/testrunnermediator.rb +114 -0
  1032. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/testrunnerutilities.rb +41 -0
  1033. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/xml/testrunner.rb +224 -0
  1034. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/util/backtracefilter.rb +59 -0
  1035. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/util/method-owner-finder.rb +28 -0
  1036. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/util/observable.rb +90 -0
  1037. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/util/output.rb +31 -0
  1038. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/util/procwrapper.rb +48 -0
  1039. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/version.rb +5 -0
  1040. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit.rb +505 -0
  1041. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test-unit.rb +34 -0
  1042. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/adder.rb +13 -0
  1043. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/subtracter.rb +12 -0
  1044. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/test_adder.rb +20 -0
  1045. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/test_subtracter.rb +20 -0
  1046. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/test_user.rb +23 -0
  1047. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/collector/test-descendant.rb +182 -0
  1048. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/collector/test-load.rb +442 -0
  1049. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/collector/test_dir.rb +407 -0
  1050. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/collector/test_objectspace.rb +102 -0
  1051. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/header-label.csv +3 -0
  1052. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/header-label.tsv +3 -0
  1053. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/header.csv +3 -0
  1054. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/header.tsv +3 -0
  1055. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/no-header.csv +2 -0
  1056. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/no-header.tsv +2 -0
  1057. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/plus.csv +3 -0
  1058. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/run-test.rb +22 -0
  1059. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-assertions.rb +2180 -0
  1060. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-attribute-matcher.rb +38 -0
  1061. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-attribute.rb +123 -0
  1062. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-code-snippet.rb +37 -0
  1063. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-color-scheme.rb +82 -0
  1064. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-color.rb +47 -0
  1065. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-data.rb +419 -0
  1066. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-diff.rb +518 -0
  1067. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-emacs-runner.rb +60 -0
  1068. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-error.rb +26 -0
  1069. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-failure.rb +33 -0
  1070. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-fault-location-detector.rb +163 -0
  1071. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-fixture.rb +713 -0
  1072. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-notification.rb +33 -0
  1073. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-omission.rb +81 -0
  1074. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-pending.rb +70 -0
  1075. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-priority.rb +173 -0
  1076. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-test-case.rb +1279 -0
  1077. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-test-result.rb +113 -0
  1078. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-test-suite-creator.rb +97 -0
  1079. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-test-suite.rb +151 -0
  1080. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/testunit-test-util.rb +31 -0
  1081. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/ui/test_testrunmediator.rb +20 -0
  1082. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/util/test-method-owner-finder.rb +38 -0
  1083. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/util/test-output.rb +11 -0
  1084. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/util/test_backtracefilter.rb +52 -0
  1085. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/util/test_observable.rb +102 -0
  1086. data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/util/test_procwrapper.rb +36 -0
  1087. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/.gitignore +8 -0
  1088. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/.rspec +4 -0
  1089. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/.travis.yml +26 -0
  1090. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/CHANGELOG.md +406 -0
  1091. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/CONTRIBUTING.md +20 -0
  1092. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/Gemfile +32 -0
  1093. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/Guardfile +9 -0
  1094. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/LICENSE +22 -0
  1095. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/README.md +584 -0
  1096. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/Rakefile +38 -0
  1097. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/UPGRADE.md +55 -0
  1098. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/rack/typhoeus/middleware/params_decoder/helper.rb +76 -0
  1099. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/rack/typhoeus/middleware/params_decoder.rb +57 -0
  1100. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/rack/typhoeus.rb +1 -0
  1101. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/adapters/faraday.rb +180 -0
  1102. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/cache/dalli.rb +28 -0
  1103. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/cache/rails.rb +28 -0
  1104. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/cache/redis.rb +35 -0
  1105. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/config.rb +69 -0
  1106. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/easy_factory.rb +180 -0
  1107. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/errors/no_stub.rb +12 -0
  1108. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/errors/typhoeus_error.rb +8 -0
  1109. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/errors.rb +9 -0
  1110. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/expectation.rb +217 -0
  1111. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/addable.rb +23 -0
  1112. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/before.rb +31 -0
  1113. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/block_connection.rb +35 -0
  1114. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/cacheable.rb +15 -0
  1115. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/memoizable.rb +56 -0
  1116. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/queueable.rb +83 -0
  1117. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/runnable.rb +19 -0
  1118. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/stubbable.rb +28 -0
  1119. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra.rb +95 -0
  1120. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/pool.rb +70 -0
  1121. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/railtie.rb +12 -0
  1122. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/actions.rb +125 -0
  1123. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/before.rb +30 -0
  1124. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/block_connection.rb +52 -0
  1125. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/cacheable.rb +38 -0
  1126. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/callbacks.rb +151 -0
  1127. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/marshal.rb +22 -0
  1128. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/memoizable.rb +38 -0
  1129. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/operations.rb +40 -0
  1130. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/responseable.rb +29 -0
  1131. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/streamable.rb +34 -0
  1132. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/stubbable.rb +30 -0
  1133. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request.rb +221 -0
  1134. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb +14 -0
  1135. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/response/header.rb +105 -0
  1136. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/response/informations.rb +248 -0
  1137. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/response/status.rb +106 -0
  1138. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/response.rb +68 -0
  1139. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/version.rb +5 -0
  1140. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus.rb +143 -0
  1141. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/perf/profile.rb +14 -0
  1142. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/perf/vs_nethttp.rb +64 -0
  1143. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/rack/typhoeus/middleware/params_decoder/helper_spec.rb +156 -0
  1144. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/rack/typhoeus/middleware/params_decoder_spec.rb +31 -0
  1145. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/spec_helper.rb +29 -0
  1146. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/support/localhost_server.rb +94 -0
  1147. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/support/memory_cache.rb +15 -0
  1148. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/support/server.rb +116 -0
  1149. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/adapters/faraday_spec.rb +339 -0
  1150. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/cache/dalli_spec.rb +41 -0
  1151. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/cache/redis_spec.rb +41 -0
  1152. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/config_spec.rb +15 -0
  1153. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/easy_factory_spec.rb +143 -0
  1154. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb +13 -0
  1155. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/expectation_spec.rb +280 -0
  1156. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/addable_spec.rb +22 -0
  1157. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/before_spec.rb +98 -0
  1158. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/block_connection_spec.rb +18 -0
  1159. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/cacheable_spec.rb +88 -0
  1160. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/memoizable_spec.rb +53 -0
  1161. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/queueable_spec.rb +98 -0
  1162. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/runnable_spec.rb +137 -0
  1163. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/stubbable_spec.rb +48 -0
  1164. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra_spec.rb +22 -0
  1165. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/pool_spec.rb +137 -0
  1166. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/actions_spec.rb +19 -0
  1167. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/before_spec.rb +93 -0
  1168. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/block_connection_spec.rb +75 -0
  1169. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/cacheable_spec.rb +94 -0
  1170. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/callbacks_spec.rb +91 -0
  1171. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/marshal_spec.rb +60 -0
  1172. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/memoizable_spec.rb +34 -0
  1173. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/operations_spec.rb +101 -0
  1174. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/responseable_spec.rb +13 -0
  1175. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/stubbable_spec.rb +45 -0
  1176. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request_spec.rb +232 -0
  1177. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/response/header_spec.rb +147 -0
  1178. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/response/informations_spec.rb +283 -0
  1179. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/response/status_spec.rb +256 -0
  1180. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/response_spec.rb +100 -0
  1181. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus_spec.rb +105 -0
  1182. data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/typhoeus.gemspec +25 -0
  1183. data/vendor/bundle/ruby/2.4.0/specifications/addressable-2.8.1.gemspec +40 -0
  1184. data/vendor/bundle/ruby/2.4.0/specifications/ethon-0.15.0.gemspec +32 -0
  1185. data/vendor/bundle/ruby/2.4.0/specifications/ffi-1.15.5.gemspec +47 -0
  1186. data/vendor/bundle/ruby/2.4.0/specifications/json-2.6.2.gemspec +0 -0
  1187. data/vendor/bundle/ruby/2.4.0/specifications/power_assert-2.0.1.gemspec +54 -0
  1188. data/vendor/bundle/ruby/2.4.0/specifications/public_suffix-4.0.7.gemspec +24 -0
  1189. data/vendor/bundle/ruby/2.4.0/specifications/rake-12.3.3.gemspec +49 -0
  1190. data/vendor/bundle/ruby/2.4.0/specifications/test-unit-3.2.9.gemspec +48 -0
  1191. data/vendor/bundle/ruby/2.4.0/specifications/typhoeus-1.4.0.gemspec +32 -0
  1192. metadata +1180 -17
  1193. data/lib/.DS_Store +0 -0
@@ -0,0 +1,2180 @@
1
+ # -*- coding: utf-8 -*-
2
+ #
3
+ # Author:: Nathaniel Talbott.
4
+ # Copyright:: Copyright (c) 2000-2002 Nathaniel Talbott. All rights reserved.
5
+ # Copyright (c) 2009-2014 Kouhei Sutou. All rights reserved.
6
+ # License:: Ruby license.
7
+
8
+ require 'test/unit'
9
+ require "testunit-test-util"
10
+
11
+ module Test
12
+ module Unit
13
+ module AssertionCheckable
14
+ include TestUnitTestUtil
15
+
16
+ private
17
+ def check(value, message="")
18
+ add_assertion
19
+ raise AssertionFailedError.new(message) unless value
20
+ end
21
+
22
+ def check_assertions(expect_fail, options={})
23
+ expected_message = options[:expected_message]
24
+ actual_message_normalizer = options[:actual_message_normalizer]
25
+ return_value_expected = options[:return_value_expected]
26
+ @actual_assertion_count = 0
27
+ failed = true
28
+ actual_message = nil
29
+ @catch_assertions = true
30
+ return_value = nil
31
+ begin
32
+ return_value = yield
33
+ failed = false
34
+ rescue AssertionFailedError => error
35
+ actual_message = error.message
36
+ end
37
+ @catch_assertions = false
38
+
39
+ if expect_fail
40
+ message = "Should have failed, but didn't"
41
+ else
42
+ message = "Should not have failed, but did with message\n" +
43
+ "<#{actual_message}>"
44
+ end
45
+ check(expect_fail == failed, message)
46
+
47
+ message = "Should have made one assertion but made\n" +
48
+ "<#{@actual_assertion_count}>"
49
+ check(1 == @actual_assertion_count, message)
50
+
51
+ if expect_fail
52
+ if actual_message_normalizer
53
+ actual_message = actual_message_normalizer.call(actual_message)
54
+ end
55
+ case expected_message
56
+ when String
57
+ check(expected_message == actual_message,
58
+ "Should have the correct message.\n" +
59
+ "<#{expected_message.inspect}> expected but was\n" +
60
+ "<#{actual_message.inspect}>")
61
+ when Regexp
62
+ check(expected_message =~ actual_message,
63
+ "The message should match correctly.\n" +
64
+ "</#{expected_message.source}/> expected to match\n" +
65
+ "<#{actual_message.inspect}>")
66
+ else
67
+ check(false,
68
+ "Incorrect expected message type in assert_nothing_failed")
69
+ end
70
+ else
71
+ case return_value_expected
72
+ when :dont_care
73
+ # do nothing
74
+ when true
75
+ check(!return_value.nil?, "Should return a value")
76
+ else
77
+ check(return_value.nil?,
78
+ "Should not return a value but returned <#{return_value}>")
79
+ end
80
+ end
81
+
82
+ return_value
83
+ end
84
+
85
+ def check_nothing_fails(return_value_expected=false, &proc)
86
+ check_assertions(false,
87
+ {:expected_message => nil,
88
+ :return_value_expected => return_value_expected},
89
+ &proc)
90
+ end
91
+
92
+ def check_fail(expected_message, options={}, &proc)
93
+ check_assertions(true,
94
+ options.merge(:expected_message => expected_message),
95
+ &proc)
96
+ end
97
+
98
+ def check_fail_exception(expected_message, options={}, &proc)
99
+ normalizer = lambda do |actual_message|
100
+ actual_message.gsub(/(^[^:\n]+:\d+:.+\n?)+\z/, "")
101
+ end
102
+ check_assertions(true,
103
+ options.merge(:expected_message => expected_message,
104
+ :actual_message_normalizer => normalizer),
105
+ &proc)
106
+ end
107
+
108
+ def inspect_tag(tag)
109
+ tag.inspect
110
+ end
111
+
112
+ def add_failure(message, location=caller, options=nil)
113
+ unless @catch_assertions
114
+ super
115
+ end
116
+ end
117
+
118
+ def add_assertion
119
+ if @catch_assertions
120
+ @actual_assertion_count += 1
121
+ else
122
+ super
123
+ end
124
+ end
125
+ end
126
+
127
+ class TestAssertions < TestCase
128
+ include AssertionCheckable
129
+
130
+ class TestAssertBlock < self
131
+ def test_pass_without_message
132
+ check_nothing_fails {
133
+ assert_block {true}
134
+ }
135
+ end
136
+
137
+ def test_pass_with_message
138
+ check_nothing_fails {
139
+ assert_block("successful assert_block") {true}
140
+ }
141
+ end
142
+
143
+ def test_failure_without_message
144
+ check_fail("assert_block failed.") {
145
+ assert_block {false}
146
+ }
147
+ end
148
+
149
+ def test_failure_with_message
150
+ check_fail("failed assert_block") {
151
+ assert_block("failed assert_block") {false}
152
+ }
153
+ end
154
+ end
155
+
156
+ class TestAssertEqual < self
157
+ class TestSuccess < self
158
+ def test_without_message
159
+ check_nothing_fails {
160
+ assert_equal("string1", "string1")
161
+ }
162
+ end
163
+
164
+ def test_with_message
165
+ check_nothing_fails {
166
+ assert_equal("string1", "string1", "successful assert_equal")
167
+ }
168
+ end
169
+ end
170
+
171
+ class TestFailure < self
172
+ def test_without_message
173
+ message = <<-EOM.chomp
174
+ <"string1"> expected but was
175
+ <"string2">.
176
+
177
+ diff:
178
+ - string1
179
+ ? ^
180
+ + string2
181
+ ? ^
182
+ EOM
183
+ check_fail(message) {
184
+ assert_equal("string1", "string2")
185
+ }
186
+ end
187
+
188
+ def test_with_message
189
+ message = <<-EOM.chomp
190
+ failed assert_equal.
191
+ <"string1"> expected but was
192
+ <"string2">.
193
+
194
+ diff:
195
+ - string1
196
+ ? ^
197
+ + string2
198
+ ? ^
199
+ EOM
200
+ check_fail(message) {
201
+ assert_equal("string1", "string2", "failed assert_equal")
202
+ }
203
+ end
204
+
205
+ def test_with_message_proc
206
+ message = <<-EOM.chomp
207
+ failed assert_equal.
208
+ <"string1"> expected but was
209
+ <"string2">.
210
+
211
+ diff:
212
+ - string1
213
+ ? ^
214
+ + string2
215
+ ? ^
216
+ EOM
217
+ check_fail(message) do
218
+ assert_equal("string1", "string2", lambda {"failed assert_equal"})
219
+ end
220
+ end
221
+ end
222
+
223
+ class TestSystemMessage < self
224
+ def test_different_type
225
+ message = <<-EOM.chomp
226
+ <"111111"> expected but was
227
+ <111111>.
228
+
229
+ diff:
230
+ - "111111"
231
+ ? - -
232
+ + 111111
233
+ EOM
234
+ check_fail(message) do
235
+ assert_equal("111111", 111111)
236
+ end
237
+ end
238
+
239
+ def test_long_line
240
+ expected = ["0123456789",
241
+ "1123456789",
242
+ "2123456789",
243
+ "3123456789",
244
+ "4123456789",
245
+ "5123456789",
246
+ "6123456789",
247
+ "7123456789",
248
+ "8123456789"].join
249
+ actual = ["0000000000",
250
+ "1123456789",
251
+ "2123456789",
252
+ "3123456789",
253
+ "4123456789",
254
+ "5123456789",
255
+ "6123456789",
256
+ "7123456789",
257
+ "8123456789"].join
258
+ message = <<-EOM.chomp
259
+ <"#{expected}"> expected but was
260
+ <"#{actual}">.
261
+
262
+ diff:
263
+ - #{expected}
264
+ ? ^^^^^^^^^
265
+ + #{actual}
266
+ ? ^^^^^^^^^
267
+
268
+ folded diff:
269
+ - 012345678911234567892123456789312345678941234567895123456789612345678971234567
270
+ ? ^^^^^^^^^
271
+ + 000000000011234567892123456789312345678941234567895123456789612345678971234567
272
+ ? ^^^^^^^^^
273
+ 898123456789
274
+ EOM
275
+ check_fail(message) do
276
+ assert_equal(expected, actual)
277
+ end
278
+ end
279
+
280
+ def test_too_small_difference
281
+ message = <<-EOM.chomp
282
+ <1> expected but was
283
+ <2>.
284
+ EOM
285
+ check_fail(message) do
286
+ assert_equal(1, 2)
287
+ end
288
+ end
289
+
290
+ def test_same_inspected_objects
291
+ now = Time.now
292
+ now_without_usec = Time.at(now.to_i)
293
+ message = <<-EOM.chomp
294
+ <#{now.inspect}> expected but was
295
+ <#{now.inspect}>.
296
+ EOM
297
+ check_fail(message) do
298
+ assert_equal(now, now_without_usec)
299
+ end
300
+ end
301
+
302
+ def test_multi_lines_result
303
+ message = <<-EOM.chomp
304
+ <#{AssertionMessage.convert("a\nb")}> expected but was
305
+ <#{AssertionMessage.convert("x")}>.
306
+
307
+ diff:
308
+ + x
309
+ - a
310
+ - b
311
+ EOM
312
+ check_fail(message) do
313
+ assert_equal("a\nb", "x")
314
+ end
315
+ end
316
+
317
+ def test_large_string
318
+ message = <<-EOM.chomp
319
+ <#{AssertionMessage.convert("a\n" + "x" * 997)}> expected but was
320
+ <#{AssertionMessage.convert("x")}>.
321
+
322
+ diff:
323
+ + x
324
+ - a
325
+ - #{"x" * 997}
326
+
327
+ folded diff:
328
+ + x
329
+ - a
330
+ #{(["- " + ("x" * 78)] * 12).join("\n")}
331
+ - #{"x" * 61}
332
+ EOM
333
+ check_fail(message) do
334
+ assert_equal("a\n" + "x" * 997, "x")
335
+ end
336
+
337
+ message = <<-EOM.chomp
338
+ <#{AssertionMessage.convert("a\n" + "x" * 998)}> expected but was
339
+ <#{AssertionMessage.convert("x")}>.
340
+ EOM
341
+ check_fail(message) do
342
+ assert_equal("a\n" + "x" * 998, "x")
343
+ end
344
+ end
345
+
346
+ def test_max_diff_target_string_size
347
+ key = "TEST_UNIT_MAX_DIFF_TARGET_STRING_SIZE"
348
+ before_value = ENV[key]
349
+ ENV[key] = "100"
350
+ begin
351
+ message = <<-EOM.chomp
352
+ <#{AssertionMessage.convert("a\n" + "x" * 97)}> expected but was
353
+ <#{AssertionMessage.convert("x")}>.
354
+
355
+ diff:
356
+ + x
357
+ - a
358
+ - #{"x" * 97}
359
+
360
+ folded diff:
361
+ + x
362
+ - a
363
+ #{(["- " + ("x" * 78)]).join("\n")}
364
+ - #{"x" * 19}
365
+ EOM
366
+ check_fail(message) do
367
+ assert_equal("a\n" + "x" * 97, "x")
368
+ end
369
+
370
+ message = <<-EOM.chomp
371
+ <#{AssertionMessage.convert("a\n" + "x" * 98)}> expected but was
372
+ <#{AssertionMessage.convert("x")}>.
373
+ EOM
374
+ check_fail(message) do
375
+ assert_equal("a\n" + "x" * 98, "x")
376
+ end
377
+ ensure
378
+ ENV[key] = before_value
379
+ end
380
+ end
381
+
382
+ def test_different_encoding
383
+ utf8_string = "こんにちは"
384
+ unless utf8_string.respond_to?(:force_encoding)
385
+ omit("encoding test is for Ruby >= 1.9")
386
+ end
387
+ ascii_8bit_string = utf8_string.dup.force_encoding("ascii-8bit")
388
+ message = <<-EOM.chomp
389
+ <#{utf8_string.inspect}>("UTF-8") expected but was
390
+ <#{ascii_8bit_string.inspect}>("ASCII-8BIT").
391
+ EOM
392
+ check_fail(message) do
393
+ assert_equal(utf8_string, ascii_8bit_string)
394
+ end
395
+ end
396
+
397
+ def test_different_hash
398
+ designers = {
399
+ "Ruby" => "Matz",
400
+ "Lisp" => "John McCarthy",
401
+ }
402
+ categories = {
403
+ "LL" => ["Ruby", "Python"],
404
+ "Heavy" => ["C", "C++"],
405
+ }
406
+ message = <<-EOM.chomp
407
+ <{"Lisp"=>"John McCarthy", "Ruby"=>"Matz"}> expected but was
408
+ <{"Heavy"=>["C", "C++"], "LL"=>["Ruby", "Python"]}>.
409
+ EOM
410
+ check_fail(message) do
411
+ assert_equal(designers, categories)
412
+ end
413
+ end
414
+
415
+ def test_recursive_hash
416
+ alice = {"name" => "Alice"}
417
+ bob = {"name" => "Bob"}
418
+ alice["followers"] = [bob]
419
+ bob["followers"] = [alice]
420
+ message = <<-EOM.chomp
421
+ <{"followers"=>[{"followers"=>[{...}], "name"=>"Bob"}], "name"=>"Alice"}> expected but was
422
+ <{"followers"=>[{"followers"=>[{...}], "name"=>"Alice"}], "name"=>"Bob"}>.
423
+
424
+ diff:
425
+ - {"followers"=>[{"followers"=>[{...}], "name"=>"Bob"}], "name"=>"Alice"}
426
+ ? -----------------
427
+ + {"followers"=>[{"followers"=>[{...}], "name"=>"Alice"}], "name"=>"Bob"}
428
+ ? +++++++++++++++++
429
+ EOM
430
+ check_fail(message) do
431
+ assert_equal(alice, bob)
432
+ end
433
+ end
434
+
435
+ def test_numeric
436
+ numeric_family_class = Class.new(Numeric) do
437
+ def inspect
438
+ "inspect is called"
439
+ end
440
+
441
+ def to_s
442
+ "to_s is called"
443
+ end
444
+ end
445
+ numeric = numeric_family_class.new
446
+
447
+ message = <<-MESSAGE.chomp
448
+ <to_s is called> expected but was
449
+ <"must be failed">.
450
+ MESSAGE
451
+ check_fail(message) do
452
+ assert_equal(numeric, "must be failed")
453
+ end
454
+ end
455
+ end
456
+ end
457
+
458
+ def test_assert_raise_success
459
+ return_value = nil
460
+ check_nothing_fails(true) do
461
+ return_value = assert_raise(RuntimeError) do
462
+ raise "Error"
463
+ end
464
+ end
465
+ check(return_value.kind_of?(Exception),
466
+ "Should have returned the exception " +
467
+ "from a successful assert_raise")
468
+ check(return_value.message == "Error",
469
+ "Should have returned the correct exception " +
470
+ "from a successful assert_raise")
471
+
472
+ check_nothing_fails(true) do
473
+ assert_raise(ArgumentError, "successful assert_raise") do
474
+ raise ArgumentError.new("Error")
475
+ end
476
+ end
477
+
478
+ check_nothing_fails(true) do
479
+ assert_raise(RuntimeError) do
480
+ raise "Error"
481
+ end
482
+ end
483
+
484
+ check_nothing_fails(true) do
485
+ assert_raise(RuntimeError, "successful assert_raise") do
486
+ raise "Error"
487
+ end
488
+ end
489
+
490
+ check_nothing_fails(true) do
491
+ assert_raise do
492
+ raise Exception, "Any exception"
493
+ end
494
+ end
495
+ end
496
+
497
+ def test_assert_raise_fail
498
+ check_fail("<RuntimeError> exception was expected but none was thrown.") do
499
+ assert_raise(RuntimeError) do
500
+ 1 + 1
501
+ end
502
+ end
503
+
504
+ message = <<-EOM.chomp
505
+ failed assert_raise.
506
+ <ArgumentError> exception expected but was
507
+ <RuntimeError(<Error>)>.
508
+ EOM
509
+ check_fail_exception(message) do
510
+ assert_raise(ArgumentError, "failed assert_raise") do
511
+ raise "Error"
512
+ end
513
+ end
514
+
515
+ message = <<-EOM
516
+ <Object> must be a subclass of Exception, an object of Exception subclasses or a Module.
517
+ EOM
518
+ check_fail(message.chomp) do
519
+ assert_nothing_raised(Object) do
520
+ 1 + 1
521
+ end
522
+ end
523
+ end
524
+
525
+ def test_assert_raise_module
526
+ exceptions = [ArgumentError, TypeError]
527
+ modules = [Math, Comparable]
528
+ rescues = exceptions + modules
529
+
530
+ exceptions.each do |exc|
531
+ return_value = nil
532
+ check_nothing_fails(true) do
533
+ return_value = assert_raise(*rescues) do
534
+ raise exc, "Error"
535
+ end
536
+ end
537
+ check(return_value.instance_of?(exc),
538
+ "Should have returned #{exc} but was #{return_value.class}")
539
+ check(return_value.message == "Error",
540
+ "Should have returned the correct exception " +
541
+ "from a successful assert_raise")
542
+ end
543
+
544
+ modules.each do |mod|
545
+ return_value = nil
546
+ check_nothing_fails(true) do
547
+ return_value = assert_raise(*rescues) do
548
+ raise Exception.new("Error").extend(mod)
549
+ end
550
+ end
551
+ check(mod === return_value,
552
+ "Should have returned #{mod}")
553
+ check(return_value.message == "Error",
554
+ "Should have returned the correct exception " +
555
+ "from a successful assert_raise")
556
+ end
557
+
558
+ check_fail("<[ArgumentError, TypeError, Math, Comparable]> exception " +
559
+ "was expected but none was thrown.") do
560
+ assert_raise(*rescues) do
561
+ 1 + 1
562
+ end
563
+ end
564
+
565
+ message = <<-EOM.chomp
566
+ failed assert_raise.
567
+ <[ArgumentError, TypeError]> exception expected but was
568
+ <RuntimeError(<Error>)>.
569
+ EOM
570
+ check_fail_exception(message) do
571
+ assert_raise(ArgumentError, TypeError, "failed assert_raise") do
572
+ raise "Error"
573
+ end
574
+ end
575
+ end
576
+
577
+ def test_assert_raise_instance
578
+ return_value = nil
579
+ check_nothing_fails(true) do
580
+ return_value = assert_raise(RuntimeError.new("Error")) do
581
+ raise "Error"
582
+ end
583
+ end
584
+ check(return_value.kind_of?(Exception),
585
+ "Should have returned the exception " +
586
+ "from a successful assert_raise")
587
+ check(return_value.message == "Error",
588
+ "Should have returned the correct exception " +
589
+ "from a successful assert_raise")
590
+
591
+ message = <<-EOM.chomp
592
+ <RuntimeError(<XXX>)> exception expected but was
593
+ <RuntimeError(<Error>)>.
594
+
595
+ diff:
596
+ - RuntimeError(<XXX>)
597
+ ? ^^^
598
+ + RuntimeError(<Error>)
599
+ ? ^^^^^
600
+ EOM
601
+ check_fail_exception(message) do
602
+ return_value = assert_raise(RuntimeError.new("XXX")) do
603
+ raise "Error"
604
+ end
605
+ end
606
+
607
+ different_error_class = Class.new(StandardError)
608
+ message = <<-EOM.chomp
609
+ <#{different_error_class.inspect}(<Error>)> exception expected but was
610
+ <RuntimeError(<Error>)>.
611
+ EOM
612
+ check_fail_exception(message) do
613
+ assert_raise(different_error_class.new("Error")) do
614
+ raise "Error"
615
+ end
616
+ end
617
+
618
+ different_error = different_error_class.new("Error")
619
+ def different_error.inspect
620
+ "DifferentError: \"Error\""
621
+ end
622
+ message = <<-EOM.chomp
623
+ <DifferentError: "Error"> exception expected but was
624
+ <RuntimeError(<Error>)>.
625
+ EOM
626
+ check_fail_exception(message) do
627
+ assert_raise(different_error) do
628
+ raise "Error"
629
+ end
630
+ end
631
+
632
+ check_nothing_fails(true) do
633
+ assert_raise(different_error_class.new("Error"),
634
+ RuntimeError.new("Error"),
635
+ RuntimeError.new("XXX")) do
636
+ raise "Error"
637
+ end
638
+ end
639
+ end
640
+
641
+ def test_assert_raise_jruby
642
+ omit("For JRuby") unless Object.const_defined?(:Java)
643
+
644
+ exception = Java::JavaLang::StringIndexOutOfBoundsException
645
+
646
+ return_value = nil
647
+ check_nothing_fails(true) do
648
+ return_value = assert_raise(exception) do
649
+ Java::JavaLang::String.new("abc").char_at(4)
650
+ end
651
+ end
652
+ check(return_value.instance_of?(exception),
653
+ "Should have returned #{exception} but was #{return_value.class}")
654
+ end
655
+
656
+ def test_assert_instance_of
657
+ check_nothing_fails {
658
+ assert_instance_of(String, "string")
659
+ }
660
+ check_nothing_fails {
661
+ assert_instance_of(String, "string", "successful assert_instance_of")
662
+ }
663
+ check_nothing_fails {
664
+ assert_instance_of(String, "string", "successful assert_instance_of")
665
+ }
666
+ check_fail(%Q{<"string"> was expected to be instance_of?\n<Hash> but was\n<String>.}) {
667
+ assert_instance_of(Hash, "string")
668
+ }
669
+ check_fail(%Q{failed assert_instance_of.\n<"string"> was expected to be instance_of?\n<Hash> but was\n<String>.}) {
670
+ assert_instance_of(Hash, "string", "failed assert_instance_of")
671
+ }
672
+
673
+ check_nothing_fails do
674
+ assert_instance_of([Class, NilClass], Array)
675
+ end
676
+ check_fail(%Q{<"string"> was expected to be instance_of?\n[<Class>, <NilClass>] but was\n<String>.}) do
677
+ assert_instance_of([Class, NilClass], "string")
678
+ end
679
+ check_fail(%Q{<Array> was expected to be instance_of?\n[<Module>, <NilClass>] but was\n<Class>.}) do
680
+ assert_instance_of([Module, NilClass], Array)
681
+ end
682
+ end
683
+
684
+ def test_assert_not_instance_of
685
+ check_nothing_fails {
686
+ assert_not_instance_of(NilClass, "string")
687
+ }
688
+ check_nothing_fails {
689
+ assert_not_instance_of(NilClass, "string", "successful assert_instance_of")
690
+ }
691
+ check_fail(%Q{<"string"> was expected to not be instance_of?\n<String> but was.}) {
692
+ assert_not_instance_of(String, "string")
693
+ }
694
+ check_fail(%Q{failed assert.\n<"string"> was expected to not be instance_of?\n<String> but was.}) {
695
+ assert_not_instance_of(String, "string", "failed assert")
696
+ }
697
+
698
+ check_nothing_fails do
699
+ assert_not_instance_of([Module, NilClass], Array)
700
+ end
701
+ check_fail(%Q{<Array> was expected to not be instance_of?\n[<Class>, <NilClass>] but was.}) do
702
+ assert_not_instance_of([Class, NilClass], Array)
703
+ end
704
+ check_fail(%Q{<"str"> was expected to not be instance_of?\n[<Numeric>, <String>] but was.}) do
705
+ assert_not_instance_of([Numeric, String], 'str')
706
+ end
707
+ end
708
+
709
+ def test_assert_nil
710
+ check_nothing_fails {
711
+ assert_nil(nil)
712
+ }
713
+ check_nothing_fails {
714
+ assert_nil(nil, "successful assert_nil")
715
+ }
716
+ check_nothing_fails {
717
+ assert_nil(nil, "successful assert_nil")
718
+ }
719
+ check_fail(%Q{<"string"> was expected to be nil.}) {
720
+ assert_nil("string")
721
+ }
722
+ check_fail(%Q{failed assert_nil.\n<"string"> was expected to be nil.}) {
723
+ assert_nil("string", "failed assert_nil")
724
+ }
725
+ end
726
+
727
+ def test_assert_not_nil
728
+ check_nothing_fails{assert_not_nil(false)}
729
+ check_nothing_fails{assert_not_nil(false, "message")}
730
+ check_fail("<nil> was expected to not be nil."){assert_not_nil(nil)}
731
+ check_fail("message.\n<nil> was expected to not be nil.") {assert_not_nil(nil, "message")}
732
+ end
733
+
734
+ def test_assert_kind_of
735
+ check_nothing_fails {
736
+ assert_kind_of(Module, Array)
737
+ }
738
+ check_nothing_fails {
739
+ assert_kind_of(Object, "string", "successful assert_kind_of")
740
+ }
741
+ check_nothing_fails {
742
+ assert_kind_of(String, "string", "successful assert_kind_of")
743
+ }
744
+ check_nothing_fails {
745
+ assert_kind_of(Comparable, 1)
746
+ }
747
+ check_fail(%Q{<"string"> was expected to be kind_of?\n<Class> but was\n<String>.}) {
748
+ assert_kind_of(Class, "string")
749
+ }
750
+ check_fail(%Q{failed assert_kind_of.\n<"string"> was expected to be kind_of?\n<Class> but was\n<String>.}) {
751
+ assert_kind_of(Class, "string", "failed assert_kind_of")
752
+ }
753
+
754
+ check_nothing_fails do
755
+ assert_kind_of([Class, NilClass], Array)
756
+ end
757
+ check_fail(%Q{<"string"> was expected to be kind_of?\n[<Class>, <NilClass>] but was\n<String>.}) do
758
+ assert_kind_of([Class, NilClass], "string")
759
+ end
760
+ end
761
+
762
+ def test_assert_not_kind_of
763
+ check_nothing_fails {
764
+ assert_not_kind_of(Class, 42)
765
+ }
766
+ check_nothing_fails {
767
+ assert_not_kind_of(Symbol, "string", "successful assert_not_kind_of")
768
+ }
769
+ check_nothing_fails {
770
+ assert_not_kind_of(Integer, 1.1)
771
+ }
772
+ check_fail(%Q{<1> was expected to not be kind_of?\n<Integer> but was.}) {
773
+ assert_not_kind_of(Integer, 1)
774
+ }
775
+ check_fail(%Q{failed assert_not_kind_of.\n<"string"> was expected to not be kind_of?\n<String> but was.}) {
776
+ assert_not_kind_of(String, "string", "failed assert_not_kind_of")
777
+ }
778
+
779
+ check_nothing_fails do
780
+ assert_not_kind_of([String, NilClass], 100)
781
+ end
782
+ check_fail(%Q{<Array> was expected to not be kind_of?\n[<Class>, <NilClass>] but was.}) do
783
+ assert_not_kind_of([Class, NilClass], Array)
784
+ end
785
+ end
786
+
787
+ def test_assert_match
788
+ check_nothing_fails {
789
+ assert_match(/strin./, "string")
790
+ }
791
+ check_nothing_fails {
792
+ assert_match("strin", "string")
793
+ }
794
+ check_nothing_fails {
795
+ assert_match(/strin./, "string", "successful assert_match")
796
+ }
797
+ check_nothing_fails {
798
+ assert_match(/strin./, "string", "successful assert_match")
799
+ }
800
+ check_fail(%Q{</slin./> was expected to be =~\n<"string">.}) {
801
+ assert_match(/slin./, "string")
802
+ }
803
+ check_fail(%Q{</strin\\./> was expected to be =~\n<"string">.}) {
804
+ assert_match("strin.", "string")
805
+ }
806
+ check_fail(%Q{failed assert_match.\n</slin./> was expected to be =~\n<"string">.}) {
807
+ assert_match(/slin./, "string", "failed assert_match")
808
+ }
809
+ end
810
+
811
+ def test_assert_same
812
+ thing = "thing"
813
+ check_nothing_fails {
814
+ assert_same(thing, thing)
815
+ }
816
+ check_nothing_fails {
817
+ assert_same(thing, thing, "successful assert_same")
818
+ }
819
+ check_nothing_fails {
820
+ assert_same(thing, thing, "successful assert_same")
821
+ }
822
+ thing2 = thing.dup
823
+ check_fail(%Q{<"thing">\nwith id <#{thing.__id__}> was expected to be equal? to\n<"thing">\nwith id <#{thing2.__id__}>.}) {
824
+ assert_same(thing, thing2)
825
+ }
826
+ check_fail(%Q{failed assert_same.\n<"thing">\nwith id <#{thing.__id__}> was expected to be equal? to\n<"thing">\nwith id <#{thing2.__id__}>.}) {
827
+ assert_same(thing, thing2, "failed assert_same")
828
+ }
829
+ end
830
+
831
+ def test_assert_nothing_raised
832
+ check_nothing_fails(:dont_care) {
833
+ assert_nothing_raised {
834
+ 1 + 1
835
+ }
836
+ }
837
+ check_nothing_fails(:dont_care) {
838
+ assert_nothing_raised("successful assert_nothing_raised") {
839
+ 1 + 1
840
+ }
841
+ }
842
+ check_nothing_fails(:dont_care) {
843
+ assert_nothing_raised("successful assert_nothing_raised") {
844
+ 1 + 1
845
+ }
846
+ }
847
+ check_nothing_fails(:dont_care) {
848
+ begin
849
+ assert_nothing_raised(RuntimeError, StandardError, Comparable, "successful assert_nothing_raised") {
850
+ raise ZeroDivisionError.new("ArgumentError")
851
+ }
852
+ rescue ZeroDivisionError
853
+ end
854
+ }
855
+ expected_message =
856
+ "<Object> must be a subclass of Exception, " +
857
+ "an object of Exception subclasses or a Module."
858
+ check_fail(expected_message) {
859
+ assert_nothing_raised(Object) {
860
+ 1 + 1
861
+ }
862
+ }
863
+ expected_message = <<-EOM.chomp
864
+ Exception raised:
865
+ RuntimeError(<Error>)
866
+ EOM
867
+ check_fail_exception(expected_message) {
868
+ assert_nothing_raised {
869
+ raise "Error"
870
+ }
871
+ }
872
+ expected_message = <<-EOM.chomp
873
+ failed assert_nothing_raised.
874
+ Exception raised:
875
+ RuntimeError(<Error>)
876
+ EOM
877
+ check_fail_exception(expected_message) {
878
+ assert_nothing_raised("failed assert_nothing_raised") {
879
+ raise "Error"
880
+ }
881
+ }
882
+ expected_message = <<-EOM.chomp
883
+ Exception raised:
884
+ RuntimeError(<Error>)
885
+ EOM
886
+ check_fail_exception(expected_message) {
887
+ assert_nothing_raised(StandardError, RuntimeError) {
888
+ raise "Error"
889
+ }
890
+ }
891
+ check_fail("Failure.") do
892
+ assert_nothing_raised do
893
+ flunk("Failure")
894
+ end
895
+ end
896
+ end
897
+
898
+ def test_flunk
899
+ check_fail("Flunked.") {
900
+ flunk
901
+ }
902
+ check_fail("flunk message.") {
903
+ flunk("flunk message")
904
+ }
905
+ end
906
+
907
+ def test_assert_not_same
908
+ thing = "thing"
909
+ thing2 = thing.dup
910
+ check_nothing_fails {
911
+ assert_not_same(thing, thing2)
912
+ }
913
+ check_nothing_fails {
914
+ assert_not_same(thing, thing2, "message")
915
+ }
916
+ check_fail(%Q{<"thing">\nwith id <#{thing.__id__}> was expected to not be equal? to\n<"thing">\nwith id <#{thing.__id__}>.}) {
917
+ assert_not_same(thing, thing)
918
+ }
919
+ check_fail(%Q{message.\n<"thing">\nwith id <#{thing.__id__}> was expected to not be equal? to\n<"thing">\nwith id <#{thing.__id__}>.}) {
920
+ assert_not_same(thing, thing, "message")
921
+ }
922
+ end
923
+
924
+ def test_assert_not_equal
925
+ check_nothing_fails {
926
+ assert_not_equal("string1", "string2")
927
+ }
928
+ check_nothing_fails {
929
+ assert_not_equal("string1", "string2", "message")
930
+ }
931
+ check_fail(%Q{<"string"> was expected to be != to\n<"string">.}) {
932
+ assert_not_equal("string", "string")
933
+ }
934
+ check_fail(%Q{message.\n<"string"> was expected to be != to\n<"string">.}) {
935
+ assert_not_equal("string", "string", "message")
936
+ }
937
+ end
938
+
939
+ def test_assert_not_match_pass
940
+ check_nothing_fails do
941
+ assert_not_match(/sling/, "string")
942
+ end
943
+ end
944
+
945
+ def test_assert_not_match_pass_with_message
946
+ check_nothing_fails do
947
+ assert_not_match(/sling/, "string", "message")
948
+ end
949
+ end
950
+
951
+ def test_assert_not_match_fail_not_regexp
952
+ check_fail("<REGEXP> in assert_not_match(<REGEXP>, ...) " +
953
+ "should be a Regexp.\n" +
954
+ "<\"asdf\"> was expected to be instance_of?\n" +
955
+ "<Regexp> but was\n" +
956
+ "<String>.") do
957
+ assert_not_match("asdf", "asdf")
958
+ end
959
+ end
960
+
961
+ def test_assert_not_match_fail_match
962
+ check_fail("</string/> was expected to not match\n" +
963
+ "<\"string\">.") do
964
+ assert_not_match(/string/, "string")
965
+ end
966
+ end
967
+
968
+ def test_assert_not_match_fail_match_with_message
969
+ check_fail("message.\n" +
970
+ "</string/> was expected to not match\n" +
971
+ "<\"string\">.") do
972
+ assert_not_match(/string/, "string", "message")
973
+ end
974
+ end
975
+
976
+ def test_assert_no_match
977
+ check_nothing_fails{assert_no_match(/sling/, "string")}
978
+ check_nothing_fails{assert_no_match(/sling/, "string", "message")}
979
+ check_fail(%Q{The first argument to assert_no_match should be a Regexp.\n<"asdf"> was expected to be instance_of?\n<Regexp> but was\n<String>.}) do
980
+ assert_no_match("asdf", "asdf")
981
+ end
982
+ check_fail(%Q{</string/> was expected to not match\n<"string">.}) do
983
+ assert_no_match(/string/, "string")
984
+ end
985
+ check_fail(%Q{message.\n</string/> was expected to not match\n<"string">.}) do
986
+ assert_no_match(/string/, "string", "message")
987
+ end
988
+ end
989
+
990
+ def test_assert_throw
991
+ check_nothing_fails do
992
+ assert_throw(:thing, "message") do
993
+ throw :thing
994
+ end
995
+ end
996
+
997
+ tag = :thing2
998
+ check_fail("message.\n" +
999
+ "<:thing> was expected to be thrown but\n" +
1000
+ "<#{inspect_tag(tag)}> was thrown.") do
1001
+ assert_throw(:thing, "message") do
1002
+ throw :thing2
1003
+ end
1004
+ end
1005
+ check_fail("message.\n" +
1006
+ "<:thing> should have been thrown.") do
1007
+ assert_throw(:thing, "message") do
1008
+ 1 + 1
1009
+ end
1010
+ end
1011
+ end
1012
+
1013
+ def test_assert_nothing_thrown
1014
+ check_nothing_fails do
1015
+ assert_nothing_thrown("message") do
1016
+ 1 + 1
1017
+ end
1018
+ end
1019
+
1020
+ tag = :thing
1021
+ inspected = inspect_tag(tag)
1022
+ check_fail("message.\n" +
1023
+ "<#{inspected}> was thrown when nothing was expected.") do
1024
+ assert_nothing_thrown("message") do
1025
+ throw tag
1026
+ end
1027
+ end
1028
+ end
1029
+
1030
+ def test_assert_operator
1031
+ check_nothing_fails {
1032
+ assert_operator("thing", :==, "thing", "message")
1033
+ }
1034
+ check_fail(%Q{<0.15>\ngiven as the operator for #assert_operator must be a Symbol or #respond_to?(:to_str).}) do
1035
+ assert_operator("thing", 0.15, "thing")
1036
+ end
1037
+ check_fail(%Q{message.\n<"thing1"> was expected to be\n==\n<"thing2">.}) {
1038
+ assert_operator("thing1", :==, "thing2", "message")
1039
+ }
1040
+ end
1041
+
1042
+ def test_assert_not_operator
1043
+ check_nothing_fails {
1044
+ assert_not_operator("thing", :==, "Thing", "message")
1045
+ }
1046
+ check_fail(%Q{<42>\ngiven as the operator for #assert_not_operator must be a Symbol or #respond_to?(:to_str).}) do
1047
+ assert_not_operator("thing", 42, "message")
1048
+ end
1049
+ check_fail(%Q{message.\n<0> was expected to not be\n==\n<0.0>.}) {
1050
+ assert_not_operator(0, :==, 0.0, "message")
1051
+ }
1052
+ end
1053
+
1054
+ def test_assert_respond_to
1055
+ check_nothing_fails {
1056
+ assert_respond_to("thing", :to_s, "message")
1057
+ }
1058
+ check_nothing_fails {
1059
+ assert_respond_to("thing", "to_s", "message")
1060
+ }
1061
+ check_fail("<0.15>.kind_of?(Symbol) or\n" +
1062
+ "<0.15>.respond_to?(:to_str) expected") {
1063
+ assert_respond_to("thing", 0.15)
1064
+ }
1065
+ check_fail("message.\n" +
1066
+ "<:symbol>.respond_to?(:nonexistence) expected\n" +
1067
+ "(Class: <Symbol>)") {
1068
+ assert_respond_to(:symbol, :nonexistence, "message")
1069
+ }
1070
+ end
1071
+
1072
+ def test_assert_not_respond_to_pass_symbol
1073
+ check_nothing_fails do
1074
+ assert_not_respond_to("thing", :nonexistent, "message")
1075
+ end
1076
+ end
1077
+
1078
+ def test_assert_not_respond_to_pass_string
1079
+ check_nothing_fails do
1080
+ assert_not_respond_to("thing", :nonexistent, "message")
1081
+ end
1082
+ end
1083
+
1084
+ def test_assert_not_respond_to_fail_number
1085
+ check_fail("<0.15>.kind_of?(Symbol) or\n" +
1086
+ "<0.15>.respond_to?(:to_str) expected") do
1087
+ assert_respond_to("thing", 0.15)
1088
+ end
1089
+ end
1090
+
1091
+ def tset_assert_not_respond_to_fail_existence
1092
+ check_fail("message.\n" +
1093
+ "!<:symbol>.respond_to?(:to_s) expected\n" +
1094
+ "(Class: <Symbol>)") do
1095
+ assert_respond_to(:symbol, :to_s, "message")
1096
+ end
1097
+ end
1098
+
1099
+ def test_assert_send
1100
+ object = Object.new
1101
+ class << object
1102
+ private
1103
+ def return_argument(argument, bogus)
1104
+ return argument
1105
+ end
1106
+ end
1107
+ check_nothing_fails do
1108
+ assert_send([object, :return_argument, true, "bogus"], "message")
1109
+ end
1110
+
1111
+ inspected_object = AssertionMessage.convert(object)
1112
+ expected_message = <<-EOM
1113
+ message.
1114
+ <#{inspected_object}> was expected to respond to
1115
+ <return_argument(*[false, "bogus"])> with a true value but was
1116
+ <false>.
1117
+ EOM
1118
+ check_fail(expected_message.chomp) do
1119
+ assert_send([object, :return_argument, false, "bogus"], "message")
1120
+ end
1121
+ end
1122
+
1123
+ def test_condition_invariant
1124
+ object = Object.new
1125
+ def object.inspect
1126
+ @changed = true
1127
+ end
1128
+ def object.==(other)
1129
+ @changed ||= false
1130
+ return (!@changed)
1131
+ end
1132
+ check_nothing_fails do
1133
+ assert_equal(object, object, "message")
1134
+ end
1135
+ end
1136
+
1137
+ def test_assert_boolean
1138
+ check_nothing_fails do
1139
+ assert_boolean(true)
1140
+ end
1141
+ check_nothing_fails do
1142
+ assert_boolean(false)
1143
+ end
1144
+
1145
+ check_fail("<true> or <false> expected but was\n<1>") do
1146
+ assert_boolean(1)
1147
+ end
1148
+
1149
+ check_fail("<true> or <false> expected but was\n<nil>") do
1150
+ assert_boolean(nil)
1151
+ end
1152
+
1153
+ check_fail("message.\n<true> or <false> expected but was\n<\"XXX\">") do
1154
+ assert_boolean("XXX", "message")
1155
+ end
1156
+ end
1157
+
1158
+ def test_assert_true
1159
+ check_nothing_fails do
1160
+ assert_true(true)
1161
+ end
1162
+
1163
+ check_fail("<true> expected but was\n<false>") do
1164
+ assert_true(false)
1165
+ end
1166
+
1167
+ check_fail("<true> expected but was\n<1>") do
1168
+ assert_true(1)
1169
+ end
1170
+
1171
+ check_fail("message.\n<true> expected but was\n<nil>") do
1172
+ assert_true(nil, "message")
1173
+ end
1174
+ end
1175
+
1176
+ def test_assert_false
1177
+ check_nothing_fails do
1178
+ assert_false(false)
1179
+ end
1180
+
1181
+ check_fail("<false> expected but was\n<true>") do
1182
+ assert_false(true)
1183
+ end
1184
+
1185
+ check_fail("<false> expected but was\n<nil>") do
1186
+ assert_false(nil)
1187
+ end
1188
+
1189
+ check_fail("message.\n<false> expected but was\n<:false>") do
1190
+ assert_false(:false, "message")
1191
+ end
1192
+ end
1193
+
1194
+ def test_assert_compare
1195
+ check_nothing_fails do
1196
+ assert_compare(1.4, "<", 10.0)
1197
+ end
1198
+
1199
+ check_nothing_fails do
1200
+ assert_compare(2, "<=", 2)
1201
+ end
1202
+
1203
+ check_nothing_fails do
1204
+ assert_compare(14, ">=", 10.0)
1205
+ end
1206
+
1207
+ check_nothing_fails do
1208
+ assert_compare(14, ">", 13.9)
1209
+ end
1210
+
1211
+ expected_message = <<-EOM
1212
+ <15> < <10> should be true
1213
+ <15> was expected to be less than
1214
+ <10>.
1215
+ EOM
1216
+ check_fail(expected_message.chomp) do
1217
+ assert_compare(15, "<", 10)
1218
+ end
1219
+
1220
+ expected_message = <<-EOM
1221
+ <15> <= <10> should be true
1222
+ <15> was expected to be less than or equal to
1223
+ <10>.
1224
+ EOM
1225
+ check_fail(expected_message.chomp) do
1226
+ assert_compare(15, "<=", 10)
1227
+ end
1228
+
1229
+ expected_message = <<-EOM
1230
+ <10> > <15> should be true
1231
+ <10> was expected to be greater than
1232
+ <15>.
1233
+ EOM
1234
+ check_fail(expected_message.chomp) do
1235
+ assert_compare(10, ">", 15)
1236
+ end
1237
+
1238
+ expected_message = <<-EOM
1239
+ <10> >= <15> should be true
1240
+ <10> was expected to be greater than or equal to
1241
+ <15>.
1242
+ EOM
1243
+ check_fail(expected_message.chomp) do
1244
+ assert_compare(10, ">=", 15)
1245
+ end
1246
+ end
1247
+
1248
+ def test_assert_fail_assertion
1249
+ check_nothing_fails do
1250
+ assert_fail_assertion do
1251
+ flunk
1252
+ end
1253
+ end
1254
+
1255
+ check_fail("Failed assertion was expected.") do
1256
+ assert_fail_assertion do
1257
+ end
1258
+ end
1259
+ end
1260
+
1261
+ def test_assert_raise_message
1262
+ check_nothing_fails do
1263
+ assert_raise_message("Raise!") do
1264
+ raise "Raise!"
1265
+ end
1266
+ end
1267
+
1268
+ check_nothing_fails do
1269
+ assert_raise_message("Raise!") do
1270
+ raise Exception, "Raise!"
1271
+ end
1272
+ end
1273
+
1274
+ check_nothing_fails do
1275
+ assert_raise_message(/raise/i) do
1276
+ raise "Raise!"
1277
+ end
1278
+ end
1279
+
1280
+ expected_message = <<-EOM
1281
+ <"Expected message"> exception message expected but was
1282
+ <"Actual message">.
1283
+ EOM
1284
+ check_fail(expected_message.chomp) do
1285
+ assert_raise_message("Expected message") do
1286
+ raise "Actual message"
1287
+ end
1288
+ end
1289
+
1290
+ expected_message = <<-EOM
1291
+ <"Expected message"> exception message was expected but none was thrown.
1292
+ EOM
1293
+ check_fail(expected_message.chomp) do
1294
+ assert_raise_message("Expected message") do
1295
+ end
1296
+ end
1297
+ end
1298
+
1299
+ def test_assert_raise_kind_of
1300
+ check_nothing_fails(true) do
1301
+ assert_raise_kind_of(SystemCallError) do
1302
+ raise Errno::EACCES
1303
+ end
1304
+ end
1305
+
1306
+ expected_message = <<-EOM.chomp
1307
+ <SystemCallError> family exception expected but was
1308
+ <RuntimeError(<XXX>)>.
1309
+ EOM
1310
+ check_fail_exception(expected_message) do
1311
+ assert_raise_kind_of(SystemCallError) do
1312
+ raise RuntimeError, "XXX"
1313
+ end
1314
+ end
1315
+ end
1316
+
1317
+ def test_assert_const_defined
1318
+ check_nothing_fails do
1319
+ assert_const_defined(Test, :Unit)
1320
+ end
1321
+
1322
+ check_nothing_fails do
1323
+ assert_const_defined(Test, "Unit")
1324
+ end
1325
+
1326
+ check_fail("<Test>.const_defined?(<:Nonexistence>) expected.") do
1327
+ assert_const_defined(Test, :Nonexistence)
1328
+ end
1329
+ end
1330
+
1331
+ def test_assert_not_const_defined
1332
+ check_nothing_fails do
1333
+ assert_not_const_defined(Test, :Nonexistence)
1334
+ end
1335
+
1336
+ check_fail("!<Test>.const_defined?(<:Unit>) expected.") do
1337
+ assert_not_const_defined(Test, :Unit)
1338
+ end
1339
+
1340
+ check_fail("!<Test>.const_defined?(<\"Unit\">) expected.") do
1341
+ assert_not_const_defined(Test, "Unit")
1342
+ end
1343
+ end
1344
+
1345
+ def test_assert_predicate
1346
+ check_nothing_fails do
1347
+ assert_predicate([], :empty?)
1348
+ end
1349
+
1350
+ check_fail("<[1]>.empty? is true value expected but was\n<false>") do
1351
+ assert_predicate([1], :empty?)
1352
+ end
1353
+
1354
+ check_fail("<[1]>.respond_to?(:nonexistent?) expected\n" +
1355
+ "(Class: <Array>)") do
1356
+ assert_predicate([1], :nonexistent?)
1357
+ end
1358
+ end
1359
+
1360
+ def test_assert_not_predicate
1361
+ check_nothing_fails do
1362
+ assert_not_predicate([1], :empty?)
1363
+ end
1364
+
1365
+ check_fail("<[]>.empty? is false value expected but was\n<true>") do
1366
+ assert_not_predicate([], :empty?)
1367
+ end
1368
+
1369
+ check_fail("<[]>.respond_to?(:nonexistent?) expected\n" +
1370
+ "(Class: <Array>)") do
1371
+ assert_not_predicate([], :nonexistent?)
1372
+ end
1373
+ end
1374
+
1375
+ def test_assert_alias_method
1376
+ object = Object.new
1377
+ class << object
1378
+ def original_method
1379
+ end
1380
+ alias_method :alias_method, :original_method
1381
+
1382
+ def other
1383
+ end
1384
+ end
1385
+
1386
+ check_nothing_fails do
1387
+ assert_alias_method(object, :alias_method, :original_method)
1388
+ end
1389
+
1390
+ check_nothing_fails do
1391
+ assert_alias_method(object, :original_method, :alias_method)
1392
+ end
1393
+
1394
+ check_fail("<#{object.method(:other).inspect}> is alias of\n" +
1395
+ "<#{object.method(:original_method).inspect}> expected") do
1396
+ assert_alias_method(object, :other, :original_method)
1397
+ end
1398
+
1399
+ inspected_object = AssertionMessage.convert(object)
1400
+ check_fail("<#{inspected_object}>.nonexistent doesn't exist\n" +
1401
+ "(Class: <Object>)") do
1402
+ assert_alias_method(object, :nonexistent, :original_method)
1403
+ end
1404
+
1405
+ check_fail("<#{inspected_object}>.nonexistent doesn't exist\n" +
1406
+ "(Class: <Object>)") do
1407
+ assert_alias_method(object, :alias_method, :nonexistent)
1408
+ end
1409
+ end
1410
+
1411
+ def test_assert_path_exist
1412
+ check_nothing_fails do
1413
+ assert_path_exist(__FILE__)
1414
+ end
1415
+
1416
+ nonexistent_file = __FILE__ + ".nonexistent"
1417
+ check_fail("<#{nonexistent_file.inspect}> was expected to exist") do
1418
+ assert_path_exist(nonexistent_file)
1419
+ end
1420
+ end
1421
+
1422
+ def test_assert_path_not_exist
1423
+ nonexistent_file = __FILE__ + ".nonexistent"
1424
+ check_nothing_fails do
1425
+ assert_path_not_exist(nonexistent_file)
1426
+ end
1427
+
1428
+ check_fail("<#{__FILE__.inspect}> was expected to not exist") do
1429
+ assert_path_not_exist(__FILE__)
1430
+ end
1431
+ end
1432
+ end
1433
+
1434
+ class TestAssert < TestCase
1435
+ include AssertionCheckable
1436
+
1437
+ def test_pass
1438
+ check_nothing_fails do
1439
+ assert(true)
1440
+ end
1441
+ end
1442
+
1443
+ def test_pass_neither_false_or_nil
1444
+ check_nothing_fails do
1445
+ assert("a")
1446
+ end
1447
+ end
1448
+
1449
+ def test_pass_with_message
1450
+ check_nothing_fails do
1451
+ assert(true, "successful assert")
1452
+ end
1453
+ end
1454
+
1455
+ def test_pass_block
1456
+ check_nothing_fails do
1457
+ assert do
1458
+ true
1459
+ end
1460
+ end
1461
+ end
1462
+
1463
+ def test_fail_nil
1464
+ check_fail("<nil> is not true.") do
1465
+ assert(nil)
1466
+ end
1467
+ end
1468
+
1469
+ def test_fail_false
1470
+ check_fail("<false> is not true.") do
1471
+ assert(false)
1472
+ end
1473
+ end
1474
+
1475
+ def test_fail_false_with_message
1476
+ check_fail("failed assert.\n" +
1477
+ "<false> is not true.") do
1478
+ assert(false, "failed assert")
1479
+ end
1480
+ end
1481
+
1482
+ def test_fail_with_assertion_message
1483
+ check_fail("user message.\n" +
1484
+ "placeholder <:in> message") do
1485
+ assert(false, build_message("user message",
1486
+ "placeholder <?> message",
1487
+ :in))
1488
+ end
1489
+ end
1490
+
1491
+ def test_fail_block
1492
+ check_fail(//) do
1493
+ assert do
1494
+ 0.odd?
1495
+ end
1496
+ end
1497
+ end
1498
+
1499
+ def test_error_invalid_message_true
1500
+ check_fail("assertion message must be String, Proc or " +
1501
+ "Test::Unit::Assertions::AssertionMessage: " +
1502
+ "<true>(<TrueClass>)") do
1503
+ begin
1504
+ assert(true, true)
1505
+ rescue ArgumentError
1506
+ raise AssertionFailedError, $!.message
1507
+ end
1508
+ end
1509
+ end
1510
+
1511
+ def test_error_wrong_number_of_arguments
1512
+ check_fail("wrong number of arguments (0 for 1..2)") do
1513
+ begin
1514
+ assert
1515
+ rescue ArgumentError
1516
+ raise AssertionFailedError, $!.message
1517
+ end
1518
+ end
1519
+ end
1520
+
1521
+ class TestBlock < self
1522
+ def test_with_message
1523
+ if defined?(PowerAssert)
1524
+ system_message = <<-MESSAGE.chomp
1525
+ 1.to_s == "2"
1526
+ | |
1527
+ | false
1528
+ "1"
1529
+ MESSAGE
1530
+ else
1531
+ system_message = "<false> is not true."
1532
+ end
1533
+ check_fail("user message.\n#{system_message}") do
1534
+ assert("user message") do
1535
+ 1.to_s == "2"
1536
+ end
1537
+ end
1538
+ end
1539
+ end
1540
+ end
1541
+
1542
+ class TestRefute < TestCase
1543
+ include AssertionCheckable
1544
+
1545
+ class TestPass < self
1546
+ def test_nil
1547
+ check_nothing_fails do
1548
+ refute(nil)
1549
+ end
1550
+ end
1551
+
1552
+ def test_false
1553
+ check_nothing_fails do
1554
+ refute(false)
1555
+ end
1556
+ end
1557
+
1558
+ def test_with_message
1559
+ check_nothing_fails do
1560
+ refute(nil, "successful refute")
1561
+ end
1562
+ end
1563
+ end
1564
+
1565
+ class TestFailure < self
1566
+ def test_true
1567
+ check_fail("<true> is neither nil or false.") do
1568
+ refute(true)
1569
+ end
1570
+ end
1571
+
1572
+ def test_with_message
1573
+ check_fail("failed refute.\n" +
1574
+ "<true> is neither nil or false.") do
1575
+ refute(true, "failed refute")
1576
+ end
1577
+ end
1578
+
1579
+ def test_fail_with_assertion_message
1580
+ check_fail("user message.\n" +
1581
+ "placeholder <:in> message") do
1582
+ refute(true, build_message("user message",
1583
+ "placeholder <?> message",
1584
+ :in))
1585
+ end
1586
+ end
1587
+
1588
+ def test_error_invalid_message_true
1589
+ check_fail("assertion message must be String, Proc or " +
1590
+ "Test::Unit::Assertions::AssertionMessage: " +
1591
+ "<false>(<FalseClass>)") do
1592
+ begin
1593
+ refute(true, false)
1594
+ rescue ArgumentError
1595
+ raise AssertionFailedError, $!.message
1596
+ end
1597
+ end
1598
+ end
1599
+ end
1600
+ end
1601
+
1602
+ class TestAssertInDelta < TestCase
1603
+ include AssertionCheckable
1604
+
1605
+ def test_pass
1606
+ check_nothing_fails do
1607
+ assert_in_delta(1.4, 1.4, 0)
1608
+ end
1609
+ end
1610
+
1611
+ def test_pass_without_delta
1612
+ check_nothing_fails do
1613
+ assert_in_delta(1.401, 1.402)
1614
+ end
1615
+ end
1616
+
1617
+ def test_pass_with_message
1618
+ check_nothing_fails do
1619
+ assert_in_delta(0.5, 0.4, 0.1, "message")
1620
+ end
1621
+ end
1622
+
1623
+ def test_pass_float_like_object
1624
+ check_nothing_fails do
1625
+ float_thing = Object.new
1626
+ def float_thing.to_f
1627
+ 0.2
1628
+ end
1629
+ assert_in_delta(0.1, float_thing, 0.1)
1630
+ end
1631
+ end
1632
+
1633
+ def test_pass_string_expected
1634
+ check_nothing_fails do
1635
+ assert_in_delta("0.5", 0.4, 0.1)
1636
+ end
1637
+ end
1638
+
1639
+ def test_fail_with_message
1640
+ check_fail("message.\n" +
1641
+ "<0.5> -/+ <0.05> was expected to include\n" +
1642
+ "<0.4>.\n" +
1643
+ "\n" +
1644
+ "Relation:\n" +
1645
+ "<<0.4> < <0.5>-<0.05>[0.45] <= <0.5>+<0.05>[0.55]>") do
1646
+ assert_in_delta(0.5, 0.4, 0.05, "message")
1647
+ end
1648
+ end
1649
+
1650
+ def test_fail_because_not_float_like_object
1651
+ object = Object.new
1652
+ inspected_object = AssertionMessage.convert(object)
1653
+ check_fail("The arguments must respond to to_f; " +
1654
+ "the first float did not.\n" +
1655
+ "<#{inspected_object}>.respond_to?(:to_f) expected\n" +
1656
+ "(Class: <Object>)") do
1657
+ assert_in_delta(object, 0.4, 0.1)
1658
+ end
1659
+ end
1660
+
1661
+ def test_fail_because_negaitve_delta
1662
+ check_fail("The delta should not be negative.\n" +
1663
+ "<-0.1> was expected to be\n>=\n<0.0>.") do
1664
+ assert_in_delta(0.5, 0.4, -0.1, "message")
1665
+ end
1666
+ end
1667
+
1668
+ def test_fail_without_delta
1669
+ check_fail("<1.402> -/+ <0.001> was expected to include\n" +
1670
+ "<1.404>.\n" +
1671
+ "\n" +
1672
+ "Relation:\n" +
1673
+ "<" +
1674
+ "<1.402>-<0.001>[#{1.402 - 0.001}] <= " +
1675
+ "<1.402>+<0.001>[#{1.402 + 0.001}] < " +
1676
+ "<1.404>" +
1677
+ ">") do
1678
+ assert_in_delta(1.402, 1.404)
1679
+ end
1680
+ end
1681
+ end
1682
+
1683
+ class TestAssertNotInDelta < Test::Unit::TestCase
1684
+ include AssertionCheckable
1685
+
1686
+ def test_pass
1687
+ check_nothing_fails do
1688
+ assert_not_in_delta(1.42, 1.44, 0.01)
1689
+ end
1690
+ end
1691
+
1692
+ def test_pass_without_delta
1693
+ check_nothing_fails do
1694
+ assert_not_in_delta(1.402, 1.404)
1695
+ end
1696
+ end
1697
+
1698
+ def test_pass_with_message
1699
+ check_nothing_fails do
1700
+ assert_not_in_delta(0.5, 0.4, 0.09, "message")
1701
+ end
1702
+ end
1703
+
1704
+ def test_pass_float_like_object
1705
+ check_nothing_fails do
1706
+ float_thing = Object.new
1707
+ def float_thing.to_f
1708
+ 0.2
1709
+ end
1710
+ assert_not_in_delta(0.1, float_thing, 0.09)
1711
+ end
1712
+ end
1713
+
1714
+ def test_pass_string_epxected
1715
+ check_nothing_fails do
1716
+ assert_not_in_delta("0.5", 0.4, 0.09)
1717
+ end
1718
+ end
1719
+
1720
+ def test_fail
1721
+ check_fail("<1.4> -/+ <0.11> was expected to not include\n" +
1722
+ "<1.5>.\n" +
1723
+ "\n" +
1724
+ "Relation:\n" +
1725
+ "<" +
1726
+ "<1.4>-<0.11>[#{1.4 - 0.11}] <= " +
1727
+ "<1.5> <= " +
1728
+ "<1.4>+<0.11>[#{1.4 + 0.11}]" +
1729
+ ">") do
1730
+ assert_not_in_delta(1.4, 1.5, 0.11)
1731
+ end
1732
+ end
1733
+
1734
+ def test_fail_without_delta
1735
+ check_fail("<1.402> -/+ <0.001> was expected to not include\n" +
1736
+ "<1.4021>.\n" +
1737
+ "\n" +
1738
+ "Relation:\n" +
1739
+ "<" +
1740
+ "<1.402>-<0.001>[#{1.402 - 0.001}] <= " +
1741
+ "<1.4021> <= " +
1742
+ "<1.402>+<0.001>[#{1.402 + 0.001}]" +
1743
+ ">") do
1744
+ assert_not_in_delta(1.402, 1.4021)
1745
+ end
1746
+ end
1747
+
1748
+ def test_fail_with_message
1749
+ check_fail("message.\n" +
1750
+ "<0.5> -/+ <0.11> was expected to not include\n" +
1751
+ "<0.4>.\n" +
1752
+ "\n" +
1753
+ "Relation:\n" +
1754
+ "<" +
1755
+ "<0.5>-<0.11>[0.39] <= " +
1756
+ "<0.4> <= " +
1757
+ "<0.5>+<0.11>[0.61]" +
1758
+ ">") do
1759
+ assert_not_in_delta(0.5, 0.4, 0.11, "message")
1760
+ end
1761
+ end
1762
+
1763
+ def test_fail_because_not_float_like_object
1764
+ object = Object.new
1765
+ inspected_object = AssertionMessage.convert(object)
1766
+ check_fail("The arguments must respond to to_f; " +
1767
+ "the first float did not.\n" +
1768
+ "<#{inspected_object}>.respond_to?(:to_f) expected\n" +
1769
+ "(Class: <Object>)") do
1770
+ assert_not_in_delta(object, 0.4, 0.1)
1771
+ end
1772
+ end
1773
+
1774
+ def test_fail_because_negaitve_delta
1775
+ check_fail("The delta should not be negative.\n" +
1776
+ "<-0.11> was expected to be\n>=\n<0.0>.") do
1777
+ assert_not_in_delta(0.5, 0.4, -0.11, "message")
1778
+ end
1779
+ end
1780
+ end
1781
+
1782
+ class TestAssertInEpsilon < TestCase
1783
+ include AssertionCheckable
1784
+
1785
+ def test_pass
1786
+ check_nothing_fails do
1787
+ assert_in_epsilon(10000, 9000, 0.1)
1788
+ end
1789
+ end
1790
+
1791
+ def test_pass_without_epsilon
1792
+ check_nothing_fails do
1793
+ assert_in_epsilon(10000, 9991)
1794
+ end
1795
+ end
1796
+
1797
+ def test_pass_with_message
1798
+ check_nothing_fails do
1799
+ assert_in_epsilon(10000, 9000, 0.1, "message")
1800
+ end
1801
+ end
1802
+
1803
+ def test_pass_float_like_object
1804
+ check_nothing_fails do
1805
+ float_thing = Object.new
1806
+ def float_thing.to_f
1807
+ 9000.0
1808
+ end
1809
+ assert_in_epsilon(10000, float_thing, 0.1)
1810
+ end
1811
+ end
1812
+
1813
+ def test_pass_string_expected
1814
+ check_nothing_fails do
1815
+ assert_in_epsilon("10000", 9000, 0.1)
1816
+ end
1817
+ end
1818
+
1819
+ def test_pass_zero_expected
1820
+ check_nothing_fails do
1821
+ assert_in_epsilon(0, 0.00000001)
1822
+ end
1823
+ end
1824
+
1825
+ def test_pass_minus_expected
1826
+ check_nothing_fails do
1827
+ assert_in_epsilon(-1, -1)
1828
+ end
1829
+ end
1830
+
1831
+ def test_fail_with_message
1832
+ check_fail("message.\n" +
1833
+ "<10000> -/+ (<10000> * <0.1>)[1000.0] " +
1834
+ "was expected to include\n" +
1835
+ "<8999>.\n" +
1836
+ "\n" +
1837
+ "Relation:\n" +
1838
+ "<" +
1839
+ "<8999> < " +
1840
+ "<10000>-(<10000>*<0.1>)[9000.0] <= " +
1841
+ "<10000>+(<10000>*<0.1>)[11000.0]" +
1842
+ ">") do
1843
+ assert_in_epsilon(10000, 8999, 0.1, "message")
1844
+ end
1845
+ end
1846
+
1847
+ def test_fail_because_not_float_like_object
1848
+ object = Object.new
1849
+ inspected_object = AssertionMessage.convert(object)
1850
+ check_fail("The arguments must respond to to_f; " +
1851
+ "the first float did not.\n" +
1852
+ "<#{inspected_object}>.respond_to?(:to_f) expected\n" +
1853
+ "(Class: <Object>)") do
1854
+ assert_in_epsilon(object, 9000, 0.1)
1855
+ end
1856
+ end
1857
+
1858
+ def test_fail_because_negaitve_epsilon
1859
+ check_fail("The epsilon should not be negative.\n" +
1860
+ "<-0.1> was expected to be\n>=\n<0.0>.") do
1861
+ assert_in_epsilon(10000, 9000, -0.1, "message")
1862
+ end
1863
+ end
1864
+
1865
+ def test_fail_without_epsilon
1866
+ check_fail("<10000> -/+ (<10000> * <0.001>)[10.0] " +
1867
+ "was expected to include\n" +
1868
+ "<10011>.\n" +
1869
+ "\n" +
1870
+ "Relation:\n" +
1871
+ "<" +
1872
+ "<10000>-(<10000>*<0.001>)[9990.0] <= " +
1873
+ "<10000>+(<10000>*<0.001>)[10010.0] < " +
1874
+ "<10011>" +
1875
+ ">") do
1876
+ assert_in_epsilon(10000, 10011)
1877
+ end
1878
+ end
1879
+ end
1880
+
1881
+ class TestAssertNotInEpsilon < Test::Unit::TestCase
1882
+ include AssertionCheckable
1883
+
1884
+ def test_pass
1885
+ check_nothing_fails do
1886
+ assert_not_in_epsilon(10000, 8999, 0.1)
1887
+ end
1888
+ end
1889
+
1890
+ def test_pass_without_epsilon
1891
+ check_nothing_fails do
1892
+ assert_not_in_epsilon(10000, 9989)
1893
+ end
1894
+ end
1895
+
1896
+ def test_pass_with_message
1897
+ check_nothing_fails do
1898
+ assert_not_in_epsilon(10000, 8999, 0.1, "message")
1899
+ end
1900
+ end
1901
+
1902
+ def test_pass_float_like_object
1903
+ check_nothing_fails do
1904
+ float_thing = Object.new
1905
+ def float_thing.to_f
1906
+ 8999.0
1907
+ end
1908
+ assert_not_in_epsilon(10000, float_thing, 0.1)
1909
+ end
1910
+ end
1911
+
1912
+ def test_pass_string_epxected
1913
+ check_nothing_fails do
1914
+ assert_not_in_epsilon("10000", 8999, 0.1)
1915
+ end
1916
+ end
1917
+
1918
+ def test_fail
1919
+ check_fail("<10000> -/+ (<10000> * <0.1>)[1000.0] " +
1920
+ "was expected to not include\n" +
1921
+ "<9000>.\n" +
1922
+ "\n" +
1923
+ "Relation:\n" +
1924
+ "<" +
1925
+ "<10000>-(<10000>*<0.1>)[9000.0] <= " +
1926
+ "<9000> <= " +
1927
+ "<10000>+(<10000>*<0.1>)[11000.0]" +
1928
+ ">") do
1929
+ assert_not_in_epsilon(10000, 9000, 0.1)
1930
+ end
1931
+ end
1932
+
1933
+ def test_fail_without_epsilon
1934
+ check_fail("<10000> -/+ (<10000> * <0.001>)[10.0] " +
1935
+ "was expected to not include\n" +
1936
+ "<9990>.\n" +
1937
+ "\n" +
1938
+ "Relation:\n" +
1939
+ "<" +
1940
+ "<10000>-(<10000>*<0.001>)[9990.0] <= " +
1941
+ "<9990> <= " +
1942
+ "<10000>+(<10000>*<0.001>)[10010.0]" +
1943
+ ">") do
1944
+ assert_not_in_epsilon(10000, 9990)
1945
+ end
1946
+ end
1947
+
1948
+ def test_fail_with_message
1949
+ check_fail("message.\n" +
1950
+ "<10000> -/+ (<10000> * <0.1>)[1000.0] " +
1951
+ "was expected to not include\n" +
1952
+ "<9000>.\n" +
1953
+ "\n" +
1954
+ "Relation:\n" +
1955
+ "<" +
1956
+ "<10000>-(<10000>*<0.1>)[9000.0] <= " +
1957
+ "<9000> <= " +
1958
+ "<10000>+(<10000>*<0.1>)[11000.0]" +
1959
+ ">") do
1960
+ assert_not_in_epsilon(10000, 9000, 0.1, "message")
1961
+ end
1962
+ end
1963
+
1964
+ def test_fail_because_not_float_like_object
1965
+ object = Object.new
1966
+ inspected_object = AssertionMessage.convert(object)
1967
+ check_fail("The arguments must respond to to_f; " +
1968
+ "the first float did not.\n" +
1969
+ "<#{inspected_object}>.respond_to?(:to_f) expected\n" +
1970
+ "(Class: <Object>)") do
1971
+ assert_not_in_epsilon(object, 9000, 0.1)
1972
+ end
1973
+ end
1974
+
1975
+ def test_fail_because_negaitve_epsilon
1976
+ check_fail("The epsilon should not be negative.\n" +
1977
+ "<-0.1> was expected to be\n>=\n<0.0>.") do
1978
+ assert_not_in_epsilon(10000, 9000, -0.1, "message")
1979
+ end
1980
+ end
1981
+ end
1982
+
1983
+ class TestAssertInclude < Test::Unit::TestCase
1984
+ include AssertionCheckable
1985
+
1986
+ def test_pass
1987
+ check_nothing_fails do
1988
+ assert_include([1, 2, 3], 1)
1989
+ end
1990
+ end
1991
+
1992
+ def test_pass_with_message
1993
+ check_nothing_fails do
1994
+ assert_include([1, 2, 3], 1, "message")
1995
+ end
1996
+ end
1997
+
1998
+ def test_fail
1999
+ check_fail("<[1, 2, 3]> was expected to include\n" +
2000
+ "<4>.") do
2001
+ assert_include([1, 2, 3], 4)
2002
+ end
2003
+ end
2004
+
2005
+ def test_fail_with_message
2006
+ check_fail("message.\n" +
2007
+ "<[1, 2, 3]> was expected to include\n" +
2008
+ "<4>.") do
2009
+ assert_include([1, 2, 3], 4, "message")
2010
+ end
2011
+ end
2012
+
2013
+ def test_fail_because_not_collection_like_object
2014
+ object = Object.new
2015
+ inspected_object = AssertionMessage.convert(object)
2016
+ check_fail("The collection must respond to :include?.\n" +
2017
+ "<#{inspected_object}>.respond_to?(:include?) expected\n" +
2018
+ "(Class: <Object>)") do
2019
+ assert_include(object, 1)
2020
+ end
2021
+ end
2022
+ end
2023
+
2024
+ class TestAssertNotInclude < Test::Unit::TestCase
2025
+ include AssertionCheckable
2026
+
2027
+ def test_pass
2028
+ check_nothing_fails do
2029
+ assert_not_include([1, 2, 3], 5)
2030
+ end
2031
+ end
2032
+
2033
+ def test_pass_with_message
2034
+ check_nothing_fails do
2035
+ assert_not_include([1, 2, 3], 5, "message")
2036
+ end
2037
+ end
2038
+
2039
+ def test_fail
2040
+ check_fail("<[1, 2, 3]> was expected to not include\n" +
2041
+ "<2>.") do
2042
+ assert_not_include([1, 2, 3], 2)
2043
+ end
2044
+ end
2045
+
2046
+ def test_fail_with_message
2047
+ check_fail("message.\n" +
2048
+ "<[1, 2, 3]> was expected to not include\n" +
2049
+ "<2>.") do
2050
+ assert_not_include([1, 2, 3], 2, "message")
2051
+ end
2052
+ end
2053
+
2054
+ def test_fail_because_not_collection_like_object
2055
+ object = Object.new
2056
+ inspected_object = AssertionMessage.convert(object)
2057
+ check_fail("The collection must respond to :include?.\n" +
2058
+ "<#{inspected_object}>.respond_to?(:include?) expected\n" +
2059
+ "(Class: <Object>)") do
2060
+ assert_not_include(object, 1)
2061
+ end
2062
+ end
2063
+ end
2064
+
2065
+ class TestAssertEmpty < Test::Unit::TestCase
2066
+ include AssertionCheckable
2067
+
2068
+ def test_pass
2069
+ check_nothing_fails do
2070
+ assert_empty([])
2071
+ end
2072
+ end
2073
+
2074
+ def test_pass_with_message
2075
+ check_nothing_fails do
2076
+ assert_empty([], "message")
2077
+ end
2078
+ end
2079
+
2080
+ def test_fail
2081
+ check_fail("<[1]> was expected to be empty.") do
2082
+ assert_empty([1])
2083
+ end
2084
+ end
2085
+
2086
+ def test_fail_with_message
2087
+ check_fail("message.\n" +
2088
+ "<[1]> was expected to be empty.") do
2089
+ assert_empty([1], "message")
2090
+ end
2091
+ end
2092
+
2093
+ def test_fail_because_no_empty_method
2094
+ object = Object.new
2095
+ inspected_object = AssertionMessage.convert(object)
2096
+ check_fail("The object must respond to :empty?.\n" +
2097
+ "<#{inspected_object}>.respond_to?(:empty?) expected\n" +
2098
+ "(Class: <Object>)") do
2099
+ assert_empty(object)
2100
+ end
2101
+ end
2102
+ end
2103
+
2104
+ class TestAssertNotEmpty < Test::Unit::TestCase
2105
+ include AssertionCheckable
2106
+
2107
+ def test_pass
2108
+ check_nothing_fails do
2109
+ assert_not_empty([1])
2110
+ end
2111
+ end
2112
+
2113
+ def test_pass_with_message
2114
+ check_nothing_fails do
2115
+ assert_not_empty([1], "message")
2116
+ end
2117
+ end
2118
+
2119
+ def test_fail
2120
+ check_fail("<[]> was expected to not be empty.") do
2121
+ assert_not_empty([])
2122
+ end
2123
+ end
2124
+
2125
+ def test_fail_with_message
2126
+ check_fail("message.\n" +
2127
+ "<[]> was expected to not be empty.") do
2128
+ assert_not_empty([], "message")
2129
+ end
2130
+ end
2131
+
2132
+ def test_fail_because_no_empty_method
2133
+ object = Object.new
2134
+ inspected_object = AssertionMessage.convert(object)
2135
+ check_fail("The object must respond to :empty?.\n" +
2136
+ "<#{inspected_object}>.respond_to?(:empty?) expected\n" +
2137
+ "(Class: <Object>)") do
2138
+ assert_not_empty(object)
2139
+ end
2140
+ end
2141
+ end
2142
+
2143
+ class TestAssertNotSend < Test::Unit::TestCase
2144
+ include AssertionCheckable
2145
+
2146
+ def test_pass
2147
+ check_nothing_fails do
2148
+ assert_not_send([[1, 2], :member?, 4], "message")
2149
+ end
2150
+ end
2151
+
2152
+ def test_fail
2153
+ expected_message = <<-EOM
2154
+ message.
2155
+ <[1, 2]> was expected to respond to
2156
+ <member?(*[2])> with not a true value but was
2157
+ <true>.
2158
+ EOM
2159
+ check_fail(expected_message.chomp) do
2160
+ assert_not_send([[1, 2], :member?, 2], "message")
2161
+ end
2162
+ end
2163
+ end
2164
+
2165
+ class TestTemplate < Test::Unit::TestCase
2166
+ def test_incompatible_encoding_by_diff
2167
+ need_encoding
2168
+ assert_raise(AssertionFailedError) do
2169
+ assert_equal("UTF-8の日本語\n" * 3,
2170
+ ("Shift_JISの日本語\n" * 3).force_encoding("ASCII-8BIT"))
2171
+ end
2172
+ end
2173
+
2174
+ private
2175
+ def need_encoding
2176
+ omit("need Encoding") unless Object.const_defined?(:Encoding)
2177
+ end
2178
+ end
2179
+ end
2180
+ end