cybrid_api_id_ruby 0.113.111 → 0.113.114

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +5 -5
  4. data/cybrid_api_id_ruby.gemspec +1 -1
  5. data/lib/cybrid_api_id_ruby/api/bank_applications_idp_api.rb +1 -1
  6. data/lib/cybrid_api_id_ruby/api/customer_tokens_idp_api.rb +1 -1
  7. data/lib/cybrid_api_id_ruby/api/organization_applications_idp_api.rb +1 -1
  8. data/lib/cybrid_api_id_ruby/api/users_idp_api.rb +1 -1
  9. data/lib/cybrid_api_id_ruby/api_client.rb +1 -1
  10. data/lib/cybrid_api_id_ruby/api_error.rb +1 -1
  11. data/lib/cybrid_api_id_ruby/configuration.rb +1 -1
  12. data/lib/cybrid_api_id_ruby/models/application_idp_model.rb +1 -1
  13. data/lib/cybrid_api_id_ruby/models/application_list_idp_model.rb +1 -1
  14. data/lib/cybrid_api_id_ruby/models/application_with_secret_all_of_idp_model.rb +1 -1
  15. data/lib/cybrid_api_id_ruby/models/application_with_secret_idp_model.rb +1 -1
  16. data/lib/cybrid_api_id_ruby/models/customer_token_idp_model.rb +1 -1
  17. data/lib/cybrid_api_id_ruby/models/error_response_idp_model.rb +1 -1
  18. data/lib/cybrid_api_id_ruby/models/post_bank_application_idp_model.rb +1 -1
  19. data/lib/cybrid_api_id_ruby/models/post_customer_token_idp_model.rb +1 -1
  20. data/lib/cybrid_api_id_ruby/models/post_organization_application_idp_model.rb +1 -1
  21. data/lib/cybrid_api_id_ruby/models/post_user_idp_model.rb +1 -1
  22. data/lib/cybrid_api_id_ruby/models/user_idp_model.rb +1 -1
  23. data/lib/cybrid_api_id_ruby/models/user_list_idp_model.rb +1 -1
  24. data/lib/cybrid_api_id_ruby/version.rb +2 -2
  25. data/lib/cybrid_api_id_ruby.rb +1 -1
  26. data/spec/api/bank_applications_idp_api_spec.rb +1 -1
  27. data/spec/api/customer_tokens_idp_api_spec.rb +1 -1
  28. data/spec/api/organization_applications_idp_api_spec.rb +1 -1
  29. data/spec/api/users_idp_api_spec.rb +1 -1
  30. data/spec/api_client_spec.rb +1 -1
  31. data/spec/configuration_spec.rb +1 -1
  32. data/spec/models/application_idp_model_spec.rb +1 -1
  33. data/spec/models/application_list_idp_model_spec.rb +1 -1
  34. data/spec/models/application_with_secret_all_of_idp_model_spec.rb +1 -1
  35. data/spec/models/application_with_secret_idp_model_spec.rb +1 -1
  36. data/spec/models/customer_token_idp_model_spec.rb +1 -1
  37. data/spec/models/error_response_idp_model_spec.rb +1 -1
  38. data/spec/models/post_bank_application_idp_model_spec.rb +1 -1
  39. data/spec/models/post_customer_token_idp_model_spec.rb +1 -1
  40. data/spec/models/post_organization_application_idp_model_spec.rb +1 -1
  41. data/spec/models/post_user_idp_model_spec.rb +1 -1
  42. data/spec/models/user_idp_model_spec.rb +1 -1
  43. data/spec/models/user_list_idp_model_spec.rb +1 -1
  44. data/spec/spec_helper.rb +1 -1
  45. data/vendor/bundle/ruby/3.2.0/cache/diff-lcs-1.5.1.gem +0 -0
  46. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +5 -5
  47. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.16.3/gem_make.out +5 -5
  48. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  49. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.2/gem_make.out +5 -5
  50. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.3/gem_make.out +5 -5
  51. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.1.0/gem_make.out +5 -5
  52. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/Contributing.md +2 -0
  53. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/History.md +86 -55
  54. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/License.md +6 -4
  55. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/Rakefile +36 -27
  56. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/bin/htmldiff +4 -4
  57. 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
  58. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/lib/diff/lcs/backports.rb +9 -0
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. 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
  65. 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
  66. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs.rb +57 -55
  67. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff-lcs.rb +1 -1
  68. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/change_spec.rb +89 -0
  69. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/diff_spec.rb +14 -14
  70. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/hunk_spec.rb +19 -19
  71. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/issues_spec.rb +160 -0
  72. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/lcs_spec.rb +11 -11
  73. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/ldiff_spec.rb +13 -11
  74. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/patch_spec.rb +84 -84
  75. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/sdiff_spec.rb +216 -0
  76. data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/spec_helper.rb +76 -74
  77. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/traverse_balanced_spec.rb +312 -0
  78. 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
  79. data/vendor/bundle/ruby/3.2.0/specifications/{diff-lcs-1.5.0.gemspec → diff-lcs-1.5.1.gemspec} +7 -7
  80. metadata +63 -63
  81. data/vendor/bundle/ruby/3.2.0/cache/diff-lcs-1.5.0.gem +0 -0
  82. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb +0 -9
  83. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/change_spec.rb +0 -89
  84. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/issues_spec.rb +0 -154
  85. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/sdiff_spec.rb +0 -214
  86. data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/traverse_balanced_spec.rb +0 -310
  87. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/.rspec +0 -0
  88. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/Code-of-Conduct.md +0 -0
  89. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/Manifest.txt +0 -0
  90. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/README.rdoc +0 -0
  91. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/bin/ldiff +0 -0
  92. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/docs/COPYING.txt +0 -0
  93. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/docs/artistic.txt +0 -0
  94. /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
  95. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/aX +0 -0
  96. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/bXaX +0 -0
  97. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ds1.csv +0 -0
  98. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ds2.csv +0 -0
  99. /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
  100. /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
  101. /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
  102. /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
  103. /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
  104. /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
  105. /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
  106. /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
  107. /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
  108. /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
  109. /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
  110. /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
  111. /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
  112. /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
  113. /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
  114. /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
  115. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/new-chef +0 -0
  116. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/new-chef2 +0 -0
  117. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/old-chef +0 -0
  118. /data/vendor/bundle/ruby/3.2.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/old-chef2 +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cybrid_api_id_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.113.111
4
+ version: 0.113.114
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cybrid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-30 00:00:00.000000000 Z
11
+ date: 2024-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -133,7 +133,7 @@ files:
133
133
  - vendor/bundle/ruby/3.2.0/cache/ast-2.4.2.gem
134
134
  - vendor/bundle/ruby/3.2.0/cache/byebug-11.1.3.gem
135
135
  - vendor/bundle/ruby/3.2.0/cache/coderay-1.1.3.gem
136
- - vendor/bundle/ruby/3.2.0/cache/diff-lcs-1.5.0.gem
136
+ - vendor/bundle/ruby/3.2.0/cache/diff-lcs-1.5.1.gem
137
137
  - vendor/bundle/ruby/3.2.0/cache/ethon-0.16.0.gem
138
138
  - vendor/bundle/ruby/3.2.0/cache/ffi-1.16.3.gem
139
139
  - vendor/bundle/ruby/3.2.0/cache/jaro_winkler-1.5.6.gem
@@ -390,65 +390,65 @@ files:
390
390
  - vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/tokens.rb
391
391
  - vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/tokens_proxy.rb
392
392
  - vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/version.rb
393
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/.rspec
394
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/Code-of-Conduct.md
395
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/Contributing.md
396
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/History.md
397
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/License.md
398
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/Manifest.txt
399
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/README.rdoc
400
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/Rakefile
401
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/bin/htmldiff
402
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/bin/ldiff
403
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/docs/COPYING.txt
404
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/docs/artistic.txt
405
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff-lcs.rb
406
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs.rb
407
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/array.rb
408
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
409
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/block.rb
410
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/callbacks.rb
411
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/change.rb
412
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/htmldiff.rb
413
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/hunk.rb
414
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/internals.rb
415
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/ldiff.rb
416
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/string.rb
417
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/change_spec.rb
418
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/diff_spec.rb
419
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/aX
420
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/bXaX
421
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ds1.csv
422
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ds2.csv
423
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff
424
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-c
425
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-e
426
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-f
427
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-u
428
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef
429
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-c
430
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-e
431
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-f
432
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-u
433
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2
434
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-c
435
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-d
436
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-e
437
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-f
438
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-u
439
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/new-chef
440
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/new-chef2
441
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/old-chef
442
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/old-chef2
443
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/hunk_spec.rb
444
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/issues_spec.rb
445
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/lcs_spec.rb
446
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/ldiff_spec.rb
447
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/patch_spec.rb
448
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/sdiff_spec.rb
449
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/spec_helper.rb
450
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/traverse_balanced_spec.rb
451
- - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/traverse_sequences_spec.rb
393
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/.rspec
394
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/Code-of-Conduct.md
395
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/Contributing.md
396
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/History.md
397
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/License.md
398
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/Manifest.txt
399
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/README.rdoc
400
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/Rakefile
401
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/bin/htmldiff
402
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/bin/ldiff
403
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/docs/COPYING.txt
404
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/docs/artistic.txt
405
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/lib/diff-lcs.rb
406
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/lib/diff/lcs.rb
407
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/lib/diff/lcs/array.rb
408
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/lib/diff/lcs/backports.rb
409
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/lib/diff/lcs/block.rb
410
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/lib/diff/lcs/callbacks.rb
411
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/lib/diff/lcs/change.rb
412
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/lib/diff/lcs/htmldiff.rb
413
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/lib/diff/lcs/hunk.rb
414
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/lib/diff/lcs/internals.rb
415
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/lib/diff/lcs/ldiff.rb
416
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/lib/diff/lcs/string.rb
417
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/change_spec.rb
418
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/diff_spec.rb
419
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/aX
420
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/bXaX
421
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ds1.csv
422
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ds2.csv
423
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff
424
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff-c
425
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff-e
426
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff-f
427
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff-u
428
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef
429
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef-c
430
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef-e
431
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef-f
432
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef-u
433
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef2
434
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef2-c
435
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef2-d
436
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef2-e
437
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef2-f
438
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef2-u
439
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/new-chef
440
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/new-chef2
441
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/old-chef
442
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/fixtures/old-chef2
443
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/hunk_spec.rb
444
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/issues_spec.rb
445
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/lcs_spec.rb
446
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/ldiff_spec.rb
447
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/patch_spec.rb
448
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/sdiff_spec.rb
449
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/spec_helper.rb
450
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/traverse_balanced_spec.rb
451
+ - vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.1/spec/traverse_sequences_spec.rb
452
452
  - vendor/bundle/ruby/3.2.0/gems/ethon-0.16.0/.github/workflows/ruby.yml
453
453
  - vendor/bundle/ruby/3.2.0/gems/ethon-0.16.0/.gitignore
454
454
  - vendor/bundle/ruby/3.2.0/gems/ethon-0.16.0/.rspec
@@ -2624,7 +2624,7 @@ files:
2624
2624
  - vendor/bundle/ruby/3.2.0/specifications/ast-2.4.2.gemspec
2625
2625
  - vendor/bundle/ruby/3.2.0/specifications/byebug-11.1.3.gemspec
2626
2626
  - vendor/bundle/ruby/3.2.0/specifications/coderay-1.1.3.gemspec
2627
- - vendor/bundle/ruby/3.2.0/specifications/diff-lcs-1.5.0.gemspec
2627
+ - vendor/bundle/ruby/3.2.0/specifications/diff-lcs-1.5.1.gemspec
2628
2628
  - vendor/bundle/ruby/3.2.0/specifications/ethon-0.16.0.gemspec
2629
2629
  - vendor/bundle/ruby/3.2.0/specifications/ffi-1.16.3.gemspec
2630
2630
  - vendor/bundle/ruby/3.2.0/specifications/jaro_winkler-1.5.6.gemspec
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- unless 0.respond_to?(:positive?)
4
- class Fixnum # rubocop:disable Lint/UnifiedInteger, Style/Documentation
5
- def positive?
6
- self > 0 # rubocop:disable Style/NumericPredicate
7
- end
8
- end
9
- end
@@ -1,89 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'spec_helper'
4
-
5
- describe Diff::LCS::Change do
6
- describe 'an add' do
7
- subject { described_class.new('+', 0, 'element') }
8
- it { should_not be_deleting }
9
- it { should be_adding }
10
- it { should_not be_unchanged }
11
- it { should_not be_changed }
12
- it { should_not be_finished_a }
13
- it { should_not be_finished_b }
14
- end
15
-
16
- describe 'a delete' do
17
- subject { described_class.new('-', 0, 'element') }
18
- it { should be_deleting }
19
- it { should_not be_adding }
20
- it { should_not be_unchanged }
21
- it { should_not be_changed }
22
- it { should_not be_finished_a }
23
- it { should_not be_finished_b }
24
- end
25
-
26
- describe 'an unchanged' do
27
- subject { described_class.new('=', 0, 'element') }
28
- it { should_not be_deleting }
29
- it { should_not be_adding }
30
- it { should be_unchanged }
31
- it { should_not be_changed }
32
- it { should_not be_finished_a }
33
- it { should_not be_finished_b }
34
- end
35
-
36
- describe 'a changed' do
37
- subject { described_class.new('!', 0, 'element') }
38
- it { should_not be_deleting }
39
- it { should_not be_adding }
40
- it { should_not be_unchanged }
41
- it { should be_changed }
42
- it { should_not be_finished_a }
43
- it { should_not be_finished_b }
44
- end
45
-
46
- describe 'a finished_a' do
47
- subject { described_class.new('>', 0, 'element') }
48
- it { should_not be_deleting }
49
- it { should_not be_adding }
50
- it { should_not be_unchanged }
51
- it { should_not be_changed }
52
- it { should be_finished_a }
53
- it { should_not be_finished_b }
54
- end
55
-
56
- describe 'a finished_b' do
57
- subject { described_class.new('<', 0, 'element') }
58
- it { should_not be_deleting }
59
- it { should_not be_adding }
60
- it { should_not be_unchanged }
61
- it { should_not be_changed }
62
- it { should_not be_finished_a }
63
- it { should be_finished_b }
64
- end
65
-
66
- describe 'as array' do
67
- it 'should be converted' do
68
- action, position, element = described_class.new('!', 0, 'element')
69
- expect(action).to eq '!'
70
- expect(position).to eq 0
71
- expect(element).to eq 'element'
72
- end
73
- end
74
- end
75
-
76
- describe Diff::LCS::ContextChange do
77
- describe 'as array' do
78
- it 'should be converted' do
79
- action, (old_position, old_element), (new_position, new_element) =
80
- described_class.new('!', 1, 'old_element', 2, 'new_element')
81
-
82
- expect(action).to eq '!'
83
- expect(old_position).to eq 1
84
- expect(old_element).to eq 'old_element'
85
- expect(new_position).to eq 2
86
- expect(new_element).to eq 'new_element'
87
- end
88
- end
89
- end
@@ -1,154 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'spec_helper'
4
- require 'diff/lcs/hunk'
5
-
6
- describe 'Diff::LCS Issues' do
7
- include Diff::LCS::SpecHelper::Matchers
8
-
9
- describe 'issue #1' do
10
- shared_examples 'handles simple diffs' do |s1, s2, forward_diff|
11
- before do
12
- @diff_s1_s2 = Diff::LCS.diff(s1, s2)
13
- end
14
-
15
- it 'creates the correct diff' do
16
- expect(change_diff(forward_diff)).to eq(@diff_s1_s2)
17
- end
18
-
19
- it 'creates the correct patch s1->s2' do
20
- expect(Diff::LCS.patch(s1, @diff_s1_s2)).to eq(s2)
21
- end
22
-
23
- it 'creates the correct patch s2->s1' do
24
- expect(Diff::LCS.patch(s2, @diff_s1_s2)).to eq(s1)
25
- end
26
- end
27
-
28
- describe 'string' do
29
- it_has_behavior 'handles simple diffs', 'aX', 'bXaX', [
30
- [
31
- ['+', 0, 'b'],
32
- ['+', 1, 'X']
33
- ]
34
- ]
35
- it_has_behavior 'handles simple diffs', 'bXaX', 'aX', [
36
- [
37
- ['-', 0, 'b'],
38
- ['-', 1, 'X']
39
- ]
40
- ]
41
- end
42
-
43
- describe 'array' do
44
- it_has_behavior 'handles simple diffs', %w(a X), %w(b X a X), [
45
- [
46
- ['+', 0, 'b'],
47
- ['+', 1, 'X']
48
- ]
49
- ]
50
- it_has_behavior 'handles simple diffs', %w(b X a X), %w(a X), [
51
- [
52
- ['-', 0, 'b'],
53
- ['-', 1, 'X']
54
- ]
55
- ]
56
- end
57
- end
58
-
59
- describe 'issue #57' do
60
- it 'should fail with a correct error' do
61
- expect {
62
- actual = { :category => 'app.rack.request' }
63
- expected = { :category => 'rack.middleware', :title => 'Anonymous Middleware' }
64
- expect(actual).to eq(expected)
65
- }.to raise_error(RSpec::Expectations::ExpectationNotMetError)
66
- end
67
- end
68
-
69
- describe 'issue #60' do
70
- it 'should produce unified output with correct context' do
71
- old_data = <<-DATA_OLD.strip.split("\n").map(&:chomp)
72
- {
73
- "name": "x",
74
- "description": "hi"
75
- }
76
- DATA_OLD
77
-
78
- new_data = <<-DATA_NEW.strip.split("\n").map(&:chomp)
79
- {
80
- "name": "x",
81
- "description": "lo"
82
- }
83
- DATA_NEW
84
-
85
- diff = ::Diff::LCS.diff(old_data, new_data)
86
- hunk = ::Diff::LCS::Hunk.new(old_data, new_data, diff.first, 3, 0)
87
-
88
- expect(hunk.diff(:unified)).to eq(<<-EXPECTED.chomp)
89
- @@ -1,5 +1,5 @@
90
- {
91
- "name": "x",
92
- - "description": "hi"
93
- + "description": "lo"
94
- }
95
- EXPECTED
96
- end
97
- end
98
-
99
- describe 'issue #65' do
100
- def diff_lines(old_lines, new_lines)
101
- file_length_difference = 0
102
- previous_hunk = nil
103
- output = []
104
-
105
- Diff::LCS.diff(old_lines, new_lines).each do |piece|
106
- hunk = Diff::LCS::Hunk.new(old_lines, new_lines, piece, 3, file_length_difference)
107
- file_length_difference = hunk.file_length_difference
108
- maybe_contiguous_hunks = (previous_hunk.nil? || hunk.merge(previous_hunk))
109
-
110
- output << "#{previous_hunk.diff(:unified)}\n" unless maybe_contiguous_hunks
111
-
112
- previous_hunk = hunk
113
- end
114
- output << "#{previous_hunk.diff(:unified, true)}\n" unless previous_hunk.nil?
115
- output.join
116
- end
117
-
118
- it 'should not misplace the new chunk' do
119
- old_data = [
120
- 'recipe[a::default]', 'recipe[b::default]', 'recipe[c::default]',
121
- 'recipe[d::default]', 'recipe[e::default]', 'recipe[f::default]',
122
- 'recipe[g::default]', 'recipe[h::default]', 'recipe[i::default]',
123
- 'recipe[j::default]', 'recipe[k::default]', 'recipe[l::default]',
124
- 'recipe[m::default]', 'recipe[n::default]'
125
- ]
126
-
127
- new_data = [
128
- 'recipe[a::default]', 'recipe[c::default]', 'recipe[d::default]',
129
- 'recipe[e::default]', 'recipe[f::default]', 'recipe[g::default]',
130
- 'recipe[h::default]', 'recipe[i::default]', 'recipe[j::default]',
131
- 'recipe[k::default]', 'recipe[l::default]', 'recipe[m::default]',
132
- 'recipe[n::default]', 'recipe[o::new]', 'recipe[p::new]',
133
- 'recipe[q::new]', 'recipe[r::new]'
134
- ]
135
-
136
- expect(diff_lines(old_data, new_data)).to eq(<<-EODIFF)
137
- @@ -1,5 +1,4 @@
138
- recipe[a::default]
139
- -recipe[b::default]
140
- recipe[c::default]
141
- recipe[d::default]
142
- recipe[e::default]
143
- @@ -12,3 +11,7 @@
144
- recipe[l::default]
145
- recipe[m::default]
146
- recipe[n::default]
147
- +recipe[o::new]
148
- +recipe[p::new]
149
- +recipe[q::new]
150
- +recipe[r::new]
151
- EODIFF
152
- end
153
- end
154
- end
@@ -1,214 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'spec_helper'
4
-
5
- describe 'Diff::LCS.sdiff' do
6
- include Diff::LCS::SpecHelper::Matchers
7
-
8
- shared_examples 'compare sequences correctly' do
9
- it 'compares s1 -> s2 correctly' do
10
- expect(Diff::LCS.sdiff(s1, s2)).to eq(context_diff(result))
11
- end
12
-
13
- it 'compares s2 -> s1 correctly' do
14
- expect(Diff::LCS.sdiff(s2, s1)).to eq(context_diff(reverse_sdiff(result)))
15
- end
16
- end
17
-
18
- describe 'using seq1 & seq2' do
19
- let(:s1) { seq1 }
20
- let(:s2) { seq2 }
21
- let(:result) { correct_forward_sdiff }
22
-
23
- it_has_behavior 'compare sequences correctly'
24
- end
25
-
26
- describe 'using %w(abc def yyy xxx ghi jkl) & %w(abc dxf xxx ghi jkl)' do
27
- let(:s1) { %w(abc def yyy xxx ghi jkl) }
28
- let(:s2) { %w(abc dxf xxx ghi jkl) }
29
- let(:result) {
30
- [
31
- ['=', [0, 'abc'], [0, 'abc']],
32
- ['!', [1, 'def'], [1, 'dxf']],
33
- ['-', [2, 'yyy'], [2, nil]],
34
- ['=', [3, 'xxx'], [2, 'xxx']],
35
- ['=', [4, 'ghi'], [3, 'ghi']],
36
- ['=', [5, 'jkl'], [4, 'jkl']]
37
- ]
38
- }
39
-
40
- it_has_behavior 'compare sequences correctly'
41
- end
42
-
43
- describe 'using %w(a b c d e) & %w(a e)' do
44
- let(:s1) { %w(a b c d e) }
45
- let(:s2) { %w(a e) }
46
- let(:result) {
47
- [
48
- ['=', [0, 'a'], [0, 'a']],
49
- ['-', [1, 'b'], [1, nil]],
50
- ['-', [2, 'c'], [1, nil]],
51
- ['-', [3, 'd'], [1, nil]],
52
- ['=', [4, 'e'], [1, 'e']]
53
- ]
54
- }
55
-
56
- it_has_behavior 'compare sequences correctly'
57
- end
58
-
59
- describe 'using %w(a e) & %w(a b c d e)' do
60
- let(:s1) { %w(a e) }
61
- let(:s2) { %w(a b c d e) }
62
- let(:result) {
63
- [
64
- ['=', [0, 'a'], [0, 'a']],
65
- ['+', [1, nil], [1, 'b']],
66
- ['+', [1, nil], [2, 'c']],
67
- ['+', [1, nil], [3, 'd']],
68
- ['=', [1, 'e'], [4, 'e']]
69
- ]
70
- }
71
-
72
- it_has_behavior 'compare sequences correctly'
73
- end
74
-
75
- describe 'using %w(v x a e) & %w(w y a b c d e)' do
76
- let(:s1) { %w(v x a e) }
77
- let(:s2) { %w(w y a b c d e) }
78
- let(:result) {
79
- [
80
- ['!', [0, 'v'], [0, 'w']],
81
- ['!', [1, 'x'], [1, 'y']],
82
- ['=', [2, 'a'], [2, 'a']],
83
- ['+', [3, nil], [3, 'b']],
84
- ['+', [3, nil], [4, 'c']],
85
- ['+', [3, nil], [5, 'd']],
86
- ['=', [3, 'e'], [6, 'e']]
87
- ]
88
- }
89
-
90
- it_has_behavior 'compare sequences correctly'
91
- end
92
-
93
- describe 'using %w(x a e) & %w(a b c d e)' do
94
- let(:s1) { %w(x a e) }
95
- let(:s2) { %w(a b c d e) }
96
- let(:result) {
97
- [
98
- ['-', [0, 'x'], [0, nil]],
99
- ['=', [1, 'a'], [0, 'a']],
100
- ['+', [2, nil], [1, 'b']],
101
- ['+', [2, nil], [2, 'c']],
102
- ['+', [2, nil], [3, 'd']],
103
- ['=', [2, 'e'], [4, 'e']]
104
- ]
105
- }
106
-
107
- it_has_behavior 'compare sequences correctly'
108
- end
109
-
110
- describe 'using %w(a e) & %w(x a b c d e)' do
111
- let(:s1) { %w(a e) }
112
- let(:s2) { %w(x a b c d e) }
113
- let(:result) {
114
- [
115
- ['+', [0, nil], [0, 'x']],
116
- ['=', [0, 'a'], [1, 'a']],
117
- ['+', [1, nil], [2, 'b']],
118
- ['+', [1, nil], [3, 'c']],
119
- ['+', [1, nil], [4, 'd']],
120
- ['=', [1, 'e'], [5, 'e']]
121
- ]
122
- }
123
-
124
- it_has_behavior 'compare sequences correctly'
125
- end
126
-
127
- describe 'using %w(a e v) & %w(x a b c d e w x)' do
128
- let(:s1) { %w(a e v) }
129
- let(:s2) { %w(x a b c d e w x) }
130
- let(:result) {
131
- [
132
- ['+', [0, nil], [0, 'x']],
133
- ['=', [0, 'a'], [1, 'a']],
134
- ['+', [1, nil], [2, 'b']],
135
- ['+', [1, nil], [3, 'c']],
136
- ['+', [1, nil], [4, 'd']],
137
- ['=', [1, 'e'], [5, 'e']],
138
- ['!', [2, 'v'], [6, 'w']],
139
- ['+', [3, nil], [7, 'x']]
140
- ]
141
- }
142
-
143
- it_has_behavior 'compare sequences correctly'
144
- end
145
-
146
- describe 'using %w() & %w(a b c)' do
147
- let(:s1) { %w() }
148
- let(:s2) { %w(a b c) }
149
- let(:result) {
150
- [
151
- ['+', [0, nil], [0, 'a']],
152
- ['+', [0, nil], [1, 'b']],
153
- ['+', [0, nil], [2, 'c']]
154
- ]
155
- }
156
-
157
- it_has_behavior 'compare sequences correctly'
158
- end
159
-
160
- describe 'using %w(a b c) & %w(1)' do
161
- let(:s1) { %w(a b c) }
162
- let(:s2) { %w(1) }
163
- let(:result) {
164
- [
165
- ['!', [0, 'a'], [0, '1']],
166
- ['-', [1, 'b'], [1, nil]],
167
- ['-', [2, 'c'], [1, nil]]
168
- ]
169
- }
170
-
171
- it_has_behavior 'compare sequences correctly'
172
- end
173
-
174
- describe 'using %w(a b c) & %w(c)' do
175
- let(:s1) { %w(a b c) }
176
- let(:s2) { %w(c) }
177
- let(:result) {
178
- [
179
- ['-', [0, 'a'], [0, nil]],
180
- ['-', [1, 'b'], [0, nil]],
181
- ['=', [2, 'c'], [0, 'c']]
182
- ]
183
- }
184
-
185
- it_has_behavior 'compare sequences correctly'
186
- end
187
-
188
- describe 'using %w(abcd efgh ijkl mnop) & []' do
189
- let(:s1) { %w(abcd efgh ijkl mnop) }
190
- let(:s2) { [] }
191
- let(:result) {
192
- [
193
- ['-', [0, 'abcd'], [0, nil]],
194
- ['-', [1, 'efgh'], [0, nil]],
195
- ['-', [2, 'ijkl'], [0, nil]],
196
- ['-', [3, 'mnop'], [0, nil]]
197
- ]
198
- }
199
-
200
- it_has_behavior 'compare sequences correctly'
201
- end
202
-
203
- describe 'using [[1,2]] & []' do
204
- let(:s1) { [[1, 2]] }
205
- let(:s2) { [] }
206
- let(:result) {
207
- [
208
- ['-', [0, [1, 2]], [0, nil]]
209
- ]
210
- }
211
-
212
- it_has_behavior 'compare sequences correctly'
213
- end
214
- end