cybrid_api_bank_ruby 0.113.109 → 0.113.114

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +5 -5
  4. data/cybrid_api_bank_ruby.gemspec +1 -1
  5. data/docs/PostExternalBankAccountBankModel.md +1 -1
  6. data/lib/cybrid_api_bank_ruby/api/accounts_bank_api.rb +1 -1
  7. data/lib/cybrid_api_bank_ruby/api/assets_bank_api.rb +1 -1
  8. data/lib/cybrid_api_bank_ruby/api/banks_bank_api.rb +1 -1
  9. data/lib/cybrid_api_bank_ruby/api/customers_bank_api.rb +1 -1
  10. data/lib/cybrid_api_bank_ruby/api/deposit_addresses_bank_api.rb +1 -1
  11. data/lib/cybrid_api_bank_ruby/api/deposit_bank_accounts_bank_api.rb +1 -1
  12. data/lib/cybrid_api_bank_ruby/api/external_bank_accounts_bank_api.rb +1 -1
  13. data/lib/cybrid_api_bank_ruby/api/external_wallets_bank_api.rb +1 -1
  14. data/lib/cybrid_api_bank_ruby/api/identity_verifications_bank_api.rb +1 -1
  15. data/lib/cybrid_api_bank_ruby/api/prices_bank_api.rb +1 -1
  16. data/lib/cybrid_api_bank_ruby/api/quotes_bank_api.rb +1 -1
  17. data/lib/cybrid_api_bank_ruby/api/symbols_bank_api.rb +1 -1
  18. data/lib/cybrid_api_bank_ruby/api/trades_bank_api.rb +1 -1
  19. data/lib/cybrid_api_bank_ruby/api/transfers_bank_api.rb +1 -1
  20. data/lib/cybrid_api_bank_ruby/api/workflows_bank_api.rb +1 -1
  21. data/lib/cybrid_api_bank_ruby/api_client.rb +1 -1
  22. data/lib/cybrid_api_bank_ruby/api_error.rb +1 -1
  23. data/lib/cybrid_api_bank_ruby/configuration.rb +1 -1
  24. data/lib/cybrid_api_bank_ruby/models/account_bank_model.rb +1 -1
  25. data/lib/cybrid_api_bank_ruby/models/account_list_bank_model.rb +1 -1
  26. data/lib/cybrid_api_bank_ruby/models/account_state_bank_model.rb +1 -1
  27. data/lib/cybrid_api_bank_ruby/models/account_type_bank_model.rb +1 -1
  28. data/lib/cybrid_api_bank_ruby/models/asset_bank_model.rb +1 -1
  29. data/lib/cybrid_api_bank_ruby/models/asset_list_bank_model.rb +1 -1
  30. data/lib/cybrid_api_bank_ruby/models/asset_types_bank_model.rb +1 -1
  31. data/lib/cybrid_api_bank_ruby/models/bank_bank_model.rb +1 -1
  32. data/lib/cybrid_api_bank_ruby/models/bank_feature_bank_model.rb +1 -1
  33. data/lib/cybrid_api_bank_ruby/models/bank_list_bank_model.rb +1 -1
  34. data/lib/cybrid_api_bank_ruby/models/bank_type_bank_model.rb +1 -1
  35. data/lib/cybrid_api_bank_ruby/models/customer_address_bank_model.rb +1 -1
  36. data/lib/cybrid_api_bank_ruby/models/customer_bank_model.rb +1 -1
  37. data/lib/cybrid_api_bank_ruby/models/customer_list_bank_model.rb +1 -1
  38. data/lib/cybrid_api_bank_ruby/models/customer_name_bank_model.rb +1 -1
  39. data/lib/cybrid_api_bank_ruby/models/customer_state_bank_model.rb +1 -1
  40. data/lib/cybrid_api_bank_ruby/models/customer_type_bank_model.rb +1 -1
  41. data/lib/cybrid_api_bank_ruby/models/deposit_address_bank_model.rb +1 -1
  42. data/lib/cybrid_api_bank_ruby/models/deposit_address_format_bank_model.rb +1 -1
  43. data/lib/cybrid_api_bank_ruby/models/deposit_address_list_bank_model.rb +1 -1
  44. data/lib/cybrid_api_bank_ruby/models/deposit_address_state_bank_model.rb +1 -1
  45. data/lib/cybrid_api_bank_ruby/models/deposit_bank_account_account_details_inner_bank_model.rb +1 -1
  46. data/lib/cybrid_api_bank_ruby/models/deposit_bank_account_bank_model.rb +1 -1
  47. data/lib/cybrid_api_bank_ruby/models/deposit_bank_account_counterparty_address_bank_model.rb +1 -1
  48. data/lib/cybrid_api_bank_ruby/models/deposit_bank_account_list_bank_model.rb +1 -1
  49. data/lib/cybrid_api_bank_ruby/models/deposit_bank_account_routing_details_inner_bank_model.rb +1 -1
  50. data/lib/cybrid_api_bank_ruby/models/deposit_bank_account_routing_number_type_bank_model.rb +1 -1
  51. data/lib/cybrid_api_bank_ruby/models/deposit_bank_account_state_bank_model.rb +1 -1
  52. data/lib/cybrid_api_bank_ruby/models/error_response_bank_model.rb +1 -1
  53. data/lib/cybrid_api_bank_ruby/models/external_bank_account_balances_bank_model.rb +1 -1
  54. data/lib/cybrid_api_bank_ruby/models/external_bank_account_bank_model.rb +1 -1
  55. data/lib/cybrid_api_bank_ruby/models/external_bank_account_kind_bank_model.rb +1 -1
  56. data/lib/cybrid_api_bank_ruby/models/external_bank_account_list_bank_model.rb +1 -1
  57. data/lib/cybrid_api_bank_ruby/models/external_bank_account_pii_inner_addresses_inner_bank_model.rb +1 -1
  58. data/lib/cybrid_api_bank_ruby/models/external_bank_account_pii_inner_bank_model.rb +1 -1
  59. data/lib/cybrid_api_bank_ruby/models/external_bank_account_state_bank_model.rb +1 -1
  60. data/lib/cybrid_api_bank_ruby/models/external_wallet_bank_model.rb +1 -1
  61. data/lib/cybrid_api_bank_ruby/models/external_wallet_environment_bank_model.rb +1 -1
  62. data/lib/cybrid_api_bank_ruby/models/external_wallet_list_bank_model.rb +1 -1
  63. data/lib/cybrid_api_bank_ruby/models/external_wallet_state_bank_model.rb +1 -1
  64. data/lib/cybrid_api_bank_ruby/models/identity_verification_bank_model.rb +1 -1
  65. data/lib/cybrid_api_bank_ruby/models/identity_verification_list_bank_model.rb +1 -1
  66. data/lib/cybrid_api_bank_ruby/models/identity_verification_method_bank_model.rb +1 -1
  67. data/lib/cybrid_api_bank_ruby/models/identity_verification_outcome_bank_model.rb +1 -1
  68. data/lib/cybrid_api_bank_ruby/models/identity_verification_persona_state_bank_model.rb +1 -1
  69. data/lib/cybrid_api_bank_ruby/models/identity_verification_state_bank_model.rb +1 -1
  70. data/lib/cybrid_api_bank_ruby/models/identity_verification_type_bank_model.rb +1 -1
  71. data/lib/cybrid_api_bank_ruby/models/identity_verification_with_details_all_of_bank_model.rb +1 -1
  72. data/lib/cybrid_api_bank_ruby/models/identity_verification_with_details_bank_model.rb +1 -1
  73. data/lib/cybrid_api_bank_ruby/models/patch_bank_bank_model.rb +1 -1
  74. data/lib/cybrid_api_bank_ruby/models/patch_customer_bank_model.rb +1 -1
  75. data/lib/cybrid_api_bank_ruby/models/patch_external_bank_account_bank_model.rb +1 -1
  76. data/lib/cybrid_api_bank_ruby/models/post_account_bank_model.rb +1 -1
  77. data/lib/cybrid_api_bank_ruby/models/post_bank_bank_model.rb +1 -1
  78. data/lib/cybrid_api_bank_ruby/models/post_customer_address_bank_model.rb +1 -1
  79. data/lib/cybrid_api_bank_ruby/models/post_customer_bank_model.rb +1 -1
  80. data/lib/cybrid_api_bank_ruby/models/post_customer_name_bank_model.rb +1 -1
  81. data/lib/cybrid_api_bank_ruby/models/post_deposit_address_bank_model.rb +1 -1
  82. data/lib/cybrid_api_bank_ruby/models/post_deposit_bank_account_bank_model.rb +1 -1
  83. data/lib/cybrid_api_bank_ruby/models/post_external_bank_account_bank_model.rb +2 -2
  84. data/lib/cybrid_api_bank_ruby/models/post_external_bank_account_counterparty_address_bank_model.rb +2 -2
  85. data/lib/cybrid_api_bank_ruby/models/post_external_bank_account_counterparty_bank_account_bank_model.rb +2 -2
  86. data/lib/cybrid_api_bank_ruby/models/post_external_bank_account_counterparty_name_bank_model.rb +2 -2
  87. data/lib/cybrid_api_bank_ruby/models/post_external_wallet_bank_model.rb +1 -1
  88. data/lib/cybrid_api_bank_ruby/models/post_identification_number_bank_model.rb +1 -1
  89. data/lib/cybrid_api_bank_ruby/models/post_identity_verification_address_bank_model.rb +1 -1
  90. data/lib/cybrid_api_bank_ruby/models/post_identity_verification_bank_model.rb +1 -1
  91. data/lib/cybrid_api_bank_ruby/models/post_identity_verification_name_bank_model.rb +1 -1
  92. data/lib/cybrid_api_bank_ruby/models/post_quote_bank_model.rb +1 -1
  93. data/lib/cybrid_api_bank_ruby/models/post_trade_bank_model.rb +1 -1
  94. data/lib/cybrid_api_bank_ruby/models/post_transfer_bank_model.rb +1 -1
  95. data/lib/cybrid_api_bank_ruby/models/post_workflow_bank_model.rb +1 -1
  96. data/lib/cybrid_api_bank_ruby/models/quote_bank_model.rb +1 -1
  97. data/lib/cybrid_api_bank_ruby/models/quote_list_bank_model.rb +1 -1
  98. data/lib/cybrid_api_bank_ruby/models/quote_side_bank_model.rb +1 -1
  99. data/lib/cybrid_api_bank_ruby/models/quote_type_bank_model.rb +1 -1
  100. data/lib/cybrid_api_bank_ruby/models/symbol_price_bank_model.rb +1 -1
  101. data/lib/cybrid_api_bank_ruby/models/trade_bank_model.rb +1 -1
  102. data/lib/cybrid_api_bank_ruby/models/trade_list_bank_model.rb +1 -1
  103. data/lib/cybrid_api_bank_ruby/models/trade_side_bank_model.rb +1 -1
  104. data/lib/cybrid_api_bank_ruby/models/trade_state_bank_model.rb +1 -1
  105. data/lib/cybrid_api_bank_ruby/models/trade_type_bank_model.rb +1 -1
  106. data/lib/cybrid_api_bank_ruby/models/transfer_account_type_bank_model.rb +1 -1
  107. data/lib/cybrid_api_bank_ruby/models/transfer_bank_model.rb +1 -1
  108. data/lib/cybrid_api_bank_ruby/models/transfer_destination_account_bank_model.rb +1 -1
  109. data/lib/cybrid_api_bank_ruby/models/transfer_list_bank_model.rb +1 -1
  110. data/lib/cybrid_api_bank_ruby/models/transfer_side_bank_model.rb +1 -1
  111. data/lib/cybrid_api_bank_ruby/models/transfer_source_account_bank_model.rb +1 -1
  112. data/lib/cybrid_api_bank_ruby/models/transfer_state_bank_model.rb +1 -1
  113. data/lib/cybrid_api_bank_ruby/models/transfer_type_bank_model.rb +1 -1
  114. data/lib/cybrid_api_bank_ruby/models/verification_check_bank_model.rb +1 -1
  115. data/lib/cybrid_api_bank_ruby/models/verification_check_state_bank_model.rb +1 -1
  116. data/lib/cybrid_api_bank_ruby/models/verification_check_type_bank_model.rb +1 -1
  117. data/lib/cybrid_api_bank_ruby/models/workflow_bank_model.rb +1 -1
  118. data/lib/cybrid_api_bank_ruby/models/workflow_state_bank_model.rb +1 -1
  119. data/lib/cybrid_api_bank_ruby/models/workflow_type_bank_model.rb +1 -1
  120. data/lib/cybrid_api_bank_ruby/models/workflow_with_details_all_of_bank_model.rb +1 -1
  121. data/lib/cybrid_api_bank_ruby/models/workflow_with_details_bank_model.rb +1 -1
  122. data/lib/cybrid_api_bank_ruby/models/workflows_list_bank_model.rb +1 -1
  123. data/lib/cybrid_api_bank_ruby/version.rb +2 -2
  124. data/lib/cybrid_api_bank_ruby.rb +1 -1
  125. data/spec/api/accounts_bank_api_spec.rb +1 -1
  126. data/spec/api/assets_bank_api_spec.rb +1 -1
  127. data/spec/api/banks_bank_api_spec.rb +1 -1
  128. data/spec/api/customers_bank_api_spec.rb +1 -1
  129. data/spec/api/deposit_addresses_bank_api_spec.rb +1 -1
  130. data/spec/api/deposit_bank_accounts_bank_api_spec.rb +1 -1
  131. data/spec/api/external_bank_accounts_bank_api_spec.rb +1 -1
  132. data/spec/api/external_wallets_bank_api_spec.rb +1 -1
  133. data/spec/api/identity_verifications_bank_api_spec.rb +1 -1
  134. data/spec/api/prices_bank_api_spec.rb +1 -1
  135. data/spec/api/quotes_bank_api_spec.rb +1 -1
  136. data/spec/api/symbols_bank_api_spec.rb +1 -1
  137. data/spec/api/trades_bank_api_spec.rb +1 -1
  138. data/spec/api/transfers_bank_api_spec.rb +1 -1
  139. data/spec/api/workflows_bank_api_spec.rb +1 -1
  140. data/spec/api_client_spec.rb +1 -1
  141. data/spec/configuration_spec.rb +1 -1
  142. data/spec/models/account_bank_model_spec.rb +1 -1
  143. data/spec/models/account_list_bank_model_spec.rb +1 -1
  144. data/spec/models/account_state_bank_model_spec.rb +1 -1
  145. data/spec/models/account_type_bank_model_spec.rb +1 -1
  146. data/spec/models/asset_bank_model_spec.rb +1 -1
  147. data/spec/models/asset_list_bank_model_spec.rb +1 -1
  148. data/spec/models/asset_types_bank_model_spec.rb +1 -1
  149. data/spec/models/bank_bank_model_spec.rb +1 -1
  150. data/spec/models/bank_feature_bank_model_spec.rb +1 -1
  151. data/spec/models/bank_list_bank_model_spec.rb +1 -1
  152. data/spec/models/bank_type_bank_model_spec.rb +1 -1
  153. data/spec/models/customer_address_bank_model_spec.rb +1 -1
  154. data/spec/models/customer_bank_model_spec.rb +1 -1
  155. data/spec/models/customer_list_bank_model_spec.rb +1 -1
  156. data/spec/models/customer_name_bank_model_spec.rb +1 -1
  157. data/spec/models/customer_state_bank_model_spec.rb +1 -1
  158. data/spec/models/customer_type_bank_model_spec.rb +1 -1
  159. data/spec/models/deposit_address_bank_model_spec.rb +1 -1
  160. data/spec/models/deposit_address_format_bank_model_spec.rb +1 -1
  161. data/spec/models/deposit_address_list_bank_model_spec.rb +1 -1
  162. data/spec/models/deposit_address_state_bank_model_spec.rb +1 -1
  163. data/spec/models/deposit_bank_account_account_details_inner_bank_model_spec.rb +1 -1
  164. data/spec/models/deposit_bank_account_bank_model_spec.rb +1 -1
  165. data/spec/models/deposit_bank_account_counterparty_address_bank_model_spec.rb +1 -1
  166. data/spec/models/deposit_bank_account_list_bank_model_spec.rb +1 -1
  167. data/spec/models/deposit_bank_account_routing_details_inner_bank_model_spec.rb +1 -1
  168. data/spec/models/deposit_bank_account_routing_number_type_bank_model_spec.rb +1 -1
  169. data/spec/models/deposit_bank_account_state_bank_model_spec.rb +1 -1
  170. data/spec/models/error_response_bank_model_spec.rb +1 -1
  171. data/spec/models/external_bank_account_balances_bank_model_spec.rb +1 -1
  172. data/spec/models/external_bank_account_bank_model_spec.rb +1 -1
  173. data/spec/models/external_bank_account_kind_bank_model_spec.rb +1 -1
  174. data/spec/models/external_bank_account_list_bank_model_spec.rb +1 -1
  175. data/spec/models/external_bank_account_pii_inner_addresses_inner_bank_model_spec.rb +1 -1
  176. data/spec/models/external_bank_account_pii_inner_bank_model_spec.rb +1 -1
  177. data/spec/models/external_bank_account_state_bank_model_spec.rb +1 -1
  178. data/spec/models/external_wallet_bank_model_spec.rb +1 -1
  179. data/spec/models/external_wallet_environment_bank_model_spec.rb +1 -1
  180. data/spec/models/external_wallet_list_bank_model_spec.rb +1 -1
  181. data/spec/models/external_wallet_state_bank_model_spec.rb +1 -1
  182. data/spec/models/identity_verification_bank_model_spec.rb +1 -1
  183. data/spec/models/identity_verification_list_bank_model_spec.rb +1 -1
  184. data/spec/models/identity_verification_method_bank_model_spec.rb +1 -1
  185. data/spec/models/identity_verification_outcome_bank_model_spec.rb +1 -1
  186. data/spec/models/identity_verification_persona_state_bank_model_spec.rb +1 -1
  187. data/spec/models/identity_verification_state_bank_model_spec.rb +1 -1
  188. data/spec/models/identity_verification_type_bank_model_spec.rb +1 -1
  189. data/spec/models/identity_verification_with_details_all_of_bank_model_spec.rb +1 -1
  190. data/spec/models/identity_verification_with_details_bank_model_spec.rb +1 -1
  191. data/spec/models/patch_bank_bank_model_spec.rb +1 -1
  192. data/spec/models/patch_customer_bank_model_spec.rb +1 -1
  193. data/spec/models/patch_external_bank_account_bank_model_spec.rb +1 -1
  194. data/spec/models/post_account_bank_model_spec.rb +1 -1
  195. data/spec/models/post_bank_bank_model_spec.rb +1 -1
  196. data/spec/models/post_customer_address_bank_model_spec.rb +1 -1
  197. data/spec/models/post_customer_bank_model_spec.rb +1 -1
  198. data/spec/models/post_customer_name_bank_model_spec.rb +1 -1
  199. data/spec/models/post_deposit_address_bank_model_spec.rb +1 -1
  200. data/spec/models/post_deposit_bank_account_bank_model_spec.rb +1 -1
  201. data/spec/models/post_external_bank_account_bank_model_spec.rb +1 -1
  202. data/spec/models/post_external_bank_account_counterparty_address_bank_model_spec.rb +1 -1
  203. data/spec/models/post_external_bank_account_counterparty_bank_account_bank_model_spec.rb +1 -1
  204. data/spec/models/post_external_bank_account_counterparty_name_bank_model_spec.rb +1 -1
  205. data/spec/models/post_external_wallet_bank_model_spec.rb +1 -1
  206. data/spec/models/post_identification_number_bank_model_spec.rb +1 -1
  207. data/spec/models/post_identity_verification_address_bank_model_spec.rb +1 -1
  208. data/spec/models/post_identity_verification_bank_model_spec.rb +1 -1
  209. data/spec/models/post_identity_verification_name_bank_model_spec.rb +1 -1
  210. data/spec/models/post_quote_bank_model_spec.rb +1 -1
  211. data/spec/models/post_trade_bank_model_spec.rb +1 -1
  212. data/spec/models/post_transfer_bank_model_spec.rb +1 -1
  213. data/spec/models/post_workflow_bank_model_spec.rb +1 -1
  214. data/spec/models/quote_bank_model_spec.rb +1 -1
  215. data/spec/models/quote_list_bank_model_spec.rb +1 -1
  216. data/spec/models/quote_side_bank_model_spec.rb +1 -1
  217. data/spec/models/quote_type_bank_model_spec.rb +1 -1
  218. data/spec/models/symbol_price_bank_model_spec.rb +1 -1
  219. data/spec/models/trade_bank_model_spec.rb +1 -1
  220. data/spec/models/trade_list_bank_model_spec.rb +1 -1
  221. data/spec/models/trade_side_bank_model_spec.rb +1 -1
  222. data/spec/models/trade_state_bank_model_spec.rb +1 -1
  223. data/spec/models/trade_type_bank_model_spec.rb +1 -1
  224. data/spec/models/transfer_account_type_bank_model_spec.rb +1 -1
  225. data/spec/models/transfer_bank_model_spec.rb +1 -1
  226. data/spec/models/transfer_destination_account_bank_model_spec.rb +1 -1
  227. data/spec/models/transfer_list_bank_model_spec.rb +1 -1
  228. data/spec/models/transfer_side_bank_model_spec.rb +1 -1
  229. data/spec/models/transfer_source_account_bank_model_spec.rb +1 -1
  230. data/spec/models/transfer_state_bank_model_spec.rb +1 -1
  231. data/spec/models/transfer_type_bank_model_spec.rb +1 -1
  232. data/spec/models/verification_check_bank_model_spec.rb +1 -1
  233. data/spec/models/verification_check_state_bank_model_spec.rb +1 -1
  234. data/spec/models/verification_check_type_bank_model_spec.rb +1 -1
  235. data/spec/models/workflow_bank_model_spec.rb +1 -1
  236. data/spec/models/workflow_state_bank_model_spec.rb +1 -1
  237. data/spec/models/workflow_type_bank_model_spec.rb +1 -1
  238. data/spec/models/workflow_with_details_all_of_bank_model_spec.rb +1 -1
  239. data/spec/models/workflow_with_details_bank_model_spec.rb +1 -1
  240. data/spec/models/workflows_list_bank_model_spec.rb +1 -1
  241. data/spec/spec_helper.rb +1 -1
  242. data/vendor/bundle/ruby/3.2.0/cache/diff-lcs-1.5.1.gem +0 -0
  243. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +5 -5
  244. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.16.3/gem_make.out +5 -5
  245. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  246. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.2/gem_make.out +5 -5
  247. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.3/gem_make.out +5 -5
  248. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.1.0/gem_make.out +5 -5
  249. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/Contributing.md +2 -0
  250. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/History.md +86 -55
  251. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/License.md +6 -4
  252. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/Rakefile +36 -27
  253. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/bin/htmldiff +4 -4
  254. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/array.rb +1 -1
  255. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/lib/diff/lcs/backports.rb +9 -0
  256. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/block.rb +4 -4
  257. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/callbacks.rb +9 -7
  258. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/change.rb +19 -19
  259. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/htmldiff.rb +24 -16
  260. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/hunk.rb +35 -30
  261. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/internals.rb +17 -17
  262. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/ldiff.rb +37 -35
  263. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs.rb +57 -55
  264. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff-lcs.rb +1 -1
  265. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/change_spec.rb +89 -0
  266. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/diff_spec.rb +14 -14
  267. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/hunk_spec.rb +19 -19
  268. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/issues_spec.rb +160 -0
  269. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/lcs_spec.rb +11 -11
  270. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/ldiff_spec.rb +13 -11
  271. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/patch_spec.rb +84 -84
  272. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/sdiff_spec.rb +216 -0
  273. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/spec_helper.rb +76 -74
  274. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/traverse_balanced_spec.rb +312 -0
  275. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/traverse_sequences_spec.rb +31 -31
  276. data/vendor/bundle/ruby/3.2.0/specifications/{diff-lcs-1.5.0.gemspec → diff-lcs-1.5.1.gemspec} +7 -7
  277. metadata +63 -63
  278. data/vendor/bundle/ruby/3.2.0/cache/diff-lcs-1.5.0.gem +0 -0
  279. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb +0 -9
  280. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/change_spec.rb +0 -89
  281. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/issues_spec.rb +0 -154
  282. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/sdiff_spec.rb +0 -214
  283. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/traverse_balanced_spec.rb +0 -310
  284. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/.rspec +0 -0
  285. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/Code-of-Conduct.md +0 -0
  286. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/Manifest.txt +0 -0
  287. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/README.rdoc +0 -0
  288. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/bin/ldiff +0 -0
  289. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/docs/COPYING.txt +0 -0
  290. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/docs/artistic.txt +0 -0
  291. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/string.rb +0 -0
  292. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/aX +0 -0
  293. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/bXaX +0 -0
  294. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ds1.csv +0 -0
  295. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ds2.csv +0 -0
  296. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff +0 -0
  297. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff-c +0 -0
  298. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff-e +0 -0
  299. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff-f +0 -0
  300. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff-u +0 -0
  301. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef +0 -0
  302. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef-c +0 -0
  303. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef-e +0 -0
  304. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef-f +0 -0
  305. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef-u +0 -0
  306. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef2 +0 -0
  307. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef2-c +0 -0
  308. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef2-d +0 -0
  309. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef2-e +0 -0
  310. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef2-f +0 -0
  311. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef2-u +0 -0
  312. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/new-chef +0 -0
  313. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/new-chef2 +0 -0
  314. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/old-chef +0 -0
  315. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/old-chef2 +0 -0
@@ -0,0 +1,312 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "spec_helper"
4
+
5
+ describe "Diff::LCS.traverse_balanced" do
6
+ include Diff::LCS::SpecHelper::Matchers
7
+
8
+ shared_examples "with a #change callback" do |s1, s2, result|
9
+ it "traverses s1 -> s2 correctly" do
10
+ traversal = balanced_traversal(s1, s2, :balanced_callback)
11
+ expect(traversal.result).to eq(result)
12
+ end
13
+
14
+ it "traverses s2 -> s1 correctly" do
15
+ traversal = balanced_traversal(s2, s1, :balanced_callback)
16
+ expect(traversal.result).to eq(balanced_reverse(result))
17
+ end
18
+ end
19
+
20
+ shared_examples "without a #change callback" do |s1, s2, result|
21
+ it "traverses s1 -> s2 correctly" do
22
+ traversal = balanced_traversal(s1, s2, :balanced_callback_no_change)
23
+ expect(traversal.result).to eq(map_to_no_change(result))
24
+ end
25
+
26
+ it "traverses s2 -> s1 correctly" do
27
+ traversal = balanced_traversal(s2, s1, :balanced_callback_no_change)
28
+ expect(traversal.result).to eq(map_to_no_change(balanced_reverse(result)))
29
+ end
30
+ end
31
+
32
+ describe "identical string sequences ('abc')" do
33
+ s1 = s2 = "abc"
34
+
35
+ result = [
36
+ ["=", 0, 0],
37
+ ["=", 1, 1],
38
+ ["=", 2, 2]
39
+ ]
40
+
41
+ it_has_behavior "with a #change callback", s1, s2, result
42
+ it_has_behavior "without a #change callback", s1, s2, result
43
+ end
44
+
45
+ describe "identical array sequences %w(a b c)" do
46
+ s1 = s2 = %w[a b c]
47
+
48
+ result = [
49
+ ["=", 0, 0],
50
+ ["=", 1, 1],
51
+ ["=", 2, 2]
52
+ ]
53
+
54
+ it_has_behavior "with a #change callback", s1, s2, result
55
+ it_has_behavior "without a #change callback", s1, s2, result
56
+ end
57
+
58
+ describe "sequences %w(a b c) & %w(a x c)" do
59
+ s1 = %w[a b c]
60
+ s2 = %w[a x c]
61
+
62
+ result = [
63
+ ["=", 0, 0],
64
+ ["!", 1, 1],
65
+ ["=", 2, 2]
66
+ ]
67
+
68
+ it_has_behavior "with a #change callback", s1, s2, result
69
+ it_has_behavior "without a #change callback", s1, s2, result
70
+ end
71
+
72
+ describe "sequences %w(a x y c) & %w(a v w c)" do
73
+ s1 = %w[a x y c]
74
+ s2 = %w[a v w c]
75
+
76
+ result = [
77
+ ["=", 0, 0],
78
+ ["!", 1, 1],
79
+ ["!", 2, 2],
80
+ ["=", 3, 3]
81
+ ]
82
+
83
+ it_has_behavior "with a #change callback", s1, s2, result
84
+ it_has_behavior "without a #change callback", s1, s2, result
85
+ end
86
+
87
+ describe "sequences %w(x y c) & %w(v w c)" do
88
+ s1 = %w[x y c]
89
+ s2 = %w[v w c]
90
+ result = [
91
+ ["!", 0, 0],
92
+ ["!", 1, 1],
93
+ ["=", 2, 2]
94
+ ]
95
+
96
+ it_has_behavior "with a #change callback", s1, s2, result
97
+ it_has_behavior "without a #change callback", s1, s2, result
98
+ end
99
+
100
+ describe "sequences %w(a x y z) & %w(b v w)" do
101
+ s1 = %w[a x y z]
102
+ s2 = %w[b v w]
103
+ result = [
104
+ ["!", 0, 0],
105
+ ["!", 1, 1],
106
+ ["!", 2, 2],
107
+ ["<", 3, 3]
108
+ ]
109
+
110
+ it_has_behavior "with a #change callback", s1, s2, result
111
+ it_has_behavior "without a #change callback", s1, s2, result
112
+ end
113
+
114
+ describe "sequences %w(a z) & %w(a)" do
115
+ s1 = %w[a z]
116
+ s2 = %w[a]
117
+ result = [
118
+ ["=", 0, 0],
119
+ ["<", 1, 1]
120
+ ]
121
+
122
+ it_has_behavior "with a #change callback", s1, s2, result
123
+ it_has_behavior "without a #change callback", s1, s2, result
124
+ end
125
+
126
+ describe "sequences %w(z a) & %w(a)" do
127
+ s1 = %w[z a]
128
+ s2 = %w[a]
129
+ result = [
130
+ ["<", 0, 0],
131
+ ["=", 1, 0]
132
+ ]
133
+
134
+ it_has_behavior "with a #change callback", s1, s2, result
135
+ it_has_behavior "without a #change callback", s1, s2, result
136
+ end
137
+
138
+ describe "sequences %w(a b c) & %w(x y z)" do
139
+ s1 = %w[a b c]
140
+ s2 = %w[x y z]
141
+ result = [
142
+ ["!", 0, 0],
143
+ ["!", 1, 1],
144
+ ["!", 2, 2]
145
+ ]
146
+
147
+ it_has_behavior "with a #change callback", s1, s2, result
148
+ it_has_behavior "without a #change callback", s1, s2, result
149
+ end
150
+
151
+ describe "sequences %w(abcd efgh ijkl mnoopqrstuvwxyz) & []" do
152
+ s1 = %w[abcd efgh ijkl mnopqrstuvwxyz]
153
+ s2 = []
154
+ result = [
155
+ ["<", 0, 0],
156
+ ["<", 1, 0],
157
+ ["<", 2, 0],
158
+ ["<", 3, 0]
159
+ ]
160
+
161
+ it_has_behavior "with a #change callback", s1, s2, result
162
+ it_has_behavior "without a #change callback", s1, s2, result
163
+ end
164
+
165
+ describe "strings %q(a b c) & %q(a x c)" do
166
+ s1 = "a b c"
167
+ s2 = "a x c"
168
+
169
+ result = [
170
+ ["=", 0, 0],
171
+ ["=", 1, 1],
172
+ ["!", 2, 2],
173
+ ["=", 3, 3],
174
+ ["=", 4, 4]
175
+ ]
176
+
177
+ it_has_behavior "with a #change callback", s1, s2, result
178
+ it_has_behavior "without a #change callback", s1, s2, result
179
+ end
180
+
181
+ describe "strings %q(a x y c) & %q(a v w c)" do
182
+ s1 = "a x y c"
183
+ s2 = "a v w c"
184
+
185
+ result = [
186
+ ["=", 0, 0],
187
+ ["=", 1, 1],
188
+ ["!", 2, 2],
189
+ ["=", 3, 3],
190
+ ["!", 4, 4],
191
+ ["=", 5, 5],
192
+ ["=", 6, 6]
193
+ ]
194
+
195
+ it_has_behavior "with a #change callback", s1, s2, result
196
+ it_has_behavior "without a #change callback", s1, s2, result
197
+ end
198
+
199
+ describe "strings %q(x y c) & %q(v w c)" do
200
+ s1 = "x y c"
201
+ s2 = "v w c"
202
+ result = [
203
+ ["!", 0, 0],
204
+ ["=", 1, 1],
205
+ ["!", 2, 2],
206
+ ["=", 3, 3],
207
+ ["=", 4, 4]
208
+ ]
209
+
210
+ it_has_behavior "with a #change callback", s1, s2, result
211
+ it_has_behavior "without a #change callback", s1, s2, result
212
+ end
213
+
214
+ describe "strings %q(a x y z) & %q(b v w)" do
215
+ s1 = "a x y z"
216
+ s2 = "b v w"
217
+ result = [
218
+ ["!", 0, 0],
219
+ ["=", 1, 1],
220
+ ["!", 2, 2],
221
+ ["=", 3, 3],
222
+ ["!", 4, 4],
223
+ ["<", 5, 5],
224
+ ["<", 6, 5]
225
+ ]
226
+
227
+ it_has_behavior "with a #change callback", s1, s2, result
228
+ it_has_behavior "without a #change callback", s1, s2, result
229
+ end
230
+
231
+ describe "strings %q(a z) & %q(a)" do
232
+ s1 = "a z"
233
+ s2 = "a"
234
+ result = [
235
+ ["=", 0, 0],
236
+ ["<", 1, 1],
237
+ ["<", 2, 1]
238
+ ]
239
+
240
+ it_has_behavior "with a #change callback", s1, s2, result
241
+ it_has_behavior "without a #change callback", s1, s2, result
242
+ end
243
+
244
+ describe "strings %q(z a) & %q(a)" do
245
+ s1 = "z a"
246
+ s2 = "a"
247
+ result = [
248
+ ["<", 0, 0],
249
+ ["<", 1, 0],
250
+ ["=", 2, 0]
251
+ ]
252
+
253
+ it_has_behavior "with a #change callback", s1, s2, result
254
+ it_has_behavior "without a #change callback", s1, s2, result
255
+ end
256
+
257
+ describe "strings %q(a b c) & %q(x y z)" do
258
+ s1 = "a b c"
259
+ s2 = "x y z"
260
+ result = [
261
+ ["!", 0, 0],
262
+ ["=", 1, 1],
263
+ ["!", 2, 2],
264
+ ["=", 3, 3],
265
+ ["!", 4, 4]
266
+ ]
267
+
268
+ it_has_behavior "with a #change callback", s1, s2, result
269
+ it_has_behavior "without a #change callback", s1, s2, result
270
+ end
271
+
272
+ describe "strings %q(abcd efgh ijkl mnopqrstuvwxyz) & %q()" do
273
+ s1 = "abcd efgh ijkl mnopqrstuvwxyz"
274
+ s2 = ""
275
+ # standard:disable Layout/ExtraSpacing
276
+ result = [
277
+ ["<", 0, 0],
278
+ ["<", 1, 0],
279
+ ["<", 2, 0],
280
+ ["<", 3, 0],
281
+ ["<", 4, 0],
282
+ ["<", 5, 0],
283
+ ["<", 6, 0],
284
+ ["<", 7, 0],
285
+ ["<", 8, 0],
286
+ ["<", 9, 0],
287
+ ["<", 10, 0],
288
+ ["<", 11, 0],
289
+ ["<", 12, 0],
290
+ ["<", 13, 0],
291
+ ["<", 14, 0],
292
+ ["<", 15, 0],
293
+ ["<", 16, 0],
294
+ ["<", 17, 0],
295
+ ["<", 18, 0],
296
+ ["<", 19, 0],
297
+ ["<", 20, 0],
298
+ ["<", 21, 0],
299
+ ["<", 22, 0],
300
+ ["<", 23, 0],
301
+ ["<", 24, 0],
302
+ ["<", 25, 0],
303
+ ["<", 26, 0],
304
+ ["<", 27, 0],
305
+ ["<", 28, 0]
306
+ ]
307
+ # standard:enable Layout/ExtraSpacing
308
+
309
+ it_has_behavior "with a #change callback", s1, s2, result
310
+ it_has_behavior "without a #change callback", s1, s2, result
311
+ end
312
+ end
@@ -1,10 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'spec_helper'
3
+ require "spec_helper"
4
4
 
5
- describe 'Diff::LCS.traverse_sequences' do
6
- describe 'callback with no finishers' do
7
- describe 'over (seq1, seq2)' do
5
+ describe "Diff::LCS.traverse_sequences" do
6
+ describe "callback with no finishers" do
7
+ describe "over (seq1, seq2)" do
8
8
  before(:each) do
9
9
  @callback_s1_s2 = simple_callback_no_finishers
10
10
  Diff::LCS.traverse_sequences(seq1, seq2, @callback_s1_s2)
@@ -13,27 +13,27 @@ describe 'Diff::LCS.traverse_sequences' do
13
13
  Diff::LCS.traverse_sequences(seq2, seq1, @callback_s2_s1)
14
14
  end
15
15
 
16
- it 'has the correct LCS result on left-matches' do
16
+ it "has the correct LCS result on left-matches" do
17
17
  expect(@callback_s1_s2.matched_a).to eq(correct_lcs)
18
18
  expect(@callback_s2_s1.matched_a).to eq(correct_lcs)
19
19
  end
20
20
 
21
- it 'has the correct LCS result on right-matches' do
21
+ it "has the correct LCS result on right-matches" do
22
22
  expect(@callback_s1_s2.matched_b).to eq(correct_lcs)
23
23
  expect(@callback_s2_s1.matched_b).to eq(correct_lcs)
24
24
  end
25
25
 
26
- it 'has the correct skipped sequences with the left sequence' do
26
+ it "has the correct skipped sequences with the left sequence" do
27
27
  expect(@callback_s1_s2.discards_a).to eq(skipped_seq1)
28
28
  expect(@callback_s2_s1.discards_a).to eq(skipped_seq2)
29
29
  end
30
30
 
31
- it 'has the correct skipped sequences with the right sequence' do
31
+ it "has the correct skipped sequences with the right sequence" do
32
32
  expect(@callback_s1_s2.discards_b).to eq(skipped_seq2)
33
33
  expect(@callback_s2_s1.discards_b).to eq(skipped_seq1)
34
34
  end
35
35
 
36
- it 'does not have anything done markers from the left or right sequences' do
36
+ it "does not have anything done markers from the left or right sequences" do
37
37
  expect(@callback_s1_s2.done_a).to be_empty
38
38
  expect(@callback_s1_s2.done_b).to be_empty
39
39
  expect(@callback_s2_s1.done_a).to be_empty
@@ -41,64 +41,64 @@ describe 'Diff::LCS.traverse_sequences' do
41
41
  end
42
42
  end
43
43
 
44
- describe 'over (hello, hello)' do
44
+ describe "over (hello, hello)" do
45
45
  before(:each) do
46
46
  @callback = simple_callback_no_finishers
47
47
  Diff::LCS.traverse_sequences(hello, hello, @callback)
48
48
  end
49
49
 
50
- it 'has the correct LCS result on left-matches' do
51
- expect(@callback.matched_a).to eq(hello.split(//))
50
+ it "has the correct LCS result on left-matches" do
51
+ expect(@callback.matched_a).to eq(hello.chars)
52
52
  end
53
53
 
54
- it 'has the correct LCS result on right-matches' do
55
- expect(@callback.matched_b).to eq(hello.split(//))
54
+ it "has the correct LCS result on right-matches" do
55
+ expect(@callback.matched_b).to eq(hello.chars)
56
56
  end
57
57
 
58
- it 'has the correct skipped sequences with the left sequence', :only => true do
58
+ it "has the correct skipped sequences with the left sequence" do
59
59
  expect(@callback.discards_a).to be_empty
60
60
  end
61
61
 
62
- it 'has the correct skipped sequences with the right sequence' do
62
+ it "has the correct skipped sequences with the right sequence" do
63
63
  expect(@callback.discards_b).to be_empty
64
64
  end
65
65
 
66
- it 'does not have anything done markers from the left or right sequences' do
66
+ it "does not have anything done markers from the left or right sequences" do
67
67
  expect(@callback.done_a).to be_empty
68
68
  expect(@callback.done_b).to be_empty
69
69
  end
70
70
  end
71
71
 
72
- describe 'over (hello_ary, hello_ary)' do
72
+ describe "over (hello_ary, hello_ary)" do
73
73
  before(:each) do
74
74
  @callback = simple_callback_no_finishers
75
75
  Diff::LCS.traverse_sequences(hello_ary, hello_ary, @callback)
76
76
  end
77
77
 
78
- it 'has the correct LCS result on left-matches' do
78
+ it "has the correct LCS result on left-matches" do
79
79
  expect(@callback.matched_a).to eq(hello_ary)
80
80
  end
81
81
 
82
- it 'has the correct LCS result on right-matches' do
82
+ it "has the correct LCS result on right-matches" do
83
83
  expect(@callback.matched_b).to eq(hello_ary)
84
84
  end
85
85
 
86
- it 'has the correct skipped sequences with the left sequence' do
86
+ it "has the correct skipped sequences with the left sequence" do
87
87
  expect(@callback.discards_a).to be_empty
88
88
  end
89
89
 
90
- it 'has the correct skipped sequences with the right sequence' do
90
+ it "has the correct skipped sequences with the right sequence" do
91
91
  expect(@callback.discards_b).to be_empty
92
92
  end
93
93
 
94
- it 'does not have anything done markers from the left or right sequences' do
94
+ it "does not have anything done markers from the left or right sequences" do
95
95
  expect(@callback.done_a).to be_empty
96
96
  expect(@callback.done_b).to be_empty
97
97
  end
98
98
  end
99
99
  end
100
100
 
101
- describe 'callback with finisher' do
101
+ describe "callback with finisher" do
102
102
  before(:each) do
103
103
  @callback_s1_s2 = simple_callback
104
104
  Diff::LCS.traverse_sequences(seq1, seq2, @callback_s1_s2)
@@ -106,32 +106,32 @@ describe 'Diff::LCS.traverse_sequences' do
106
106
  Diff::LCS.traverse_sequences(seq2, seq1, @callback_s2_s1)
107
107
  end
108
108
 
109
- it 'has the correct LCS result on left-matches' do
109
+ it "has the correct LCS result on left-matches" do
110
110
  expect(@callback_s1_s2.matched_a).to eq(correct_lcs)
111
111
  expect(@callback_s2_s1.matched_a).to eq(correct_lcs)
112
112
  end
113
113
 
114
- it 'has the correct LCS result on right-matches' do
114
+ it "has the correct LCS result on right-matches" do
115
115
  expect(@callback_s1_s2.matched_b).to eq(correct_lcs)
116
116
  expect(@callback_s2_s1.matched_b).to eq(correct_lcs)
117
117
  end
118
118
 
119
- it 'has the correct skipped sequences for the left sequence' do
119
+ it "has the correct skipped sequences for the left sequence" do
120
120
  expect(@callback_s1_s2.discards_a).to eq(skipped_seq1)
121
121
  expect(@callback_s2_s1.discards_a).to eq(skipped_seq2)
122
122
  end
123
123
 
124
- it 'has the correct skipped sequences for the right sequence' do
124
+ it "has the correct skipped sequences for the right sequence" do
125
125
  expect(@callback_s1_s2.discards_b).to eq(skipped_seq2)
126
126
  expect(@callback_s2_s1.discards_b).to eq(skipped_seq1)
127
127
  end
128
128
 
129
- it 'has done markers differently-sized sequences' do
130
- expect(@callback_s1_s2.done_a).to eq([['p', 9, 't', 11]])
129
+ it "has done markers differently-sized sequences" do
130
+ expect(@callback_s1_s2.done_a).to eq([["p", 9, "t", 11]])
131
131
  expect(@callback_s1_s2.done_b).to be_empty
132
132
 
133
133
  expect(@callback_s2_s1.done_a).to be_empty
134
- expect(@callback_s2_s1.done_b).to eq([['t', 11, 'p', 9]])
134
+ expect(@callback_s2_s1.done_b).to eq([["t", 11, "p", 9]])
135
135
  end
136
136
  end
137
137
  end
@@ -1,22 +1,22 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: diff-lcs 1.5.0 ruby lib
2
+ # stub: diff-lcs 1.5.1 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "diff-lcs".freeze
6
- s.version = "1.5.0".freeze
6
+ s.version = "1.5.1".freeze
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
- s.metadata = { "bug_tracker_uri" => "https://github.com/halostatue/diff-lcs/issues", "homepage_uri" => "https://github.com/halostatue/diff-lcs", "source_code_uri" => "https://github.com/halostatue/diff-lcs" } if s.respond_to? :metadata=
9
+ s.metadata = { "bug_tracker_uri" => "https://github.com/halostatue/diff-lcs/issues", "homepage_uri" => "https://github.com/halostatue/diff-lcs", "rubygems_mfa_required" => "true", "source_code_uri" => "https://github.com/halostatue/diff-lcs" } if s.respond_to? :metadata=
10
10
  s.require_paths = ["lib".freeze]
11
11
  s.authors = ["Austin Ziegler".freeze]
12
- s.date = "2021-12-23"
12
+ s.date = "2024-01-31"
13
13
  s.description = "Diff::LCS computes the difference between two Enumerable sequences using the\nMcIlroy-Hunt longest common subsequence (LCS) algorithm. It includes utilities\nto create a simple HTML diff output format and a standard diff-like tool.\n\nThis is release 1.4.3, providing a simple extension that allows for\nDiff::LCS::Change objects to be treated implicitly as arrays and fixes a\nnumber of formatting issues.\n\nRuby versions below 2.5 are soft-deprecated, which means that older versions\nare no longer part of the CI test suite. If any changes have been introduced\nthat break those versions, bug reports and patches will be accepted, but it\nwill be up to the reporter to verify any fixes prior to release. The next\nmajor release will completely break compatibility.".freeze
14
14
  s.email = ["halostatue@gmail.com".freeze]
15
15
  s.executables = ["htmldiff".freeze, "ldiff".freeze]
16
16
  s.extra_rdoc_files = ["Code-of-Conduct.md".freeze, "Contributing.md".freeze, "History.md".freeze, "License.md".freeze, "Manifest.txt".freeze, "README.rdoc".freeze, "docs/COPYING.txt".freeze, "docs/artistic.txt".freeze]
17
17
  s.files = ["Code-of-Conduct.md".freeze, "Contributing.md".freeze, "History.md".freeze, "License.md".freeze, "Manifest.txt".freeze, "README.rdoc".freeze, "bin/htmldiff".freeze, "bin/ldiff".freeze, "docs/COPYING.txt".freeze, "docs/artistic.txt".freeze]
18
18
  s.homepage = "https://github.com/halostatue/diff-lcs".freeze
19
- s.licenses = ["MIT".freeze, "Artistic-2.0".freeze, "GPL-2.0+".freeze]
19
+ s.licenses = ["MIT".freeze, "Artistic-2.0".freeze, "GPL-2.0-or-later".freeze]
20
20
  s.rdoc_options = ["--main".freeze, "README.rdoc".freeze]
21
21
  s.required_ruby_version = Gem::Requirement.new(">= 1.8".freeze)
22
22
  s.rubygems_version = "3.4.21".freeze
@@ -26,12 +26,12 @@ Gem::Specification.new do |s|
26
26
 
27
27
  s.specification_version = 4
28
28
 
29
+ s.add_development_dependency(%q<hoe>.freeze, [">= 3.0".freeze, "< 5".freeze])
29
30
  s.add_development_dependency(%q<hoe-doofus>.freeze, ["~> 1.0".freeze])
30
31
  s.add_development_dependency(%q<hoe-gemspec2>.freeze, ["~> 1.1".freeze])
31
- s.add_development_dependency(%q<hoe-git>.freeze, ["~> 1.6".freeze])
32
+ s.add_development_dependency(%q<hoe-git2>.freeze, ["~> 1.7".freeze])
32
33
  s.add_development_dependency(%q<hoe-rubygems>.freeze, ["~> 1.0".freeze])
33
34
  s.add_development_dependency(%q<rspec>.freeze, [">= 2.0".freeze, "< 4".freeze])
34
35
  s.add_development_dependency(%q<rake>.freeze, [">= 10.0".freeze, "< 14".freeze])
35
36
  s.add_development_dependency(%q<rdoc>.freeze, [">= 6.3.1".freeze, "< 7".freeze])
36
- s.add_development_dependency(%q<hoe>.freeze, ["~> 3.23".freeze])
37
37
  end